:root {
  --ink: #080909;
  --ink-soft: #111312;
  --panel: #151716;
  --panel-light: #1b1e1c;
  --paper: #f5f2eb;
  --muted: #aaa9a3;
  --amber: #f6a51b;
  --amber-bright: #ffc653;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --display: "Arial Narrow", "Roboto Condensed", "DIN Condensed", Impact, sans-serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 22px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 10% 5%, rgba(246, 165, 27, 0.13), transparent 30rem),
    radial-gradient(circle at 95% 85%, rgba(246, 165, 27, 0.07), transparent 28rem),
    var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 76%);
  mask-image: linear-gradient(to bottom, black, transparent 76%);
  pointer-events: none;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--amber-bright);
  border-radius: 8px;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 34px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  margin-bottom: 24px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--paper);
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.04);
}

.brand-copy {
  display: grid;
  line-height: 1.12;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 1.2rem;
  font-stretch: condensed;
  letter-spacing: 0.025em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.75rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dedbd3;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
  font-weight: 700;
}

.status-pill::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(246, 165, 27, 0.12);
}

.hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  min-height: 690px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: rgba(12, 13, 13, 0.9);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  display: flex;
  min-height: 690px;
  overflow: hidden;
  isolation: isolate;
}

.hero-panel::before,
.hero-panel::after {
  position: absolute;
  z-index: 1;
  content: "";
  inset: 0;
  pointer-events: none;
}

.hero-panel::before {
  background:
    linear-gradient(180deg, rgba(8, 9, 9, 0.08) 20%, rgba(8, 9, 9, 0.95) 92%),
    linear-gradient(90deg, rgba(8, 9, 9, 0.05), rgba(8, 9, 9, 0.48));
}

.hero-panel::after {
  inset: auto 28px 28px auto;
  width: 86px;
  height: 86px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
}

.hero-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08) brightness(0.72);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  width: min(620px, 100%);
  padding: clamp(34px, 7vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  color: var(--amber-bright);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  margin-right: 11px;
  content: "";
  background: currentColor;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-stretch: condensed;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero-title {
  max-width: 10ch;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 900;
}

.hero-lead {
  max-width: 40ch;
  margin-bottom: 26px;
  color: #dedbd4;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.55;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(8, 9, 9, 0.36);
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.links-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4.5vw, 54px);
  border-left: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.045), transparent 38%),
    var(--ink-soft);
}

.links-heading {
  margin-bottom: 25px;
}

.links-heading p {
  margin-bottom: 6px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.links-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.link-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.action-link {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  min-height: 70px;
  padding: 12px 15px 12px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.action-link::before {
  position: absolute;
  left: 0;
  width: 3px;
  height: 0;
  content: "";
  background: var(--amber);
  transition: height 180ms ease;
}

.action-link:hover {
  border-color: rgba(246, 165, 27, 0.46);
  background: rgba(246, 165, 27, 0.075);
  transform: translateX(4px);
}

.action-link:hover::before {
  height: 100%;
}

.action-number {
  color: #747772;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 800;
}

.action-copy {
  display: grid;
  gap: 1px;
}

.action-copy strong {
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1.16;
}

.action-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.action-arrow {
  color: var(--amber);
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.action-link:hover .action-arrow {
  transform: translateX(3px);
}

.action-link.featured {
  border-color: rgba(246, 165, 27, 0.5);
  background: var(--amber);
  color: #17120a;
}

.action-link.featured .action-number,
.action-link.featured .action-copy small,
.action-link.featured .action-arrow {
  color: rgba(23, 18, 10, 0.7);
}

.action-link.featured:hover {
  border-color: var(--amber-bright);
  background: var(--amber-bright);
}

.mini-badge {
  display: inline-block;
  width: fit-content;
  margin-top: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--amber-bright);
  font-size: 0.62rem;
  font-weight: 900;
}

.links-footer {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  color: #777a75;
  font-size: 0.7rem;
}

.links-footer a {
  color: #aaa9a3;
  text-underline-offset: 3px;
}

/* Internal pages */
.content-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 64px;
}

.content-shell .topbar {
  margin-bottom: 54px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  color: #d3d0c9;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

.back-link:hover {
  color: var(--amber-bright);
}

.content-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  margin-bottom: 90px;
}

.content-title {
  max-width: 11ch;
  margin-bottom: 25px;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
}

.accent-word {
  color: var(--amber);
}

.content-lead {
  max-width: 57ch;
  margin-bottom: 18px;
  color: #dfdcd5;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
}

.content-text {
  max-width: 62ch;
  color: var(--muted);
}

.photo-frame {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-frame::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 52%, rgba(8, 9, 9, 0.8));
  pointer-events: none;
}

