/* TVDEHub Landing — CSS separado */
:root {
  --bg-0: #060817;
  --bg-1: #0e2e5c;
  --ink: #eaf2ff;
  --muted: #a7b3c7;
  --brand: #1e76bd;
  --brand-2: #0d5aa1;
  --accent: #42dca3;
  --card: rgba(255, 255, 255, .06);
  --stroke: rgba(255, 255, 255, .12);
  --shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

* {
  box-sizing: border-box
}

html {
  height: auto;
}

body {
  min-height: 100%;
  min-height: 100dvh;
}

/* cobre bem mobile também */

body {
  margin: 0;
  font-family: Inter, system-ui, Segoe UI, Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 10% -10%, #14397233, transparent),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 80%);
  overflow-x: hidden;
}

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

.container {
  width: min(1120px, 92%);
  margin-inline: auto
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(6, 8, 23, .8), rgba(6, 8, 23, .3), transparent);
  backdrop-filter: saturate(130%) blur(8px);
  border-bottom: 1px solid transparent;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700
}

.nav__links {
  display: flex;
  gap: 1rem;
  align-items: center
}

.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500
}

.nav__links a:hover {
  color: var(--ink)
}

.nav__toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 28px
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: #eaf2ff;
  margin: 6px 0;
  transition: .3s
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg)
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0
}

.nav__toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg)
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: var(--shadow);
  border: 1px solid #1b4e86;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03)
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--stroke);
  color: var(--ink);
  box-shadow: none
}

.btn--dark {
  background: #0c1224;
  border-color: #0c1224
}

.btn--xl {
  padding: 1rem 1.3rem;
  border-radius: 14px;
  font-size: 1.05rem
}

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

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.rays {
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 0deg at 60% 40%, #1e76bd22 0deg, transparent 40deg, transparent 70deg, #42dca322 100deg),
    conic-gradient(from 140deg at 40% 30%, #1e76bd22 0deg, transparent 50deg);
  mix-blend-mode: screen;
  filter: blur(1px);
  animation: spin 40s linear infinite;
}

.glow {
  position: absolute;
  width: 520px;
  height: 520px;
  left: 50%;
  top: 55%;
  translate: -50% -50%;
  background: radial-gradient(closest-side, #1e76bd55, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
}

.grid {
  position: absolute;
  inset: auto -10% 0 -10%;
  height: 55%;
  background-image: linear-gradient(#ffffff10 1px, transparent 1px), linear-gradient(90deg, #ffffff10 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(800px) rotateX(60deg);
  opacity: .35;
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.hero__content {
  position: relative;
  z-index: 2
}

.hero__title {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.05;
  margin: 0 0 .7rem
}

.hero__title .accent {
  color: var(--accent)
}

.hero__subtitle {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 740px;
  margin: 0 auto 1.2rem
}

.hero__cta {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap
}

.hero__badges {
  display: flex;
  gap: .6rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap
}

.badge {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .04);
  padding: .5rem .7rem;
  border-radius: 999px;
  font-size: .9rem;
  color: var(--ink);
  opacity: .9
}

.scroll-down {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: #b8c6dd;
  text-decoration: none;
  font-size: 1.1rem;
  opacity: .8
}

/* SECTIONS */
.section {
  padding: 80px 0
}

.section--contrast {
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke)
}

.section__title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin: 0 0 .4rem
}

.section__lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch
}

.center {
  text-align: center;
  margin-inline: auto
}

.split {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 44px;
  align-items: center
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  gap: .5rem
}

.bullets li {
  color: var(--ink);
  opacity: .9
}

.bullets i {
  color: var(--accent);
  margin-right: .4rem
}

/* Glass preview card */
.card {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  box-shadow: var(--shadow)
}

.card--glass {
  backdrop-filter: blur(10px) saturate(120%)
}

.card__header {
  display: flex;
  gap: .35rem;
  padding: 10px 12px;
  border-bottom: 1px solid var(--stroke)
}

.card__header .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5b6c86
}

.card__body {
  padding: 16px
}

.mock {
  display: grid;
  gap: 12px
}

.mock__row {
  display: flex;
  justify-content: space-between;
  color: #e8efff
}

.mock__label {
  opacity: .8
}

.mock__value {
  font-weight: 800
}

.mock__progress {
  height: 10px;
  background: #0b1122;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  overflow: hidden
}

.mock__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #2fe1b8)
}

.mock__mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px
}

.mini__item {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--stroke);
  padding: 10px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between
}

/* Features */
.features {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.feature {
  border: 1px solid var(--stroke);
  background: var(--card);
  padding: 22px;
  border-radius: 14px;
  transition: transform .2s ease, box-shadow .2s ease
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25)
}

.feature__icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  margin-bottom: 10px
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px
}

.price-card {
  border: 1px solid var(--stroke);
  background: var(--card);
  padding: 22px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  justify-content: space-between;
}

.price-card h3 {
  margin: 0
}

.price-card .price {
  font-size: 2rem;
  font-weight: 800
}

.price-card .price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted)
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 14px;
  display: grid;
  gap: .45rem;
  flex-grow: 1;
}


.price-card a.btn {
  margin-top: auto;
  /* garante botão no final */
}


.price-card li {
  opacity: .95
}

.price-card--highlight {
  background: linear-gradient(180deg, rgba(30, 118, 189, .25), rgba(13, 90, 161, .15));
  border-color: #2a7bc7;
  box-shadow: 0 20px 30px rgba(0, 0, 0, .25)
}

.badge-popular {
  position: absolute;
  top: -10px;
  left: 50%;
  translate: -50% 0;
  background: var(--accent);
  color: #05201a;
  font-weight: 800;
  padding: .25rem .55rem;
  border-radius: 999px;
  border: 1px solid #0f5
}

/* CTA */
.cta {
  padding: 84px 0;
  background: linear-gradient(180deg, rgba(66, 220, 163, .08), transparent 65%)
}

.cta__inner {
  text-align: center
}

.cta h2 {
  margin: 0 0 .3rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem)
}

.cta p {
  color: var(--muted);
  margin: 0 0 1rem
}

/* Footer */
.footer {
  border-top: 1px solid var(--stroke);
  padding: 24px 0
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.backtop {
  color: var(--muted);
  text-decoration: none
}

/* RESPONSIVO */
@media (max-width: 980px) {
  .split {
    grid-template-columns: 1fr
  }

  .features {
    grid-template-columns: repeat(2, 1fr)
  }

  .pricing {
    grid-template-columns: 1fr
  }

  .nav__toggle {
    display: block
  }

  .nav__links {
    position: absolute;
    inset: 60px 0 auto 0;
    padding: 10px 4%;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--stroke);
    background: rgba(6, 8, 23, .96);
    backdrop-filter: blur(12px);
    transform-origin: top;
    transform: scaleY(0);
    transition: .25s;
    pointer-events: none
  }

  .nav__links.open {
    transform: scaleY(1);
    pointer-events: auto
  }
}

@media (max-width: 620px) {
  .features {
    grid-template-columns: 1fr
  }

  .hero__badges {
    display: none
  }
}


.footer__inner {
  display: flex;
  flex-direction: column;
  /* empilha o conteúdo */
  align-items: center;
  /* centraliza na horizontal */
  justify-content: center;
  gap: 10px;
  /* espaço entre o crédito e o botão de voltar */
  text-align: center;
}

.footer__inner .credit {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
}

.footer__inner .credit a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.footer__inner .credit a:hover {
  text-decoration: underline;
}
