:root {
  --white: #ffffff;
  --off: #fafafa;
  --ink: #111111;
  --ink2: #222222;
  --graphite: #3a3a3a;
  --mid: #777777;
  --light: #bbbbbb;
  --border: #e5e5e5;
  --border2: #d0d0d0;
  --hover: #f4f4f4;
  --status-progresso: #D97706;
  --status-feito: #1A56DB;
  --status-concluido: #1A7A4A;
}

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

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s, color 0.2s;
}

.page {
  display: none;
}

.page.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 48px;
  justify-content: center;
  gap: 80px;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--ink);
  cursor: pointer;
}

.nav-logo span {
  font-style: normal;
  font-weight: 300;
  color: var(--light);
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-social-icon {
  display: flex;
  align-items: center;
  color: var(--mid);
  transition: all 0.2s;
  margin-left: -24px; /* Move it closer to the last text link */
}

.nav-social-icon:hover {
  color: #000;
  transform: translateY(-2px);
}

.nav-links a {
  font-size: 16px;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.15s;
  cursor: pointer;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  letter-spacing: 0.1px;
}

.btn-ghost {
  background: transparent;
  color: var(--graphite);
  border: 1px solid var(--border2);
}

.btn-ghost:hover { background: var(--hover); }

.btn-dark {
  background: var(--ink);
  color: white;
}

.btn-dark:hover { background: var(--graphite); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-outline:hover { background: var(--ink); color: white; }

.landing {
  padding-top: 60px;
}

.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 48px 60px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0, 0, 0, 0.025) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink);
  max-width: 820px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--mid);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.hero-cta .btn {
  padding: 12px 28px;
  font-size: 14px;
}

.hero-note {
  font-size: 12px;
  color: var(--light);
  margin-top: 16px;
  position: relative;
  z-index: 10;
}

.scroll-down-arrow {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--light);
  cursor: pointer;
  animation: bounce 2s infinite;
  z-index: 10;
  padding: 10px;
}

.scroll-down-arrow:hover {
  color: var(--ink);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

.roles-strip {
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
}

.wheel-container {
  position: relative;
  width: 380px;
  height: 380px;
  margin: 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scale-wheel {
  transform: scale(1.35);
  margin-top: 80px;
}

.wheel-path {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px dashed var(--border2);
  border-radius: 50%;
  z-index: 1;
}

.wheel-orbit {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: orbitSpin 30s linear infinite;
  animation-delay: calc(var(--i) * -6s);
  z-index: 2;
}

@keyframes orbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.wheel-node {
  /* pushed up by radius (140px) */
  animation: nodeCounterSpin 30s linear infinite;
  animation-delay: calc(var(--i) * -6s);
  
  width: 100px;
  height: 100px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

@keyframes nodeCounterSpin {
  0% { transform: translateY(-140px) rotate(0deg); }
  100% { transform: translateY(-140px) rotate(-360deg); }
}

.section {
  padding: 100px 48px;
  border-bottom: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
}

.section-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.7;
  max-width: 520px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.step {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
}

.step:last-child { border-right: none; }

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.step-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
}

/* Novo Layout Side-by-Side para "Como Funciona" */
.how-it-works-layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  margin-top: 40px;
  position: relative;
}

.how-sticky-side {
  flex: 1;
  position: sticky;
  top: 100px;
}

.how-scroll-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 120px;
}

.step-card {
  padding: 40px 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.step-card .step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 56px;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 24px;
}

.step-card .step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.step-card .step-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
}

.feature-cell {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  transition: background 0.15s, box-shadow 0.15s;
}

.feature-cell:hover { 
  background: var(--off);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.feature-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.plan-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  position: relative;
  transition: border-color 0.2s;
}

.plan-card:hover { border-color: var(--border2); }

.plan-card.featured {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.plan-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 16px;
}

.plan-card.featured .plan-name {
  color: rgba(255, 255, 255, 0.5);
}

.plan-price {
  font-family: 'Outfit', sans-serif;
  font-size: 52px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.plan-card.featured .plan-price {
  color: white;
}

.plan-price sup {
  font-size: 20px;
  vertical-align: super;
}

.plan-price sub {
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
}

.plan-desc {
  font-size: 12.5px;
  color: var(--mid);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}

.plan-card.featured .plan-desc {
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.plan-features {
  list-style: none;
}

.plan-features li {
  font-size: 13px;
  color: var(--graphite);
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.plan-card.featured .plan-features li {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

.plan-features li:last-child { border-bottom: none; }

.plan-features li::before {
  content: '—';
  color: var(--light);
  font-size: 12px;
  flex-shrink: 0;
}

.plan-card.featured .plan-features li::before {
  color: rgba(255, 255, 255, 0.3);
}

.plan-cta {
  margin-top: 28px;
  width: 100%;
  text-align: center;
  padding: 11px;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--ink);
  transition: all 0.15s;
}

.plan-cta:hover { background: var(--off); }

.plan-card.featured .plan-cta {
  background: var(--white);
  color: var(--ink);
  border-color: white;
}

.plan-card.featured .plan-cta:hover { background: var(--off); }

.cta-section {
  padding: 120px 48px;
  text-align: center;
  background: var(--ink);
  color: white;
}

.cta-section .section-title { color: white; }
.cta-section .section-sub {
  color: rgba(255, 255, 255, 0.45);
  margin: 0 auto 48px;
}
.cta-section .btn-dark {
  background: var(--white);
  color: var(--ink);
}
.cta-section .btn-dark:hover { background: var(--off); }

footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 1px;
}

.footer-copy {
  font-size: 12px;
  color: var(--light);
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off);
  padding: 40px 20px;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 40px 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
}

.auth-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ink);
  cursor: pointer;
  margin-bottom: 28px;
  display: inline-block;
}

