/* =============================================================
 * Fixeo Devis — Design v2 "Pro Convert"
 * Palette : Blanc chaud · Orange #FF9900 · Marine #0D1B2A
 * ============================================================= */

/* ─── Variables ─────────────────────────────────────────────── */
#fixeo-devis-app {
  --orange:    #FF9900;
  --orange-d:  #e68a00;
  --orange-l:  #FFF3DC;
  --orange-xl: #FFFAF0;
  --navy:      #0D1B2A;
  --navy-m:    #1E3A5F;
  --vert:      #059669;
  --vert-l:    #ECFDF5;
  --rouge:     #DC2626;
  --rouge-l:   #FEF2F2;
  --bg:        #F7F6F3;
  --bg-card:   #FFFFFF;
  --border:    #E8E6E1;
  --border-d:  #D0CEC9;
  --txt:       #1A1A1A;
  --txt-2:     #6B6B6B;
  --txt-3:     #A0A0A0;
  --r:         12px;
  --r2:        8px;
  --sh:        0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  --sh-hover:  0 4px 16px rgba(0,0,0,.12);
  --sh-focus:  0 0 0 3px rgba(255,153,0,.2);
  /* Couleurs par catégorie */
  --c-meu: #7C3AED; --c-meu-l: #F5F3FF;
  --c-fix: #0891B2; --c-fix-l: #ECFEFF;
  --c-plo: #0284C7; --c-plo-l: #EFF6FF;
  --c-sec: #059669; --c-sec-l: #ECFDF5;
  --c-frf: #EA580C; --c-frf-l: #FFF7ED;
  --c-rep: #BE185D; --c-rep-l: #FDF2F8;
  --c-ins: #0D9488; --c-ins-l: #F0FDFA;
}

/* ─── Reset ─────────────────────────────────────────────────── */
#fixeo-devis-app *, #fixeo-devis-app *::before, #fixeo-devis-app *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}
#fixeo-devis-app {
  font-family: -apple-system, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--txt);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
}

/* ─── Hero ───────────────────────────────────────────────────── */
#fixeo-devis-app .fixeo-hero {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: relative;
  overflow: hidden;
}
/* Barre orange en haut - signal visuel fort */
#fixeo-devis-app .fixeo-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, #FF7700 100%);
}
#fixeo-devis-app .fixeo-hero-text {
  padding: 28px 24px 18px;
  text-align: center;
  position: relative;
}
#fixeo-devis-app .fixeo-hero-text h1 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800; color: var(--navy);
  line-height: 1.2; margin-bottom: 6px;
  letter-spacing: -.3px;
}
#fixeo-devis-app .fixeo-hero-text h1 em {
  font-style: normal; color: var(--orange);
}
#fixeo-devis-app .fixeo-hero-text p {
  font-size: .88rem; color: var(--txt-2);
  margin-bottom: 14px;
}
#fixeo-devis-app .fixeo-hero-badges {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: center; font-size: .72rem;
}
#fixeo-devis-app .fixeo-badge-star {
  background: #FFF8E7; border: 1px solid #FCA800;
  color: #7A4500; padding: 3px 10px; border-radius: 20px; font-weight: 700;
}
#fixeo-devis-app .fixeo-badge-green {
  background: var(--vert-l); border: 1px solid rgba(5,150,105,.25);
  color: var(--vert); padding: 3px 10px; border-radius: 20px; font-weight: 700;
}
#fixeo-devis-app .fixeo-badge-gray {
  background: var(--bg); border: 1px solid var(--border-d);
  color: var(--txt-2); padding: 3px 10px; border-radius: 20px; font-weight: 600;
}

/* CP hero block */
#fixeo-devis-app .fixeo-hero-cp {
  padding: 0 24px 22px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
#fixeo-devis-app .fixeo-cp-label {
  font-size: .72rem; font-weight: 700;
  color: var(--txt-2);
  padding-top: 16px;
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em;
}
#fixeo-devis-app .fixeo-cp-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
#fixeo-devis-app .fixeo-cp-input {
  flex: 1; max-width: 280px;
  padding: 13px 18px;
  background: #fff;
  border: 2px solid var(--border-d);
  border-radius: 10px;
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: .06em;
  font-family: inherit; outline: none;
  transition: all .2s;
  color: var(--txt);
}
#fixeo-devis-app .fixeo-cp-input::placeholder { color: var(--txt-3); font-weight: 400; }
#fixeo-devis-app .fixeo-cp-input:focus {
  border-color: var(--orange);
  box-shadow: var(--sh-focus);
}
#fixeo-devis-app .fixeo-zone-ok {
  background: var(--vert-l); color: var(--vert);
  border: 1.5px solid rgba(5,150,105,.3);
  padding: 8px 16px; border-radius: 20px;
  font-size: .8rem; font-weight: 700;
  white-space: nowrap; animation: popIn .2s ease;
}
#fixeo-devis-app .fixeo-zone-no {
  background: var(--rouge-l); color: var(--rouge);
  border: 1.5px solid rgba(220,38,38,.2);
  padding: 8px 16px; border-radius: 20px;
  font-size: .8rem; font-weight: 700;
}
#fixeo-devis-app .fixeo-cp-hint {
  font-size: .7rem; color: rgba(255,255,255,.35); margin-top: 6px;
}
@keyframes popIn {
  from { transform: scale(.85); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ─── Layout ─────────────────────────────────────────────────── */
#fixeo-devis-app .wrap {
  max-width: 980px; margin: 0 auto;
  padding: 20px 14px 140px;
}
#fixeo-devis-app .grid {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 16px; align-items: start;
}
#fixeo-devis-app #left   { min-width: 0; }
#fixeo-devis-app #sidebar {
  min-width: 0; position: sticky; top: 16px;
  align-self: start;
  max-height: calc(100vh - 32px);
  overflow-y: auto; scrollbar-width: thin;
}

