 body { font-family: Arial,sans-serif; margin: 0;} .container { max-width: 950px; 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: #2C3673; 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; border-left: 5px solid #3b82f6; color: #1e3a8a; padding: 14px 18px 14px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; margin: 18px 0 26px;}  .section-label { font-size: 14px; font-weight: 700; color: #444; margin: 0 0 14px;} .section-label-sub { font-size: 13px; font-weight: 400; color: #888;}  .cards { display: grid; gap: 18px;} .cards-2col { grid-template-columns: repeat(2,1fr);} .cards-3col { grid-template-columns: repeat(3,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);} .card.selected { background: linear-gradient(135deg,#6cc3a0,#4caf50); color: white; transform: translateY(-3px); border-color: transparent;} .card-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; color: #555;} .card-desc { font-size: 14px; opacity: 0.85; color: #777;} .card.selected .card-title { color: white;} .card.selected .card-desc { font-size: 14px; opacity: 0.85; color: #fff;}  .badge-label { display: inline-block; font-size: 11px; padding: 4px 10px; border-radius: 20px; font-weight: 700; margin-bottom: 10px; background: #fef3c7; color: #92400e;} .badge-label.green { background: #fef3c7; color: #92400e;} .badge-label.blue { background: #d1fae5; color: #065f46;} .card.selected .badge-label.green { background: #ecfdf5; color: #065f46;} .card.selected .badge-label.blue { background: #fef3c7; color: #92400e;} .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-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-amount { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 13px; padding: 5px 14px; border-radius: 20px; font-weight: 700; background: #2C3673; color: white; white-space: nowrap;} .card.selected .badge-amount { background: rgba(255,255,255,0.25); color: white;}  .toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: default;} .toggle-row:hover { transform: none; border-color: #e0e3ea;} .toggle-info { display: flex; flex-direction: column; gap: 4px;} .toggle-title { font-size: 16px; font-weight: 600; color: #333;} .toggle-desc { font-size: 13px; color: #777; line-height: 1.5;} .toggle-switch { position: relative; display: inline-block; width: 52px; height: 28px; flex-shrink: 0;} .toggle-switch input { opacity: 0; width: 0; height: 0;} .toggle-slider { position: absolute; cursor: pointer; inset: 0; background: #ccd0d9; border-radius: 28px; transition: 0.3s;} .toggle-slider::before { content: ""; position: absolute; width: 20px; height: 20px; left: 4px; top: 4px; background: white; border-radius: 50%; transition: 0.3s; box-shadow: 0 1px 3px rgba(0,0,0,0.2);} .toggle-switch input:checked + .toggle-slider { background: #4caf50;} .toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px);}  .pill-group { display: flex; flex-wrap: wrap; gap: 10px;} .pill { padding: 10px 20px; border-radius: 30px; border: 2px solid #e0e3ea; background: #fafafa; font-size: 14px; font-weight: 600; color: #444; cursor: pointer; transition: all 0.2s ease;} .pill:hover { border-color: #2C3673; color: #2C3673;} .pill.selected { background: #2C3673; border-color: #2C3673; color: white;}  .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: #2C3673;} .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;} #nextBtn:disabled { background: #c4cad3; cursor: not-allowed; opacity: 0.8;}  #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: #2C3673; 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;}  .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.dark { background: #2C3673; color: white;} .btn.dark:hover { background: #2c3e66;}  .navigation { margin-top: 40px; display: flex; justify-content: space-between;} #nextBtn { background: #2C3673; 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;}