/* FOODSQAN — page de préconfiguration (preconfiguration.html, js/preconfiguration.js).
   S'appuie sur les jetons de .fq (css/styles.css) : bleu #3368C6, marine #031B4E, cartes 16 px. */

.fq .pc-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.fq .pc-hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e6eeff;
  font-size: 15px;
  font-weight: 500;
}
.fq .pc-hero-chips svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

.fq .pc-sec {
  padding: 48px 0 84px;
}
.fq .pc-noscript {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

/* ── Choix du parcours ── */
.fq .pc-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 30px;
}
.fq .pc-mode {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.fq .pc-mode:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-h);
}
.fq .pc-mode[aria-pressed='true'] {
  border-color: var(--blue);
  box-shadow:
    0 0 0 4px rgba(51, 104, 198, 0.12),
    var(--shadow-h);
}
.fq .pc-mode__ico {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #2bb8ec, #1f4e9e);
}
.fq .pc-mode--full .pc-mode__ico {
  background: linear-gradient(135deg, #3368c6, #031b4e);
}
.fq .pc-mode__ico svg {
  width: 24px;
  height: 24px;
}
.fq .pc-mode strong {
  display: block;
  font-size: 19px;
  color: var(--navy);
  line-height: 1.25;
}
.fq .pc-mode__time {
  display: inline-block;
  margin: 4px 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}
.fq .pc-mode span.pc-mode__txt {
  display: block;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}
.fq .pc-mode__check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.fq .pc-mode[aria-pressed='true'] .pc-mode__check {
  background: var(--blue);
  border-color: var(--blue);
}
.fq .pc-mode__check svg {
  width: 14px;
  height: 14px;
}

/* ── Mise en page : assistant + panneau ── */
.fq .pc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}
.fq .pc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-h);
  overflow: hidden;
}

/* Étapes */
.fq .pc-stepper {
  display: flex;
  gap: 4px;
  padding: 18px 22px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.fq .pc-stepper::-webkit-scrollbar {
  display: none;
}
.fq .pc-stepper button {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 0 4px 14px;
  border: 0;
  background: none;
  font-family: inherit;
  text-align: left;
  color: var(--muted);
  cursor: pointer;
}
.fq .pc-stepper button:disabled {
  cursor: default;
  opacity: 0.55;
}
.fq .pc-stepper__bar {
  display: block;
  width: 100%;
  height: 5px;
  border-radius: 5px;
  background: #e8ecf4;
  overflow: hidden;
}
.fq .pc-stepper__bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 0;
  background: var(--blue);
  transition: width 0.35s;
}
.fq .pc-stepper .is-done .pc-stepper__bar::after,
.fq .pc-stepper .is-current .pc-stepper__bar::after {
  width: 100%;
}
.fq .pc-stepper .is-current .pc-stepper__bar::after {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.fq .pc-stepper__lbl {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.fq .pc-stepper__lbl small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a96b4;
  margin-bottom: 2px;
}
.fq .pc-stepper .is-current .pc-stepper__lbl {
  color: var(--navy);
}
.fq .pc-stepper .is-done .pc-stepper__lbl {
  color: var(--blue);
}

.fq .pc-body {
  padding: 30px 38px 34px;
  border-top: 1px solid var(--line);
  outline: 0;
}
.fq .pc-step-head {
  margin-bottom: 24px;
}
.fq .pc-step-head .eyebrow {
  margin-bottom: 6px;
}
.fq .pc-step-head h2 {
  font-size: clamp(24px, 2.6vw, 30px);
}
.fq .pc-step-head p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16.5px;
  max-width: 680px;
}

