/* Promovy — Landing Page */

:root {
  --bg-main: #0D0B1F;
  --bg-alt: #0A0819;
  --bg-card: #12102A;
  --indigo: #4F3CC9;
  --purple: #7B5CF0;
  --orange: #FF6B2B;
  --text-main: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.07);
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --nav-height: 56px;
}

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

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button {
  font-family: inherit;
}

/* —— Navbar —— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-main);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img,
.footer-logo-img {
  height: 57px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
}

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

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-link {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-main);
}

.nav-cta {
  background: var(--orange);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  opacity: 0.9;
}

/* Menu hambúrguer */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* —— Hero —— */

.hero {
  padding: 60px 28px 48px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(123, 92, 240, 0.15);
  border: 0.5px solid rgba(123, 92, 240, 0.4);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  color: #C4B8FF;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}

.hero-h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--text-main);
}

.hero-h1 .accent {
  color: var(--orange);
}

.hero-sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto 28px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-reassure {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
  list-style: none;
}

.hero-reassure li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.hero-reassure svg {
  color: #3FBF7F;
  flex-shrink: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  opacity: 0.9;
}

.btn-primary--lg {
  font-size: 15px;
  padding: 14px 32px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text-main);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-main);
}

.stat-num .accent {
  color: var(--orange);
}

.stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

/* —— Ticker —— */

.ticker {
  overflow: hidden;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 10px 0;
  background: var(--bg-alt);
}

.ticker-inner {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: tick 18s linear infinite;
  width: max-content;
}

.ticker-item {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.ticker-item span {
  color: rgba(255, 255, 255, 0.6);
}

@keyframes tick {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* —— Seções —— */

.section {
  padding: 48px 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--purple);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-h2 {
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  max-width: 400px;
}

.divider-line {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 0 28px;
  max-width: 1044px;
  margin-left: auto;
  margin-right: auto;
}

/* —— CTA laranja —— */

.btn-cta-orange {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.btn-cta-orange:hover,
.btn-cta-orange:focus-visible {
  opacity: 0.9;
}

/* —— Rotina do afiliado —— */

.routine-section {
  background: var(--bg-alt);
  padding: 64px 28px;
}

.routine-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.routine-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
  color: var(--text-main);
}

.routine-title .accent {
  color: var(--orange);
}

.routine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.routine-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.routine-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
}

.routine-card strong {
  font-weight: 500;
  color: var(--text-main);
}

.routine-footer-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 32px;
}

.routine-footer-text strong {
  font-weight: 500;
  color: var(--text-main);
}

.routine-cta-wrap {
  display: flex;
  justify-content: center;
}

/* —— Seção mockup celular —— */

.promo-section {
  padding: 64px 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.promo-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.phone-mockup {
  display: flex;
  justify-content: center;
  transform: rotate(-4deg);
}

.phone-mockup__frame {
  width: 290px;
  background: #1a1a1a;
  border: 12px solid #1a1a1a;
  border-radius: 40px;
  padding: 12px 8px 16px;
  position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.phone-mockup__notch {
  width: 80px;
  height: 20px;
  background: #000;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 8px;
}

.phone-mockup__screen {
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  position: relative;
  aspect-ratio: 9 / 19;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.phone-screen-placeholder {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: #2a2a3a;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  text-align: center;
  padding: 20px;
  border-radius: 28px;
}

.promo-section__content {
  max-width: 480px;
}

.promo-section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.promo-section__title .accent {
  color: var(--orange);
}

.promo-section__sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.promo-section__sub strong {
  font-weight: 500;
  color: var(--text-main);
}

/* —— Features —— */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.feat-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 18px;
}

.feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.feat-icon--purple {
  background: rgba(123, 92, 240, 0.15);
  color: var(--purple);
}

.feat-icon--orange {
  background: rgba(255, 107, 43, 0.12);
  color: var(--orange);
}

.feat-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 6px;
}

.feat-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

/* —— Planos —— */

.plans-section {
  padding: 48px 28px;
  background: var(--bg-alt);
}

.plans-section .section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.plan-card {
  background: var(--bg-card);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
}

.plan-card.featured {
  border: 1.5px solid var(--purple);
}

.plan-badge {
  font-size: 11px;
  font-weight: 500;
  background: var(--purple);
  color: var(--text-main);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.plan-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 4px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 4px;
}

.plan-price-old {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: line-through;
  font-weight: 400;
}

.plan-price {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-main);
}

.plan-price span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.plan-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
  line-height: 1.4;
}

.plan-btn {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.plan-btn:hover,
.plan-btn:focus-visible {
  opacity: 0.9;
}

.plan-btn.purple {
  background: var(--purple);
  color: var(--text-main);
}

.plan-btn.orange {
  background: var(--orange);
  color: var(--text-main);
}

.plan-btn.outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
}

.plan-features {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.plan-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.plan-feat svg {
  flex-shrink: 0;
  color: var(--purple);
}

/* —— Depoimentos —— */

.testimonials {
  padding: 48px 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.testi-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.testi-stars {
  color: var(--orange);
  font-size: 12px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.testi-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin-bottom: 12px;
}

.testi-author {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

/* —— FAQ —— */

.faq-section {
  padding: 48px 28px;
  background: var(--bg-alt);
}

.faq-section .section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 20px;
}

.faq-item {
  border-bottom: 0.5px solid var(--border);
  padding: 14px 0;
}

.faq-q {
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  text-align: left;
  padding: 0;
}

.faq-q svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease;
}

.faq-q[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq-a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, margin-top 0.25s ease;
}

.faq-a.is-open {
  margin-top: 10px;
}

/* —— CTA —— */

.cta-section {
  padding: 48px 28px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.cta-box {
  background: var(--bg-card);
  border: 0.5px solid rgba(123, 92, 240, 0.3);
  border-radius: 16px;
  padding: 40px 28px;
}

.cta-h2 {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 10px;
}

.cta-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}

/* —— Footer —— */

.footer {
  background: var(--bg-main);
  border-top: 0.5px solid var(--border);
  padding: 32px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 4px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

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

.footer-link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.15s ease, background 0.15s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

/* —— Utilitários —— */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

/* —— Responsivo —— */

@media (max-width: 1024px) {
  .routine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-center {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-main);
    padding: 24px 16px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }

  .nav-open .nav-center {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    font-size: 16px;
    padding: 14px 0;
    border-bottom: 0.5px solid var(--border);
  }

  .nav-center .nav-cta {
    margin-top: 20px;
    text-align: center;
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 8px;
  }

  .hero {
    padding: 40px 16px 36px;
  }

  .section,
  .routine-section,
  .promo-section,
  .plans-section,
  .testimonials,
  .faq-section,
  .cta-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .routine-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .promo-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .routine-grid {
    grid-template-columns: 1fr;
  }

  .promo-section__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .promo-section__content {
    order: 1;
    max-width: none;
  }

  .phone-mockup {
    order: 2;
    transform: rotate(0deg);
  }

  .hero-stats {
    gap: 20px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 16px;
  }

  .footer-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

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

  .ticker-inner {
    animation: none;
  }

  .faq-a {
    transition: none;
  }
}