/* ─── Steps ──────────────────────────────────────────────────── */
#fixeo-devis-app .steps {
  display: flex; background: var(--bg-card);
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--sh); margin-bottom: 16px;
  border: 1px solid var(--border);
}
#fixeo-devis-app .step {
  flex: 1; padding: 12px 6px; text-align: center;
  font-size: .76rem; font-weight: 600; color: var(--txt-3);
  border-bottom: 3px solid transparent; transition: .2s;
  cursor: default; border-right: 1px solid var(--border);
}
#fixeo-devis-app .step:last-child { border-right: none; }
#fixeo-devis-app .step.active {
  color: var(--txt);
  border-bottom-color: var(--orange);
  background: var(--orange-xl);
}
#fixeo-devis-app .step.done {
  color: var(--vert); border-bottom-color: var(--vert);
}
#fixeo-devis-app .sn {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--border); color: var(--txt-3);
  font-size: .75rem; font-weight: 800;
  margin: 0 auto 4px; transition: .2s;
}
#fixeo-devis-app .step.active .sn { background: var(--orange); color: #fff; }
#fixeo-devis-app .step.done .sn   { background: var(--vert);   color: #fff; }
#fixeo-devis-app .slbl { display: block; }

/* ─── Filtres ────────────────────────────────────────────────── */
#fixeo-devis-app .fixeo-filter-btn {
  padding: 7px 16px; border: 1.5px solid var(--border-d);
  border-radius: 20px; font-size: .8rem; font-weight: 600;
  cursor: pointer; background: var(--bg-card); color: var(--txt-2);
  transition: all .15s; font-family: inherit; white-space: nowrap;
}
#fixeo-devis-app .fixeo-filter-btn:hover {
  border-color: var(--orange); color: var(--txt);
}
#fixeo-devis-app .fixeo-filter-btn.active {
  background: var(--navy); border-color: var(--navy);
  color: #fff; box-shadow: 0 2px 8px rgba(13,27,42,.25);
}

/* ─── Accordéons ─────────────────────────────────────────────── */
#fixeo-devis-app .acc {
  background: var(--bg-card);
  border-radius: var(--r);
  box-shadow: var(--sh);
  border: 1.5px solid var(--border);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
#fixeo-devis-app .acc:hover {
  box-shadow: var(--sh-hover);
}
/* Couleurs par catégorie via border-left */
#fixeo-devis-app #acc_meu { border-left: 4px solid var(--c-meu); }
#fixeo-devis-app #acc_fix { border-left: 4px solid var(--c-fix); }
#fixeo-devis-app #acc_plo { border-left: 4px solid var(--c-plo); }
#fixeo-devis-app #acc_sec { border-left: 4px solid var(--c-sec); }
#fixeo-devis-app #acc_frf { border-left: 4px solid var(--c-frf); }
#fixeo-devis-app #acc_rep { border-left: 4px solid var(--c-rep); }
#fixeo-devis-app #acc_ins { border-left: 4px solid var(--c-ins); }
#fixeo-devis-app .acc.open { box-shadow: 0 4px 20px rgba(0,0,0,.1); }

#fixeo-devis-app .acc-hd {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px 16px 14px;
  cursor: pointer; user-select: none;
  transition: background .15s;
}
#fixeo-devis-app .acc-hd:hover { background: var(--bg); }
#fixeo-devis-app .acc.open .acc-hd { background: var(--bg); }

#fixeo-devis-app .a-ico {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
  background: var(--bg);
}
/* Teinte par catégorie sur l'icône */
#fixeo-devis-app #acc_meu .a-ico { background: var(--c-meu-l); }
#fixeo-devis-app #acc_fix .a-ico { background: var(--c-fix-l); }
#fixeo-devis-app #acc_plo .a-ico { background: var(--c-plo-l); }
#fixeo-devis-app #acc_sec .a-ico { background: var(--c-sec-l); }
#fixeo-devis-app #acc_frf .a-ico { background: var(--c-frf-l); }
#fixeo-devis-app #acc_rep .a-ico { background: var(--c-rep-l); }
#fixeo-devis-app #acc_ins .a-ico { background: var(--c-ins-l); }

