* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #ffffff;
  color: #1f2937;
  line-height: 1.6;
}

.container {
  display: flex;
  min-height: 100vh;
}

/* Estilos da Barra Lateral */
.sidebar {
  width: 300px;
  background: #ffffff;
  border-right: 1px solid #ffffff;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.sidebar-header {
  padding: 24px;
  border-bottom: 1px solid #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

.sidebar-close {
  display: none;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #6b7280;
}

.sidebar-content {
  padding: 24px;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-title {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 12px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

.separator {
  height: 1px;
  background-color: #e5e7eb;
  margin: 24px 0;
}

.rating-slider {
  padding: 0 8px;
}

.rating-slider input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e5e7eb;
  outline: none;
  -webkit-appearance: none;
}

.rating-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
}

.rating-slider input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  border: none;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6b7280;
  margin-top: 8px;
}

#ratingValue {
  font-weight: 500;
  color: #374151;
}

/* Estilos do Conteúdo Principal */
.main-content {
  flex: 1;
  margin-left: 300px;
  padding: 24px;
  transition: margin-left 0.3s ease;
}

.header {
  margin-bottom: 32px;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #6b7280;
  padding: 8px;
}

.header h1 {
  font-size: 30px;
  font-weight: 700;
  color: #1f2937;
}

.header-subtitle {
  font-size: 18px;
  color: #6b7280;
}

.search-section {
  margin-bottom: 32px;
}

.search-container {
  position: relative;
  max-width: 384px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 16px;
}

.search-input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Estilos da Seção Top 5 */
.top-cards-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 48px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.top-cards-header {
  text-align: center;
  margin-bottom: 32px;
}

.top-cards-title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.top-cards-title i {
  color: #f59e0b;
  font-size: 24px;
}

.top-cards-subtitle {
  font-size: 16px;
  color: #6b7280;
}

.top-cards-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.top-card-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.top-card-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: #3b82f6;
}

.top-card-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.top-card-rank {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.top-card-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.top-card-details h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.top-card-details p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.top-card-item .review-button {
  padding: 10px 20px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-card-item .review-button:hover {
  background-color: #2563eb;
}

.results-count {
  margin-bottom: 24px;
  color: #6b7280;
}

/* Grade de Cartões */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.crypto-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
}

.crypto-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.card-image-container {
  position: relative;
  height: 192px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rating-circle {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.rating-high {
  background-color: #10b981;
}
.rating-medium {
  background-color: #f59e0b;
}
.rating-low {
  background-color: #ef4444;
}

.card-content {
  padding: 16px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1f2937;
  transition: color 0.2s;
}

.crypto-card:hover .card-title {
  color: #3b82f6;
}

.card-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #6b7280;
}

.card-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  color: #374151;
}

.crypto-support {
  margin-top: 12px;
}

.crypto-support-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
}

.crypto-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.crypto-badge {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  background-color: #f3f4f6;
  color: #374151;
}

.card-footer {
  padding: 16px;
  padding-top: 0;
}

.review-button {
  width: 100%;
  padding: 12px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
  display: block;
  text-align: center;
}

.review-button:hover {
  background-color: #2563eb;
}

/* Estado Vazio */
.empty-state {
  text-align: center;
  padding: 48px 0;
}

.empty-icon {
  font-size: 48px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 8px;
}

.empty-state p {
  color: #6b7280;
}

/* Overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* ESTILOS PARA PÁGINAS DE REVIEW */

/* Header da página de review */
.review-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 0;
  margin-bottom: 32px;
}

.review-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #3b82f6;
}

/* Container da review */
.review-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header do cartão */
.card-header {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  align-items: flex-start;
}