.auth-logo span {
  font-weight: 300;
  color: var(--light);
}

.auth-title {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 6px;
}

.auth-sub {
  font-size: 13.5px;
  color: var(--mid);
  margin-bottom: 28px;
}

.auth-google-btn {
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  background: var(--white);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.15s;
  margin-bottom: 20px;
}

.auth-google-btn:hover {
  background: var(--off);
  border-color: var(--ink);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--light);
  font-size: 12px;
  margin-bottom: 20px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-field {
  margin-bottom: 16px;
}

.auth-label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mid);
  margin-bottom: 6px;
}

.auth-input {
  width: 100%;
  padding: 10px 13px;
  border-radius: 8px;
  border: 1px solid var(--border2);
  background: var(--white);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}

.auth-input:focus {
  border-color: var(--ink);
}

.auth-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--light);
  margin-top: 6px;
  line-height: 1.4;
}

.auth-submit {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: var(--ink);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.15s;
}

.auth-submit:hover {
  opacity: 0.88;
}

.auth-footer {
  text-align: center;
  font-size: 13px;
  color: var(--mid);
  margin-top: 20px;
}

.auth-link {
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.app-layout {
  display: flex;
  height: 100vh;
  padding-top: 60px;
}

.app-sidebar {
  width: 220px;
  border-right: 1px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 24px 0;
}

.sidebar-section {
  margin-bottom: 8px;
}

.sidebar-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light);
  padding: 0 20px;
  margin-bottom: 4px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.12s;
  border-left: 2px solid transparent;
}

.sidebar-item:hover {
  color: var(--ink);
  background: var(--off);
}

.sidebar-item.active {
  color: var(--ink);
  font-weight: 500;
  border-left-color: var(--ink);
  background: var(--off);
}

.si-icon {
  font-size: 14px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.app-main {
  flex: 1;
  overflow-y: auto;
  background: var(--off);
}

.app-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 36px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

.breadcrumb {
  font-size: 13px;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb .sep { color: var(--border2); }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

.app-content {
  padding: 36px;
  padding-bottom: 80px;
}

.proj-header {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.proj-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 6px;
}

.proj-name {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}

.proj-client-info {
  font-size: 13px;
  color: var(--mid);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.slide-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  background: white;
  font-size: 20px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-arrow:hover { background: var(--ink); color: white; border-color: var(--ink); }
.slide-arrow:disabled { opacity: 0.2; cursor: not-allowed; pointer-events: none; }

.slide-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border2);
  cursor: pointer;
  transition: all 0.2s;
}
.slide-dot.active { background: var(--ink); width: 24px; border-radius: 3px; }

.slide-enter {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.slide-leave {
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ─── RESPONSIVIDADE (PHONE VERSION) ─── */
@media (max-width: 768px) {
  /* Navigation */
  nav {
    flex-direction: column;
    padding: 16px 20px;
    gap: 16px;
    height: auto;
    align-items: center;
  }

  .nav-links {
    gap: 20px;
    overflow-x: auto;
    width: 100%;
    justify-content: center;
    padding-bottom: 8px;
  }

  .nav-links a {
    font-size: 14px;
    white-space: nowrap;
  }

  .nav-social-icon {
    margin-left: 0;
  }

  /* Hero Section */
  .landing {
    padding: 140px 20px 80px;
  }

  .hero-title {
    font-size: 2.8rem;
    line-height: 1.1;
  }

  #hero-waitlist-form {
    flex-direction: column;
    gap: 12px !important;
  }

  #hero-waitlist-form input {
    width: 100%;
  }

  #hero-waitlist-form button {
    width: 100%;
  }

  /* Section Spacing */
  section {
    padding: 60px 20px !important;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Grids to Single Column */
  .feature-grid, 
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }

  /* Slideshow optimization */
  .slideshow-container {
    height: auto;
    min-height: 300px;
  }

  /* Scale down iframe inside slideshow if necessary */
  #slideshow-content iframe {
    transform-origin: top center;
  }

  /* CTA Final */
  .cta-section {
    padding: 80px 20px !important;
  }

  /* Plan cards scaling */
  .plan-card {
    padding: 32px 24px;
  }

  .plan-price {
    font-size: 40px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
}