#fixeo-devis-app .a-meta  { flex: 1; min-width: 0; }
#fixeo-devis-app .a-ttl   { font-size: 1rem; font-weight: 700; color: var(--txt); }
#fixeo-devis-app .a-sub   { font-size: .76rem; color: var(--txt-3); margin-top: 2px; }
#fixeo-devis-app .a-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
#fixeo-devis-app .a-badge {
  background: var(--vert); color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  display: none; white-space: nowrap;
}
#fixeo-devis-app .a-badge.on { display: inline-block; animation: popIn .2s ease; }
#fixeo-devis-app .a-arrow {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--border); display: flex; align-items: center;
  justify-content: center; font-size: .65rem; color: var(--txt-2);
  transition: all .22s; flex-shrink: 0;
}
#fixeo-devis-app .acc.open .a-arrow {
  background: var(--orange); color: #fff;
  transform: rotate(90deg);
}
#fixeo-devis-app .a-body { display: none; padding: 4px 14px 14px; }
#fixeo-devis-app .acc.open .a-body { display: block; }

/* ─── Sous-sections ──────────────────────────────────────────── */
#fixeo-devis-app .sec {
  display: flex; align-items: center; gap: 8px;
  font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--txt-2);
  padding: 12px 10px 8px;
  margin: 6px 0 4px;
}
#fixeo-devis-app .sec::before {
  content: '';
  display: block; width: 3px; height: 14px;
  background: var(--orange); border-radius: 2px; flex-shrink: 0;
}
#fixeo-devis-app .sec::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ─── Cartes services ────────────────────────────────────────── */
#fixeo-devis-app .svc {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 7px;
  transition: border-color .15s, box-shadow .15s, transform .1s;
  cursor: default;
}
#fixeo-devis-app .svc:last-child { margin-bottom: 0; }
#fixeo-devis-app .svc:hover {
  border-color: var(--border-d);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
#fixeo-devis-app .svc.selected {
  border-color: var(--orange);
  border-left-width: 4px;
  background: var(--orange-xl);
  box-shadow: 0 2px 12px rgba(255,153,0,.15);
}
#fixeo-devis-app .svc-badge-sel {
  display: none; background: var(--orange); color: #fff;
  font-size: .68rem; font-weight: 700; padding: 2px 8px;
  border-radius: 20px; margin-left: 6px; vertical-align: middle;
  white-space: nowrap;
}
#fixeo-devis-app .svc.selected .svc-badge-sel { display: inline-block; }
#fixeo-devis-app .svc-top  { display: flex; align-items: center; gap: 12px; }
#fixeo-devis-app .svc-info { flex: 1; min-width: 0; }
#fixeo-devis-app .svc-name {
  font-weight: 700; font-size: .95rem;
  color: var(--txt); margin-bottom: 3px; line-height: 1.3;
}
#fixeo-devis-app .svc-desc { font-size: .8rem; color: var(--txt-3); line-height: 1.4; }
#fixeo-devis-app .svc-r    {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 8px; flex-shrink: 0;
}
#fixeo-devis-app .svc-p {
  font-size: 1.3rem; font-weight: 900;
  color: var(--navy); line-height: 1;
  letter-spacing: -.5px;
}
#fixeo-devis-app .svc.selected .svc-p { color: var(--orange-d); }
#fixeo-devis-app .svc-u    { font-size: .7rem; color: var(--txt-3); text-align: right; }
#fixeo-devis-app .svc-dg   { font-size: .7rem; color: var(--vert); font-weight: 700; text-align: right; }

/* ─── Boutons quantité ───────────────────────────────────────── */
#fixeo-devis-app .qty-wrap {
  display: flex; align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--border-d);
  border-radius: 30px; overflow: hidden;
  transition: border-color .15s;
}
#fixeo-devis-app .svc.selected .qty-wrap {
  border-color: var(--orange);
  background: #fff;
}
#fixeo-devis-app .qty-btn {
  width: 36px; height: 36px;
  border: none; background: transparent;
  font-size: 1.2rem; font-weight: 400;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: all .15s; color: var(--txt-2);
  padding: 0; line-height: 1; flex-shrink: 0;
}
#fixeo-devis-app .qty-btn:hover:not(:disabled) {
  background: var(--orange); color: #fff;
}
#fixeo-devis-app .qty-btn:disabled { opacity: .3; cursor: default; }
#fixeo-devis-app .qty-num {
  min-width: 30px; text-align: center;
  font-weight: 800; font-size: 1rem; color: var(--txt);
  transition: color .15s;
}
#fixeo-devis-app .svc.selected .qty-num { color: var(--orange-d); }