.photo-frame::after {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  width: 62px;
  height: 62px;
  border-top: 2px solid var(--amber);
  border-right: 2px solid var(--amber);
  content: "";
}

.photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08) brightness(0.82);
}

.photo-caption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 20px;
  left: 24px;
  margin: 0;
  color: #e4e1da;
  font-size: 0.74rem;
}

.feature-section {
  margin-bottom: 82px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 24px;
}

.section-heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
}

.section-heading p {
  max-width: 38ch;
  margin-bottom: 5px;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-item {
  min-height: 210px;
  padding: 27px;
  border-right: 1px solid var(--line);
}

.feature-item:last-child {
  border-right: 0;
}

.feature-index {
  display: block;
  margin-bottom: 34px;
  color: var(--amber);
  font-family: var(--display);
  font-weight: 900;
}

.feature-item h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.feature-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(246, 165, 27, 0.38);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 0%, rgba(246, 165, 27, 0.22), transparent 18rem),
    var(--panel);
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
}

.cta-band p {
  max-width: 50ch;
  margin-bottom: 0;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--paper);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button.primary {
  border-color: var(--amber);
  color: #17120a;
  background: var(--amber);
}

.button:hover {
  border-color: var(--amber-bright);
  color: #17120a;
  background: var(--amber-bright);
}

.page-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #777a75;
  font-size: 0.75rem;
}

.phase-hero {
  position: relative;
  display: grid;
  min-height: 610px;
  align-items: end;
  margin-bottom: 80px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 5px);
  box-shadow: var(--shadow);
}

.phase-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 9, 9, 0.96) 0%, rgba(8, 9, 9, 0.72) 45%, rgba(8, 9, 9, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 9, 9, 0.65), transparent 45%);
}

.phase-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.32) saturate(0.65) contrast(1.15) brightness(0.65);
}

.phase-copy {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  padding: clamp(34px, 7vw, 76px);
}

.phase-copy .content-title {
  max-width: 9ch;
}

.phase-strip {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  margin-bottom: 76px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.phase-status,
.phase-story {
  padding: clamp(26px, 5vw, 48px);
}

.phase-status {
  border-right: 1px solid var(--line);
  background: rgba(246, 165, 27, 0.07);
}

.phase-status span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--amber-bright);
  font-size: 0.78rem;
  font-weight: 850;
}

.phase-status span::before {
  width: 9px;
  height: 9px;
  content: "";
  background: var(--amber);
  border-radius: 50%;
}