/* Blocs : obligatoires d'abord, puis « pour aller plus loin » */
.fq .pc-block {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 18px;
  background: #fff;
}
.fq .pc-block--req {
  border-color: #c9d8f5;
  background: linear-gradient(180deg, #f7faff 0%, #fff 70%);
}
.fq .pc-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.fq .pc-block__head h3 {
  font-size: 18px;
}
.fq .pc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(51, 104, 198, 0.1);
  color: var(--blue-d);
}
.fq .pc-tag--req {
  background: var(--blue);
  color: #fff;
}
.fq .pc-tag--opt {
  background: #eef2f9;
  color: var(--muted);
}
.fq .pc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.fq .pc-fields--3 {
  grid-template-columns: repeat(3, 1fr);
}
.fq .pc-fields .pc-span {
  grid-column: 1 / -1;
}
.fq .c-field select,
.fq .c-field input[type='time'],
.fq .c-field input[type='date'] {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16.5px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #c9d6ee;
  border-radius: 12px;
}
.fq .c-field select:focus,
.fq .c-field input[type='time']:focus,
.fq .c-field input[type='date']:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(51, 104, 198, 0.16);
}
.fq .c-field select[aria-invalid='true'] {
  border-color: #c0392b;
}
.fq .c-field label .req {
  color: var(--blue);
}

/* Encart « Ce que ça configure » */
.fq .pc-effect {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 12px;
  background: #eef9f4;
  border: 1px solid #cdeedd;
  color: #1d4d3c;
  font-size: 15px;
  line-height: 1.5;
}
.fq .pc-effect svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: #11998e;
}
.fq .pc-effect strong {
  color: #0f5c47;
}
.fq .pc-effect--info {
  background: #f2f6ff;
  border-color: var(--line);
  color: var(--ink);
}
.fq .pc-effect--info svg,
.fq .pc-effect--info strong {
  color: var(--blue-d);
}

/* Section repliable */
.fq .pc-more {
  border: 1px dashed #c3d2ee;
  border-radius: 14px;
  margin-bottom: 18px;
  background: #fff;
}
.fq .pc-more > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}
.fq .pc-more > summary::-webkit-details-marker {
  display: none;
}
.fq .pc-more__plus {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(51, 104, 198, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s;
}
.fq .pc-more[open] .pc-more__plus {
  transform: rotate(45deg);
}
.fq .pc-more__plus svg {
  width: 18px;
  height: 18px;
}
.fq .pc-more__title {
  flex: 1;
}
.fq .pc-more__title strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
}
.fq .pc-more__title span {
  display: block;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.4;
}
.fq .pc-more[open] {
  border-style: solid;
  border-color: var(--line);
}
.fq .pc-more__body {
  padding: 4px 22px 22px;
}
.fq .pc-sub {
  margin-top: 22px;
}
.fq .pc-sub:first-child {
  margin-top: 0;
}
.fq .pc-sub h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

/* Puces (équipe, langues, allergènes, jours) */
.fq .pc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fq .pc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid #c9d6ee;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.fq .pc-chip:hover {
  border-color: var(--blue);
}
.fq .pc-chip[aria-pressed='true'] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.fq .pc-chip--sm {
  min-height: 34px;
  padding: 4px 11px;
  font-size: 14px;
}
.fq .pc-person {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 6px 5px 5px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(3, 27, 78, 0.05);
  font-weight: 600;
  color: var(--navy);
}
.fq .pc-person__av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, #3368c6, #031b4e);
}
.fq .pc-x {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: #eef2f9;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}
.fq .pc-x:hover {
  background: #fdecea;
  color: #c0392b;
}
.fq .pc-x svg {
  width: 14px;
  height: 14px;
}
.fq .pc-add-inline {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.fq .pc-add-inline.c-field {
  flex-direction: row;
  align-items: stretch;
}
.fq .pc-add-inline input {
  flex: 1;
  min-width: 0;
}
.fq .pc-add-inline .c-btn {
  flex: none;
  min-height: 50px;
  padding: 10px 22px;
}
.fq #pc-step-title:focus {
  outline: 0;
}
.fq .pc-row__sub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px 12px;
}