/* ─── Badges CESU/CB ─────────────────────────────────────────── */
#fixeo-devis-app .cesu-ok-badge {
  display: inline-flex; align-items: center; gap: 3px;
  background: var(--vert-l); color: var(--vert);
  border: 1px solid rgba(5,150,105,.25);
  font-size: .64rem; font-weight: 700;
  padding: 2px 7px; border-radius: 20px;
  margin-left: 5px; vertical-align: middle; white-space: nowrap;
}
#fixeo-devis-app .cesu-no-badge {
  display: inline-flex; align-items: center; gap: 3px;
  background: #FFFBEB; color: #B45309;
  border: 1px solid rgba(180,83,9,.2);
  font-size: .64rem; font-weight: 700;
  padding: 2px 7px; border-radius: 20px;
  margin-left: 5px; vertical-align: middle; white-space: nowrap;
}

/* ─── Formulaire ─────────────────────────────────────────────── */
#fixeo-devis-app .card {
  background: var(--bg-card); border-radius: var(--r);
  box-shadow: var(--sh); border: 1px solid var(--border);
  padding: 18px; margin-bottom: 13px;
}
#fixeo-devis-app .chd {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
#fixeo-devis-app .cico {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0;
}
#fixeo-devis-app .cico.b  { background: #EFF6FF; }
#fixeo-devis-app .cico.o  { background: var(--orange-l); }
#fixeo-devis-app .cico.g  { background: var(--vert-l); }
#fixeo-devis-app .cttl    { font-weight: 700; font-size: .95rem; color: var(--txt); }
#fixeo-devis-app .csub    { font-size: .78rem; color: var(--txt-3); margin-top: 1px; }

#fixeo-devis-app .ff label {
  display: block; font-size: .78rem; font-weight: 700;
  color: var(--txt-2); margin-bottom: 5px;
  text-transform: uppercase; letter-spacing: .03em;
}
#fixeo-devis-app .ff input, #fixeo-devis-app .ff select {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid var(--border-d); border-radius: var(--r2);
  font-family: inherit; font-size: .9rem; color: var(--txt);
  outline: none; transition: border-color .15s, box-shadow .15s;
  background: var(--bg-card);
}
#fixeo-devis-app .ff input:focus, #fixeo-devis-app .ff select:focus {
  border-color: var(--orange); box-shadow: var(--sh-focus);
}
#fixeo-devis-app .fg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#fixeo-devis-app .f1 { grid-template-columns: 1fr !important; }

/* ─── Zone feedback ──────────────────────────────────────────── */
#fixeo-devis-app .zok {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: .75rem; font-weight: 700;
  background: var(--vert-l); color: var(--vert);
}
#fixeo-devis-app .zno {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: .75rem; font-weight: 700;
  background: var(--rouge-l); color: var(--rouge);
}

/* ─── Boutons ────────────────────────────────────────────────── */
#fixeo-devis-app .btn {
  padding: 13px 24px; border-radius: 10px;
  font-family: inherit; font-weight: 700; font-size: .92rem;
  cursor: pointer; transition: all .15s; border: none;
}
#fixeo-devis-app .bp {
  background: linear-gradient(135deg, #FF9900 0%, #FF7700 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,119,0,.35);
}
#fixeo-devis-app .bp:hover {
  background: linear-gradient(135deg, #FFa520 0%, #FF8800 100%);
  box-shadow: 0 6px 20px rgba(255,119,0,.45);
  transform: translateY(-1px);
}
#fixeo-devis-app .bp:active { transform: translateY(0); }
#fixeo-devis-app .bs {
  background: var(--bg); color: var(--txt-2);
  border: 1.5px solid var(--border-d);
}
#fixeo-devis-app .bs:hover {
  background: var(--border); color: var(--txt);
}
#fixeo-devis-app .bnav { display: flex; gap: 10px; margin-top: 16px; }
#fixeo-devis-app .bnav .bp { flex: 2; }
#fixeo-devis-app .bnav .bs { flex: 1; }
#fixeo-devis-app .btn-hint {
  text-align: center; font-size: .78rem;
  color: var(--txt-3); margin-top: 6px;
}

