/* CSS Específico para Página Inicial */

/* Cards de Calculadoras  */
.calculators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 0;
}

.calculator-card {
  background: white;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.calculator-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #ffd500;
}

.calculator-card__header {
  background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
  padding: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.calculator-card__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
  line-height: 1;
}

.calculator-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
}

.calculator-card__badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: var(--neutral-100);
  color: var(--neutral-600);
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calculator-card__badge--new {
  background: var(--neutral-100);
  color: var(--neutral-600);
  border: 1px solid var(--neutral-200);
}

.calculator-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.calculator-card__description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.calculator-card__footer {
  padding: 0 1.5rem 1.5rem;
}

.calculator-card__btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.calculator-card__btn--primary {
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  color: white;
}

.calculator-card__btn--primary:hover {
  background: linear-gradient(135deg, #333 0%, #555 100%);
  transform: translateY(-2px);
}

.calculator-card__btn--secondary {
  background: linear-gradient(135deg, #ffd500 0%, #ffed4e 100%);
  color: #1a1a1a;
}

.calculator-card__btn--secondary:hover {
  background: linear-gradient(135deg, #ffed4e 0%, #fff59d 100%);
  transform: translateY(-2px);
}

/* Info Cards Grid */
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.info-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.info-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.info-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.info-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-card__list li {
  padding: 0.5rem 0;
  color: #666;
  display: flex;
  align-items: flex-start;
}

.info-card__list li:before {
  content: "✓";
  color: #4ade80;
  font-weight: bold;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* Contact Cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-card {
  background: linear-gradient(135deg, #fafafa 0%, white 100%);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: #ffd500;
  box-shadow: 0 4px 16px rgba(255, 213, 0, 0.15);
}

.contact-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.contact-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.contact-card__info {
  color: #666;
  line-height: 1.8;
}

.contact-card__info strong {
  color: #1a1a1a;
  display: block;
  margin-top: 0.5rem;
}

/* Hero Section */
.hero {
  background: #000000;
  color: white;
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

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

.hero__logo {
  max-width: 180px;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.hero__subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.hero__description {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Services Section */
.services-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 0;
}

.service-column {
  padding: 0;
}

.service-column__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-column__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-column__list li {
  padding: 0.5rem 0;
  color: var(--neutral-700);
  border-bottom: 1px solid var(--neutral-100);
  position: relative;
  padding-left: 1.5rem;
}

.service-column__list li:last-child {
  border-bottom: none;
}

.service-column__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #ffd500 0%, #ffed4e 100%);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  margin: 3rem 0;
}

.cta-section__title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.cta-section__text {
  font-size: 1.125rem;
  color: #333;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: #1a1a1a;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .calculators-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1.125rem;
  }

  .services-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .info-cards-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-section {
    padding: 2rem;
  }

  .cta-section__title {
    font-size: 1.5rem;
  }
}

/* Badges e Tags */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #f0f0f0;
  border-radius: 20px;
  font-size: 0.75rem;
  margin: 0.25rem;
  color: #666;
}

.tag--popular {
  background: #ffd500;
  color: #1a1a1a;
  font-weight: 600;
}

.tag--recommended {
  background: #4ade80;
  color: white;
  font-weight: 600;
}

/* Features List */
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: #f8f8f8;
  border-radius: 8px;
  font-size: 0.75rem;
  color: #666;
}

.feature-badge__icon {
  color: #ffd500;
}

.feature-badge--gray {
  background: #f0f0f0;
  color: #666;
  border: 1px solid #ddd;
  padding: 0.125rem 0.375rem;
  font-size: 0.625rem;
}

.feature-badge--gray .feature-badge__icon {
  color: #999;
}
