/* Page d'accueil RunningTimeCalculator */

.home-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-bottom: 2px solid #cbd5e1;
  text-align: center;
  padding: 2.5rem 2rem 2rem;
  margin-bottom: 2rem;
}

.home-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: #1e293b;
}

.home-hero p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #475569;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta .btn {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.hero-cta .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.btn-primary {
  background: #0066cc;
  color: white;
}

.btn-primary:hover {
  background: #0052a3;
}

.btn-secondary {
  background: white;
  color: #0066cc;
  border: 2px solid #0066cc;
}

.btn-secondary:hover {
  background: #f1f5f9;
}

/* Section outils */
.tools-section {
  margin-bottom: 4rem;
}

.tools-section h2 {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tool-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.tool-card:hover {
  box-shadow: 0 4px 16px rgba(0,102,204,0.15);
  transform: translateY(-4px);
  border-color: #0066cc;
}

.tool-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: #0066cc;
}

.tool-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #0066cc;
}

.tool-card p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
  flex-grow: 1;
}

.tool-card-badge {
  display: inline-block;
  background: #e3f2fd;
  color: #0066cc;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Section courses */
.races-section {
  background: #f8f9fa;
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.races-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.races-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.race-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s, transform 0.2s;
}

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

.race-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #0066cc;
}

.race-card-info {
  color: #666;
  font-size: 0.9rem;
}

/* Section avantages */
.features-section {
  margin-bottom: 4rem;
}

.features-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  color: #0066cc;
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.feature-item p {
  color: #666;
  font-size: 0.95rem;
}

/* Section SEO */
.seo-content {
  background: white;
  padding: 2rem 0;
  margin: 3rem 0 2rem;
}

.seo-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  text-align: left;
}

.seo-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #0066cc;
}

.seo-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.seo-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .home-hero h1 {
    font-size: 2rem;
  }

  .home-hero p {
    font-size: 1.125rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .tools-grid,
  .races-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
}
