/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primaria:    #081827;
  --secundaria:  #ce9835;
  --dourado:     #e8b84b;
  --dourado-dim: rgba(206, 152, 53, 0.15);
  --background:  #0a1f35;
  --bg-card:     #0f2e4b;
  --bg-dark:     #07131f;
  --claro:       #e2e8f0;
  --text-muted:  rgba(226, 232, 240, 0.65);
  --text-dim:    rgba(226, 232, 240, 0.4);

  --glass-bg:     rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-hover:  rgba(255, 255, 255, 0.09);

  --dot-done: #68d391;
  --dot-wip:  #f6ad55;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--claro);
  line-height: 1.65;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}


/* ============================================
   SCROLL REVEAL
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item:nth-child(1) { transition-delay: 0.05s; }
.reveal-item:nth-child(2) { transition-delay: 0.12s; }
.reveal-item:nth-child(3) { transition-delay: 0.19s; }
.reveal-item:nth-child(4) { transition-delay: 0.26s; }
.reveal-item:nth-child(5) { transition-delay: 0.33s; }
.reveal-item:nth-child(6) { transition-delay: 0.40s; }
.reveal-item:nth-child(7) { transition-delay: 0.47s; }
.reveal-item:nth-child(8) { transition-delay: 0.54s; }
.reveal-item:nth-child(9) { transition-delay: 0.60s; }
.reveal-item:nth-child(10){ transition-delay: 0.66s; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-8px); }
  60%       { transform: translateX(8px); }
}

.shake { animation: shake 0.5s ease; }


/* ============================================
   HEADER
============================================ */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.header.scrolled {
  background: rgba(8, 24, 39, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 16px;
}

.site-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dourado);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 36px;
}

.nav a {
  font-size: 0.82rem;
  color: var(--claro);
  opacity: 0.75;
  letter-spacing: 0.04em;
  transition: opacity 0.2s, color 0.2s;
}

.nav a:hover {
  opacity: 1;
  color: var(--dourado);
}

/* language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.lang-btn.active {
  color: var(--dourado);
  background: var(--dourado-dim);
}

.lang-sep {
  color: var(--text-dim);
  font-size: 0.7rem;
}


/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:linear-gradient(var(--bg-dark), var(--bg-card));
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--background));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-top: 80px;
}

.logo {
  width: min(420px, 80vw);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 32px rgba(232, 184, 75, 0.35));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero-tagline {
  font-family: 'Cinzel', serif;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--claro);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-hero:hover {
  transform: translateY(-3px);
  border-color: var(--dourado);
  color: var(--dourado);
  box-shadow: 0 8px 28px rgba(206, 152, 53, 0.2);
}

.btn-hero.btn-primary {
  background: linear-gradient(135deg, rgba(206,152,53,0.25), rgba(206,152,53,0.08));
  border-color: rgba(206,152,53,0.5);
  color: var(--dourado);
}

.btn-hero.btn-primary:hover {
  background: linear-gradient(135deg, rgba(206,152,53,0.35), rgba(206,152,53,0.15));
}

.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  background: var(--glass-bg);
  font-family: 'Cinzel', serif;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  transition: opacity 0.4s ease;
}

.scroll-arrow {
  color: var(--text-dim);
  font-size: 1.3rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}


/* ============================================
   SECTION SHARED
============================================ */
section {
  padding: 100px 0;
}

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 10px;
  opacity: 0.8;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.section-text {
  max-width: 660px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}

.section-label { text-align: center; }


/* ============================================
   ABOUT / PILLARS
============================================ */
.about {
  background: var(--background);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.pillar-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.3rem;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.pillar-card:hover {
  border-color: rgba(206,152,53,0.4);
  background: var(--glass-hover);
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}

.pillar-title {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--claro);
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ============================================
   SISTEMAS
============================================ */
.sistemas {
  background: var(--bg-dark);
}

.systems-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 32px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.dot-done { background: var(--dot-done); box-shadow: 0 0 6px rgba(104, 211, 145, 0.5); }
.dot-wip  { background: var(--dot-wip);  box-shadow: 0 0 6px rgba(246, 173, 85,  0.5); }

.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.system-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: border-color 0.3s, background 0.3s;
}

.system-card.done:hover { border-color: rgba(104, 211, 145, 0.35); background: var(--glass-hover); }
.system-card.wip:hover  { border-color: rgba(246, 173, 85,  0.35); background: var(--glass-hover); }

