.dashboard-card {
  width: 100%;
  max-width: 980px;
  min-height: 560px;
  background: linear-gradient(180deg, #6f6f6f 0%, #5f5f5f 100%);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.dashboard-card h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 28px;
  color: #ffffff;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  margin-top: 10px;
  align-items: stretch;
}

.dashboard-main {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 28px 24px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
}

.quality-summary {
  text-align: center;
  min-width: 0;
  overflow: hidden;
}

.quality-summary p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #f1f1f1;
}

.quality-summary strong {
  display: block;
  max-width: 260px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
  color: #ffffff;
  text-align: center;
  overflow-wrap: break-word;
}

/* ================= SVG QUALITÉ AIR ================= */

.air-icon {
  width: 115px;
  height: 115px;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.25));
}

.air-smiley-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ================= BOÎTES DASHBOARD ================= */

.dashboard-box {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 24px 18px;
  min-height: 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.dashboard-box p {
  font-size: 0.95rem;
  color: #ececec;
  margin-bottom: 10px;
}

.dashboard-box strong {
  font-size: 1.9rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.dashboard-box span {
  font-size: 1rem;
  color: #f4f4f4;
}

.empty-box {
  opacity: 0.9;
}

.test-option {
  display: block;
  margin-top: 10px;
  color: #f1f1f1;
  font-size: 0.95rem;
  cursor: pointer;
}

.test-option input {
  margin-right: 6px;
  cursor: pointer;
}

.scenario-select {
  width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: #ffffff;
  color: #222222;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
}

.scenario-select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ================= COULEURS QUALITÉ AIR ================= */

.qualite-bon {
  color: #9be15d !important;
}

.qualite-moyen {
  color: #ffd86b !important;
}

.qualite-degrade {
  color: #ffb56b !important;
}

.qualite-mauvais {
  color: #ff7b7b !important;
}

.qualite-tres-mauvais {
  color: #d685ff !important;
}

.qualite-extremement-mauvais {
  color: #cfcfcf !important;
}

/* ================= PAGE REMERCIEMENTS PRO ================= */

.infos-card {
  max-width: 1120px;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(76, 124, 255, 0.24), transparent 32%),
    linear-gradient(180deg, #686868 0%, #505050 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.infos-hero {
  position: relative;
  padding: 52px 48px 42px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(28, 63, 145, 0.62), rgba(76, 124, 255, 0.18)),
    rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.infos-hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  pointer-events: none;
}

.infos-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #eaf0ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.infos-hero h2 {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 1px;
}

.infos-hero p {
  max-width: 790px;
  margin: 0 auto;
  color: #f2f5ff;
  font-size: 1.05rem;
  line-height: 1.75;
}

.infos-highlight {
  position: relative;
  display: grid;
  grid-template-columns: 5px 1fr;
  gap: 20px;
  margin: 34px 42px 10px;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.105);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.highlight-line {
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4c7cff, #9be15d);
}

.infos-highlight p {
  color: #f4f4f4;
  font-size: 1rem;
  line-height: 1.7;
}

.section-title {
  margin: 38px 42px 22px;
  text-align: center;
}

.section-title span {
  display: inline-block;
  margin-bottom: 8px;
  color: #cddcff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.section-title h3 {
  color: #ffffff;
  font-size: 1.75rem;
  letter-spacing: 0.4px;
}

/* ================= CARTES ÉQUIPE ================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 0 42px;
  margin-bottom: 36px;
}

.team-card {
  position: relative;
  min-height: 230px;
  padding: 26px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.075));
  border: 1px solid rgba(255, 255, 255, 0.17);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.team-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(76, 124, 255, 0.18);
  filter: blur(2px);
}

/* Pastille rouge pour les cartes "Aucune contribution" */
.team-card:has(.team-role-red)::before {
  background: rgba(255, 75, 75, 0.22);
}

.team-card::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: 0;
  width: 76px;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #4c7cff, #9be15d);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.095));
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.team-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}

.team-number {
  color: rgba(255, 255, 255, 0.32);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.team-role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(76, 124, 255, 0.22);
  color: #e3ebff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  text-align: right;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.team-role-red {
  background: rgba(255, 75, 75, 0.22);
  color: #ffd6d6;
  border: 1px solid rgba(255, 110, 110, 0.45);
}

.team-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.team-card p {
  position: relative;
  z-index: 1;
  color: #ededed;
  line-height: 1.72;
  font-size: 0.98rem;
}

/* ================= RÉSUMÉ PROJET ================= */

.project-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 42px;
  margin: 8px 0 38px;
}

.summary-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(25, 25, 25, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.13);
  text-align: center;
}

.summary-card span {
  display: block;
  margin-bottom: 10px;
  color: #dfe8ff;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.summary-card p {
  color: #eeeeee;
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ================= REMERCIEMENTS FINAUX ================= */

.thanks-section {
  margin: 0 42px 42px;
  padding: 30px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(76, 124, 255, 0.22), rgba(155, 225, 93, 0.09)),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
}

.thanks-section h3 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 1.55rem;
  text-align: center;
}

.thanks-section p {
  max-width: 890px;
  margin: 0 auto;
  color: #f3f3f3;
  line-height: 1.75;
  font-size: 1rem;
  text-align: center;
}

.thanks-section p + p {
  margin-top: 14px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 950px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-main {
    flex-direction: column;
  }

  .air-icon {
    width: 100px;
    height: 100px;
  }

  .quality-summary strong {
    max-width: 100%;
    font-size: clamp(1.5rem, 7vw, 2.4rem);
  }

  .infos-hero {
    padding: 44px 28px 36px;
  }

  .infos-highlight,
  .section-title,
  .thanks-section {
    margin-left: 26px;
    margin-right: 26px;
  }

  .team-grid,
  .project-summary {
    grid-template-columns: 1fr;
    padding-left: 26px;
    padding-right: 26px;
  }

  .project-summary {
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .infos-hero {
    padding: 38px 22px 32px;
  }

  .infos-hero::before {
    inset: 12px;
    border-radius: 18px;
  }

  .infos-highlight {
    grid-template-columns: 1fr;
    margin: 24px 18px 8px;
    padding: 20px;
  }

  .highlight-line {
    width: 100%;
    height: 4px;
  }

  .section-title {
    margin: 30px 18px 18px;
  }

  .team-grid,
  .project-summary {
    padding-left: 18px;
    padding-right: 18px;
  }

  .team-card {
    min-height: auto;
    padding: 22px;
  }

  .team-card-top {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 20px;
  }

  .team-role {
    text-align: left;
  }

  .thanks-section {
    margin: 0 18px 28px;
    padding: 24px 20px;
  }

  .thanks-section p {
    text-align: left;
  }
}