/* Emplacement : /assets/css/simulateur-consommation.css — Simulateur de consommation. */

.afl-simu-form { background: var(--afl-white); border: 1px solid var(--afl-line); border-radius: var(--afl-radius-lg); padding: 2.4rem; height: 100%; }
.afl-simu-form h2 { font-size: 1.6rem; margin-bottom: 0.3rem; }
.afl-simu-form label { display: block; }
.afl-simu-disclaimer { font-size: 0.78rem; color: var(--afl-muted); margin: 1rem 0 0; }

.afl-simu-result {
  position: relative; overflow: hidden; border-radius: var(--afl-radius-lg); padding: 3rem 2.2rem; height: 100%; min-height: 460px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(0deg, rgba(15, 16, 18, 0.88), rgba(15, 16, 18, 0.78)), var(--afl-simu-img) center / cover no-repeat;
}
.afl-simu-result > i { width: 76px; height: 76px; border-radius: 50%; background: var(--afl-primary); color: var(--afl-on-primary); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1.2rem; box-shadow: 0 0 0 10px rgba(201, 238, 60, 0.25); }
.afl-simu-result h4 { color: var(--afl-white); font-size: 1.5rem; }
.afl-simu-result p { margin: 0; max-width: 380px; }
.afl-simu-result__figures { display: flex; gap: 1rem; margin: 1.6rem 0; flex-wrap: wrap; justify-content: center; }
.afl-simu-result__figure { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--afl-radius); padding: 1.1rem 1.4rem; min-width: 170px; }
.afl-simu-result__figure strong { display: block; font-size: 2rem; color: var(--afl-white); line-height: 1.1; }
.afl-simu-result__figure span { font-size: 0.82rem; opacity: 0.8; }

.afl-simu-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--afl-white); border-radius: var(--afl-radius); overflow: hidden; box-shadow: var(--afl-shadow); }
.afl-simu-table th { background: var(--afl-dark); color: var(--afl-white); font-weight: 600; font-size: 0.9rem; padding: 1rem 1.3rem; text-align: left; }
.afl-simu-table td { padding: 1rem 1.3rem; border-bottom: 1px solid var(--afl-line); font-size: 0.93rem; color: var(--afl-dark); }
.afl-simu-table tr:last-child td { border-bottom: none; }
.afl-simu-table tbody tr:hover td { background: var(--afl-primary-soft); }
.afl-simu-table td:first-child { font-weight: 700; color: var(--afl-primary-text); }

.afl-compare { background: var(--afl-white); border-radius: var(--afl-radius); overflow: hidden; height: 100%; }
.afl-compare img { width: 100%; height: 230px; object-fit: cover; display: block; }
.afl-compare > div { padding: 1.7rem; }
.afl-compare h3 { font-size: 1.3rem; }
.afl-compare .afl-checklist { margin: 1rem 0 1.3rem; }

@media (max-width: 575.98px) {
  .afl-simu-form { padding: 1.6rem 1.2rem; }
  .afl-simu-result { min-height: 360px; padding: 2.2rem 1.2rem; }
}