/* ─── Pages ──────────────────────────────────────────────────── */
#fixeo-devis-app .page     { display: none; position: relative; }
#fixeo-devis-app .page.on  { position: relative; } /* contain gate overlay */
#fixeo-devis-app .page.on  { display: block; position: relative; animation: fadeUp .22s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Sticky bar ─────────────────────────────────────────────── */
#fixeo-devis-app .fixeo-sticky {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--navy);
  padding: 10px 20px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
  transform: translateY(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
}
#fixeo-devis-app .fixeo-sticky.on { transform: translateY(0); }
#fixeo-devis-app .stl { color: rgba(255,255,255,.5); font-size: .65rem; }
#fixeo-devis-app .stp {
  font-size: 1.2rem; font-weight: 900; color: #fff;
  letter-spacing: -.5px;
}
#fixeo-devis-app .stb {
  background: linear-gradient(135deg, var(--orange) 0%, #FF7700 100%);
  color: #fff; border: none;
  padding: 10px 20px; border-radius: 8px;
  font-weight: 700; font-size: .88rem; cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,119,0,.4);
  transition: all .15s; white-space: nowrap;
}
#fixeo-devis-app .stb:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 14px rgba(255,119,0,.5);
}

/* ─── Sidebar ────────────────────────────────────────────────── */
#fixeo-devis-app .rb {
  background: var(--navy);
  border-radius: var(--r); padding: 18px;
  border: none; color: #fff;
}
#fixeo-devis-app .rb-ttl {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,.4);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
#fixeo-devis-app .rb-e { text-align: center; padding: 20px 0; opacity: .35; }
#fixeo-devis-app .rb-ei { font-size: 2rem; margin-bottom: 6px; }
#fixeo-devis-app .rb-et { font-size: .72rem; line-height: 1.5; color: rgba(255,255,255,.6); }
#fixeo-devis-app .rb-line {
  display: flex; justify-content: space-between;
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .82rem;
}
#fixeo-devis-app .rb-line:last-of-type { border: none; }
#fixeo-devis-app .rb-lb { color: rgba(255,255,255,.6); flex: 1; min-width: 0; line-height: 1.35; }
#fixeo-devis-app .rb-vl { color: #fff; font-weight: 700; flex-shrink: 0; margin-left: 8px; }
#fixeo-devis-app .rb-sep { border-top: 1px solid rgba(255,255,255,.08); margin: 12px 0; }
#fixeo-devis-app .rb-tl { font-size: .62rem; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .06em; }
#fixeo-devis-app .rb-tot {
  font-size: 2rem; font-weight: 900; color: #fff;
  letter-spacing: -1px; margin: 3px 0; line-height: 1;
}
#fixeo-devis-app .rb-sub { font-size: .62rem; color: rgba(255,255,255,.3); }
#fixeo-devis-app .rb-ac {
  background: rgba(255,153,0,.15);
  border-radius: var(--r2); padding: 10px 12px;
  margin-top: 12px;
  border: 1px solid rgba(255,153,0,.25);
}
#fixeo-devis-app .rb-acr { display: flex; justify-content: space-between; align-items: center; }
#fixeo-devis-app .rb-acl { font-size: .78rem; color: rgba(255,255,255,.6); }
#fixeo-devis-app .rb-aca { font-size: 1.1rem; font-weight: 800; color: var(--orange); }
#fixeo-devis-app .rb-acn { font-size: .65rem; color: rgba(255,255,255,.3); margin-top: 3px; }

#fixeo-devis-app .dg-box {
  background: var(--bg-card); border-radius: var(--r);
  box-shadow: var(--sh); border: 1px solid var(--border);
  padding: 14px; margin-top: 10px;
}
#fixeo-devis-app .dg-ttl {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--txt-2); margin-bottom: 8px;
}
#fixeo-devis-app .dg-i { font-size: .8rem; padding: 3px 0; color: var(--txt-2); }

/* ─── Notices & produits ─────────────────────────────────────── */
#fixeo-devis-app .notice {
  background: var(--orange-l);
  border-left: 3px solid var(--orange);
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: .8rem; line-height: 1.55; margin: 10px 0;
  color: #7A4500;
}
#fixeo-devis-app .prod-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px,1fr));
  gap: 7px;
}
#fixeo-devis-app .pc {
  border: 1.5px solid var(--border-d);
  border-radius: var(--r2); overflow: hidden;
  cursor: pointer; transition: all .15s;
}
#fixeo-devis-app .pc:hover   { border-color: var(--orange); }
#fixeo-devis-app .pc.on {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(255,153,0,.15);
}
#fixeo-devis-app .pc-img {
  width: 100%; height: 80px; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; border-bottom: 1px solid var(--border);
}
#fixeo-devis-app .pc-body   { padding: 8px; }
#fixeo-devis-app .pc-badge  {
  display: inline-block; background: var(--orange-l); color: var(--orange-d);
  font-size: .72rem; font-weight: 700; padding: 2px 6px;
  border-radius: 4px; margin-bottom: 3px;
}
#fixeo-devis-app .pc-name   { font-size: .8rem; font-weight: 700; color: var(--txt); line-height: 1.3; }
#fixeo-devis-app .pc-sub    { font-size: .7rem; color: var(--txt-3); margin-top: 2px; }
#fixeo-devis-app .pc-price  { font-size: .85rem; font-weight: 800; color: var(--navy); margin-top: 4px; }
#fixeo-devis-app .pc-chk    { display: none; }
#fixeo-devis-app .pc-achat  { font-size: .65rem; color: var(--txt-3); }
#fixeo-devis-app .prod-lbl  {
  font-size: .72rem; font-weight: 700; color: var(--txt-3);
  text-transform: uppercase; letter-spacing: .06em;
  margin: 10px 0 6px;
}

