* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050815;
  color: #f4f5fb;
  line-height: 1.6;
}

.construction-banner {
  width: 100%;
  text-align: center;
  background: linear-gradient(90deg, #d97706, #facc15);
  color: #1f2937;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.65rem 1rem;
  position: sticky;
  top: 0;
  z-index: 120;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

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

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

a:hover {
  text-decoration: underline;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 21, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding-block: 0.75rem;
}

.brand-title {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: #9ca3c7;
}

.nav {
  position: relative;
  width: 100%;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-list a {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: #d5dcff;
}

.nav-list a:hover {
  background: rgba(129, 140, 248, 0.15);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: #e5e7ff;
  padding: 0.25rem 0.5rem;
  font-size: 1.1rem;
}

.hero {
  padding: 5rem 0 3rem;
  background: radial-gradient(circle at top left, #1d2b5a, #050815 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 1.25rem;
}

.hero p {
  color: #d2d6ff;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, #4f46e5, #8b5cf6);
  color: white;
}

.btn.primary:hover {
  background: linear-gradient(135deg, #4338ca, #7c3aed);
}

.btn.ghost {
  border-color: rgba(148, 163, 255, 0.7);
  color: #e5e7ff;
}

.btn.ghost:hover {
  background: rgba(129, 140, 248, 0.1);
}

.hero-card {
  background: radial-gradient(circle at top, rgba(129, 140, 248, 0.15), rgba(15, 23, 42, 0.95));
  border-radius: 1.3rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(129, 140, 248, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.hero-card h2 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.hero-card ul {
  list-style: none;
  font-size: 0.9rem;
  color: #d1d5f5;
}

.hero-card li + li {
  margin-top: 0.35rem;
}

.section {
  padding: 3.5rem 0;
  background: #050815;
}

.section.alt {
  background: radial-gradient(circle at top right, #111827, #050815);
}

.section-header {
  margin-bottom: 1.9rem;
}

.section-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.section-header p {
  color: #a5b0e0;
  font-size: 0.95rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.two-cols {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three-cols {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.1rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 255, 0.2);
}

.card.fullwidth {
  margin-top: 1.5rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.95rem;
  color: #d5dcff;
}

.placeholder {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #9ca3c7;
}

.bullet-list {
  list-style: disc;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #d5dcff;
}

.bullet-list li + li {
  margin-top: 0.25rem;
}

.links-list {
  list-style: none;
  font-size: 0.9rem;
}

.links-list li + li {
  margin-top: 0.3rem;
}

.links-list a {
  color: #a5b4fc;
}

.links-list a:hover {
  color: #c4b5fd;
}

.footer {
  border-top: 1px solid rgba(148, 163, 255, 0.25);
  padding: 1.5rem 0 2rem;
  background: #020617;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3c7;
}

.footer-note {
  margin-top: 0.3rem;
}

.paginas-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.5rem;
}

.paginas-carousel-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.paginas-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.carousel-btn {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 255, 0.5);
  color: #e5e7ff;
  padding: 0.2rem 0.55rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.carousel-btn:hover {
  background: rgba(129, 140, 248, 0.3);
}

.carousel {
  position: relative;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding-block: 0.25rem 0.5rem;
  width: min(320px, 90%);
  margin-right: 1rem;
}

.carousel-item img {
  width: 100%;
  max-width: 360px;
  max-height: 200px;
  border-radius: 0.8rem;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.8);
}

.carousel-item h4 {
  font-size: 0.95rem;
}

.carousel-item-inner-text {
  padding-block: 0.25rem 0.5rem;
}

@media (max-width: 900px) {
  .paginas-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    gap: 0.75rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: absolute;
    right: 0;
    top: 110%;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 255, 0.25);
    display: none;
  }

  .nav-list.open {
    display: flex;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

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