:root {
  --bg: #061019;
  --bg2: #0b1721;
  --gold: #d7a84f;
  --gold2: #f1d38a;
  --text: #f6f0e4;
  --muted: #c5cdd3;
  --line: rgba(215, 168, 79, 0.24);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: auto;
}

/* HEADER */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  transition: 0.25s;
}

.header.scrolled {
  background: rgba(4, 11, 17, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(15px);
}

.nav {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 28px;
}

.brand {
  color: var(--gold2);
  font: 700 1rem Cinzel, serif;
  letter-spacing: 0.12em;
}

.brand span {
  color: #49b8ef;
  text-shadow: 0 0 14px #159bdc;
}

nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--gold2);
}

.menu {
  display: none;
  margin-left: auto;
  padding: 8px 12px;
  color: var(--gold2);
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

/* BOTÕES */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(
    135deg,
    var(--gold2),
    var(--gold)
  );
  color: #07111a;
  font: 700 0.88rem Cinzel, serif;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.button.small {
  min-height: 42px;
  padding: 0 17px;
  font-size: 0.75rem;
}

.button.ghost {
  color: var(--text);
  background: rgba(4, 12, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* HERO */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    url("assets/imgs/tahedra-hero.png")
    58% center / cover no-repeat;
  transform: scale(1.01);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 9, 14, 0.99) 0%,
      rgba(3, 9, 14, 0.96) 28%,
      rgba(3, 9, 14, 0.79) 48%,
      rgba(3, 9, 14, 0.22) 76%,
      rgba(3, 9, 14, 0.48) 100%
    ),
    linear-gradient(
      0deg,
      var(--bg),
      transparent 34%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.hero-panel {
  max-width: 690px;
  padding: 38px 42px;
  border: 1px solid rgba(215, 168, 79, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      rgba(5, 14, 21, 0.86),
      rgba(5, 14, 21, 0.55)
    );
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
}

/* TIPOGRAFIA */

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold2);
  font: 700 0.76rem Cinzel, serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
  font-family: Cinzel, serif;
  line-height: 1.12;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.5vw, 6.1rem);
  letter-spacing: -0.04em;
  text-shadow: 0 8px 35px #000;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  color: var(--text);
  font-size: 1.2rem;
}

p {
  color: var(--muted);
}

.lead {
  color: #d8dee3;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 0;
  color: #e2e7ea;
  font-size: 0.84rem;
}

.status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #54d78a;
  box-shadow: 0 0 0 6px rgba(84, 215, 138, 0.1);
}

/* SEÇÕES */

.section {
  position: relative;
  padding: 105px 0;
  overflow: hidden;
}

.dark {
  background:
    linear-gradient(
      rgba(5, 13, 20, 0.94),
      rgba(5, 13, 20, 0.94)
    ),
    url("assets/imgs/tahedra-hero.png")
    center / cover fixed;
}

.two-cols,
.access-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.heading {
  max-width: 770px;
  margin-bottom: 50px;
}

/* CARDS */

.cards {
  display: grid;
  gap: 18px;
  margin-top: 60px;
}

.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.cards article,
.glass {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background:
    linear-gradient(
      180deg,
      rgba(22, 31, 38, 0.97),
      rgba(10, 17, 23, 0.97)
    );
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.32);
}

.cards article {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.cards article:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 168, 79, 0.44);
}

.cards strong,
.cards small {
  color: var(--gold2);
  font-family: Cinzel, serif;
}

.cards small {
  display: block;
  margin-bottom: 10px;
}

.cards p,
.glass p {
  color: #c5cdd3;
}

/* FLUXO */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.steps article {
  position: relative;
  padding: 38px 26px 0 0;
}

.steps article::before {
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.steps span {
  color: #39aee8;
  font: 700 0.82rem Cinzel, serif;
}

.steps p {
  color: #c5cdd3;
}

/* HERÓIS E HERANÇAS */

.feature-scene {
  display: flex;
  align-items: center;
  min-height: 680px;
  background:
    linear-gradient(
      90deg,
      rgba(3, 9, 14, 0.93),
      rgba(3, 9, 14, 0.48),
      rgba(3, 9, 14, 0.91)
    ),
    url("assets/imgs/tahedra-hero.png")
    center / cover no-repeat;
}

.glass {
  min-height: 360px;
  background:
    linear-gradient(
      180deg,
      rgba(18, 24, 29, 0.91),
      rgba(7, 12, 16, 0.93)
    );
  backdrop-filter: blur(9px);
}

/* FAQ */

.faq {
  max-width: 850px;
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 24px 0;
  color: var(--text);
  font: 700 1rem Cinzel, serif;
  cursor: pointer;
}

details p {
  margin-top: 0;
  padding: 0 0 22px;
  color: #c5cdd3;
}

/* ACESSO */

.access {
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(31, 144, 201, 0.12),
      transparent 32%
    ),
    #07111a;
}

.access-box {
  align-items: center;
  padding: 50px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background:
    linear-gradient(
      120deg,
      rgba(22, 29, 34, 0.98),
      rgba(9, 15, 20, 0.98)
    );
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.access-box p {
  color: #c5cdd3;
}

.access-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.access-note {
  max-width: 360px;
  margin: 0;
  color: #c5cdd3;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* RODAPÉ */

footer {
  padding: 45px 0;
  background: #040a0f;
  border-top: 1px solid var(--line);
}

.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.footer p {
  margin: 7px 0 0;
  color: var(--muted);
}

/* RESPONSIVIDADE */

@media (max-width: 950px) {
  nav,
  .nav > .button {
    display: none;
  }

  .menu {
    display: block;
  }

  nav.open {
    position: fixed;
    inset: 76px 0 auto;
    display: grid;
    padding: 18px 25px;
    background: rgba(4, 11, 17, 0.98);
    border-bottom: 1px solid var(--line);
  }

  nav.open a {
    padding: 11px 0;
  }

  .cards.four,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-cols,
  .access-box {
    grid-template-columns: 1fr;
  }
}

.discover-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.discover-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(22,31,38,.97), rgba(10,17,23,.97));
}

.discover-card p { flex: 1; }

@media (max-width: 700px) {
  .discover-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .hero-image {
    background-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(
        0deg,
        rgba(3, 9, 14, 0.98),
        rgba(3, 9, 14, 0.58)
      );
  }

  .hero-panel {
    padding: 30px 22px;
    background: rgba(4, 12, 18, 0.75);
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.5rem);
  }

  .actions {
    display: grid;
  }

  .actions .button {
    width: 100%;
  }

  .cards.four,
  .steps {
    grid-template-columns: 1fr;
  }

  .steps {
    border-top: 0;
  }

  .steps article {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

  .steps article::before {
    top: 47px;
    left: -6px;
  }

  .access-box {
    padding: 30px 22px;
  }

  .access-action {
    width: 100%;
    align-items: stretch;
  }

  .access-action .button {
    width: 100%;
  }

  .access-note {
    max-width: none;
    text-align: center;
  }

  .footer {
    display: grid;
  }
  
  .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 18px;
  max-width: 620px;
}

.footer-links a {
  color: var(--muted);
  font-size: .84rem;
}

.footer-links a:hover {
  color: var(--gold2);
}

@media (max-width: 650px) {
  .footer-links {
    justify-content: flex-start;
  }
}
}