/* ─── Toggle CESU ────────────────────────────────────────────── */
#fixeo-devis-app .svc-pay-toggle {
  margin-top: 10px; padding: 10px 12px;
  background: var(--bg); border-radius: 8px;
  border: 1px solid var(--border-d);
}
#fixeo-devis-app .svc-pay-lbl {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--txt-3); margin-bottom: 7px;
}
#fixeo-devis-app .svc-pay-opts { display: flex; gap: 8px; }
#fixeo-devis-app .svc-pay-btn {
  padding: 6px 14px; border: 1.5px solid var(--border-d);
  border-radius: var(--r2); font-size: .78rem; font-weight: 700;
  cursor: pointer; background: #fff; color: var(--txt-2);
  transition: all .15s; font-family: inherit;
}
#fixeo-devis-app .svc-pay-btn.on {
  background: var(--navy); border-color: var(--navy); color: #fff;
}

/* ─── Options ────────────────────────────────────────────────── */
#fixeo-devis-app .svc-options    { display: none !important; margin-top: 10px; }
#fixeo-devis-app .svc-options.open { display: block !important; }
#fixeo-devis-app .sec-box {
  margin-top: 8px; padding: 12px;
  background: var(--bg); border-radius: 8px;
  border: 1.5px solid var(--orange);
}
#fixeo-devis-app .sec-box-ttl {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--txt-2); margin-bottom: 6px;
}
#fixeo-devis-app .rtype-wrap { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
#fixeo-devis-app .rtb {
  padding: 6px 13px; border: 1.5px solid var(--border-d);
  border-radius: 6px; font-size: .76rem; font-weight: 600;
  cursor: pointer; transition: all .15s; background: #fff;
  font-family: inherit;
}
#fixeo-devis-app .rtb:hover, #fixeo-devis-app .rtb.on {
  background: var(--orange); border-color: var(--orange); color: #fff;
}
#fixeo-devis-app .robi-sum {
  margin-top: 8px; padding: 8px 10px; background: #fff;
  border-radius: 6px; border: 1px solid var(--border); font-size: .73rem; display: none;
}

/* ─── Modal ──────────────────────────────────────────────────── */
#fixeo-devis-app .modal {
  display: none; position: fixed; inset: 0;
  background: rgba(13,27,42,.7); z-index: 9000;
  align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
#fixeo-devis-app .modal.open { display: flex; }
#fixeo-devis-app .mbox {
  position: relative; background: var(--bg-card);
  border-radius: var(--r); padding: 22px;
  max-width: 360px; width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
#fixeo-devis-app .mbg  { position: absolute; inset: 0; cursor: pointer; }
#fixeo-devis-app .mcl  {
  position: absolute; top: 12px; right: 12px;
  background: var(--bg); border: none;
  width: 28px; height: 28px; border-radius: 50%;
  font-size: .85rem; cursor: pointer; color: var(--txt-2);
  display: flex; align-items: center; justify-content: center;
}
#fixeo-devis-app .mc {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 13px; border-radius: 8px;
  border: 1.5px solid var(--border); margin-bottom: 8px;
  cursor: pointer; transition: all .15s;
}
#fixeo-devis-app .mc.a  { border-color: var(--orange); background: var(--orange-xl); }
#fixeo-devis-app .mc:hover { border-color: var(--orange); }
#fixeo-devis-app .mc-ttl { font-weight: 700; font-size: .88rem; color: var(--txt); }
#fixeo-devis-app .mc-txt { font-size: .8rem; color: var(--txt-3); margin-top: 2px; }

/* ─── Confirmation ───────────────────────────────────────────── */
#fixeo-devis-app .confirm {
  background: var(--bg-card); border-radius: var(--r);
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
  border: 1px solid var(--border); padding: 36px 24px;
  text-align: center;
}
#fixeo-devis-app .cfic {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--orange) 0%, #FF7700 100%);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 2rem;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(255,119,0,.3);
}