.card-header .card-image {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-info h1 {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.card-info p {
  color: #6b7280;
  font-size: 16px;
  margin-bottom: 24px;
}

.go-button {
  display: inline-block;
  background-color: #10b981;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s;
}

.go-button:hover {
  background-color: #059669;
}

/* Seção de avaliação */
.rating-section {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}

.overall-rating {
  font-size: 72px;
  font-weight: 700;
  color: #10b981;
  text-align: center;
  padding: 24px;
  border: 3px solid #10b981;
  border-radius: 12px;
  min-width: 120px;
}

.criteria {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.criteria p {
  font-size: 16px;
  color: #374151;
}

.criteria strong {
  color: #1f2937;
  font-weight: 600;
}

.pros-cons {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 300px;
}

.pros h3,
.cons h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.pros h3 {
  color: #10b981;
}

.cons h3 {
  color: #ef4444;
}

.pros ul,
.cons ul {
  list-style: none;
  padding: 0;
}

.pros li,
.cons li {
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.5;
}

.pros li {
  color: #059669;
}

.cons li {
  color: #dc2626;
}

/* Tabela de características */
.features-table {
  margin-bottom: 48px;
}

.features-table h2 {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 24px;
}

.features-table table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.features-table td {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

.features-table td:first-child {
  font-weight: 600;
  color: #374151;
  background-color: #f9fafb;
  width: 40%;
}

.features-table td:last-child {
  color: #1f2937;
}

.features-table tr:last-child td {
  border-bottom: none;
}

.enabled {
  color: #10b981;
  font-weight: 600;
}

.disabled {
  color: #ef4444;
  font-weight: 600;
}

/* Footer */
.review-footer {
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 24px 0;
  margin-top: 64px;
  text-align: center;
  color: #6b7280;
}

/* Design Responsivo */
@media (max-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: 280px;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .sidebar-close {
    display: block;
  }

  .main-content {
    margin-left: 0;
    padding: 16px;
  }

  .sidebar-toggle {
    display: block;
  }

  .overlay.active {
    display: block;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }

  .header h1 {
    font-size: 24px;
  }

  .header-subtitle {
    font-size: 16px;
  }

  /* Top Cards Responsive */
  .top-cards-section {
    padding: 24px 16px;
    margin-bottom: 32px;
  }

  .top-cards-title {
    font-size: 24px;
    flex-direction: column;
    gap: 8px;
  }

  .top-card-item {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px;
  }

  .top-card-details {
    align-items: center;
  }

  .top-card-item .review-button {
    width: 100%;
    max-width: 200px;
  }

  /* Review page responsive */
  .review-container {
    padding: 0 16px;
  }

  .card-header {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .card-header .card-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .rating-section {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .pros-cons {
    min-width: auto;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .main-content {
    padding: 12px;
  }

  .card-info h1 {
    font-size: 28px;
  }

  .overall-rating {
    font-size: 48px;
    padding: 16px;
  }

  .top-card-rank {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .top-cards-title {
    font-size: 20px;
  }
}

/* Layout em grade 2 colunas para Top 5 */
.top-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Estilo individual dos itens Top 5 (compacto) */
.top-card-item {
  padding: 24px;       /* mais espaço interno */
  gap: 24px;           /* mais espaço entre os elementos */
  min-height: 180px;   /* altura mínima maior */
}

.top-card-image {
  width: 140px;        /* aumenta a largura da imagem */
  max-height: 120px;   /* opcional para limitar a altura */
}

.top-card-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.top-card-rank {
  font-size: 24px;
  font-weight: 700;
  color: #3b82f6;
  padding: 12px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
  border-radius: 6px;
}

.top-card-image {
  width: 100px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.top-card-details {
  flex: 1;
}

.top-card-details h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.top-card-details p {
  font-size: 13px;
  margin-bottom: 8px;
}

.small-button {
  padding: 6px 14px !important;
  font-size: 13px !important;
  background-color: #3b82f6;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}

/* Centralizar o último item (Top 5) se estiver sozinho */
.top-cards-container > .top-card-item:last-child {
  grid-column: span 2;
  justify-self: center;
}

/* Cores para o Top 5 por posição */
/* Azul padrão para Top 4 e Top 5 */

.top-cards-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.top-row.single {
  display: flex;
  justify-content: center;
}

.top-row.double {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.top-row.double .top-card-item {
  flex: 1 1 calc(50% - 10px);
  max-width: 400px;
}

/* Cores do Top 5 aplicadas por classes */
.top-card-item.pos-1 .top-card-rank {
  transform: scale(1.05);   /* destaque com leve aumento */
  background-color: #FFD700; /* Ouro real */
  color: #ffffff;
}

.top-card-item.pos-2 .top-card-rank {
  background-color: #C0C0C0; /* Prata */
  color: #1f2937;
}

.top-card-item.pos-3 .top-card-rank {
  background-color: #CD7F32; /* Bronze */
  color: hsl(41, 100%, 80%);
}

.top-card-item.pos-4 .top-card-rank,
.top-card-item.pos-5 .top-card-rank {
  background-color: #0062ff; /* Azul padrão */
  color: #ffffff;
}


.hero-btn.primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  color: white;

  font-size: 1.4rem;      /* aumenta o texto */
  padding: 1.25rem 2.5rem; /* aumenta altura e largura */
  border-radius: 0.75rem;  /* deixa mais arredondado */
}

/* --- MELHORIAS DE RESPONSIVIDADE MOBILE --- */

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-content {
    margin-left: 0 !important;
  }

  .top-row.double .top-card-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .top-card-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .review-button {
    padding: 10px;
    font-size: 13px;
  }

  .top-card-item .review-button.small-button {
    font-size: 12px;
    padding: 6px 12px;
  }

  .header h1 {
    font-size: 24px;
  }

  .header-subtitle {
    font-size: 16px;
  }

  .top-cards-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .crypto-card {
    padding: 8px;
  }

  .card-title {
    font-size: 16px;
  }

  .card-detail-row {
    font-size: 12px;
  }

  .header h1 {
    font-size: 20px;
  }

  .header-subtitle {
    font-size: 14px;
  }

  .top-cards-title {
    font-size: 18px;
  }

  .review-button {
    font-size: 12px;
    padding: 8px;
  }

  .top-card-item .review-button.small-button {
    font-size: 11px;
    padding: 5px 10px;
  }
}

/* --- NOVOS AJUSTES: Top 5 menor e 3 colunas no grid mobile --- */

@media (max-width: 768px) {
  .top-card-image {
    width: 80px;
  }

  .top-card-details h3 {
    font-size: 16px;
  }

  .top-card-details p {
    font-size: 12px;
  }

  .top-card-item .review-button {
    padding: 6px 10px;
    font-size: 12px;
  }

  .top-card-rank {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* --- RESTAURAR LAYOUT TOP 5 COMO NO DESKTOP (MESMO NO MOBILE) --- */

@media (max-width: 768px) {
  .top-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .top-row.single {
    display: flex;
    justify-content: center;
  }

  .top-row.double {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .top-row.double .top-card-item {
    flex: 1 1 calc(50% - 10px);
    max-width: 400px;
  }

  .top-card-item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 16px;
  }

  .top-card-rank {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .top-card-image {
    width: 80px;
  }

  .top-card-details h3 {
    font-size: 16px;
  }

  .top-card-details p {
    font-size: 12px;
  }

  .top-card-item .review-button {
    font-size: 12px;
    padding: 6px 12px;
  }

  /* Grade com 3 cartões menores por linha */
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .crypto-card {
    padding: 8px;
  }

  .card-title {
    font-size: 14px;
  }

  .card-detail-row {
    font-size: 12px;
  }

  .review-button {
    font-size: 12px;
    padding: 8px;
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* --- AJUSTE FINAL: Cartões menores para caberem 3 por linha --- */

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .crypto-card {
    padding: 6px;
  }

  .card-image-container {
    height: 140px;
  }

  .card-title {
    font-size: 13px;
  }

  .card-details {
    font-size: 12px;
    gap: 6px;
  }

  .card-detail-row span {
    font-size: 11px;
  }

  .review-button {
    font-size: 11px;
    padding: 6px;
  }

  .crypto-badge {
    font-size: 10px;
    padding: 2px 4px;
  }

  .badge {
    font-size: 10px;
    padding: 2px 6px;
  }
}

/* --- AJUSTE: Reduzir altura da imagem do cartão para exibição completa --- */

@media (max-width: 768px) {
  .card-image-container {
    height: 100px; /* antes 140px */
  }

  .card-image {
    object-fit: contain;
  }
}

/* --- Estilo para tornar top-card-item completamente clicável --- */
.top-card-item {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: box-shadow 0.2s;
}

.top-card-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.top-card-item h3,
.top-card-item p {
  pointer-events: none;
}

/* --- PATCH FINAL COM CARTÕES MAIS ALTOS E VISÍVEIS --- */

@media (max-width: 768px) {
  .top-card-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 16px;
    gap: 12px;
    min-height: 140px;
  }

  .top-card-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .top-card-details h3 {
    font-size: 15px;
  }

  .top-card-details p {
    font-size: 12px;
    line-height: 1.4;
  }

  .top-card-item .review-button {
    font-size: 12px;
    padding: 6px 12px;
    max-width: 100%;
    margin-top: 6px;
  }

  .top-card-rank {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .top-card-image {
    width: 70px;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}


/* --- FIX DEFINITIVO PARA TOP 2-5 NO MOBILE --- */

@media (max-width: 768px) {
  .top-row.double .top-card-item {
    flex-direction: row !important;
    align-items: flex-start !important;
    padding: 16px !important;
    gap: 12px;
    min-height: 200px; /* altura maior para comportar todo o conteúdo */
  }

  .top-card-image {
    width: 70px;
    height: auto;
  }

  .top-card-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
  }

  .top-card-details h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .top-card-details p {
    font-size: 12px;
    line-height: 1.5;
  }

  .top-card-item .review-button {
    margin-top: auto;
    font-size: 12px;
    padding: 6px 12px;
    max-width: 100%;
  }
}


/* --- PATCH FINAL: Infos embaixo da imagem, botão visível --- */

@media (max-width: 768px) {
  .top-row.double .top-card-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 16px !important;
    gap: 8px;
    min-height: 220px;
  }

  .top-card-rank {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .top-card-image {
    width: 80px;
    height: auto;
  }

  .top-card-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .top-card-details h3 {
    font-size: 14px;
  }

  .top-card-details p {
    font-size: 11px;
    line-height: 1.4;
  }

  .top-card-item .review-button {
    margin-top: 6px;
    font-size: 12px;
    padding: 10px 16px;
    font-weight: 600;
    border-radius: 8px;
  }
}


/* --- Ajustes compactos para mobile --- */

/* Ajustes compactos para mobile - até 768px */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.5rem !important;
  }

  .hero-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.4;
  }

  .hero-buttons {
    gap: 0.5rem !important;
  }

  .hero-btn {
    font-size: 0.875rem !important;
    padding: 0.5rem 1rem !important;
  }

  .stat-number {
    font-size: 1.25rem !important;
  }

  .stat-label {
    font-size: 0.75rem !important;
  }

  .section-title {
    font-size: 1.25rem !important;
  }

  .section-subtitle {
    font-size: 0.9rem !important;
  }

  .step-card {
    padding: 1rem !important;
  }

  .step-card h3 {
    font-size: 1rem !important;
  }

  .step-card p {
    font-size: 0.875rem !important;
  }

  .category-card {
    padding: 1rem !important;
  }

  .category-card h3 {
    font-size: 1rem !important;
  }

  .category-card p {
    font-size: 0.875rem !important;
  }

  .cta-button {
    font-size: 0.9rem !important;
    padding: 0.6rem 1rem !important;
  }

  .footer-logo {
    font-size: 1rem !important;
  }

  .footer-description {
    font-size: 0.875rem !important;
  }

  .footer-links a {
    font-size: 0.875rem !important;
  }
}


/* --- Compactação extra com 2 colunas de box --- */

@media (max-width: 768px) {
  .categories-grid,
  .steps-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .category-card,
  .step-card {
    padding: 0.75rem !important;
  }

  .category-card h3,
  .step-card h3 {
    font-size: 0.95rem !important;
  }

  .category-card p,
  .step-card p {
    font-size: 0.75rem !important;
  }

  .category-icon,
  .step-icon {
    width: 36px !important;
    height: 36px !important;
  }
}



/* Regras básicas para ativar animações AOS */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.6s;
  transition-timing-function: ease-out;
  transform: translateY(30px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.cursor-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0); /* azul suave */
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out;
  backdrop-filter: blur(2px);
}
.hero-section {
  position: relative;
  overflow: hidden;
}

.home-button {
  background-color: #007bff;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
}

.home-button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