.system-card .dot { margin-top: 5px; }

.system-name {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--claro);
  margin-bottom: 4px;
}

.system-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================
   INSPIRACOES
============================================ */
.inspiration-section {
  background: linear-gradient(var(--bg-dark), var(--bg-card));
  padding: 100px 0;
}

.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.inspiration-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.inspiration-card:hover {
  transform: translateY(-4px);
  border-color: rgba(206, 152, 53, 0.4);
  background: var(--glass-hover);
}

.inspiration-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1.2rem;
}

.inspiration-title {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--claro);
}

.inspiration-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   ROADMAP
============================================ */
.roadmap-section {
  background: var(--background);
}

.roadmap-timeline {
  margin-top: 48px;
  position: relative;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 24px;
  margin-bottom: 0;
}

.roadmap-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--glass-border);
  background: var(--background);
  flex-shrink: 0;
  margin-top: 6px;
  transition: border-color 0.3s;
}

.marker-circle.active {
  border-color: var(--dourado);
  background: var(--dourado-dim);
  box-shadow: 0 0 10px rgba(206, 152, 53, 0.4);
}

.marker-line {
  width: 1px;
  flex: 1;
  min-height: 40px;
  background: var(--glass-border);
  margin: 6px 0;
}

.roadmap-content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  margin-bottom: 20px;
  transition: border-color 0.3s, background 0.3s;
}

.roadmap-item.active .roadmap-content {
  border-color: rgba(206,152,53,0.35);
  background: linear-gradient(135deg, rgba(206,152,53,0.06), var(--glass-bg));
}

.roadmap-item:hover .roadmap-content {
  background: var(--glass-hover);
}

.roadmap-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.roadmap-version {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.roadmap-status {
  font-size: 0.7rem;
  padding: 3px 12px;
  border-radius: 999px;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
}

.status-active  { background: rgba(206,152,53,0.15); color: var(--dourado);    border: 1px solid rgba(206,152,53,0.3); }
.status-planned { background: var(--glass-bg);       color: var(--text-muted); border: 1px solid var(--glass-border); }

.roadmap-name {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--claro);
}

.roadmap-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.roadmap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.rtag {
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  background: var(--glass-bg);
  letter-spacing: 0.02em;
}


/* ============================================
   GALLERY
============================================ */
.gallery {
  background: var(--bg-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.gallery-grid img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.gallery-grid img:hover {
  transform: scale(1.04);
  border-color: rgba(206,152,53,0.4);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}


/* ============================================
   WAITLIST
============================================ */
.waitlist {
  background: linear-gradient(var(--bg-dark), var(--bg-card));
  text-align: center;
}

.waitlist-content {
  max-width: 580px;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.email-input {
  flex: 1;
  min-width: 220px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--claro);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.email-input::placeholder { color: var(--text-dim); }
.email-input:focus { border-color: rgba(206,152,53,0.5); }

.btn-waitlist {
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid rgba(206,152,53,0.5);
  background: linear-gradient(135deg, rgba(206,152,53,0.25), rgba(206,152,53,0.08));
  color: var(--dourado);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-waitlist:hover {
  background: linear-gradient(135deg, rgba(206,152,53,0.4), rgba(206,152,53,0.18));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(206,152,53,0.2);
}

.waitlist-success {
  display: none;
  color: var(--dot-done);
  font-size: 0.95rem;
  margin-top: 16px;
  font-style: italic;
}

.waitlist-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 12px;
  font-style: italic;
}


/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--bg-dark);
  padding: 48px 0;
}

.footer-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-brand {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--dourado);
  opacity: 0.8;
}

.footer-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}

.footer-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--dourado); }

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 8px;
}


/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
  .nav { display: none; }

  .hero-content { padding-top: 100px; }
  .logo { width: min(300px, 75vw); }

  .pillars { grid-template-columns: 1fr; }
  .systems-grid { grid-template-columns: 1fr; }

  .roadmap-item {
    grid-template-columns: 28px 1fr;
    gap: 0 14px;
  }

  .waitlist-form { flex-direction: column; align-items: center; }
  .email-input { width: 100%; min-width: unset; }
  .btn-waitlist { width: 100%; text-align: center; }

  section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .header-content { flex-wrap: wrap; justify-content: space-between; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-hero { width: 220px; justify-content: center; }
}