.phase-status h2,
.phase-story h2 {
  margin: 18px 0 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.phase-story p {
  max-width: 58ch;
  margin-bottom: 16px;
  color: var(--muted);
}

.phase-story p:last-child {
  margin-bottom: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber-bright);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 570px;
  }

  .links-panel {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .links-footer {
    margin-top: 24px;
  }

  .content-hero {
    grid-template-columns: 1fr;
  }

  .photo-frame,
  .photo-frame img {
    min-height: 440px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-item:last-child {
    border-bottom: 0;
  }

  .feature-index {
    margin-bottom: 20px;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-shell,
  .content-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 14px;
  }

  .topbar {
    margin-bottom: 14px;
  }

  .content-shell .topbar {
    margin-bottom: 38px;
  }

  .status-pill {
    padding: 6px 9px;
    font-size: 0.68rem;
  }

  .brand-copy span {
    display: none;
  }

  .hub-grid {
    border-radius: 18px;
  }

  .hero-panel {
    min-height: 510px;
  }

  .hero-copy {
    padding: 28px 24px 34px;
  }

  .hero-panel::after {
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
  }

  .hero-title {
    font-size: clamp(3.1rem, 17vw, 5rem);
  }

  .links-panel {
    padding: 28px 18px 22px;
  }

  .action-link {
    grid-template-columns: 30px 1fr auto;
  }

  .action-copy strong {
    font-size: 1.08rem;
  }

  .links-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .content-title {
    font-size: clamp(3.25rem, 16vw, 5.2rem);
  }

  .photo-frame,
  .photo-frame img {
    min-height: 380px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .phase-hero {
    min-height: 580px;
    margin-bottom: 56px;
  }

  .phase-hero::before {
    background:
      linear-gradient(0deg, rgba(8, 9, 9, 0.98) 3%, rgba(8, 9, 9, 0.7) 60%, rgba(8, 9, 9, 0.16)),
      linear-gradient(90deg, rgba(8, 9, 9, 0.3), transparent);
  }

  .phase-copy {
    padding: 30px 24px 36px;
  }

  .phase-strip {
    grid-template-columns: 1fr;
  }

  .phase-status {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .page-footer {
    flex-direction: column;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

/* Hub em formato Linktree */
.linktree-page {
  min-height: 100svh;
  background: #080909;
}

.linktree-page::before {
  z-index: -2;
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(6, 7, 7, 0.56), rgba(6, 7, 7, 0.94)),
    linear-gradient(90deg, rgba(6, 7, 7, 0.4), rgba(246, 165, 27, 0.08)),
    url("https://dg-media.com.br/banners/banner_699543.png?v=1695741144") center / cover no-repeat;
  -webkit-mask-image: none;
  mask-image: none;
}

.linktree-page::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 58px 58px;
  pointer-events: none;
}

.linktree-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 32px 16px;
}

.linktree-card {
  position: relative;
  width: min(100%, 560px);
  overflow: hidden;
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 24px;
  background: rgba(10, 11, 11, 0.9);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.linktree-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

.linktree-profile {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 26px;
  text-align: center;
}

.linktree-logo {
  width: 112px;
  height: 112px;
  margin-bottom: 17px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 7px rgba(246, 165, 27, 0.1),
    0 16px 36px rgba(0, 0, 0, 0.4);
}

.linktree-profile h1 {
  margin: 0 0 8px;
  font-size: clamp(2.6rem, 8vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.linktree-profile p {
  margin: 0 0 3px;
  color: #e2dfd8;
  font-size: 1rem;
}

.linktree-profile span {
  color: var(--muted);
  font-size: 0.78rem;
}

.tree-links {
  display: grid;
  gap: 10px;
}

.tree-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.96rem;
  font-weight: 780;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: color 170ms ease, background-color 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.tree-link::before {
  position: absolute;
  left: 0;
  width: 4px;
  height: 100%;
  content: "";
  background: var(--amber);
  transform: scaleY(0.42);
  transition: transform 170ms ease;
}

.tree-link::after {
  position: absolute;
  right: 18px;
  content: "↗";
  color: var(--amber);
  font-size: 1rem;
}

.tree-link:hover {
  border-color: var(--amber);
  color: #17120a;
  background: var(--amber-bright);
  transform: translateY(-2px);
}

.tree-link:hover::before {
  transform: scaleY(1);
}

.tree-link:hover::after {
  color: #17120a;
}

@media (max-width: 620px) {
  .linktree-shell {
    align-items: flex-start;
    padding: 18px 12px;
  }

  .linktree-card {
    padding: 26px 18px 22px;
    border-radius: 18px;
  }

  .linktree-logo {
    width: 94px;
    height: 94px;
  }

  .linktree-profile {
    margin-bottom: 22px;
  }

  .tree-links {
    gap: 8px;
  }

  .tree-link {
    min-height: 52px;
    padding-inline: 40px;
    font-size: 0.93rem;
  }
}
