/* Diagnostic en cinq étapes (roadshow.html).
   Seul l'habillage change : les classes, les étapes et le script restent ceux d'origine. */

body {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 104px 16px 48px; position: relative;
}

.hero-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: 0.42; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,16,0.82) 0%, rgba(14,14,16,0.55) 38%, rgba(14,14,16,0.97) 100%);
}

nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 28px 64px; display: flex; align-items: center; }
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-logo { height: 36px; width: 36px; flex-shrink: 0; filter: brightness(0) invert(1); opacity: 0.94; }
.nav-name { font-family: var(--titre); font-weight: 400; font-size: 17px; color: var(--blanc); line-height: 1.25; }
.nav-sub {
  display: block; font-family: var(--corps); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gris); margin-top: 3px;
}

.container { position: relative; z-index: 2; width: 100%; max-width: 600px; }

.card {
  background: rgba(21, 21, 24, 0.92);
  border: 1px solid var(--trait);
  padding: 52px 48px 46px; width: 100%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 34px 90px rgba(0,0,0,0.6), 0 0 0 0.5px rgba(205,187,157,0.12);
}

.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sable); margin-bottom: 20px; }

h1 { font-weight: 200; font-size: clamp(32px, 5.4vw, 46px); line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 20px; }

.subline { font-size: 16px; color: var(--gris); line-height: 1.6; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--trait); }

.points { list-style: none; margin-bottom: 36px; display: flex; flex-direction: column; gap: 14px; }
.points li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: rgba(242,240,238,0.86); line-height: 1.55; }
.points li::before { content: ''; flex-shrink: 0; width: 14px; height: 2px; background: var(--sable); margin-top: 11px; }

.step { display: none; }
.step.active { display: block; animation: stepIn 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.step-label { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sable); margin-bottom: 10px; }

.step-question { font-family: var(--titre); font-size: clamp(24px, 3.4vw, 30px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 26px; }

.options { display: flex; flex-direction: column; gap: 10px; }
.option {
  display: block; width: 100%; text-align: left;
  background: rgba(242, 240, 238, 0.03); border: 1px solid rgba(242, 240, 238, 0.24);
  color: rgba(242, 240, 238, 0.9); font-family: var(--corps); font-weight: 500; font-size: 15.5px;
  padding: 17px 20px; cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}
.option:hover { border-color: var(--blanc); background: rgba(242, 240, 238, 0.07); color: var(--blanc); transform: translateX(4px); }
.option:focus-visible { outline: 2px solid var(--sable); outline-offset: 3px; }
.option:active { transform: translateX(2px); opacity: 0.85; }

.step-back {
  display: inline-block; margin-top: 24px; background: none; border: none;
  color: rgba(242, 240, 238, 0.66); font-family: var(--corps); font-size: 13.5px; font-weight: 500;
  cursor: pointer; padding: 6px 0; border-bottom: 1px solid rgba(242, 240, 238, 0.24);
  transition: opacity 0.2s ease;
}
.step-back:hover { color: var(--blanc); border-bottom-color: var(--blanc); }
.step-back:focus-visible { outline: 2px solid var(--sable); outline-offset: 3px; }
.step-back:active { opacity: 0.7; }

.progress { display: flex; gap: 8px; margin-bottom: 28px; }
.progress span { height: 2px; flex: 1; background: rgba(242, 240, 238, 0.14); }
.progress span.done { background: var(--sable); }

.form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; }

label { font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris); }

input, select {
  background: rgba(242, 240, 238, 0.04); border: 1px solid rgba(242, 240, 238, 0.26); border-radius: 0;
  color: var(--blanc); font-family: var(--corps); font-weight: 400; font-size: 16px;
  padding: 14px 16px; outline: none; width: 100%;
  -webkit-appearance: none; appearance: none;
}
input::placeholder { color: rgba(242, 240, 238, 0.36); }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(242,240,238,0.6)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer;
}
select option { background: #1d1d21; color: #f2f0ee; }
input:focus, select:focus { border-color: var(--sable); box-shadow: 0 0 0 3px rgba(205, 187, 157, 0.16); }

.btn-cta {
  display: block; width: 100%; margin-top: 8px; padding: 18px 24px;
  background: var(--blanc); border: 1px solid var(--blanc); border-radius: 0;
  color: #0e0e10; font-family: var(--corps); font-weight: 600; font-size: 15px; text-align: center;
  cursor: pointer; text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 14px 34px rgba(0,0,0,0.45);
}
.btn-cta:hover { transform: translateY(-2px); }
.btn-cta:active { transform: translateY(0) scale(0.99); opacity: 0.88; }
.btn-cta:focus-visible { outline: 2px solid var(--sable); outline-offset: 4px; }
.btn-cta[disabled] { opacity: 0.6; cursor: wait; transform: none; }

.form-error { display: none; font-size: 14px; font-weight: 500; color: var(--sable); margin-top: 4px; }
.form-error.visible { display: block; }

.disclaimer { text-align: center; font-size: 13px; color: var(--gris); margin-top: 18px; }

.result-title { font-family: var(--titre); font-size: clamp(26px, 3.6vw, 34px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 16px; }
.result-text { font-size: 16px; color: rgba(242, 240, 238, 0.86); line-height: 1.7; margin-bottom: 12px; }
.result-note { font-size: 14px; color: var(--gris); margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--trait); }

.footer { margin-top: 34px; text-align: center; font-size: 12px; color: var(--gris); letter-spacing: 0.04em; position: relative; z-index: 2; }

@media (max-width: 560px) {
  body { padding: 92px 12px 40px; }
  nav { padding: 18px 16px; }
  .nav-name { font-size: 15px; }
  .card { padding: 34px 22px 30px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .step.active { animation: none; } .option, .btn-cta { transition: none; } }
