
/* FACILICOR Estimateur Premium CSS */
:root {
  --fc-navy: #0A0E1A;
  --fc-orange: #F97316;
  --fc-teal: #14B8A6;
  --fc-sky: #0EA5E9;
  --fc-white: #FFFFFF;
  --fc-gray-50: #F8FAFC;
  --fc-gray-100: #F1F5F9;
  --fc-gray-200: #E2E8F0;
  --fc-gray-300: #CBD5E1;
  --fc-gray-400: #94A3B8;
  --fc-gray-500: #64748B;
  --fc-gray-700: #334155;
  --fc-border-r: 16px;
  --fc-shadow: 0 4px 24px rgba(10,14,26,.12);
  --fc-shadow-lg: 0 8px 40px rgba(10,14,26,.18);
  --fc-grad: linear-gradient(135deg, #14B8A6, #0EA5E9);
}

.fc-est-wrap * { box-sizing: border-box; margin: 0; padding: 0; }

/* HEADER */
.fc-est-header {
  background: var(--fc-navy);
  border-radius: var(--fc-border-r) var(--fc-border-r) 0 0;
  padding: 48px 40px 40px;
  position: relative;
  overflow: hidden;
}
.fc-est-header::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: var(--fc-grad);
  border-radius: 50%;
  opacity: .08;
}
.fc-est-header-inner { position: relative; z-index: 1; }
.fc-est-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--fc-teal), var(--fc-sky));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.fc-est-title {
  font-size: clamp(24px,3.5vw,36px);
  font-weight: 800;
  color: var(--fc-white);
  line-height: 1.2;
  margin-bottom: 12px;
  font-family: system-ui,-apple-system,sans-serif;
}
.fc-est-title-accent { color: var(--fc-orange); }
.fc-est-subtitle { color: var(--fc-gray-400); font-size: 15px; }

/* GRID */
.fc-est-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  background: var(--fc-gray-50);
  border-radius: 0 0 var(--fc-border-r) var(--fc-border-r);
  overflow: hidden;
}
@media (max-width: 900px) {
  .fc-est-grid { grid-template-columns: 1fr; }
  .fc-est-result-panel { border-left: none !important; border-top: 1px solid var(--fc-gray-200); }
}

