/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #fff; color: #1a1a1a; font-size: 16px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  height: 56px;
}
.navbar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 0;
  height: 100%; padding: 0 24px;
}
.navbar-logo img { height: 36px; width: auto; }
.navbar-links {
  display: flex; align-items: center; gap: 2px;
  margin-left: 16px; flex: 1;
}
.navbar-links a {
  font-size: 13px; font-weight: 500; color: #1a1a1a;
  padding: 8px 10px; border-radius: 6px;
  white-space: nowrap;
  transition: background 0.15s;
}
.navbar-links a:hover { background: #f5f5f5; }
.nav-ajuda {
  display: flex; align-items: center; gap: 4px;
}
.nav-ajuda img { width: 18px; height: 18px; }
.navbar-actions {
  display: flex; align-items: center; gap: 8px; margin-left: auto;
}
.btn-entrar {
  font-size: 14px; font-weight: 600; color: #1a1a1a;
  padding: 8px 20px; border: 2px solid #1a1a1a; border-radius: 8px;
  transition: all 0.15s;
}
.btn-entrar:hover { background: #1a1a1a; color: #fff; }
.btn-criar-conta {
  font-size: 14px; font-weight: 600; color: #fff;
  background: #e8521a; padding: 8px 20px; border-radius: 8px;
  transition: background 0.15s;
}
.btn-criar-conta:hover { background: #c94415; }

/* ===== HERO ===== */
.hero {
  background: #f0ede8;
  position: relative; overflow: hidden;
  padding: 60px 24px 60px;
  min-height: 580px;
}
.hero-bg-circles {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none; overflow: hidden;
}
.circle {
  position: absolute; border-radius: 50%;
  border: 2px solid rgba(232, 82, 26, 0.18);
}
.circle-1 { width: 500px; height: 500px; top: -120px; right: -80px; }
.circle-2 { width: 380px; height: 380px; top: -60px; right: -20px; }
.circle-3 { width: 260px; height: 260px; top: 20px; right: 60px; }

.hero-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: flex-start; gap: 40px;
  position: relative; z-index: 1;
}
.hero-left { flex: 1; max-width: 460px; padding-top: 20px; }
.hero-left h1 {
  font-size: 38px; font-weight: 900; line-height: 1.1;
  color: #1a1a1a; margin-bottom: 20px;
}
.hero-left p {
  font-size: 15px; color: #444; line-height: 1.6; margin-bottom: 32px;
}
.btn-comece-agora {
  display: inline-block; background: #e8521a; color: #fff;
  font-size: 15px; font-weight: 700; padding: 14px 28px;
  border-radius: 8px; transition: background 0.15s;
}
.btn-comece-agora:hover { background: #c94415; }

.hero-right {
  flex: 0 0 480px; display: flex; flex-direction: column; gap: 16px;
}

/* Card Primo */
.hero-card-primo {
  background: #fff; border-radius: 16px;
  padding: 20px; box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.hero-card-primo-content {
  display: flex; align-items: center; gap: 16px;
}
.hero-card-primo-text { flex: 1; }
.hero-card-primo-text h3 {
  font-size: 16px; font-weight: 700; margin-bottom: 8px;
}
.hero-card-primo-text p {
  font-size: 13px; color: #555; line-height: 1.5; margin-bottom: 12px;
}
.hero-card-primo-img { width: 90px; flex-shrink: 0; }
.hero-card-primo-img img {
  width: 90px; height: 90px; object-fit: cover; border-radius: 12px;
  background: #f0ede8;
}
.link-saiba-mais {
  font-size: 13px; font-weight: 600; color: #e8521a;
  display: inline-flex; align-items: center; gap: 2px;
}
.link-saiba-mais span { font-size: 16px; }
.link-saiba-mais:hover { text-decoration: underline; }

/* Price Table */
.hero-price-table {
  background: #fff; border-radius: 16px;
  padding: 16px 20px; box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.hero-price-table table { width: 100%; border-collapse: collapse; }
.hero-price-table thead th {
  font-size: 12px; font-weight: 600; color: #888;
  text-align: left; padding: 6px 8px; border-bottom: 1px solid #f0f0f0;
}
.hero-price-table tbody tr { border-bottom: 1px solid #f8f8f8; }
.hero-price-table tbody tr:last-child { border-bottom: none; }
.hero-price-table tbody td {
  font-size: 13px; padding: 10px 8px; color: #1a1a1a;
}
.asset-name {
  display: flex; align-items: center; gap: 8px; font-weight: 500;
}
.coin-icon { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; }
.negative { color: #e53935; font-weight: 600; }
.positive { color: #00c853; font-weight: 600; }
.link-negociar {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; color: #e8521a;
  margin-top: 12px;
}
.link-negociar:hover { text-decoration: underline; }

/* ===== BANNER CAROUSEL ===== */
.banner-carousel {
  background: #fff; overflow: hidden;
  padding: 0; position: relative;
}
.carousel-wrapper {
  overflow: hidden; width: 100%;
}
.carousel-track {
  display: flex; transition: transform 0.4s ease;
  width: 100%;
}
.carousel-slide { flex: 0 0 100%; overflow: hidden; }
.carousel-slide img { width: 100%; height: 260px; object-fit: cover; display: block; }
.carousel-dots {
  display: flex; justify-content: center; gap: 8px;
  padding: 12px 0;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ddd; border: none; cursor: pointer;
  transition: background 0.2s;
}
.dot.active { background: #e8521a; }

/* ===== PRODUCTS SECTION ===== */
.products-section {
  padding: 60px 24px; background: #fff;
}
.products-section h2 {
  font-size: 28px; font-weight: 800; text-align: center;
  margin-bottom: 36px; color: #1a1a1a;
}
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1280px; margin: 0 auto;
  overflow: hidden;
  transition: transform 0.4s ease;
}
.product-card {
  background: #fff; border-radius: 16px;
  border: 1px solid #e8e8e8; padding: 20px;
  transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.product-card img {
  width: 48px; height: 48px; object-fit: contain; margin-bottom: 14px;
}
.product-card h3 {
  font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #1a1a1a;
}
.product-card p {
  font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 16px;
}
.carousel-nav-btns {
  display: flex; justify-content: center; gap: 12px; margin-top: 24px;
}
.nav-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid #ddd; background: #fff;
  font-size: 22px; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: all 0.15s;
}
.nav-btn:hover { background: #f5f5f5; border-color: #bbb; }

/* ===== MARKET SECTION ===== */
.market-section {
  padding: 60px 24px; background: #f9f9f9;
}
.market-section h2 {
  font-size: 28px; font-weight: 800; margin-bottom: 24px; color: #1a1a1a;
  max-width: 1280px; margin-left: auto; margin-right: auto;
}
.market-tabs {
  display: flex; gap: 8px; margin-bottom: 20px;
  max-width: 1280px; margin-left: auto; margin-right: auto;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 20px; border-radius: 24px;
  border: 1px solid #ddd; background: #fff;
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all 0.15s;
}
.tab-btn.active {
  background: #1a1a1a; color: #fff; border-color: #1a1a1a;
}
.tab-btn:hover:not(.active) { background: #f0f0f0; }
.market-search-bar {
  max-width: 1280px; margin: 0 auto 16px;
}
.market-search-bar input {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  border: 1px solid #ddd; font-size: 14px; background: #fff;
  outline: none;
}
.market-search-bar input:focus { border-color: #e8521a; }
.market-filters {
  display: flex; gap: 8px; margin-bottom: 20px;
  max-width: 1280px; margin-left: auto; margin-right: auto;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 16px; border-radius: 20px;
  border: 1px solid #ddd; background: #fff;
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all 0.15s;
}
.filter-btn.active {
  background: #e8521a; color: #fff; border-color: #e8521a;
}
.filter-btn:hover:not(.active) { background: #f0f0f0; }
.market-table {
  width: 100%; max-width: 1280px; margin: 0 auto;
  border-collapse: collapse; background: #fff;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.market-table thead th {
  font-size: 13px; font-weight: 600; color: #888;
  text-align: left; padding: 14px 16px;
  background: #fff; border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}
.market-table tbody tr {
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.1s;
}
.market-table tbody tr:hover { background: #fafafa; }
.market-table tbody td { padding: 14px 16px; font-size: 14px; }
.btn-negociar {
  background: #e8521a; color: #fff;
  border: none; border-radius: 8px;
  padding: 8px 18px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background 0.15s;
}
.btn-negociar:hover { background: #c94415; }
.market-show-more {
  text-align: center; margin-top: 24px;
  max-width: 1280px; margin-left: auto; margin-right: auto;
}
.btn-mostrar-mais {
  background: #fff; border: 1px solid #ddd; border-radius: 24px;
  padding: 10px 28px; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.15s;
}
.btn-mostrar-mais:hover { background: #f5f5f5; }
.market-disclaimer {
  font-size: 12px; color: #999; text-align: center;
  margin-top: 16px; max-width: 1280px; margin-left: auto; margin-right: auto;
}

/* ===== APP SECTION ===== */
.app-section {
  background: #e8521a; padding: 60px 24px;
  color: #fff;
}
.app-section-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 60px;
}
.app-left { flex: 1; }
.app-label {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  opacity: 0.8; display: block; margin-bottom: 12px;
}
.app-left h2 {
  font-size: 32px; font-weight: 800; line-height: 1.2;
  margin-bottom: 16px;
}
.app-left p {
  font-size: 15px; line-height: 1.6; opacity: 0.9; margin-bottom: 24px;
}
.app-rating {
  display: flex; align-items: center; gap: 10px; margin-bottom: 24px;
  flex-wrap: wrap;
}
.rating-score { font-size: 14px; font-weight: 700; }
.stars { color: #fff; font-size: 16px; }
.rating-count { font-size: 13px; opacity: 0.8; }
.app-store-links { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.3); color: #fff;
  padding: 10px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  transition: background 0.15s;
}
.store-badge:hover { background: rgba(0,0,0,0.5); }
.store-badge img { height: 20px; width: auto; }
.store-badge-fallback { display: flex; align-items: center; gap: 8px; }

.app-right { flex: 0 0 340px; }
.app-mockup { position: relative; }
.phone-frame {
  background: #1a1a1a; border-radius: 32px;
  padding: 16px; width: 240px; margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.phone-screen {
  background: #f5f5f5; border-radius: 20px;
  padding: 16px; min-height: 360px;
}
.phone-header {
  font-size: 13px; font-weight: 600; color: #1a1a1a;
  margin-bottom: 8px;
}
.phone-balance {
  font-size: 20px; font-weight: 800; color: #1a1a1a;
  margin-bottom: 16px;
}
.phone-icons {
  display: flex; gap: 12px; margin-bottom: 16px;
}
.phone-icon-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 10px; color: #555;
}
.phone-icon-circle {
  width: 36px; height: 36px; border-radius: 50%;
  background: #e8521a; opacity: 0.8;
}
.phone-card {
  background: #fff; border-radius: 12px; padding: 12px;
}
.phone-card span { font-size: 11px; color: #888; display: block; margin-bottom: 4px; }
.phone-card strong { font-size: 14px; color: #1a1a1a; display: block; margin-bottom: 8px; }
.phone-btn {
  background: #e8521a; color: #fff; border: none;
  border-radius: 6px; padding: 6px 14px; font-size: 12px; font-weight: 600;
  cursor: pointer;
}

.app-cta {
  max-width: 600px; margin: 40px auto 0;
  display: flex; gap: 12px;
}
.app-cta input {
  flex: 1; padding: 14px 20px; border-radius: 10px;
  border: none; font-size: 15px; outline: none;
}
.btn-criar-conta-gratis {
  background: #1a1a1a; color: #fff;
  border: none; border-radius: 10px;
  padding: 14px 28px; font-size: 15px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s;
}
.btn-criar-conta-gratis:hover { background: #333; }

/* ===== SIMULATOR SECTION ===== */
.simulator-section {
  background: #fff; padding: 60px 24px;
}
.simulator-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; gap: 60px; align-items: flex-start;
}
.simulator-left { flex: 1; }
.simulator-left h2 {
  font-size: 26px; font-weight: 800; margin-bottom: 24px;
}
.simulator-form label {
  display: block; font-size: 13px; font-weight: 600; color: #888;
  margin-bottom: 6px; margin-top: 16px;
}
.simulator-form input {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  border: 1px solid #ddd; font-size: 15px; outline: none;
}
.simulator-form input:focus { border-color: #e8521a; }
.simulator-result { display: flex; gap: 8px; }
.simulator-result input { flex: 1; }
.btn-ativo {
  background: #1a1a1a; color: #fff;
  border: none; border-radius: 10px;
  padding: 12px 20px; font-size: 14px; font-weight: 700;
  cursor: pointer;
}
.simulator-right { flex: 1; }
.profile-cards { display: flex; flex-direction: column; gap: 12px; }
.profile-card {
  background: #f9f9f9; border-radius: 12px;
  padding: 16px 20px; border: 2px solid transparent;
  cursor: pointer; transition: all 0.15s;
}
.profile-card.active {
  background: #fff; border-color: #e8521a;
  box-shadow: 0 2px 12px rgba(232,82,26,0.12);
}
.profile-card strong { font-size: 15px; display: block; margin-bottom: 6px; }
.profile-card p { font-size: 13px; color: #666; line-height: 1.5; }

/* ===== TAXA BANNER ===== */
.taxa-banner {
  background: #1a1a1a; padding: 40px 24px;
}
.taxa-banner-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 40px;
}
.taxa-left { flex: 0 0 auto; }
.taxa-logo-text {
  font-size: 28px; font-weight: 900; color: #fff;
  letter-spacing: 4px;
}
.taxa-zero {
  font-size: 40px; font-weight: 900; color: #e8521a;
  letter-spacing: 4px; line-height: 1;
}
.taxa-mid { flex: 1; }
.taxa-mid p {
  font-size: 22px; font-weight: 700; color: #fff; line-height: 1.3;
}
.taxa-right { flex: 0 0 auto; text-align: right; }
.taxa-right p {
  font-size: 16px; color: #ccc; margin-bottom: 16px; line-height: 1.4;
}
.taxa-right strong { color: #fff; }
.btn-saiba-mais-taxa {
  display: inline-block; background: #fff; color: #1a1a1a;
  font-size: 15px; font-weight: 700; padding: 12px 28px;
  border-radius: 8px; transition: background 0.15s;
}
.btn-saiba-mais-taxa:hover { background: #f0f0f0; }

/* ===== FOOTER ===== */
.footer {
  background: #111; padding: 48px 24px 24px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: flex; gap: 60px; margin-bottom: 40px;
}
.footer-logo { height: 36px; width: auto; margin-bottom: 0; }
.footer-links-grid {
  display: flex; gap: 40px; flex: 1; flex-wrap: wrap;
}
.footer-col {
  display: flex; flex-direction: column; gap: 10px; min-width: 120px;
}
.footer-col strong {
  font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px; color: #aaa; transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #333; padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 12px; color: #666; }
.footer-lang button {
  background: transparent; border: 1px solid #444;
  color: #aaa; padding: 6px 14px; border-radius: 6px;
  font-size: 13px; cursor: pointer;
}
.footer-lang button:hover { border-color: #888; color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { flex-direction: column; }
  .hero-right { max-width: 100%; }
  .app-section-inner { flex-direction: column; }
  .simulator-inner { flex-direction: column; }
  .taxa-banner-inner { flex-direction: column; text-align: center; }
  .taxa-right { text-align: center; }
}
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .hero-left h1 { font-size: 26px; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-links-grid { flex-direction: column; }
  .app-cta { flex-direction: column; }
  .market-tabs { flex-wrap: wrap; }
}
