/* ============================================
   homepage.css - Styles pour la section des outils sur la home page
   ============================================ */

.free-tools-section {
  font-family: 'Poppins', 'Open Sans', sans-serif;
  padding: 60px 20px;
  text-align: center;
  background: transparent;
}

.free-tools-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff5f42;
  margin-bottom: 10px;
}

.free-tools-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: #3a3a3a;
  line-height: 1.2;
  margin-bottom: 10px;
}

.free-tools-title span {
  color: #ff5f42;
}

.free-tools-desc {
  font-size: 14px;
  color: #777;
  font-weight: 400;
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.free-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 820px;
  margin: 0 auto 36px;
}

.tool-card {
  background: #ffffff;
  border: 2px solid #f0f0f0;
  border-radius: 18px;
  padding: 28px 24px;
  text-align: left;
  text-decoration: none;
  display: block;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
  background: #ff5f42;
}

.tool-card:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(255, 95, 66, 0.15);
  text-decoration: none;
}

.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff3f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}

.tool-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ff5f42;
  margin-bottom: 5px;
  display: block;
}

.tool-name {
  font-size: 17px;
  font-weight: 700;
  color: #3a3a3a;
  margin-bottom: 6px;
  line-height: 1.25;
}

.tool-description {
  font-size: 13px;
  color: #888;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 14px;
}

.tool-link {
  font-size: 12px;
  font-weight: 700;
  color: #ff5f42;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}

.tool-card:hover .tool-link {
  gap: 9px;
}

.cta-all-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff5f42;
  color: #fff;
  text-decoration: none;
  font-family: 'Poppins', 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  transition: background 0.2s, transform 0.15s;
}

.cta-all-tools:hover {
  background: #e04830;
  transform: scale(0.98);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 560px) {
  .free-tools-grid {
    grid-template-columns: 1fr;
  }
  .free-tools-section {
    padding: 48px 16px;
  }
}
