 body { font-family: Arial,sans-serif; margin: 0;} .container { max-width: 920px; margin: 50px auto; padding: 45px; border-radius: 16px;} h1 { margin-bottom: 35px;} h2 { margin-bottom: 10px;} .step-subtitle { font-size: 14px; font-weight: 400; color: #888;}  .stepper { position: relative; display: flex; justify-content: space-between; margin-bottom: 45px;} .stepper::before { content: ""; position: absolute; top: 50%; width: 100%; height: 4px; background: #e4e7ee; transform: translateY(-50%);} .stepper::after { content: ""; position: absolute; top: 50%; height: 4px; width: var(--progress,0%); background: #4caf50; transform: translateY(-50%); transition: 0.3s ease;} .step { z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: #dcdfe6; display: flex; align-items: center; justify-content: center; font-weight: bold; color:#777} .step.active { background: #1e2a44; color: white;} .step.completed { background: #4caf50; color: white; font-size: 0;} .step.completed::after { content: "✓"; font-size: 18px; font-weight: 700;}  .alert-box { border: 2px dashed #f4a261; background: #fff7ed; color: #8a4b08; padding: 16px 18px; border-radius: 12px; margin: 20px 0 30px; font-size: 14px;}.alert-box-info { background: #eef4ff; border: 1px solid #d6e4ff; color: #1e3a8a; padding: 14px 18px 14px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; margin: 18px 0 26px;  border-left: 5px solid #3b82f6;}  .cards { display: grid; gap: 18px;} .cards-2col { grid-template-columns: repeat(2,1fr);} .help-link { display: inline-block; margin-top: 18px; font-size: 13px; color: #2e76b7; text-decoration: underline;} .card { position: relative; padding: 22px; border-radius: 16px; border: 2px solid #e0e3ea; background: #fafafa; cursor: pointer; transition: all 0.25s ease;} .card:hover { transform: translateY(-3px); border-color: #1e2a44;} .card.selected { background: linear-gradient(135deg,#6cc3a0,#4caf50); color: white; border-color: transparent;} .card.full { grid-column: span 2;} .card-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; color:#555;}.card.selected .card-desc { font-size: 14px; opacity: 0.85; color:#FFF}.card-desc { font-size: 14px; opacity: 0.85; color:#777}.card.selected .card-title{ color: white;}.card.card-option.selected { background: linear-gradient(135deg,#57a5de,#2e76b7); color: white; border-color: transparent;}.card.card-option { border: 2px solid #e0e3ea; text-align: center;}.card.card-option.selected .card-title { color: white;}  .badge { position: absolute; top: 12px; right: 12px; font-size: 11px; padding: 5px 10px; border-radius: 20px; font-weight: 600; background: #ffe8c2; color: #8a4b08;} .badge.blue { background: #dbeafe; color: #1e40af;} .badge.green { background: #d1fae5; color: #065f46;} .badge-option { position: absolute; top: 12px; right: 12px; border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; opacity: 0; transition: all 0.2s ease;} .card-option.selected .badge-option { opacity: 1; background: #7AA7D2; color: white;}  .advisor-box { margin-top: 35px; padding: 22px 25px; background: #243a5e; color: white; border-radius: 14px; display: flex; justify-content: space-between; align-items: center;} .advisor-sub { font-size: 13px; opacity: 0.85; margin-top: 6px;} .advisor-btn { background: #4caf50; border: none; padding: 11px 18px; border-radius: 10px; color: white; font-weight: 600; cursor: pointer; transition: 0.2s;} .advisor-btn:hover { background: #43a047;}  .actions-row { margin-top: 28px; display: flex; justify-content: space-between;} .btn { padding: 12px 22px; border-radius: 10px; border: none; font-size: 14px; cursor: pointer; transition: 0.2s;} .btn.grey { background: #e5e7eb; color: #444;} .btn.grey:hover { background: #d6d9df;} .btn.primary { background: #1e2a44; color: white;} .btn.primary:hover { background: #2c3e66;}  .navigation { margin-top: 40px; display: flex; justify-content: space-between;} #nextBtn { background: #1e2a44; color: white; border: none; padding: 14px 28px; border-radius: 12px; font-weight: 600; cursor: pointer; font-size: 1em;} #prevBtn { background: #99a3b0; padding: 14px 28px; color: white; border: none; border-radius: 12px; font-weight: 600; cursor: pointer; font-size: 1em;}  .step-content { display: none;}.step-content h2{ margin-bottom: 1em;} .step-content.active { display: block;}  .step-content[data-step="4"] .card { text-align: center; padding: 28px 22px;}  .badge-optam { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 11px; padding: 4px 10px; border-radius: 20px; font-weight: 600; background: #dbeafe; color: #1e40af; white-space: nowrap;}  .form-group { margin-top: 10px;} .form-label { display: block; font-weight: 600; font-size: 14px; color: #333; margin-bottom: 10px;} .input-euro { display: flex; align-items: center; border: 2px solid #e0e3ea; border-radius: 12px; padding: 14px 18px; background: white; transition: border-color 0.2s;} .input-euro:focus-within { border-color: #1e2a44;} .input-euro input { flex: 1; border: none; outline: none; font-size: 16px; background: transparent; color: #333;} .input-euro input::-webkit-outer-spin-button,.input-euro input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0;} .input-euro input[type=number] { -moz-appearance: textfield;} .input-euro span { font-size: 16px; color: #888; margin-left: 8px;} .form-help { margin-top: 10px; font-size: 13px; color: #888; line-height: 1.5;} #nextBtn.btn-calculer { background: #4caf50;}  #result-display { position: relative;} .result-loading-overlay { display: none; position: absolute; inset: 0; background: rgba(255,255,255,0.75); z-index: 10; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: #1e2a44; border-radius: 12px; backdrop-filter: blur(2px);} #result-display.loading .result-loading-overlay { display: flex;} #result-display.loading .result-bar,#result-display.loading .result-details { opacity: 0.4; pointer-events: none; transition: opacity 0.2s;} .result-bar { display: flex; border-radius: 50px; overflow: hidden; height: 50px; margin: 20px 0 30px; font-weight: 600; font-size: 15px;} .result-segment { display: flex; flex-direction: row; align-items: center; justify-content: center; color: white; transition: flex 0.4s ease; padding: 0 14px; white-space: nowrap; overflow: hidden; min-width: 105px; gap: 6px;} .seg-label { font-size: 14px; font-weight: 600;} .seg-value { font-size: 15px; font-weight: 700;} .result-ro { background: #2e76b7; }.result-mutuelle { background: #4caf50; }.result-charge { background: #e8a020; } .result-details { margin-bottom: 30px;} .result-details p { margin: 8px 0; font-size: 15px; color: #444;} .result-separator { border: none; border-top: 1px solid #e0e3ea; margin: 30px 0;} .charge-amount { color: #e8a020;} .result-options-title { font-size: 20px; font-weight: 700; margin: 0 0 6px;} .result-sub { font-size: 14px; color: #666; margin: 0 0 20px; line-height: 1.5;} .badge-gain { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 12px; padding: 5px 12px; border-radius: 20px; font-weight: 600; background: #d1fae5; color: #065f46; white-space: nowrap;} .badge-gain-neutral { background: #d1fae5; color: #065f46;} .btn.dark { background: #1e2a44; color: white;} .btn.dark:hover { background: #2c3e66;}