/* Lignes répétables (équipements, fournisseurs, produits…) */
.fq .pc-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fq .pc-row {
  display: grid;
  gap: 10px 12px;
  align-items: end;
  padding: 14px 14px 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  background: #fff;
}
.fq .pc-row .c-field label {
  font-size: 13.5px;
  margin-bottom: 4px;
  color: var(--muted);
}
.fq .pc-row .c-field input,
.fq .pc-row .c-field select {
  min-height: 44px;
  padding: 9px 12px;
  font-size: 15.5px;
}
.fq .pc-row .pc-x {
  margin-bottom: 8px;
}
.fq .pc-row .pc-row__full {
  grid-column: 1 / -1;
}
.fq .pc-row--FRIGO {
  border-left-color: #2bb8ec;
}
.fq .pc-row--CONGELATEUR {
  border-left-color: #1f4e9e;
}
.fq .pc-row--CHAUD {
  border-left-color: #fc4a1a;
}
.fq .pc-row--FRITEUSE {
  border-left-color: #f7b733;
}
.fq .pc-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.fq .pc-quick button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: inherit;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.fq .pc-quick button:hover {
  transform: translateY(-1px);
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(51, 104, 198, 0.12);
}
.fq .pc-quick__ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.fq .pc-quick__ico svg {
  width: 22px;
  height: 22px;
}
.fq .pc-quick strong {
  font-size: 15px;
  color: var(--navy);
  line-height: 1.2;
}
.fq .pc-quick small {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.3;
}
.fq .pc-quick__n {
  position: absolute;
}
.fq .pc-count {
  margin-left: auto;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue-d);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fq .pc-btn-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px dashed var(--blue);
  background: #fff;
  color: var(--blue);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.fq .pc-btn-add:hover {
  background: var(--soft);
}
.fq .pc-btn-add svg {
  width: 16px;
  height: 16px;
}
.fq .pc-link-btn {
  border: 0;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Onglets restaurants */
.fq .pc-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.fq .pc-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.fq .pc-tabs button[aria-selected='true'] {
  border-color: var(--blue);
  color: var(--navy);
  background: var(--soft);
}
.fq .pc-tabs .pc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c0392b;
}
.fq .pc-tabs .pc-dot.is-ok {
  background: #11998e;
}

/* Carte restaurant */
.fq .pc-resto {
  position: relative;
}
.fq .pc-resto + .pc-resto {
  margin-top: 18px;
}
.fq .pc-resto__num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.fq .pc-resto__num span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #3368c6, #1e40af);
}

/* Horaires */
.fq .pc-hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.fq .pc-hours__day {
  display: grid;
  grid-template-columns: 110px 120px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--soft);
}
.fq .pc-hours__day strong {
  color: var(--navy);
  font-size: 15px;
}
.fq .pc-hours__day label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 14.5px;
}
.fq .pc-hours__day input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}
.fq .pc-hours__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
.fq .pc-hours__slots span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.fq .pc-hours__slots input[type='time'] {
  min-height: 38px;
  padding: 5px 8px;
  border: 1.5px solid #c9d6ee;
  border-radius: 9px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
}

/* Modules */
.fq .pc-modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.fq .pc-module {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: inherit;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    opacity 0.2s;
}
.fq .pc-module[aria-pressed='true'] {
  border-color: #9fbcf0;
  background: #f7faff;
}
.fq .pc-module[aria-pressed='false'] {
  opacity: 0.72;
}
.fq .pc-module[aria-pressed='false'] .pc-module__ico {
  filter: grayscale(1);
  opacity: 0.6;
}
.fq .pc-module__ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}
.fq .pc-module__ico svg {
  width: 22px;
  height: 22px;
}
.fq .pc-module__txt {
  flex: 1;
  min-width: 0;
}
.fq .pc-module__txt strong {
  display: block;
  color: var(--navy);
  font-size: 15.5px;
  line-height: 1.3;
}
.fq .pc-module__txt span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}
.fq .pc-switch {
  flex: none;
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #cfd8ea;
  transition: background 0.2s;
  margin-top: 2px;
}
.fq .pc-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.fq [aria-pressed='true'] > .pc-switch {
  background: var(--blue);
}
.fq [aria-pressed='true'] > .pc-switch::after {
  transform: translateX(18px);
}
.fq .pc-toggle-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}
.fq .pc-toggle-line + .pc-toggle-line {
  margin-top: 8px;
}
.fq .pc-toggle-line strong {
  display: block;
  color: var(--navy);
  font-size: 15.5px;
}
.fq .pc-toggle-line span.pc-tl-txt {
  display: block;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}