/* ─── Page 2 recap ───────────────────────────────────────────── */
#fixeo-devis-app .pay-recap {
  background: var(--navy);
  border-radius: var(--r); padding: 18px; margin-top: 12px; color: #fff;
}
#fixeo-devis-app .pay-recap-ttl {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: 10px;
}
#fixeo-devis-app .pay-sep      { border-top: 1px solid rgba(255,255,255,.1); margin: 10px 0; }
#fixeo-devis-app .pay-total-lbl { font-size: .68rem; color: rgba(255,255,255,.4); text-transform: uppercase; }
#fixeo-devis-app .pay-total    {
  font-size: 2.2rem; font-weight: 900; color: #fff;
  letter-spacing: -1px; margin: 4px 0;
}
#fixeo-devis-app .pay-ac-box {
  background: rgba(255,153,0,.12);
  border: 1px solid rgba(255,153,0,.25);
  border-radius: 8px; padding: 11px 13px; margin-top: 12px;
}
#fixeo-devis-app .pay-ac-row   { display: flex; justify-content: space-between; align-items: center; }
#fixeo-devis-app .pay-ac-lbl   { font-size: .82rem; color: rgba(255,255,255,.6); }
#fixeo-devis-app .pay-ac-amt   { font-size: 1.2rem; font-weight: 800; color: var(--orange); }
#fixeo-devis-app .pay-ac-note  { font-size: .67rem; color: rgba(255,255,255,.35); margin-top: 3px; }
#fixeo-devis-app .rc-line      { display: flex; justify-content: space-between; padding: 4px 0; font-size: .82rem; color: rgba(255,255,255,.7); }
#fixeo-devis-app .rc-line.rc-remise { color: #6EE7B7; }
#fixeo-devis-app .rc-line.rc-deplacement { color: #FCD34D; }
#fixeo-devis-app .rc-n         { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#fixeo-devis-app .rc-v         { font-weight: 700; flex-shrink: 0; margin-left: 10px; }
#fixeo-devis-app .pay-mode-card {
  border: 2px solid var(--border-d); border-radius: var(--r);
  padding: 14px 16px; margin-bottom: 10px;
  cursor: pointer; transition: all .15s;
}
#fixeo-devis-app .pay-mode-card:hover { border-color: var(--orange); }
#fixeo-devis-app .pay-mode-card.selected {
  border-color: var(--orange); background: var(--orange-xl);
  box-shadow: 0 0 0 3px rgba(255,153,0,.1);
}
#fixeo-devis-app .pay-mode-hd  { display: flex; align-items: center; gap: 10px; }
#fixeo-devis-app .pay-mode-ico { font-size: 1.4rem; flex-shrink: 0; }
#fixeo-devis-app .pay-mode-ttl { font-weight: 700; font-size: .92rem; color: var(--txt); }
#fixeo-devis-app .pay-mode-sub { font-size: .76rem; color: var(--txt-3); margin-top: 2px; }
#fixeo-devis-app .pay-mode-amt { margin-left: auto; font-weight: 800; font-size: .95rem; color: var(--navy); flex-shrink: 0; }
#fixeo-devis-app .pay-mode-detail {
  font-size: .76rem; color: var(--txt-2); margin-top: 10px;
  padding-top: 10px; border-top: 1px solid var(--border);
  line-height: 1.6; display: none;
}
#fixeo-devis-app .pay-mode-card.selected .pay-mode-detail { display: block; }

#fixeo-devis-app .chk {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .82rem; color: var(--txt-2); cursor: pointer; line-height: 1.5;
}
#fixeo-devis-app .chk input {
  margin-top: 3px; flex-shrink: 0;
  cursor: pointer; width: 16px; height: 16px;
  accent-color: var(--orange);
}
#fixeo-devis-app .chk a { color: var(--navy); font-weight: 600; }

/* ─── Créneaux ───────────────────────────────────────────────── */
#fixeo-devis-app .slots-g {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(92px,1fr));
  gap: 7px; margin-top: 8px;
}
#fixeo-devis-app .slot {
  border: 1.5px solid var(--border-d); border-radius: 8px;
  padding: 9px 5px; text-align: center;
  cursor: pointer; transition: all .17s;
}
#fixeo-devis-app .slot:hover  { border-color: var(--orange); background: var(--orange-l); }
#fixeo-devis-app .slot.on     { border-color: var(--orange); background: var(--orange); color: #fff; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (min-width: 661px) and (max-width: 900px) {
  #fixeo-devis-app .grid { grid-template-columns: 1fr 240px; }
}
@media (max-width: 660px) {
  #fixeo-devis-app .wrap     { padding: 12px 10px 130px; }
  #fixeo-devis-app .grid     { grid-template-columns: 1fr; }
  #fixeo-devis-app #sidebar  { display: none; }
  #fixeo-devis-app .fg       { grid-template-columns: 1fr; }
  #fixeo-devis-app .step .slbl { display: none; }
  #fixeo-devis-app .prod-grid  { grid-template-columns: 1fr 1fr; }
  #fixeo-devis-app .svc-p    { font-size: 1.1rem; }
  #fixeo-devis-app .acc-hd   { padding: 13px 14px 13px 10px; gap: 10px; }
  #fixeo-devis-app .rb-tot   { font-size: 1.6rem; }
  #fixeo-devis-app .fixeo-hero-text { padding: 20px 16px 14px; }
  #fixeo-devis-app .fixeo-hero-cp   { padding: 0 16px 18px; }
}

