:root {
  --bg: #080b12;
  --panel: #121a2a;
  --text: #f8fafc;
  --muted: #b1bbcf;
  --line: rgba(255,255,255,0.12);
  --accent: #ff7a18;
  --accent-2: #ff3da7;
  --gold: #ffd166;
  --shadow: 0 24px 70px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,61,167,0.16), transparent 24%),
    radial-gradient(circle at 80% 5%, rgba(255,122,24,0.16), transparent 28%),
    linear-gradient(180deg, #070a10 0%, #0b1018 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 5vw;
  background: rgba(8, 11, 18, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.25;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 800;
}

nav a:hover { color: var(--text); }

.section {
  padding: 72px 5vw;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.tag {
  margin: 0 0 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 900;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.lead {
  margin: 24px 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.hero-highlights span,
.chip,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  font-weight: 900;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(255,61,167,0.22);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
}

.ghost {
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}

.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.mini-stats div {
  min-width: 150px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}

.mini-stats strong {
  display: block;
  font-size: 25px;
}

.mini-stats span {
  color: var(--muted);
}

.hero-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: #0b1220;
  box-shadow: var(--shadow);
}

.hero-image-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.badge {
  position: absolute;
  max-width: calc(100% - 24px);
  z-index: 2;
}

.badge-top {
  left: 14px;
  top: 14px;
}

.badge-bottom {
  left: 14px;
  bottom: 14px;
}

.comment {
  position: absolute;
  z-index: 2;
  max-width: 250px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(8,11,18,0.82);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow);
  line-height: 1.35;
}

.comment-one {
  right: 16px;
  top: 20%;
}

.comment-two {
  right: 16px;
  bottom: 22%;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
}

.strip-card,
.comment-card,
.benefit-grid div {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  padding: 24px;
}

.strip-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.strip-card span,
.section-title p,
.comment-card p,
.benefit-grid p,
.final-cta p,
.card-overlay p {
  color: var(--muted);
  line-height: 1.55;
}

.section-title {
  max-width: 840px;
  margin-bottom: 28px;
}

.section-title h2,
.final-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.showcase-card {
  position: relative;
  grid-column: span 4;
  min-height: 360px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #101623;
  box-shadow: 0 18px 48px rgba(0,0,0,0.2);
  isolation: isolate;
}

.showcase-card.large {
  grid-column: span 8;
  min-height: 430px;
}

.showcase-card.wide {
  grid-column: span 12;
  min-height: 400px;
}

.showcase-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5,8,14,0.04) 0%, rgba(5,8,14,0.32) 45%, rgba(5,8,14,0.92) 100%),
    linear-gradient(90deg, rgba(5,8,14,0.32), transparent 55%);
}

.card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px;
}

.card-overlay h3 {
  margin: 12px 0 8px;
  max-width: 720px;
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.card-overlay p {
  max-width: 720px;
  margin: 0;
  font-size: 17px;
}

.chip {
  max-width: 100%;
  font-size: 14px;
  line-height: 1;
}

.comment-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.emoji {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-size: 24px;
}

.comment-card h3,
.benefit-grid h3 {
  margin: 14px 0 10px;
  font-size: 22px;
  line-height: 1.15;
}

.benefits {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-grid span {
  font-size: 34px;
}

.final-cta {
  margin: 72px 5vw;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,122,24,0.2), rgba(255,61,167,0.16));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

footer {
  padding: 40px 5vw 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer strong {
  color: var(--text);
  font-size: 22px;
}

.footer-links {
  display: flex;
  gap: 16px;
  margin: 16px 0;
}

.footer-links a,
.powered a {
  color: var(--gold);
  font-weight: 900;
}

.powered {
  display: block;
  margin-top: 10px;
}

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

  .feature-strip,
  .comment-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-card,
  .showcase-card.large,
  .showcase-card.wide {
    grid-column: span 6;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 4.5vw;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  nav {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    white-space: nowrap;
  }

  nav .btn-small {
    min-width: auto;
    padding: 0 16px;
  }

  .comment {
    position: static;
    max-width: none;
    margin: 12px 14px 0;
  }

  .badge-bottom {
    bottom: 14px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 54px 4.5vw;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(38px, 11vw, 46px);
    line-height: 1;
  }

  .lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-highlights span {
    padding: 9px 12px;
    font-size: 14px;
  }

  .mini-stats div {
    min-width: calc(50% - 8px);
  }

  .feature-strip,
  .comment-grid,
  .benefit-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card,
  .showcase-card.large,
  .showcase-card.wide {
    grid-column: 1;
    min-height: 430px;
  }

  .showcase-card::after {
    background:
      linear-gradient(180deg, rgba(5,8,14,0.02) 0%, rgba(5,8,14,0.28) 43%, rgba(5,8,14,0.94) 100%);
  }

  .card-overlay {
    padding: 18px;
  }

  .card-overlay h3 {
    font-size: 25px;
    line-height: 1.08;
  }

  .card-overlay p {
    font-size: 15.5px;
    line-height: 1.45;
  }

  .section-title h2,
  .final-cta h2 {
    font-size: clamp(29px, 9vw, 40px);
    line-height: 1.08;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 12px;
  }

  nav a {
    font-size: 15px;
  }

  .btn-small {
    min-height: 40px;
  }

  .final-cta {
    margin: 54px 4.5vw;
  }
}

@media (max-width: 390px) {
  .showcase-card,
  .showcase-card.large,
  .showcase-card.wide {
    min-height: 400px;
  }

  .card-overlay h3 {
    font-size: 23px;
  }

  .card-overlay p {
    font-size: 15px;
  }
}

/* CORRECAO REAL - hero mobile: evita sobreposicao entre badge e comentarios */
@media (max-width: 820px) {
  .hero-image-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .hero-image-card img {
    flex: 0 0 auto;
  }

  .badge-top {
    left: 14px;
    top: 14px;
  }

  .badge-bottom {
    position: static;
    max-width: none;
    width: auto;
    margin: 14px 14px 0;
    align-self: flex-start;
  }

  .comment {
    position: static;
    max-width: none;
    width: auto;
    margin: 12px 14px 0;
  }

  .comment-two {
    margin-bottom: 14px;
  }
}

@media (max-width: 420px) {
  .badge,
  .comment {
    font-size: 14px;
    line-height: 1.35;
  }

  .badge-bottom,
  .comment {
    margin-left: 12px;
    margin-right: 12px;
  }
}