.fq .pc-toggle-line > span:nth-child(2) {
  flex: 1;
}
.fq .pc-toggles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.fq .pc-toggles .pc-toggle-line + .pc-toggle-line {
  margin-top: 0;
}
@media (max-width: 760px) {
  .fq .pc-toggles {
    grid-template-columns: 1fr;
  }
}
.fq .pc-list-muted {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* Choix exclusifs (radios en cartes) */
.fq .pc-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.fq .pc-choice {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: inherit;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}
.fq .pc-choice strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
}
.fq .pc-choice span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}
.fq .pc-choice[aria-checked='true'] {
  border-color: var(--blue);
  background: var(--soft);
  box-shadow: 0 0 0 3px rgba(51, 104, 198, 0.12);
}

/* Pied de l'étape */
.fq .pc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.fq .pc-nav .c-btn--primary {
  width: auto;
  margin-left: auto;
}
.fq .pc-nav .c-btn svg {
  width: 18px;
  height: 18px;
}
.fq .pc-saved {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: #11998e;
  opacity: 0;
  transition: opacity 0.3s;
}
.fq .pc-saved.is-on {
  opacity: 1;
}
.fq .pc-saved svg {
  width: 15px;
  height: 15px;
}

/* ── Panneau latéral ── */
.fq .pc-aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fq .pc-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.fq .pc-panel--navy {
  background: linear-gradient(160deg, var(--navy) 0%, #0b3a93 100%);
  border-color: transparent;
  color: #d6e2fa;
  position: relative;
  overflow: hidden;
}
.fq .pc-panel--navy::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 184, 236, 0.28), transparent 68%);
  right: -90px;
  top: -110px;
}
.fq .pc-panel--navy > * {
  position: relative;
}
.fq .pc-panel h2 {
  font-size: 18px;
  margin-bottom: 14px;
}
.fq .pc-panel--navy h2 {
  color: #fff;
}
.fq .pc-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.fq .pc-ring {
  flex: none;
  width: 64px;
  height: 64px;
}
.fq .pc-ring circle {
  fill: none;
  stroke-width: 7;
}
.fq .pc-ring .bg {
  stroke: rgba(255, 255, 255, 0.15);
}
.fq .pc-ring .fg {
  stroke: var(--cyan);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.5s;
}
.fq .pc-progress strong {
  display: block;
  font-size: 26px;
  color: #fff;
  line-height: 1;
}
.fq .pc-progress span {
  font-size: 14px;
}
.fq .pc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fq .pc-stat {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.fq .pc-stat b {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.fq .pc-stat span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a9bde6;
}
.fq .pc-ready {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14.5px;
  line-height: 1.4;
}
.fq .pc-ready li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.fq .pc-ready svg {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--cyan);
}
.fq .pc-help p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}
.fq .pc-help p + p {
  margin-top: 10px;
}
.fq .pc-help strong {
  color: var(--navy);
}
.fq .pc-help a {
  color: var(--blue);
  font-weight: 600;
}

