/* Reset e Variáveis Globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #4A7C9B;
  --accent: #10B981;
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --background: #F9FAFB;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-800: #1a2b3c;
}

/* Base */
html, body {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Container base */
.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

/* Header e Navegação */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 16px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e5e7eb;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-brand-text {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.25rem;
}

.nav-menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  background: var(--text-dark);
  height: 2px;
  width: 24px;
  display: block;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: #366274;
  box-shadow: 0 8px 16px rgba(58, 98, 116, 0.35);
  transform: translateY(-2px);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(74, 124, 155, 0.35);
  transform: translateY(-2px);
}


.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}
.btn {
  transition: all 0.3s ease;
}


.hero {
  padding-top: 120px;
  padding-bottom: 60px;
  background-color: #eef3f6;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
  padding-right: 32px;
}

.hero-title {
  font-size: 2.6rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-title-accent {
  color: var(--primary);
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--text-light);
}

.hero-actions {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img {
  max-width: 100%;
  border-radius: 8px;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}

.value-prop {
  padding: 80px 0;
  background-color: var(--background);
  text-align: center;
}

.section-header {
  margin-bottom: 48px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-light);
}

.value-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.value-card {
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.value-icon svg {
  display: block;
  margin: 0 auto 16px;
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.value-description {
  font-size: 0.95rem;
  color: var(--text-light);
}

.buyback,
.how-it-works,
.community {
  padding: 80px 0;
}

.buyback-content {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.buyback-text {
  flex: 1;
}

.buyback-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.buyback-highlight {
  color: var(--primary);
}

.buyback-description {
  margin-bottom: 24px;
  color: var(--text-light);
}

.buyback-criteria {
  margin-bottom: 24px;
}

.criteria-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.criteria-list {
  list-style: none;
  padding-left: 0;
}

.criteria-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.buyback-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.buyback-card {
  background: var(--primary);
  color: white;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.buyback-percentage {
  font-size: 2.5rem;
  font-weight: 800;
}

.buyback-label {
  font-size: 1.1rem;
  margin-top: 12px;
}

.buyback-sublabel {
  font-size: 0.9rem;
  margin-top: 4px;
}
.how-it-works {
  background-color: var(--background);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.step {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0px 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
}

.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.step-description {
  font-size: 0.95rem;
  color: var(--text-light);
}

.community-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 48px;
}

.community-text {
  flex: 1;
}

.community-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.community-description {
  margin-bottom: 24px;
  color: var(--text-light);
}

.community-features {
  margin-bottom: 24px;
}

.feature {
  margin-bottom: 16px;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-description {
  color: var(--text-light);
  font-size: 0.95rem;
}

.community-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.community-image {
  flex: 1;
  text-align: center;
}

.community-img {
  max-width: 100%;
  border-radius: 8px;
}

.cta-final {
  padding: 80px 0;
  text-align: center;
  background-color: var(--primary);
  color: white;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-description {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
/* Footer */
.footer {
  background: #f5f5f5;
  color: var(--text-dark);
  padding: 64px 0;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-description {
  font-size: 0.95rem;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  flex: 1;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-column {
  min-width: 140px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-list {
  list-style: none;
}

.footer-link {
  color: var(--text-dark);
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-light);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-dark);
  text-decoration: none;
}

.footer-social a:hover {
  text-decoration: underline;
}

/* Animações */
@keyframes fadeInUpAnimated {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.value-card,
.step,
.feature,
.buyback-card {
  opacity: 0;
  transform: translateY(40px);
}

.fade-in-up {
  animation: fadeInUpAnimated 0.75s ease-out forwards;
}


/* Lazy Load de Imagens */
img {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

img.loaded {
  opacity: 1;
}

/* Responsividade */
@media screen and (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .nav-actions.active {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content,
  .buyback-content,
  .community-content {
    flex-direction: column;
  }

  .hero-text,
  .buyback-text,
  .community-text {
    padding-right: 0;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }
}
.loading-circle {
  animation: spin 2s linear infinite, pulse 2s ease-in-out infinite;
  stroke-linecap: round;
}


/* ========================
   Preloader Estilos Completos
   ======================== */
.preloader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


.preloader-content {
  text-align: center;
}

.preloader-logo {
  margin-bottom: 16px;
}

.preloader-text {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* SVG Animation */
.loading-circle {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  animation: spin 2.4s linear infinite, pulse 2s ease-in-out infinite;
  stroke-linecap: round;
}

/* Animation Frames */
@keyframes spin {
  0% { stroke-dashoffset: 157; }
  100% { stroke-dashoffset: 0; }
}

@keyframes pulse {
  0%, 100% { stroke-opacity: 1; }
  50% { stroke-opacity: 0.4; }
}
.loading-circle {
  stroke-dashoffset: 157;
}

.preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.spinner {
  animation: rotate 2s linear infinite;
}

.path {
  stroke: #4A7C9B;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1,150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90,150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90,150;
    stroke-dashoffset: -124;
  }
}

.loading-text {
  margin-top: 16px;
  font-size: 1.2rem;
  color: #4A7C9B;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.dots::after {
  content: '.';
  animation: blink 1.5s steps(5, start) infinite;
  display: inline-block;
  margin-left: 4px;
  width: 14px;
}

@keyframes blink {
  0%, 20% { color: transparent; }
  40%, 60% { color: #4A7C9B; }
  80%, 100% { color: transparent; }
}

.redirect-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.redirect-overlay.active {
  display: flex;
  opacity: 1;
}

.redirect-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #ccc;
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 12px;
}

.redirect-message {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--primary);
  font-size: 1.1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

