/* Questionnaire exia FP&A, quelle approche de planification : styles limités au conteneur .exq */
.exq {
  --exq-orange: #EC6B26;
  --exq-orange-texte: #B4501A;
  --exq-anthracite: #3C3C3B;
  --exq-gris-texte: #5A5A58;
  --exq-gris-doux: #6B6B69;
  --exq-gris-pale: #F3F3F2;
  --exq-bordure: #CFCCC7;
  --exq-fabric: #8A8A88;
  --exq-rayon: 14px;

  box-sizing: border-box;
  max-width: 1040px;
  margin: 0 auto;
  color: var(--exq-anthracite);
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.exq *, .exq *::before, .exq *::after { box-sizing: inherit; }

.exq-header { display: flex; flex-direction: column; gap: 12px; }
.exq-title {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--exq-anthracite);
}
.exq-intro { margin: 0; max-width: 62ch; font-size: 19px; line-height: 1.5; color: var(--exq-gris-texte); }
.exq-progress-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.exq-progress-row .exq-progress { background: #E2E0DC; }
.exq-progress-row .exq-progress-text { color: var(--exq-gris-texte); font-size: 15px; font-weight: 500; }

.exq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}
.exq-card {
  margin: 0;
  min-width: 0;
  border: 0;
  padding: 22px 24px;
  background: var(--exq-gris-pale);
  border-radius: var(--exq-rayon);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.exq-question {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}
.exq-card { transition: box-shadow 0.15s; }
.exq-card-missing { box-shadow: inset 0 0 0 2px var(--exq-orange); }
.exq-num { flex-shrink: 0; font-weight: 600; color: var(--exq-orange-texte); }

.exq-options { display: flex; flex-wrap: wrap; gap: 8px; }
.exq-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}
.exq-option {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  line-height: 1.3;
  background: #FFFFFF;
  color: var(--exq-anthracite);
  border: 1.5px solid var(--exq-bordure);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.exq-option:hover { border-color: var(--exq-anthracite); }
.exq-radio:checked + .exq-option {
  background: var(--exq-anthracite);
  border-color: var(--exq-anthracite);
  color: #FFFFFF;
}
.exq-radio:focus-visible + .exq-option {
  outline: 3px solid var(--exq-orange);
  outline-offset: 2px;
}

.exq-panel {
  padding: 32px 36px;
  background: var(--exq-anthracite);
  border-radius: 20px;
  color: #FFFFFF;
}
.exq-pending {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.exq-pending[hidden], .exq-result[hidden], .exq-progress-text[hidden], .exq-missing[hidden], .exq-index[hidden], .exq-factors-box[hidden] { display: none; }
.exq-missing { margin: 10px 0 0; font-size: 15px; color: #FFFFFF; font-weight: 500; }
.exq-pending-title { margin: 0 0 6px; font-size: 24px; font-weight: 600; }
.exq-progress-text { margin: 0; font-size: 16px; color: #D9D7D2; }
.exq-progress { width: 280px; max-width: 100%; height: 10px; background: #5A5A58; border-radius: 999px; overflow: hidden; }
.exq-progress-fill { width: 0; height: 100%; background: var(--exq-orange); border-radius: 999px; transition: width 0.3s ease; }

.exq-result { display: flex; flex-direction: column; gap: 18px; }
.exq-verdict-title { margin: 0; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; font-weight: 600; }
.exq-profile { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--exq-orange); }
.exq-index { display: flex; flex-direction: column; gap: 10px; }
.exq-index-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.exq-index-label { font-size: 17px; font-weight: 500; color: #E8E6E1; }
.exq-index-value { font-size: clamp(28px, 4vw, 40px); font-weight: 600; line-height: 1; color: #FFFFFF; }
.exq-factors-box { padding: 18px 20px; border-radius: 12px; background: #4A4A48; }
.exq-factors-label { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: #FFFFFF; }
.exq-factors { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.exq-factors li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.5; color: #E8E6E1; text-align: justify; hyphens: auto; }
.exq-factors li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--exq-orange); }
.exq-cta-secondary { background: transparent; border: 1.5px solid var(--exq-orange); }
.exq-cta-secondary:hover { background: var(--exq-orange); }
.exq-split { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 18px; font-weight: 600; }
.exq-split-fabric { color: #D9D7D2; }
.exq-bar { width: 100%; height: 14px; border-radius: 999px; overflow: hidden; background: #5A5A58; }
.exq-bar-fill { height: 100%; background: var(--exq-orange); transition: width 0.5s ease; }
.exq-verdict-text { margin: 0; max-width: 70ch; text-align: justify; hyphens: auto; font-size: 17px; line-height: 1.55; color: #E8E6E1; }
.exq-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.exq-cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  background: var(--exq-orange);
  color: #FFFFFF;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.exq-cta:hover { background: #D85E1E; color: #FFFFFF; }
.exq-reset {
  min-height: 48px;
  padding: 0 22px;
  background: transparent;
  border: 1.5px solid #B9B7B2;
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  cursor: pointer;
}
.exq-reset:hover { border-color: #FFFFFF; }
.exq-cta:focus-visible, .exq-reset:focus-visible { outline: 3px solid var(--exq-orange); outline-offset: 3px; }

.exq-disclaimer { margin: 0; text-align: justify; hyphens: auto; font-size: 12px; line-height: 1.5; color: var(--exq-gris-doux); }

@media (max-width: 760px) {
  .exq-grid { grid-template-columns: minmax(0, 1fr); }
  .exq-panel { padding: 24px 20px; }
  .exq-progress { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .exq-progress-fill, .exq-bar-fill, .exq-option, .exq-card { transition: none; }
}