/* ── Récapitulatif ── */
.fq .pc-recap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fq .pc-recap__sec {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.fq .pc-recap__sec header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.fq .pc-recap__sec h3 {
  font-size: 17px;
}
.fq .pc-recap__sec dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 6px 14px;
  font-size: 15px;
}
.fq .pc-recap__sec dt {
  color: var(--muted);
}
.fq .pc-recap__sec dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.fq .pc-empty {
  color: #8a96b4;
  font-style: italic;
  font-weight: 400;
}
.fq .pc-final {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fq .pc-final .c-field--check {
  padding: 16px;
  border-radius: 12px;
  background: var(--soft);
}
.fq .pc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.fq .pc-actions .c-btn--primary {
  flex: 1 1 260px;
}

/* Écran final */
.fq .pc-done {
  text-align: center;
  padding: 54px 30px;
}
.fq .pc-done h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.fq .pc-done > p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 26px;
}
.fq .pc-next {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: left;
  margin: 0 auto 28px;
  max-width: 720px;
}
.fq .pc-next li {
  padding: 16px;
  border-radius: 14px;
  background: var(--soft);
  font-size: 15px;
  line-height: 1.45;
}
.fq .pc-next b {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

@media (max-width: 1100px) {
  .fq .pc-grid {
    grid-template-columns: 1fr;
  }
  .fq .pc-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .fq .pc-modes,
  .fq .pc-fields,
  .fq .pc-fields--3,
  .fq .pc-modules,
  .fq .pc-next,
  .fq .pc-aside {
    grid-template-columns: 1fr;
  }
  .fq .pc-quick {
    grid-template-columns: 1fr 1fr;
  }
  .fq .pc-modes {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }
  .fq .pc-mode {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }
  .fq .pc-mode__ico {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
  .fq .pc-mode__ico svg {
    width: 20px;
    height: 20px;
  }
  .fq .pc-mode strong {
    font-size: 17px;
  }
  .fq .pc-mode__time {
    font-size: 11.5px;
    letter-spacing: 0.03em;
    margin-bottom: 0;
  }
  .fq .pc-mode span.pc-mode__txt {
    display: none;
  }
  .fq .pc-mode__check {
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
  }
  .fq .pc-body {
    padding: 24px 18px 26px;
  }
  .fq .pc-block {
    padding: 18px 16px;
  }
  .fq .pc-more > summary {
    padding: 16px;
  }
  .fq .pc-more__body {
    padding: 4px 16px 18px;
  }
  .fq .pc-row {
    grid-template-columns: 1fr auto !important;
    padding: 12px 12px 12px 14px;
  }
  .fq .pc-row__sub {
    grid-template-columns: 1fr 1fr;
  }
  .fq .pc-row > .c-field:first-child {
    grid-column: 1 / -1;
  }
  .fq .pc-hours__day {
    grid-template-columns: 1fr auto;
  }
  .fq .pc-hours__slots {
    grid-column: 1 / -1;
  }
  .fq .pc-recap__sec dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .fq .pc-recap__sec dd {
    margin-bottom: 8px;
  }
  .fq .pc-stepper__lbl {
    font-size: 13px;
  }
  .fq .pc-stepper button {
    min-width: 0;
  }
  .fq .pc-stepper button:not(.is-current) .pc-stepper__lbl {
    font-size: 0;
  }
  .fq .pc-stepper button:not(.is-current) .pc-stepper__lbl small {
    font-size: 11px;
  }
  .fq .pc-nav .c-btn {
    padding: 12px 20px;
  }
}

/* Impression du récapitulatif */
@media print {
  .fq .topbar,
  .fq .header,
  .fq .footer,
  .fq .page-hero,
  .fq .pc-modes,
  .fq .pc-stepper,
  .fq .pc-aside,
  .fq .pc-nav,
  .fq .pc-final,
  .fq .pc-recap__sec header button {
    display: none !important;
  }
  .fq .pc-grid {
    display: block;
  }
  .fq .pc-card {
    box-shadow: none;
    border: 0;
  }
  .fq .pc-body {
    padding: 0;
    border: 0;
  }
  .fq .pc-sec {
    padding: 0;
  }
  .fq .pc-recap__sec {
    break-inside: avoid;
  }
}

/* Sélecteur des six langues dans le titre de page */
.fq .page-hero .c-lang {
  flex-wrap: wrap;
  max-width: 100%;
}
@media (max-width: 760px) {
  .fq .page-hero .c-lang__btn {
    padding: 7px 11px;
    font-size: 13.5px;
  }
}