/* PANELS */
.fc-est-form-panel { padding: 32px; background: var(--fc-white); }
.fc-est-result-panel {
  padding: 28px 24px;
  background: var(--fc-navy);
  border-left: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* SECTIONS */
.fc-est-section { margin-bottom: 28px; }
.fc-est-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  color: var(--fc-gray-700);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.fc-est-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: var(--fc-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 50%;
}

/* SECTOR GRID */
.fc-est-sector-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
}
@media (max-width: 600px) {
  .fc-est-sector-grid { grid-template-columns: repeat(2,1fr); }
}
.fc-sector-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 12px;
  border: 2px solid var(--fc-gray-200);
  border-radius: 12px;
  background: var(--fc-white);
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
}
.fc-sector-btn:hover { border-color: var(--fc-orange); background: #FFF7F0; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(249,115,22,.15); }
.fc-sector-btn.active { border-color: var(--fc-orange); background: linear-gradient(135deg,#FFF7F0,#FEF3E8); box-shadow: 0 4px 16px rgba(249,115,22,.2); }
.fc-sector-icon { font-size: 24px; }
.fc-sector-name { font-size: 11px; font-weight: 700; color: var(--fc-gray-700); text-align: center; }

/* SERVICE GRID */
.fc-service-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 8px;
}
.fc-service-btn {
  padding: 12px 14px;
  border: 2px solid var(--fc-gray-200);
  border-radius: 10px;
  background: var(--fc-white);
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--fc-gray-700);
  transition: all .2s;
  font-family: inherit;
}
.fc-service-btn:hover { border-color: var(--fc-teal); color: var(--fc-teal); }
.fc-service-btn.active { border-color: var(--fc-teal); background: #F0FDFA; color: #0D9488; }

/* FIELDS */
.fc-field-group { margin-bottom: 16px; }
.fc-label { display: block; font-size: 12px; font-weight: 700; color: var(--fc-gray-500); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.fc-optional { font-weight: 400; color: var(--fc-gray-400); }
.fc-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--fc-gray-200);
  border-radius: 10px;
  font-size: 14px;
  color: var(--fc-navy);
  background: var(--fc-white);
  transition: border .2s;
  font-family: inherit;
}
.fc-input:focus { outline: none; border-color: var(--fc-orange); box-shadow: 0 0 0 3px rgba(249,115,22,.1); }
.fc-textarea { resize: vertical; min-height: 80px; }
.fc-input.fc-error { border-color: #EF4444; }

/* SURFACE INPUT */
.fc-surface-input-wrap { position: relative; }
.fc-surface-input-wrap .fc-input { padding-right: 44px; }
.fc-input-suffix { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--fc-gray-400); font-weight: 600; }
.fc-surface-presets { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.fc-preset-btn {
  padding: 4px 10px;
  border: 1px solid var(--fc-gray-200);
  border-radius: 6px;
  background: var(--fc-gray-50);
  font-size: 11px;
  font-weight: 600;
  color: var(--fc-gray-500);
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.fc-preset-btn:hover, .fc-preset-btn.active { background: var(--fc-orange); color: #fff; border-color: var(--fc-orange); }

/* RADIO GROUPS */
.fc-radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
.fc-radio-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 2px solid var(--fc-gray-200);
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--fc-gray-600);
  transition: all .2s;
}
.fc-radio-btn input { display: none; }
.fc-radio-btn:has(input:checked), .fc-radio-btn.selected { border-color: var(--fc-orange); background: #FFF7F0; color: var(--fc-orange); }

/* CHECKBOXES */
.fc-check-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
@media (max-width: 500px) { .fc-check-grid { grid-template-columns: 1fr; } }
.fc-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 2px solid var(--fc-gray-200);
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--fc-gray-700);
  transition: all .2s;
}
.fc-check-item input { width: 14px; height: 14px; accent-color: var(--fc-orange); }
.fc-check-item:has(input:checked) { border-color: var(--fc-orange); background: #FFF7F0; }
.fc-check-item em { font-style: normal; color: var(--fc-orange); font-size: 11px; margin-left: 4px; }

/* FORM GRID */
.fc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fc-full-width { grid-column: 1 / -1; }
@media (max-width: 600px) { .fc-form-grid { grid-template-columns: 1fr; } }

/* SUBMIT */
.fc-submit-row { display: flex; gap: 12px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.fc-cta-primary {
  flex: 1;
  min-width: 200px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--fc-orange), #EA580C);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(249,115,22,.35);
}
.fc-cta-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(249,115,22,.45); }
.fc-cta-primary:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.fc-cta-secondary {
  padding: 14px 20px;
  border: 2px solid var(--fc-gray-200);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fc-gray-700);
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.fc-cta-secondary:hover { border-color: var(--fc-navy); color: var(--fc-navy); }
.fc-microcopy { font-size: 11px; color: var(--fc-gray-400); text-align: center; margin-top: 12px; }

/* RESULT CARD */
.fc-result-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 24px;
  flex: 1;
}
.fc-result-idle { text-align: center; padding: 32px 16px; }
.fc-idle-icon { font-size: 40px; margin-bottom: 12px; opacity: .5; }
.fc-idle-text { font-size: 14px; color: rgba(255,255,255,.4); line-height: 1.5; }
.fc-result-from { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.fc-result-price { font-size: 48px; font-weight: 900; color: var(--fc-orange); line-height: 1; margin-bottom: 4px; }
.fc-result-range { font-size: 12px; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.fc-result-divider { height: 1px; background: rgba(255,255,255,.08); margin: 16px 0; }
.fc-result-summary { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.6; }
.fc-sector-message { font-size: 13px; color: rgba(255,255,255,.65); font-style: italic; margin-top: 10px; line-height: 1.5; }
.fc-result-features { display: flex; flex-direction: column; gap: 8px; }
.fc-feature-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.6); }
.fc-feature-check { width: 18px; height: 18px; background: linear-gradient(135deg,var(--fc-teal),var(--fc-sky)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; flex-shrink: 0; }
.fc-price-disclaimer { font-size: 10px; color: rgba(255,255,255,.3); margin-top: 16px; line-height: 1.5; }

/* SUCCESS */
.fc-result-success { text-align: center; padding: 24px 16px; }
.fc-success-icon { font-size: 48px; margin-bottom: 12px; }
.fc-success-title { font-size: 20px; font-weight: 800; color: var(--fc-white); margin-bottom: 8px; }
.fc-success-msg { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.5; }
.fc-success-ref { margin-top: 12px; font-size: 11px; color: var(--fc-orange); font-weight: 600; }

/* PROGRESS */
.fc-progress-wrap { }
.fc-progress-bar { height: 4px; background: rgba(255,255,255,.1); border-radius: 2px; margin-bottom: 12px; overflow: hidden; }
.fc-progress-fill { height: 100%; background: linear-gradient(90deg,var(--fc-teal),var(--fc-orange)); border-radius: 2px; transition: width .4s ease; }
.fc-progress-steps { display: flex; justify-content: space-between; }
.fc-progress-step { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .5px; transition: color .3s; }
.fc-progress-step.active { color: var(--fc-orange); }

/* UTILITIES */
.fc-hidden { display: none !important; }
.fc-tag { display: inline-block; background: rgba(249,115,22,.15); color: var(--fc-orange); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 100px; text-transform: capitalize; }
@keyframes fc-spin { to { transform: rotate(360deg); } }
.fc-spin { animation: fc-spin .8s linear infinite; }

/* VALIDATION ERROR SHAKE */
@keyframes fc-shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-4px)} 75%{transform:translateX(4px)} }
.fc-shake { animation: fc-shake .3s ease; }
    