.quote-simulator-section{
  position:relative;z-index:2;
  max-width:1200px;margin:0 auto;padding:0 3rem 5rem;
}
.quote-simulator-section .section-head{
  text-align:center;margin-bottom:2rem;
}
.quote-simulator-section .eyebrow{
  display:block;font-size:0.7rem;text-transform:uppercase;
  letter-spacing:0.18em;color:var(--bl,#5AAEFF);font-weight:600;margin-bottom:0.75rem;
}
.quote-simulator-section h2{
  font-family:var(--fft,'Syne',sans-serif);
  font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;
  letter-spacing:-0.02em;margin-bottom:0.75rem;
}
.quote-simulator-section .section-sub{
  color:var(--mu,#8A9BB5);max-width:560px;margin:0 auto;line-height:1.7;font-weight:300;
}
.quote-layout{
  display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);
  gap:1.25rem;align-items:start;
}
.quote-form,.quote-result-card{
  border:1px solid var(--bdr,rgba(255,255,255,0.08));
  border-radius:18px;background:var(--n2,#111827);
  box-shadow:0 16px 40px rgba(0,0,0,0.22);
}
.quote-form{
  padding:1.15rem;display:grid;gap:0.85rem;
  overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;min-width:0;
  max-height:min(78vh,920px);
}
.quote-form fieldset{
  margin:0;border:1px solid rgba(45,142,255,0.14);
  border-radius:14px;padding:0.85rem;display:grid;gap:0.65rem;min-width:0;
}
.quote-form legend{
  font-size:0.88rem;font-weight:700;color:var(--bl,#5AAEFF);padding:0 0.35rem;
  font-family:var(--fft,'Syne',sans-serif);
}
.quote-choice-grid,.quote-check-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0.5rem;
}
.quote-choice-grid label,.quote-check-grid label{
  border:1px solid var(--bdr,rgba(255,255,255,0.08));
  background:var(--n3,#1C2B42);border-radius:10px;
  padding:0.7rem 0.8rem;font-size:0.84rem;line-height:1.45;
  display:flex;align-items:flex-start;gap:0.6rem;
  min-width:0;width:100%;box-sizing:border-box;
  cursor:pointer;transition:border-color .15s,background .15s;
  text-align:left;
}
.quote-choice-grid label:hover,.quote-check-grid label:hover{
  border-color:rgba(45,142,255,0.35);
}
.quote-choice-grid input[type="radio"],
.quote-choice-grid input[type="checkbox"],
.quote-check-grid input[type="radio"],
.quote-check-grid input[type="checkbox"]{
  width:1.15rem;height:1.15rem;max-width:1.15rem;min-width:1.15rem;
  margin:0.2rem 0 0;flex-shrink:0;accent-color:var(--blue,#2D8EFF);
}
.quote-opt-body{
  flex:1 1 auto;min-width:0;
  display:flex;align-items:baseline;justify-content:space-between;gap:0.5rem 0.75rem;
  flex-wrap:wrap;
}
.quote-opt-label{
  flex:1 1 8rem;min-width:0;
  overflow-wrap:break-word;word-break:normal;
}
.quote-opt-price{
  flex:0 0 auto;
  white-space:nowrap;
  color:var(--bl,#5AAEFF);font-weight:600;font-size:0.78em;
}
.quote-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0.7rem}
.quote-field-grid label{
  display:grid;gap:0.35rem;font-size:0.86rem;color:var(--ow,#E8EDF5);min-width:0;
}
.quote-label-line{display:inline-flex;align-items:center;gap:0.4rem;flex-wrap:wrap}
.quote-help-wrap{position:relative;display:inline-flex;align-items:center}
.quote-help-tip{
  width:1.15rem;height:1.15rem;border-radius:999px;
  border:1px solid rgba(45,142,255,0.45);background:rgba(45,142,255,0.12);
  color:var(--bl,#5AAEFF);font-size:0.72rem;font-weight:800;line-height:1;
  cursor:help;padding:0;
}
.quote-help-bubble{
  position:absolute;z-index:15;left:50%;bottom:calc(100% + 0.45rem);
  transform:translateX(-50%);width:min(260px,70vw);
  padding:0.55rem 0.65rem;border-radius:10px;
  border:1px solid rgba(45,142,255,0.35);background:var(--n3,#1C2B42);
  box-shadow:0 12px 28px rgba(0,0,0,0.35);color:var(--ow,#E8EDF5);
  font-size:0.76rem;line-height:1.45;text-align:left;
  opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;
}
.quote-help-wrap:hover .quote-help-bubble,.quote-help-wrap:focus-within .quote-help-bubble{
  opacity:1;transform:translateX(-50%) translateY(-2px);
}
.quote-check-grid--graphics{margin-top:0.25rem}
.quote-field-grid select,.quote-field-grid input[type="range"]{width:100%}
.quote-field-grid input[type="range"]{
  appearance:none;-webkit-appearance:none;height:6px;border-radius:999px;
  background:linear-gradient(90deg,rgba(45,142,255,0.75),rgba(90,174,255,0.75));outline:none;
}
.quote-field-grid input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;width:18px;height:18px;border-radius:50%;
  border:2px solid var(--bl,#5AAEFF);background:var(--blue,#2D8EFF);
  box-shadow:0 0 0 3px rgba(45,142,255,0.2);cursor:pointer;
}
.quote-field-grid input[type="range"]::-moz-range-thumb{
  width:18px;height:18px;border-radius:50%;border:2px solid var(--bl,#5AAEFF);
  background:var(--blue,#2D8EFF);cursor:pointer;
}
.quote-field-grid select{
  border-radius:10px;border:1px solid var(--bdr,rgba(255,255,255,0.08));
  background:var(--n3,#1C2B42);color:var(--wh,#fff);
  padding:0.6rem 0.75rem;min-width:0;font-family:var(--ffb,'Inter',sans-serif);font-size:0.88rem;
}
.quote-help{font-size:0.8rem;color:var(--mu,#8A9BB5)}
.quote-result-card{
  position:sticky;top:5.5rem;padding:1.25rem;
  animation:quoteCardIn .6s ease;
}
.quote-result-tag{
  margin:0 0 0.25rem;color:var(--bl,#5AAEFF);
  font-size:0.72rem;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;
}
.quote-result-card h3{
  margin:0 0 0.4rem;font-family:var(--fft,'Syne',sans-serif);
  font-size:1.15rem;font-weight:700;
}
.quote-total{
  margin:0;font-size:clamp(1.8rem,4vw,2.5rem);font-weight:800;
  line-height:1;color:var(--blue,#2D8EFF);
}
.quote-range,.quote-deadline,.quote-disclaimer{
  margin:0.5rem 0 0;color:var(--mu,#8A9BB5);font-size:0.86rem;line-height:1.55;
}
.quote-range{
  margin-top:0.65rem;display:inline-flex;align-items:center;
  padding:0.35rem 0.75rem;border-radius:100px;
  border:1px solid rgba(45,142,255,0.35);
  background:rgba(45,142,255,0.1);color:var(--bl,#5AAEFF);font-weight:600;
}
.quote-breakdown{margin-top:0.75rem;display:grid;gap:0.35rem}
.quote-breakdown-row{
  display:flex;justify-content:space-between;gap:0.5rem;font-size:0.84rem;
  border-bottom:1px dashed rgba(255,255,255,0.08);padding-bottom:0.3rem;
}
.quote-breakdown-row strong{color:var(--ow,#E8EDF5);font-weight:600}
.quote-monthly{
  margin-top:0.75rem;border:1px solid rgba(45,142,255,0.2);
  border-radius:12px;padding:0.65rem 0.75rem;
  background:rgba(45,142,255,0.06);font-size:0.84rem;color:var(--ow,#E8EDF5);
}
.quote-cta-group{margin-top:1rem;display:grid;gap:0.55rem}
.quote-cta-group .btn-solid,.quote-cta-group .btn-ghost{
  display:flex;align-items:center;justify-content:center;text-decoration:none;
  text-align:center;width:100%;
}
.quote-disclaimer{font-size:0.78rem;margin-top:0.85rem;opacity:0.85}
@keyframes quoteCardIn{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}
@media(max-width:1024px){
  .quote-layout{grid-template-columns:1fr}
  /* Laisser le scroll à la page : overflow:auto + overscroll:contain bloque le touch scroll mobile */
  .quote-form{
    max-height:none;
    overflow-y:visible;
    overflow-x:visible;
    overscroll-behavior:auto;
  }
  .quote-result-card{position:static}
  .quote-form,.quote-result-card{padding:1rem}
}
@media(max-width:768px){
  .quote-simulator-section{padding:0 1.25rem 4rem}
  .quote-choice-grid,.quote-check-grid,.quote-field-grid{grid-template-columns:1fr}
  .quote-choice-grid label,.quote-check-grid label{
    padding:0.85rem 0.9rem;
    font-size:0.9rem;
  }
  .quote-opt-body{
    flex-direction:column;
    align-items:flex-start;
    gap:0.25rem;
  }
  .quote-opt-label{flex-basis:auto;width:100%}
  .quote-opt-price{font-size:0.82em}
}
