/* =========================
   HOME - LAYOUT ESPECÍFICO
========================== */

/* Hero */
.hero {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
  padding-top: 32px;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero .lead {
  font-size: 1.125rem;
  color: var(--text-muted, #666);
  line-height: 1.6;
}

/* Section titles */
.section-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted, #666);
  margin-bottom: 24px;
}

/* Ferramentas principais */
.tools-featured {
  margin-bottom: 64px;
}

.tools-grid-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch; /* Cards com mesma altura */
}

.tool-featured {
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  align-items: stretch;
}

.tool-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tool-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 8px;
  align-self: center;
}

.tool-featured h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.tool-featured p {
  color: var(--text-muted, #666);
  line-height: 1.6;
  flex-grow: 1;
}

.tool-featured .btn {
  margin-top: 8px;
  width: 100%; /* Botão full-width */
  align-self: stretch;
}

.tool-featured small {
  font-size: 0.8rem;
  color: var(--text-muted, #666);
  margin-top: -8px; /* Compensa o gap */
}

/* Ferramentas secundárias */
.tools-secondary {
  margin-bottom: 64px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.tool-card {
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border-color, #e5e5e5);
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: var(--border-hover, #ccc);
}

.tool-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.tool-card p {
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

/* Proposta de valor */
.value-prop {
  max-width: 640px;
  margin: 0 auto 64px;
}

.value-prop .card {
  padding: 32px;
  text-align: center;
  background: var(--bg-subtle, #f8f8f8);
  border: none;
}

.value-prop .lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary, #444);
  margin: 0;
}

/* Responsivo */
@media (max-width: 768px) {
  .hero {
    margin-bottom: 48px;
    padding-top: 24px;
  }

  .tools-featured,
  .tools-secondary {
    margin-bottom: 48px;
  }

  .tools-grid-featured {
    grid-template-columns: 1fr;
  }

  .tools-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }

  .tool-card {
    padding: 20px 16px;
  }

  .tool-card h3 {
    font-size: 1rem;
  }

  .value-prop {
    margin-bottom: 48px;
  }
}

@media (max-width: 480px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}