/* ─── Override WordPress ─────────────────────────────────────── */
.entry-content, .post-content, .page-content,
.wp-block-group__inner-container, .site-content .entry-content,
.entry-content > *, .post-inner, .content-inner,
.container, .site-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ─── Gate code postal ───────────────────────────────────────── */
#fixeo-devis-app #fixeo_services_wrap {
  position: relative;
  transition: filter .3s ease, opacity .3s ease;
}
#fixeo-devis-app #fixeo_services_wrap.locked {
  filter: blur(3px);
  opacity: .4;
  pointer-events: none;
  user-select: none;
}
#fixeo-devis-app #fixeo_gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,27,42,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 20px;
}
#fixeo-devis-app #fixeo_gate_overlay {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  border: none;
  animation: popIn .25s cubic-bezier(.175,.885,.32,1.275);
  max-width: 360px;
  width: 100%;
}
#fixeo-devis-app #fixeo_gate_overlay input:focus {
  border-color: var(--orange);
  box-shadow: var(--sh-focus);
}
/* Unlock animation */
@keyframes unlockPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,153,0,.4); }
  70%  { box-shadow: 0 0 0 14px rgba(255,153,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,153,0,0); }
}
#fixeo-devis-app #fixeo_services_wrap.unlocking {
  animation: unlockPulse .5s ease;
}

/* ── Barre contact Telegram / WhatsApp ───────────────────── */
#fixeo-devis-app .fixeo-contact-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-top: 10px;
  box-shadow: var(--sh);
}
#fixeo-devis-app .fixeo-contact-label {
  flex: 1; min-width: 180px;
  font-size: .82rem; color: var(--txt-2);
}
#fixeo-devis-app .fixeo-contact-btns {
  display: flex; gap: 8px; flex-wrap: wrap;
}
#fixeo-devis-app .fixeo-contact-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 8px;
  font-size: .82rem; font-weight: 700;
  text-decoration: none; transition: all .15s;
  white-space: nowrap;
}
#fixeo-devis-app .fixeo-tg-btn {
  background: #229ED9; color: #fff;
}
#fixeo-devis-app .fixeo-tg-btn:hover {
  background: #1a8bbf; transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34,158,217,.3);
}
#fixeo-devis-app .fixeo-wa-btn {
  background: #25D366; color: #fff;
}
#fixeo-devis-app .fixeo-wa-btn:hover {
  background: #1eb85a; transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,211,102,.3);
}
/* Hide if no config set */
#fixeo-devis-app .fixeo-contact-btn[href="#"] {
  display: none;
}
@media (max-width: 480px) {
  #fixeo-devis-app .fixeo-contact-bar { flex-direction: column; align-items: flex-start; }
  #fixeo-devis-app .fixeo-contact-btns { width: 100%; }
  #fixeo-devis-app .fixeo-contact-btn { flex: 1; justify-content: center; }
}



/* ─── Masquer total avant premier service ────────────────── */
#fixeo-devis-app.prices-hidden #rb_tot,
#fixeo-devis-app.prices-hidden .rb-tl,
#fixeo-devis-app.prices-hidden .rb-sub,
#fixeo-devis-app.prices-hidden .rb-acr,
#fixeo-devis-app.prices-hidden #rb_acn {
  visibility: hidden;
}
#st_p.price-hidden { visibility: hidden; }

/* ─── Protection anti-copie prix ────────────────────────── */
#fixeo-devis-app .svc-p,
#fixeo-devis-app .rb-tot,
#fixeo-devis-app .rb-ac,
#fixeo-devis-app .pay-total,
#fixeo-devis-app .pay-mode-amt,
#fixeo-devis-app .rb-acr {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
/* Curseur normal partout (pas de sélection text sur les cartes services) */
#fixeo-devis-app .svc {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
/* Sauf les champs de formulaire */
#fixeo-devis-app input,
#fixeo-devis-app textarea {
  -webkit-user-select: text !important;
  user-select: text !important;
}


/* ─── Layout PC et tablette ─────────────────────────────── */

/* Grille 2 colonnes sur PC */
@media (min-width: 960px) {
  #fixeo-devis-app {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
  }
  #fixeo-devis-app .grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    align-items: start;
  }
  #fixeo-devis-app #left  { min-width: 0; }
  #fixeo-devis-app #right {
    position: sticky;
    top: 80px;
  }
}

/* Tablette */
@media (min-width: 700px) and (max-width: 959px) {
  #fixeo-devis-app {
    max-width: 100%;
    padding: 0 16px;
  }
  #fixeo-devis-app .grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 14px;
    align-items: start;
  }
  #fixeo-devis-app #right {
    position: sticky;
    top: 60px;
  }
}
