.scp-sim {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: stretch;
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  color: #2B2B2B;
}
@media (max-width: 980px) { 
  .scp-sim { grid-template-columns: 1fr; } 
}
[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover{
	
	color: #fff;
    background-color: #C89A7B;
	border-radius:10px;
	
}
.scp-card {
  background: #FFFFFF;
  border: 1px solid #E8DCCF;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(200, 154, 123, 0.15);
  padding: 28px;
}

.scp-card.left h2 {
  margin: 0 0 14px 0;
  color: #5A4A42;
}

.scp-segment {
  display: flex;
  gap: 10px;
  background: #F6EEE3;
  border: 1px solid #E8DCCF;
  border-radius: 999px;
  padding: 6px;
  width: max-content;
}

.scp-segment .seg-btn {
  border: 0;
  background: transparent;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  color: #5A4A42;
  display: flex;
  gap: 6px;
  align-items: center;
  transition: all 0.3s ease;
}

button.btn.reset {
  border-radius: 20px;
  background: #C89A7B;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 600;
}
button.btn.reset:hover {
  background: #b58366;
}

.scp-segment .seg-btn.active {
  background: #C89A7B;
  color: #fff;
}

.scp-fields {
  margin-top: 18px;
  display: grid;
  gap: 18px;
}

.scp-field label {
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  color: #2B2B2B;
}

.scp-field .help {
  color: #5A4A42;
  font-size: 13px;
  margin: 6px 0 0;
}

.inp {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.inp input {
  width: 220px;
  padding: 12px 44px 12px 14px;
  border: 1px solid #DCC8B9;
  border-radius: 10px;
  font-size: 16px;
  color: #2B2B2B;
  background: #FFF9F4;
}
.inp input:focus {
  outline: 2px solid #C89A7B;
}
.inp .suf {
  position: absolute;
  right: 10px;
  color: #A68B79;
  font-weight: 600;
}

.pair {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 14px;
}
.pair .second { display: none; }

.slider {
  position: relative;
  padding: 8px 0 0;
}

.slider input[type=range] {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(to right, #C89A7B var(--val, 50%), #EADBC8 var(--val, 50%));
  outline: none;
  transition: background 0.2s ease;
}
.slider input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #C89A7B;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
}
.slider input[type=range]:focus::-webkit-slider-thumb {
  background: #b58366;
}

.marks {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.marks button {
  border: 0;
  background: transparent;
  font-weight: 700;
  color: #C89A7B;
  cursor: pointer;
  text-align: center;
}
.marks button.active {
  background: #C89A7B;
  color: #fff;
  border-radius: 10px;
  padding: 6px 10px;
}

.hidden { display: none; }

/* ----------- Colonne droite ----------- */
.scp-card.right {
  background: #C89A7B;
  border-color: #b58366;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.topline {
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.illu {
  width: 240px;
  height: 126px;
  background: url("../8.png") center/contain no-repeat;
  margin: 8px 0 12px;
}

.amount {
  font-size: 52px;
  font-weight: 700;
  color: #FFFFFF;
}
p.info {
  padding-top: 20px;
  color: #FFF;
  font-size: 12px;
}
.sub {
  color: #FFFFFF;
  font-size: 20px;
  opacity: .9;
  margin-bottom: 14px;
}

.ratechip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFF9F4;
  border: 1px solid #E8DCCF;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  color: #5A4A42;
}

.mini {
  border: 0;
  background: #F6EEE3;
  border-radius: 8px;
  padding: 4px 6px;
  cursor: pointer;
  color: #5A4A42;
}
.mini:hover {
  background: #EADBC8;
}

.perks {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  color: #2B2B2B;
}

.legal {
  margin-top: 10px;
  color: #FFF;
  opacity: 0.85;
}
