/* Diagnostic + boarding (extrait site.css) */

/* —— Diagnostic hero —— */
.boarding {
  position: relative;
  color: var(--cream);
  padding: 1.15rem 1.2rem 1.1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.38);
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, transparent 28%),
    linear-gradient(165deg, rgba(14, 32, 54, 0.96), rgba(8, 18, 32, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(243, 226, 168, 0.2),
    0 28px 60px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}


.boarding-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}


.boarding-brand {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}


.boarding-logo {
  height: 2.35rem;
  width: auto;
  opacity: 0.38;
  filter: grayscale(0.15) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}


.boarding-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--cream);
  letter-spacing: -0.02em;
}


.boarding-ref {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 226, 168, 0.65);
  white-space: nowrap;
}


.boarding-milestones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}


.boarding-milestones li {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 236, 221, 0.45);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
}


.boarding-milestones li.is-on {
  color: var(--navy);
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  font-weight: 600;
}


.boarding-milestones li.is-done {
  color: rgba(244, 236, 221, 0.72);
}


.boarding-milestones .mile-ico {
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  font-size: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
}


.boarding-meta {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 226, 168, 0.6);
  margin: 0 0 0.65rem;
}


.board-step {
  display: none;
  animation: board-in 0.35s var(--ease);
}


.board-step.is-on {
  display: block;
}

  .board-step.is-on {
    animation: none;
  }


.board-step-head {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}


.board-step-ico {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-soft);
  border: 1px solid rgba(212, 175, 55, 0.35);
}


.board-step-ico svg {
  width: 1.25rem;
  height: 1.25rem;
}


.board-step-head .board-hint {
  margin: 0.25rem 0 0;
}


.board-q {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.08rem;
  color: var(--cream);
  line-height: 1.2;
}


.board-hint {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(244, 236, 221, 0.72);
  line-height: 1.45;
}


.board-hint strong {
  color: var(--gold-soft);
}


.board-field {
  margin: 0 0 0.75rem;
  padding: 0;
  border: 0;
  min-width: 0;
}


.board-field legend {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(244, 236, 221, 0.88);
  margin-bottom: 0.45rem;
  padding: 0;
}


.board-picks {
  display: grid;
  gap: 0.45rem;
}


.board-picks--duo {
  grid-template-columns: 1fr 1fr;
}


.board-picks--trio {
  grid-template-columns: repeat(3, 1fr);
}


.board-pick {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 0.65rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(255, 253, 250, 0.05);
  color: var(--cream);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s, transform 0.2s;
}


.board-picks--duo .board-pick {
  align-items: center;
  text-align: center;
}


.board-pick svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--gold-soft);
}


.board-pick:hover {
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}


.board-pick.is-on {
  transform: translateY(-1px);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.2);
  box-shadow:
    0 0 0 2px rgba(212, 175, 55, 0.45),
    inset 0 0 0 1px rgba(243, 226, 168, 0.25),
    0 8px 24px rgba(212, 175, 55, 0.12);
}


.board-pick.is-on::after {
  content: "";
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.35);
}


.board-pick {
  position: relative;
}


/* Sélection neutre : or, pas de « bonne réponse » en vert. */


.board-reassure {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.65rem 0 0.25rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(11, 25, 44, 0.35));
  border: 1px solid rgba(212, 175, 55, 0.35);
  animation: board-in 0.4s var(--ease);
}


.board-reassure p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(244, 236, 221, 0.92);
}


.board-reassure strong {
  color: var(--gold-soft);
  font-weight: 700;
}


.board-reassure-ico {
  flex-shrink: 0;
  color: var(--gold);
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
}


.board-reassure-ico svg {
  width: 100%;
  height: 100%;
}


.board-label {
  display: grid;
  gap: 0.3rem;
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(244, 236, 221, 0.85);
}


.board-label select,
.board-label input {
  min-height: 44px;
  border-radius: 0.65rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(11, 25, 44, 0.55);
  color: var(--cream);
  padding: 0 0.65rem;
  font: inherit;
  font-weight: 500;
}


.board-consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.65rem 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(244, 236, 221, 0.75);
  line-height: 1.4;
}


.board-consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}


.board-consent a {
  color: var(--gold-soft);
}


.board-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 0.75rem;
}


.board-nav .board-next {
  flex: 1 1 10rem;
  min-width: min(100%, 14rem);
  margin-left: auto;
}


.board-nav .board-next:not(.is-ready) {
  background: rgba(255, 253, 250, 0.04) !important;
  color: rgba(244, 236, 221, 0.42) !important;
  border: 1px solid rgba(212, 175, 55, 0.22) !important;
  box-shadow: none !important;
  cursor: not-allowed;
  opacity: 1;
}


.board-nav .board-next.is-ready {
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 42%, var(--gold-deep) 100%) !important;
  color: var(--navy) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.32) !important;
  cursor: pointer;
}


.board-label.is-filled select {
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.2);
}


.board-nav--end {
  margin-bottom: 0.25rem;
}


.board-back {
  display: inline-flex;
  margin-right: 0.5rem;
  padding: 0.45rem 0.65rem;
  border: 0;
  background: transparent;
  color: rgba(244, 236, 221, 0.65);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}


.board-err {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: #ffb4a0;
}


.boarding-form .btn-cta {
  width: 100%;
  margin-top: 0.25rem;
}


.boarding [data-board-result] .board-q,
.boarding [data-board-result] h3 {
  font-size: 1rem;
}


.boarding [data-board-result] .miss,
.board-synth-card .miss {
  margin: 0.65rem 0;
  padding-left: 1.1rem;
  color: rgba(244, 236, 221, 0.88);
  font-size: 0.88rem;
}


