/* ── Offert Modal ── */
.om-overlay{
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  overflow-y:auto;
  padding:20px 0;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .2s ease, visibility .2s ease;
}
.om-overlay.om-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

/* Dialog */
.om-dialog{
  position:relative;
  width:min(980px, calc(100vw - 32px));
  flex-shrink:0;
  margin:auto 0;
  border-radius:18px;
  border:2px solid #B6A15F;
  background:#1A1A1A;
  color:#fff;
  transform:scale(.95);
  transition:transform .2s ease;
}
.om-open .om-dialog{
  transform:scale(1);
}

/* Head */
.om-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 24px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.om-title{
  margin:0;
  font-size:22px;
  color:#B6A15F;
  font-weight:700;
  letter-spacing:.5px;
}
.om-close{
  width:36px;
  height:36px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  flex-shrink:0;
}
.om-close:active{ transform:scale(.96); }

/* Body */
.om-body{
  padding:30px 50px 50px;
}

/* Progress */
.om-progress{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  margin:6px 0 22px;
}
.om-dot{
  width:34px;
  height:34px;
  border-radius:999px;
  border:2px solid #B6A15F;
  display:grid;
  place-items:center;
  font-weight:700;
}
.om-dot.active{
  background:#8FAE85;
  color:#fff;
}
.om-bar{
  flex:1;
  height:2px;
  background:#8FAE85;
  position:relative;
}
.om-bar::after{
  content:"";
  position:absolute;
  inset:0;
  background:#1f3a1e;
  transform:scaleX(var(--p,0));
  transform-origin:left;
}

.om-progress-labels{
  display:grid;
  grid-template-columns:34px 1fr 34px 1fr 34px;
  column-gap:22px;
  align-items:center;
  margin-top:10px;
  font-size:14px;
  opacity:.9;
  color:#e6d7b0;
}
.om-progress-labels span{ text-align:center; }
.om-progress-labels span:nth-child(1){ grid-column:1; }
.om-progress-labels span:nth-child(2){ grid-column:3; }
.om-progress-labels span:nth-child(3){ grid-column:5; }

/* Form */
.om-body form{ margin:0; }
.om-body h3{
  color:#B6A15F;
  padding-bottom:35px;
  padding-top:35px;
  letter-spacing:2px;
  font-size:24px;
}
.om-body .grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:35px;
}
.om-body .grid-1{ grid-column:1/-1; }
.om-body label{
  display:block;
  font-size:20px;
  margin:0 0 12px;
  color:#e6d7b0;
}
.om-body input,
.om-body select,
.om-body textarea{
  width:100%;
  box-sizing:border-box;
  padding:16px;
  border-radius:8px;
  border:2px solid #B6A15F;
  font-size:16px;
  background:#f5f5f5;
  color:#000;
}
.om-body input:focus,
.om-body select:focus,
.om-body textarea:focus{
  outline:none;
  border-color:#e6d7b0;
  box-shadow:0 0 0 2px rgba(230,215,176,.25);
}
.om-body textarea{
  min-height:124px;
  resize:vertical;
}

.om-body .checkboxes{
  display:flex;
  flex-wrap:wrap;
  gap:14px 24px;
}
.om-body .checkboxes label{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  margin:0;
}

.om-body .actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:18px;
}
.om-body .btn{
  appearance:none;
  cursor:pointer;
  font-weight:800;
  border:2px solid #B6A15F;
  color:#B6A15F;
  background:#0B0B0B;
  border-radius:999px;
  padding:12px 22px;
  margin-top:20px;
}
.om-body .btn.secondary{
  background:transparent;
  color:#B6A15F;
}
.om-body .btn:disabled{
  opacity:.55;
  cursor:not-allowed;
}

/* Steps */
.om-body .om-step{ display:none; }
.om-body .om-step.active{
  display:block;
  animation:om-fade .18s ease-in;
}
@keyframes om-fade{
  from{ opacity:0; transform:translateY(4px); }
  to{ opacity:1; transform:none; }
}

/* Responsive */
@media(max-width:760px){
  .om-body{ padding:20px 16px 120px; }
  .om-body .grid{ grid-template-columns:1fr; }
  .om-body .actions{ gap:12px; }
  .om-head{ padding:14px 16px; }
  .om-title{ font-size:18px; }
}
