/* ==================================================
   DÉFIS DE GESTION DE FLOTTE
================================================== */

.fleet-challenges-section {
  width: 100%;
  padding: 85px 24px 95px;
  background: #f6f8fb;
}

.fleet-challenges-container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

/* En-tête */
.fleet-challenges-header {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}

.fleet-challenges-header span {
  display: inline-block;
  margin-bottom: 12px;

  color: #0068c9;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.fleet-challenges-header h2 {
  margin: 0;

  color: #007bff;
   font-size: clamp(2.7rem, 3vw, 1.9rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -1px;
}

.fleet-challenges-header p {
  max-width: 720px;
  margin: 18px auto 0;

  color: #566277;
  font-size: 0.96rem;
  line-height: 1.7;
}

/* Grille */
.fleet-challenges-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* Carte */
.fleet-challenge-card {
  min-width: 0;
  padding: 24px;

  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 17px;

  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.fleet-challenge-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 123, 255, 0.25);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.12);
}

/* Titre de carte */
.fleet-challenge-title {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 17px;
}

.fleet-challenge-icon {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 11px;
  background: #ffe9e9;
  color: #f04444;
  font-size: 1.15rem;
}

.fleet-challenge-title h3 {
  margin: 0;

  color: #07142e;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 900;
}

/* Blocs problème et solution */
.fleet-problem-box,
.fleet-solution-box {
  padding: 16px 17px;
  border-radius: 11px;
}

.fleet-problem-box {
  margin-bottom: 12px;

  background: #fff0f0;
  border-left: 3px solid #ff4b4b;
}

.fleet-solution-box {
  background: #ecfbf2;
  border-left: 3px solid #007bff;
}

.fleet-problem-box span,
.fleet-solution-box span {
  display: block;
  margin-bottom: 8px;

  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.fleet-problem-box span {
  color: #ef3434;
}

.fleet-solution-box span {
  color: #007bff;
}

.fleet-problem-box p,
.fleet-solution-box p {
  margin: 0;

  color: #3f4b60;
  font-size: 0.8rem;
  line-height: 1.65;
}

/* ==================================================
   TABLETTES
================================================== */

@media (max-width: 991px) {
  .fleet-challenges-section {
    padding: 72px 20px 82px;
  }

  .fleet-challenges-header {
    margin-bottom: 46px;
  }

  .fleet-challenges-grid {
    gap: 20px;
  }

  .fleet-challenge-card {
    padding: 21px;
  }

  .fleet-challenge-title h3 {
    font-size: 0.96rem;
  }
}

/* ==================================================
   PETITS ÉCRANS
================================================== */

@media (max-width: 720px) {
  .fleet-challenges-section {
    padding: 62px 16px 70px;
  }

  .fleet-challenges-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .fleet-challenges-header {
    margin-bottom: 38px;
  }

  .fleet-challenges-header h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .fleet-challenges-header p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .fleet-challenge-card {
    padding: 19px;
    border-radius: 14px;
  }

  .fleet-challenge-icon {
    width: 39px;
    height: 39px;
  }

  .fleet-problem-box,
  .fleet-solution-box {
    padding: 14px;
  }
}

/* ==================================================
   TRÈS PETITS ÉCRANS
================================================== */

@media (max-width: 420px) {
  .fleet-challenges-section {
    padding: 52px 12px 60px;
  }

  .fleet-challenges-header h2 {
    font-size: 1.85rem;
  }

  .fleet-challenge-title {
    align-items: flex-start;
  }

  .fleet-challenge-title h3 {
    font-size: 0.91rem;
  }

  .fleet-problem-box p,
  .fleet-solution-box p {
    font-size: 0.76rem;
  }
}