.board-field-note {
  margin: -0.25rem 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(244, 236, 221, 0.62);
  line-height: 1.4;
}


.board-synth-card {
  margin-bottom: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.9rem;
  background: rgba(255, 253, 250, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.28);
}


.board-synth-card--done {
  border-color: rgba(120, 180, 100, 0.45);
  background: rgba(120, 180, 100, 0.08);
}


.board-priority {
  display: inline-block;
  margin: 0 0 0.55rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.board-priority--hot {
  background: linear-gradient(135deg, #ffe9a8, var(--gold));
  color: var(--navy);
}


.board-priority--warm {
  background: rgba(212, 175, 55, 0.22);
  color: var(--gold-soft);
  border: 1px solid rgba(212, 175, 55, 0.45);
}


.board-priority--nurture,
.board-priority--cold {
  background: rgba(255, 253, 250, 0.08);
  color: rgba(244, 236, 221, 0.85);
  border: 1px solid rgba(244, 236, 221, 0.2);
}


.board-priority--out {
  background: rgba(255, 140, 80, 0.15);
  color: #ffd4c4;
  border: 1px solid rgba(255, 140, 80, 0.35);
}


.board-synth-lead {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(244, 236, 221, 0.9);
}


.board-rdv-note {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(212, 175, 55, 0.35);
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(244, 236, 221, 0.78);
}


.board-rdv-note strong {
  color: var(--gold-soft);
}


.board-rdv {
  margin: 0.65rem 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.32);
}


.board-rdv-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(244, 236, 221, 0.88);
  line-height: 1.4;
  cursor: pointer;
}


.board-rdv-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}


.board-coords {
  padding-top: 0.25rem;
}


.boarding-cta {
  padding-top: 2rem;
  padding-bottom: 3rem;
}


  .boarding {
    position: sticky;
    top: 5.5rem;
    max-height: calc(100svh - 6rem);
    overflow: auto;
  }

  .board-picks--duo,
  .board-picks--trio {
    grid-template-columns: 1fr;
  }


  .boarding-milestones li {
    padding: 0.25rem 0.35rem;
    font-size: 0;
  }


  .boarding-milestones .mile-ico {
    font-size: 0.55rem;
  }


/* —— Diagnostic modal —— */
.diag-modal {
  padding: 0;
  border: none;
  background: transparent;
  max-width: min(28.5rem, calc(100vw - 1.5rem));
  width: 100%;
  max-height: min(92vh, 52rem);
  overflow: visible;
  color: inherit;
}


.diag-modal::backdrop {
  background: rgba(4, 10, 20, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


.diag-modal-sheet {
  position: relative;
  max-height: min(92vh, 52rem);
  overflow: auto;
  border-radius: 1.35rem;
  -webkit-overflow-scrolling: touch;
}


.diag-modal .boarding {
  margin: 0;
  border-radius: 1.35rem;
  padding-top: 0;
}


.diag-illu {
  margin: 0 -1.2rem 0.85rem;
  height: 7.5rem;
  overflow: hidden;
  border-radius: 1.35rem 1.35rem 0 0;
  position: relative;
}


.diag-illu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  opacity: 0.88;
}


.diag-illu::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 18, 32, 0.92) 100%);
  pointer-events: none;
}


.diag-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 226, 168, 0.28);
  background: rgba(8, 18, 32, 0.55);
  color: rgba(243, 226, 168, 0.92);
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
}


.diag-close:hover {
  background: rgba(8, 18, 32, 0.78);
  border-color: rgba(212, 175, 55, 0.55);
}


.diag-modal .boarding-head {
  margin-top: 0.15rem;
}

  .diag-illu {
    height: 6.25rem;
  }


.diag-illu img {
  border-radius: 0.85rem;
  object-fit: cover;
}

/* Utilities for production diagnostic on v2 landing */
.diag-modal{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;border:0;padding:0;background:rgba(7,19,37,.72);z-index:1000}
.diag-modal::backdrop{background:rgba(7,19,37,.72)}
.diag-modal-sheet{width:min(100%,1100px);max-height:min(94dvh,900px);margin:3vh auto;overflow:auto;border-radius:18px;background:linear-gradient(165deg,#14304f,#0b192c);border:1px solid rgba(212,175,55,.35);color:#f4ecdd;position:relative}
.diag-close{position:absolute;top:.65rem;right:.65rem;z-index:3;width:2.25rem;height:2.25rem;border-radius:999px;border:1px solid rgba(243,226,168,.28);background:rgba(8,18,32,.55);color:rgba(243,226,168,.92);display:grid;place-items:center;cursor:pointer}
.boarding.glass{padding:1.25rem 1.3rem 1.5rem}
.boarding-form label{display:grid;gap:.35rem;margin:.55rem 0;font-size:.9rem}
.boarding-form input,.boarding-form select,.boarding-form textarea{width:100%;padding:.65rem .75rem;border-radius:.7rem;border:1px solid rgba(212,175,55,.28);background:rgba(255,253,250,.06);color:#f4ecdd}
.boarding-form .btn,.diag-modal .btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.75rem 1.1rem;border-radius:.75rem;border:0;font-weight:600;cursor:pointer;text-decoration:none}
.diag-modal .btn-gold{background:#d4af37;color:#0b192c}
.diag-modal .btn-ghost{background:transparent;color:#f4ecdd;border:1px solid rgba(212,175,55,.4)}
.diag-illu{margin:0 0 1rem;border-radius:1rem;overflow:hidden;max-height:9rem}
.diag-illu img{width:100%;height:100%;object-fit:cover;display:block}
