/* Styles de l'application /diagnostic (extraits du code embarqué Webflow, inchangés). */
    * {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f6f2e7;
  padding: 32px 20px;
  min-height: 100vh;
  display: flex;
  justify-content: center
}

.w {
  max-width: 660px;
  width: 100%
}

.intro-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #EAF3DE;
  color: #27500A;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px
}

.intro h1 {
  font-size: 22px;
  font-weight: 600;
  color: #132D1F;
  margin-bottom: 6px;
  line-height: 1.3
}

.intro p {
  font-size: 14px;
  color: #6B8070;
  line-height: 1.6;
  margin-bottom: 1.25rem
}

.prog-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px
}

.prog-lbl {
  font-size: 12px;
  color: #6B8070
}

.prog-track {
  height: 4px;
  background: #e0ddd0;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  overflow: hidden
}

.prog-fill {
  height: 100%;
  background: #3B6D11;
  border-radius: 2px;
  transition: width .4s
}

.q-num {
  font-size: 11px;
  color: #6B8070;
  margin-bottom: 6px;
  font-weight: 500
}

.q-text {
  font-size: 17px;
  font-weight: 600;
  color: #132D1F;
  margin-bottom: 1rem;
  line-height: 1.4
}

.q-opts {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.q-opt {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d8d4c4;
  font-size: 13px;
  color: #132D1F;
  cursor: pointer;
  transition: all .15s;
  text-align: left;
  background: white;
  font-family: inherit;
  line-height: 1.4;
  display: flex;
  gap: 10px;
  align-items: flex-start
}

.q-opt:hover {
  border-color: #3B6D11;
  background: #EAF3DE;
  color: #173404
}

.q-opt.sel {
  border-color: #3B6D11;
  background: #EAF3DE;
  color: #173404;
  font-weight: 500
}

.p-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  padding-top: 1px
}

.p-label {
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
  font-size: 14px
}

.p-sub {
  font-size: 12px;
  color: #6B8070;
  line-height: 1.4
}

.q-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem
}

.btn-back {
  background: transparent;
  color: #6B8070;
  border: 1px solid #d8d4c4;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit
}

.btn-back:hover {
  background: #f0ece0
}

.btn-back:disabled {
  opacity: .3;
  cursor: not-allowed
}

.q-ctr {
  font-size: 12px;
  color: #6B8070
}

.result {
  display: none;
  animation: fu .4s ease
}

/* ── Blur gate ────────────────────────────────────────────────────── */
.blurred-section {
  position: relative;
  transition: filter .5s ease
}

.blurred-section.locked {
  filter: blur(6px);
  pointer-events: none;
  user-select: none
}

.email-gate-overlay {
  position: relative;
  background: linear-gradient(135deg, #132D1F 0%, #1a3d28 100%);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: .75rem;
  border: 1px solid rgba(184, 224, 74, .25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
  z-index: 10;
  display: none;
  animation: fu .4s ease;
}

.email-gate-overlay .gate-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
  text-align: center
}

.email-gate-overlay h4 {
  font-size: 15px;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 6px;
  line-height: 1.3;
}

.email-gate-overlay p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.6;
}

.gate-input-row {
  display: flex;
  gap: 8px;
}

.gate-input-row input {
  flex: 1;
  background: rgba(255, 255, 255, .09);
  border: 1.5px solid rgba(255, 255, 255, .18);
  border-radius: 9px;
  padding: 11px 14px;
  font-size: 13.5px;
  color: white;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}

.gate-input-row input::placeholder {
  color: rgba(255, 255, 255, .32)
}

.gate-input-row input:focus {
  border-color: #B8E04A;
}

.gate-submit-btn {
  background: #B8E04A;
  color: #132D1F;
  border: none;
  border-radius: 9px;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background .15s, transform .1s;
}

.gate-submit-btn:hover {
  background: #9AC83A;
  transform: translateY(-1px)
}

.gate-submit-btn:active {
  transform: translateY(0)
}

.gate-err {
  font-size: 12px;
  color: #f87171;
  margin-top: 8px;
  text-align: center;
  display: none
}

.gate-lock-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .35);
  margin-top: 12px;
}

.gate-lock-hint svg {
  flex-shrink: 0
}

@keyframes fu {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.res-hero {
  background: #132D1F;
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px
}

.res-hero-left {
  flex: 1
}

.res-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px
}

.res-title {
  font-size: 22px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px
}

.lvl-bar {
  display: flex;
  gap: 5px;
  margin: 10px 0 8px
}

.lvl-s {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .12)
}

.lvl-s.on {
  background: #B8E04A
}

.res-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.6
}

.res-persona-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  background: rgba(184, 224, 74, .15);
  color: #B8E04A;
  border: 1px solid rgba(184, 224, 74, .25);
  border-radius: 20px;
  padding: 3px 10px
}

.score-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #B8E04A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.score-big {
  font-size: 26px;
  font-weight: 700;
  color: #132D1F;
  line-height: 1
}

.score-max {
  font-size: 11px;
  color: #2A6B40;
  font-weight: 600;
  margin-top: 2px
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 1rem
}

.rcard {
  background: white;
  border: 1px solid #e0ddd0;
  border-radius: 14px;
  padding: 1rem
}

.rcard-h {
  font-size: 12px;
  font-weight: 600;
  color: #132D1F;
  margin-bottom: 10px;
  line-height: 1.4
}

.ri {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: flex-start
}

.ri-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  margin-top: 1px
}

.ri-dot.g {
  background: #EAF3DE;
  color: #27500A
}

.ri-dot.r {
  background: #FCEBEB;
  color: #791F1F
}

.ri-dot.o {
  background: #FAEEDA;
  color: #633806
}

.ri-txt {
  font-size: 12px;
  color: #3a4540;
  line-height: 1.5
}

.cta-block {
  background: #132D1F;
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: .75rem
}

.cta-block h4 {
  font-size: 14px;
  font-weight: 600;
  color: #B8E04A;
  margin-bottom: 4px
}

.cta-block p {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 12px;
  line-height: 1.5
}

.cap-f {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.cap-f input {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: white;
  font-family: inherit;
  outline: none
}

.cap-f input::placeholder {
  color: rgba(255, 255, 255, .3)
}

.cap-f input:focus {
  border-color: #B8E04A
}

.cap-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px
}

.cap-btn {
  background: #B8E04A;
  color: #132D1F;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin-top: 4px;
  transition: background .15s;
  width: 100%
}

.cap-btn:hover {
  background: #9AC83A
}

.cap-btn:disabled {
  opacity: .5;
  cursor: not-allowed
}

.cap-ok {
  display: none;
  font-size: 13px;
  color: #B8E04A;
  text-align: center;
  padding: 10px 0;
  line-height: 1.6
}

.rst {
  background: transparent;
  border: 1px solid #d8d4c4;
  color: #6B8070;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit
}

.rst:hover {
  background: #f0ece0
}

.sending-state {
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  text-align: center;
  padding: 8px 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .2);
  border-top-color: #B8E04A;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  flex-shrink: 0
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.dl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #B8E04A;
  color: #132D1F;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  margin-top: 8px;
  transition: background .15s
}

.dl-btn:hover {
  background: #9AC83A
}

.dl-btn svg {
  flex-shrink: 0
}
  
