body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f9fb;
    /*background: #f5f5f5;
    color: #333;*/
    color: #1f2937;
  }
  
  h1, h2, h3 {
  color: #111827;
}

p, li, label, input, select, textarea {
  color: #1f2937;
}

a { color: #0b5cab; }
a:hover { color: #094b8d; }


 header { all: unset; display: block; }

 .muted, .hero-sub, .cta-sub, .form-sub {
  color: rgba(31,41,55,0.78);
}
  
  .services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
  }
  
  .service-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    width: 300px;
    padding: 1.5rem;
    text-align: center;
  }
  
  .cta {
    text-align: center;
    margin: 2rem;
  }
  
  .btn {
    background-color: #0099cc;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
  }
  
  .btn:hover {
    background-color: #0077aa;
  }
  .reservation-form {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  
  .reservation-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .reservation-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .reservation-form label {
    font-weight: bold;
  }
  
  .reservation-form input,
  .reservation-form select {
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
  }
  .resultats {
    max-width: 600px;
    margin: 2rem auto;
    background: #eef;
    padding: 1rem;
    border-radius: 8px;
  }
  
  .carte-prestataire {
    background: white;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  .auth-links {
    margin-top: 1rem;
    text-align: center;
  }
  
  .auth-links button {
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    background-color: white;
    color: #0099cc;
    border: 2px solid #0099cc;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .auth-form {
    max-width: 500px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .auth-form input,
  .auth-form select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  .dashboard {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  
  #btn-deconnexion {
    margin-top: 1rem;
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    cursor: pointer;
  }
  
  #btn-deconnexion:hover {
    background: #c0392b;
  }
  .dashboard {
    max-width: 700px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  
  #liste-missions li {
    background: #f9f9f9;
    margin-bottom: 1rem;
    padding: 1rem;
    border-left: 4px solid #0099cc;
    border-radius: 5px;
  }
  #liste-missions button {
    padding: 4px 8px;
    border: none;
    background-color: #2ecc71;
    color: white;
    border-radius: 4px;
    cursor: pointer;
  }
  
  #liste-missions button:hover {
    background-color: #27ae60;
  }

#liste-missions-attente button {
  padding: 4px 8px;
  border: none;
  background-color: #2ecc71;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

#liste-missions-attente button:hover {
  background-color: #27ae60;
}

#liste-demandes-client button {
  padding: 4px 8px;
  border: none;
  background-color: #e74c3c;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

#liste-demandes-client button:hover {
  background-color: #c0392b;
}

/* Statuts */
.statut-en-attente {
  color: #f39c12;
  font-weight: bold;
}

.statut-acceptee {
  color: #27ae60;
  font-weight: bold;
}

.statut-annulee {
  color: #e74c3c;
  font-weight: bold;
  text-decoration: line-through;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 8px;
}

.badge-en-attente { background: #f39c12; color: white; }
.badge-acceptee   { background: #27ae60; color: white; }
.badge-annulee    { background: #e74c3c; color: white; }

.btn-refuser {
  padding: 4px 8px;
  border: none;
  background-color: #e74c3c;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 8px;
}

.btn-refuser:hover { background-color: #c0392b; }


.badge-terminee {
  background: #3498db;
  color: white;
}



#estimation-message {
  background: #f3f7ff;
  border: 1px solid #d6e4ff;
  color: #0b2559;
}

#estimation-message.estimation-focus-pulse {
  border-color: #8ab4ff;
  box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.18);
  animation: estimationFocusPulse 1.8s ease;
}

@keyframes estimationFocusPulse {
  0% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(0, 153, 204, 0.24);
  }
  35% {
    transform: translateY(-1px);
    box-shadow: 0 0 0 4px rgba(0, 153, 204, 0.2);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(0, 153, 204, 0);
  }
}

.service-card { cursor: pointer; }


/* J22 – Sous-textes CTA / formulaire */
.cta-sub {
  margin-top: 10px;
  opacity: 0.9;
  font-size: 0.95rem;
}

.form-sub {
  text-align: center;
  margin-top: -8px;
  margin-bottom: 18px;
  opacity: 0.9;
}

/* J22 – Bouton "Espace professionnel" (plus discret) */
.btn-pro {
  background: transparent !important;
  color: white !important;
  border-color: white !important;
}


/* J22 – Message fin de parcours */
.success-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: 10px;
}

.success-title {
  font-weight: 800;
  margin-bottom: 6px;
}

.success-text {
  margin-bottom: 10px;
  opacity: 0.95;
}

.success-estimation {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(0,0,0,0.04);
  line-height: 1.4;
  word-break: break-word;
}

.success-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn.btn-secondary {
  background: white;
  color: #0099cc;
  border: 2px solid #0099cc;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  padding: 0.8rem 1.2rem;
}

.btn.btn-secondary:hover {
  background: rgba(0, 153, 204, 0.08);
}

/* Bouton CDC compact (évite de masquer le contenu sur petits écrans) */
.btn.btn-cdc-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  padding: 0.45rem 0.75rem;
  font-size: 0.95rem;
  line-height: 1.15;
  border-width: 1px;
}

.muted {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-top: 6px;
}


/* J23 – Cartes demandes client */
.demande-card {
  background: white;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.demande-header {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.demande-meta {
  margin-top: 6px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.next-step {
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0,0,0,0.04);
  font-size: 0.95rem;
}

/* Badge "Nouveau" */
.badge-new {
  background: #6c5ce7;
  color: white;
}




/* J23.1 – Bloc proposition client */
.proposition-box {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  background: #fff;
}

.proposition-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-refuser-lite {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.btn-refuser-lite:hover {
  background: #c0392b;
}

.demande-card {
  background: white;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  cursor: pointer;
}

.demande-details {
  cursor: default;
}

.proposition-box {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  background: #fff;
}

.proposition-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-refuser-lite {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.btn-refuser-lite:hover {
  background: #c0392b;
}



/* J24 – Cartes "fiche demande" */
.card {
  background: white;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.card-header {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.card-meta {
  margin-top: 6px;
  opacity: 0.9;
  font-size: 0.95rem;
}

.card-section {
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(0,0,0,0.04);
}

.card-section-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.card-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.proposal-client-box {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.proposal-client-summary {
  margin-top: 10px;
  border-style: solid;
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.proposal-client-note {
  margin-top: 8px;
  font-size: 0.9rem;
}

.proposal-client-actions {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(15, 23, 42, 0.14);
}

/* Détails repliables */
.card-details {
  margin-top: 10px;
  display: none;
}

/* Légère indication "cliquable" */
.card.clickable {
  cursor: pointer;
}


/* J24 – Zone pro plus "premium" */
#zone-auth {
  margin-top: 16px;
}

#zone-auth .auth-form {
  border: 1px solid rgba(0,0,0,0.08);
}

/* Petit titre plus lisible */
#zone-auth #auth-title {
  font-weight: 800;
}



/* J24 bis — Formulaire plus propre */
.reservation-form form {
  gap: 1.1rem;
}

#wizard-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wizard-progress-shell {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #f8fbff;
}

.wizard-screen {
  width: 100%;
}

.wizard-legacy-hidden {
  display: none !important;
}

.wizard-screen .step {
  display: block;
  margin: 0;
  padding: 0;
}

#wizard-nav-shell {
  position: sticky;
  bottom: 0;
  background: #ffffff;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

#wizard-nav-shell button {
  min-height: 44px;
}

#wizard-progress-step {
  font-variant-numeric: tabular-nums;
}

#wizard-progress-label {
  font-weight: 600;
}

.reservation-form .step h3 {
  margin: 10px 0 14px !important;
  font-size: 1.1rem;
}

.reservation-form label {
  display: block;
  margin-top: 10px;
  margin-bottom: 6px;
  font-weight: 700;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  font-size: 1rem;
  background: white;
}

.reservation-form textarea {
  min-height: 90px;
  resize: vertical;
}

.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus {
  outline: none;
  border-color: rgba(0,153,204,0.6);
  box-shadow: 0 0 0 3px rgba(0,153,204,0.15);
}

/* Petits blocs “encadrés” (coordonnées / récap…) plus clean */
#contact-block, #recap-box {
  background: rgba(0,0,0,0.02);
}

.recap-box {
  border-color: rgba(0, 0, 0, 0.12) !important;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(255, 255, 255, 0.96) 100%) !important;
}

.recap-head {
  margin-bottom: 8px;
}

.recap-sub {
  margin: 0;
}

.recap-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 10px;
}

.recap-link {
  border: none;
  background: transparent;
  color: #0b5cab;
  text-decoration: underline;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 0;
}

.recap-link:hover {
  color: #094b8d;
}

.recap-list {
  display: block;
  margin-top: 8px;
}

.recap-section {
  margin-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 6px;
}

.recap-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: rgba(31, 41, 55, 0.9);
  margin: 4px 0;
}

.recap-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.recap-k {
  font-size: 0.92rem;
  color: rgba(31, 41, 55, 0.8);
  font-weight: 700;
}

.recap-v {
  font-size: 1.02rem;
  font-weight: 500;
  color: #111827;
  line-height: 1.4;
  word-break: break-word;
}

.recap-warning {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(180, 35, 24, 0.35);
  border-radius: 8px;
  background: rgba(180, 35, 24, 0.06);
  color: #8d1f13;
  font-weight: 600;
}

@media (max-width: 640px) {
  .reservation-form {
    margin: 1rem;
    padding: 1rem;
  }

  #wizard-nav-shell > div {
    flex-direction: column;
    align-items: stretch;
  }

  #wizard-nav-shell > div > div {
    margin-left: 0 !important;
    width: 100%;
  }

  #wizard-nav-shell button {
    width: 100%;
  }

  .recap-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}



.btn-save-edit, .admin-save-edit {
  background: #0099cc;
  color: white;
  border: none;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}
.btn-save-edit:hover, .admin-save-edit:hover { opacity: 0.92; }

.btn-refuser-lite {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}



/* J25 – Edition : textarea plus clean */
.edit-comment, .admin-edit-comment {
  min-height: 110px;
  resize: vertical;
  padding: 0.85rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}



/* Polish UX – Toast */
.toast {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 10px auto;
  max-width: 900px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  background: white;
  box-shadow: 0 6px 16px rgba(0,0,0,0.10);
  font-weight: 700;
}

.toast.success { border-color: rgba(0,153,204,0.35); }
.toast.error { border-color: rgba(231,76,60,0.45); }
.toast.muted { opacity: 0.92; }


/* Polish UX – Toast (global, visible partout) */
.toast {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;

  width: min(920px, calc(100% - 24px));
  padding: 12px 14px;
  border-radius: 10px;
  background: white;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);

  font-weight: 700;
}

.toast.success { border-color: rgba(0,153,204,0.45); }
.toast.error { border-color: rgba(231,76,60,0.55); }



/* J26 – Bandeau présence (dashboard client) */
.status-banner{
  margin: 14px 0 16px;
  padding: 14px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
}
.status-banner strong{
  display:block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

/* J26 – Bloc "suivi Coflex" dans chaque demande */
.client-post-achat{
  margin: 8px 0 16px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  background: rgba(0,0,0,0.02);
}

.client-post-achat-head h3{
  margin: 0;
}

.client-post-achat-kpis{
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.client-pp-kpi{
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.client-pp-kpi-value{
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.client-pp-kpi-label{
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(31,41,55,0.78);
}

.client-post-achat-grid{
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.client-post-achat-focus-zone{
  margin-top: 10px;
}

.client-post-achat-card{
  margin-top: 0;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.88);
}

.client-post-achat-list{
  margin: 0;
  padding-left: 18px;
  line-height: 1.4;
}

.client-post-achat-list li{
  margin: 4px 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.client-occ-row-top{
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.client-occ-row-sub{
  margin-top: 2px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.client-occ-row-meta{
  margin-top: 6px;
}

.client-quality-badge{
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.client-quality-badge.tone-pending{
  background: rgba(11, 146, 186, 0.10);
  border-color: rgba(11, 146, 186, 0.30);
  color: rgba(8, 94, 124, 1);
}

.client-quality-badge.tone-success{
  background: rgba(22, 163, 74, 0.12);
  border-color: rgba(22, 163, 74, 0.34);
  color: rgba(21, 128, 61, 1);
}

.client-quality-badge.tone-warn{
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(217, 119, 6, 0.34);
  color: rgba(146, 64, 14, 1);
}

.client-quality-badge.tone-neutral{
  background: rgba(100, 116, 139, 0.12);
  border-color: rgba(100, 116, 139, 0.30);
  color: rgba(51, 65, 85, 1);
}

.client-occ-row-actions{
  margin-top: 8px;
}

.client-quality-report-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  font-size: 0.84rem;
}

.client-billing-panel{
  margin: 8px 0 16px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  background: rgba(0,0,0,0.02);
}

.client-billing-head h3{
  margin: 0;
}

.client-billing-controls{
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.client-billing-kpis{
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.client-bill-kpi{
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.kpi-clickable{
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .10s ease, background-color .16s ease;
}

.kpi-clickable:hover{
  border-color: rgba(11,146,186,0.48);
  box-shadow: 0 3px 10px rgba(16,24,40,0.10);
}

.kpi-clickable:focus-visible{
  outline: 2px solid rgba(11,146,186,0.75);
  outline-offset: 2px;
}

.kpi-clickable.is-active{
  border-color: rgba(11,146,186,0.70);
  background: rgba(11,146,186,0.09);
  box-shadow: 0 2px 8px rgba(16,24,40,0.10);
}

.client-bill-kpi-value{
  font-size: 1.15rem;
  line-height: 1.1;
  font-weight: 900;
}

.client-bill-kpi-label{
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(31,41,55,0.78);
}

.client-billing-card{
  margin-top: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.88);
}

.client-billing-occ-list{
  margin: 0;
  padding-left: 18px;
  line-height: 1.4;
}

.client-billing-occ-list li{
  margin: 6px 0;
}

@media (max-width: 740px){
  .client-post-achat-kpis{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-post-achat-grid{
    grid-template-columns: 1fr;
  }

  .client-billing-kpis{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-quality-report-btn{
    width: 100%;
    min-height: 38px;
    font-size: 0.88rem;
  }
}

.suivi-box{
  margin-top: 12px;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
}

.suivi-title{
  font-weight: 800;
  margin-bottom: 6px;
}



/* J27 – Profil prestataire (client, post-acceptation) */
.profil-presta-box{
  margin-top: 12px;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid rgba(10, 40, 80, 0.14);
  background: linear-gradient(180deg, rgba(245,250,255,0.92) 0%, rgba(238,246,255,0.92) 100%);
}

.profil-presta-card{
  box-shadow: 0 6px 16px rgba(14, 40, 85, 0.08);
}

.profil-presta-header{
  display: flex;
  align-items: center;
  gap: 12px;
}

.profil-presta-avatar{
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(11, 92, 171, 0.25);
  background: #d8e9ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profil-presta-avatar-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profil-presta-avatar-fallback{
  font-weight: 900;
  font-size: 1.08rem;
  color: #0b3a77;
}

.profil-presta-header-main{
  min-width: 0;
}

.profil-presta-title{
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(17, 34, 56, 0.72);
  margin-bottom: 2px;
}
.profil-presta-line{
  margin-top: 0;
  font-weight: 900;
  font-size: 1.06rem;
  color: #10243f;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.profil-presta-badge-inline{
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(12, 95, 176, 0.24);
  background: #fff;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #0b4a8d;
}

.profil-presta-meta{
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.profil-presta-meta-item{
  border: 1px solid rgba(16, 53, 96, 0.12);
  border-radius: 10px;
  background: rgba(255,255,255,0.8);
  padding: 9px 10px;
}

.profil-presta-meta-label{
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(16, 43, 73, 0.68);
  margin-bottom: 2px;
}

.profil-presta-meta-value{
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  color: #152f52;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.profil-presta-note{
  margin-top: 10px;
  font-size: 0.88rem;
  color: rgba(24, 46, 74, 0.82);
  line-height: 1.34;
}
.profil-presta-badges{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profil-presta-badge{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: white;
  font-weight: 800;
  font-size: 0.92rem;
}

@media (min-width: 640px) {
  .profil-presta-meta{
    grid-template-columns: 1fr 1fr;
  }
}



/* Header (Lot 1) */
.site-header{
  background-color: #0099cc;
  color: white;
  padding: 1.6rem 1.8rem; /* un peu plus haut et plus respirant */
}


.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand{
  display: inline-flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-logo{
  display: block;
  height: 34px;
  width: auto;
  max-width: 260px;
}

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.brand:hover{ opacity: 0.92; }

.top-nav{
  display:flex;
  align-items:center;
  gap:10px;
}

.nav-link{
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.55);
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

.nav-link:hover{
  border-color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.10);
}

.tagline{
  margin-top: 8px;
  max-width: 720px;
  opacity: 0.95;
  font-size: 0.98rem;
  line-height: 1.35;
}


/* On garde ton style .btn-pro mais on l'aligne avec la nav */
.btn-pro{
  border-color: rgba(255,255,255,0.85) !important;
}




.pro-gate{
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  background: rgba(0,0,0,0.02);
}


/* Espace pro — formulaire candidature (clean/pro) */
.form-group { margin-top: 12px; }

.label-strong{
  font-weight: 800;
  margin-bottom: 6px;
}

.checkbox-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}

.check{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  background: rgba(0,0,0,0.02);
  cursor: pointer;
}

.check input{
  transform: scale(1.15);
}

.input-like{
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  font-size: 1rem;
  background: white;
}


/* Lot 2 — Progress bar bleue */
#wizard-progress-bar,
#progress-bar{
  background: #0099cc !important; /* bleu Coflex, cohérent header & boutons */
  transition: width 180ms ease;
}




/* Lot 2 — Sous-titre CTA en encadré doux */
.premium-note{
  margin-top: 10px;
  display: inline-block;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(29, 124, 255, 0.10);
  border: 1px solid rgba(29, 124, 255, 0.20);
  color: rgba(0,0,0,0.82);
  font-size: 0.98rem;
}

.premium-note strong{
  font-weight: 900;
}


/* Lot 2 — CTA unifié */

.btn-cta .cta-subtext{
  display: block;              /* 🔴 C’EST ÇA QUI MANQUAIT */
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.85;
}


/* Lot 2 — CTA largeur maîtrisée */
.cta-block{
  display: flex;
  justify-content: center;
}

.btn-cta{
  width: auto;
  min-width: 260px;
  max-width: 420px;
  text-align: center;
}



.fin-mission-box{
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 12px;
}


.precontract-section .pc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.precontract-section .pc-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.precontract-section input,
.precontract-section select,
.precontract-section textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  font: inherit;
}

.precontract-section textarea {
  resize: vertical;
}

@media (max-width: 720px) {
  .precontract-section .pc-grid {
    grid-template-columns: 1fr;
  }
}


.pc-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pc-days {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 6px 0;
}

.pc-days label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.pc-grid-inner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px){
  .pc-grid-inner{ grid-template-columns: 1fr; }
}
.mission-block{
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 14px;
  margin-bottom: 12px;
}

.mission-title{
  font-weight: 900;
  margin-bottom: 6px;
}

.mission-header{
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 10px;
  margin: 8px 0 10px;
}

.mh-row{ margin: 4px 0; }
.mh-label{ font-weight: 800; }
.mh-sub{ margin-top: 4px; opacity: 0.9; }
.occ-row{
  display:flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.occ-row:first-child{ border-top: none; }

.client-timeline{
  margin-top: 10px;
  font-size: 0.92rem;
  opacity: 0.92;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.client-timeline .tl-step{
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.03);
  font-weight: 700;
}

.client-timeline .tl-sep{
  opacity: 0.6;
  font-weight: 700;
}

.client-timeline .tl-active{
  background: rgba(0,153,204,0.14);
  border-color: rgba(0,153,204,0.45);
}

.client-timeline .tl-done{
  opacity: 0.75;
}

.day-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.day-grid .check{
  width: 100%;
  min-height: 44px;
  margin: 0;
  justify-content: flex-start;
  user-select: none;
  box-sizing: border-box;
}

.day-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.time-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.time-range-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.time-range-label {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

.btn-chip {
  border: 1px solid rgba(0,0,0,0.18);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-chip:hover {
  background: rgba(0,0,0,0.04);
}

.btn-chip.is-active {
  background: rgba(0,153,204,0.14);
  border-color: rgba(0,153,204,0.45);
}

.reservation-form .input-error {
  border-color: rgba(220, 53, 69, 0.75) !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15) !important;
}

.reservation-form .group-error {
  border-color: rgba(220, 53, 69, 0.5) !important;
}

.field-error {
  margin-top: 6px;
  color: #b42318;
  font-size: 0.9rem;
  font-weight: 600;
}

#wizard-screen-4 .step label {
  margin-top: 8px;
}

#wizard-screen-4 .step input,
#wizard-screen-4 .step select {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

@media (max-width: 640px) {
  .day-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .time-range-row {
    grid-template-columns: 1fr;
  }
}


/* =========================
   HOME — Cartes univers (pro)
   ========================= */

/* Layout header (index.html utilise .site-header/.header-row) */



.nav-link.btn-pro {
  border-color: rgba(0,0,0,0.18);
}



/* Card univers */
.service-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  background: #fff;
  padding: 0;            /* important: ton ancien CSS met padding 1.5rem */
  text-align: left;      /* important: ton ancien CSS centre tout */
}

.service-media {
  height: 170px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.35));
}

.service-body {
  padding: 16px 16px 18px;
}

.service-body .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.78);
}

.service-body h2 {
  margin: 10px 0 6px;
  font-size: 20px;
  line-height: 1.1;
}

.service-body p {
  margin: 0;
  opacity: 0.85;
  line-height: 1.4;
}

/* Images par univers (à remplacer par tes vrais fichiers) */
.card-communs .service-media { background-image: url("../img/communs.png"); }
.card-vitres  .service-media { background-image: url("../img/vitres.png"); }

/* CTA bloc */
.cta-block {
  max-width: 1100px;
  margin: 6px auto 0;
  padding: 0 18px;
}



/* ===== SERVICES: toujours 2 cartes côte à côte (même en mobile) ===== */

.services{
  display: flex;
  gap: 18px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: nowrap;          /* ne pas passer en ligne suivante */
  overflow-x: auto;           /* si écran trop petit -> scroll horizontal */
  padding-bottom: 10px;       /* laisse la place au scroll */
  -webkit-overflow-scrolling: touch;
}

.services::-webkit-scrollbar{
  height: 10px;
}

.service-card{
  flex: 0 0 420px;            /* largeur fixe de carte */
  max-width: 420px;
}

@media (max-width: 460px){
  .service-card{
    flex-basis: 360px;        /* un peu plus petit sur très petit écran */
    max-width: 360px;
  }
}


/* Bloc Pourquoi Coflex */
.why-coflex {
  background: white;
  padding: 3rem 1.5rem;
}

.why-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.why-coflex h2 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  font-weight: 900;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-item {
  background: rgba(0,0,0,0.03);
  padding: 1.5rem;
  border-radius: 14px;
}

.why-item strong {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* HERO PREMIUM STRUCTURÉ */

.hero-coflex {

  /*background: white;*/
  background: #e6f2f8;
  padding: 2.1rem 1.2rem 2.4rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.hero-coflex.is-hidden {
  display: none;
}

.hero-container {
  max-width: 980px;
  margin: 0 auto;
}

.hero-coflex h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 0.85rem;
  color: #222;
}

.hero-coflex h1 span {
  color: inherit;
}

.hero-coflex h1:empty {
  display: none;
}

.hero-sub {
  font-size: 1.02rem;
  opacity: 0.9;
  margin-bottom: 0.65rem;
}

.hero-prompt {
  margin: 0 auto 1rem;
  font-weight: 700;
  opacity: 0.9;
}

.hero-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
}

.hero-service-grid .service-card {
  width: auto;
  max-width: none;
  flex: initial;
  text-align: left;
}

.hero-service-grid .btn-card-cta {
  margin-top: 12px;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hero-coflex h1 {
    font-size: 1.55rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-coflex {
    padding: 1.7rem 1rem 1.45rem;
  }

  .hero-service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-service-grid .service-media {
    height: 150px;
  }
}

/* ===== HOME SECTIONS (Pourquoi / Comment / Engagement) ===== */

.home-section{
  padding: 34px 18px;
  background: #f5f5f5; /* cohérent avec ton fond */
}

.home-section.home-alt{
  background: #ffffff;
}

.home-container{
  max-width: 1100px;
  margin: 0 auto;
}

.home-title{
  text-align: center;
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0 0 18px;
}

/* Piliers */
.pillars{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pillar{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.pillar-title{
  font-weight: 900;
  margin-bottom: 6px;
}

.pillar-text{
  opacity: 0.9;
  line-height: 1.35;
}

/* Steps */
.steps{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-card{
  background: #f9f9f9;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-num{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0099cc;
  color: white;
  /*
  background: rgba(0,153,204,0.12);
  color: #0099cc;
  */
  font-weight: 900;
  flex: 0 0 auto;
}

.step-title{
  font-weight: 900;
  margin-bottom: 4px;
}

.step-text{
  opacity: 0.9;
  line-height: 1.35;
}

/* Engagement list */
.checks{
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.checks li{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 980px){
  .pillars{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px){
  .steps{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .pillars{ grid-template-columns: 1fr; }
}

/* J3 — Précontractuel en sous-blocs (accordéon léger) */
.precontract-section .pc-progress{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin: 6px 0 12px;
}

.precontract-section .pc-chip{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.03);
  font-weight: 800;
  font-size: 0.9rem;
}

.precontract-section .pc-chip{
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.precontract-section .pc-chip:hover{
  background: rgba(0,0,0,0.05);
}

.precontract-section .pc-chip-on{
  background: rgba(0,153,204,0.12);
  border-color: rgba(0,153,204,0.35);
}

.precontract-section .pc-acc{
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  background: #fff;
  margin-top: 10px;
  overflow: hidden;
}

.precontract-section .pc-acc summary{
  cursor: pointer;
  padding: 12px;
  background: rgba(0,0,0,0.03);
  list-style: none;
}

.precontract-section .pc-acc summary::-webkit-details-marker{ display:none; }

.precontract-section .pc-acc-body{
  padding: 12px;
}

.precontract-section .pc-note{
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,153,204,0.10);
  border: 1px solid rgba(0,153,204,0.25);
  font-weight: 700;
}

.precontract-section .pc-guarantee{
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0,153,204,0.10);
  border: 1px solid rgba(0,153,204,0.25);
}

.precontract-section .pc-guarantee-title{
  font-weight: 900;
  margin-bottom: 8px;
}

.precontract-section .pc-guarantee-list{
  margin: 0;
  padding-left: 18px;
}

.precontract-section .pc-final-actions{
  margin-top: 14px;
}




/* === Précontract — override boutons rouges dans la liste client === */
#liste-demandes-client .pc-progress .pc-chip{
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.03);
  color: rgba(0,0,0,0.88);
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
}

#liste-demandes-client .pc-progress .pc-chip:hover{
  background: rgba(0,0,0,0.06);
}

#liste-demandes-client .pc-progress .pc-chip.pc-chip-on{
  background: rgba(0,153,204,0.14);
  border-color: rgba(0,153,204,0.40);
}

#liste-demandes-client .pc-progress .pc-chip.pc-chip-on:hover{
  background: rgba(0,153,204,0.20);
}

/* Step 5 - détails optionnels plus légers */
.precontract-section .pc-lite-details summary{
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
  list-style: none;
  font-weight: 800;
}

.precontract-section .pc-lite-details summary::-webkit-details-marker { display:none; }

/* Récap Step 5 : rendu “léger” proche de l’aperçu des passages */
/* Récap Step 5 - version fine et compacte */
.pc-recap-minimal{
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px dashed rgba(0,0,0,0.18);
  border-radius: 10px;
  background: rgba(0,0,0,0.02);
}

.pc-recap-line{
  margin: 2px 0;
  font-size: 0.92rem;              /* légèrement plus petit */
  line-height: 1.3;                /* plus compact */
  color: rgba(31,41,55,0.78);
}

.pc-recap-k{
  font-weight: 585;                /* plus semi-bold */
  color: rgba(17,24,39,0.75);
}

.pc-recap-sep{
  opacity: 0.45;
  padding: 0 5px;
}

.pc-recap-v{
  font-weight: 400;
  color: rgba(31,41,55,0.78);
}


.pc-recap-row:last-child{ border-bottom:none; }


/* Confirmation post-validation premium */
.pc-success-box{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(16,185,129,0.28);
  background: rgba(16,185,129,0.08);
}

.pc-success-title{
  font-weight: 700;
  font-size: 1.02rem;
  color: rgba(6,95,70,0.95);
  margin-bottom: 6px;
}

.pc-success-sub{
  color: rgba(17,24,39,0.80);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.pc-success-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(17,24,39,0.86);
  line-height: 1.5;
}

.timeline-section .tl-subtitle{
  font-weight: 800;
  margin: 6px 0 6px 0;
}

.cl-oc-line{
  margin: 3px 0;
  line-height: 1.35;
  color: rgba(31,41,55,0.82);
}

.cl-oc-date{ font-weight: 600; color: rgba(17,24,39,0.86); }
.cl-oc-sep{ opacity: .5; padding: 0 6px; }
.cl-oc-label{ font-weight: 600; }
.cl-oc-dot{ opacity: .5; padding: 0 8px; }
.cl-oc-status{ color: rgba(31,41,55,0.72); }


.tarif-line{
  margin-top:6px;
  font-size:0.95rem;
  color:#1f2937;
  line-height:1.4;
  word-break:break-word;
}

.tarif-hint{
  margin-top:4px;
  font-size:0.86rem;
  line-height:1.35;
}

/* =========================
   Prestataire – Onboarding banner
   ========================= */
@media (max-width: 640px){
  .success-estimation{
    padding: 8px;
  }

  .tarif-line{
    font-size: 0.92rem;
  }

  .tarif-hint{
    font-size: 0.82rem;
  }
}

.onboarding-banner{
  margin: 12px 0 14px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  background: #fafafa;
}

.onboarding-banner .ob-steps{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.ob-step{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 89, 191, .18);
  background: #f5f9ff;
  color: #1f2937;
  font-weight: 600;
  font-size: 0.92rem;
}

.ob-step.done{
  border-color: rgba(15, 89, 191, .28);
  background: #eef5ff;
  color: #0f59bf;
}

.ob-step.current{
  border-color: rgba(15, 89, 191, .38);
  background: #f4f8ff;
  color: #0f59bf;
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* === Prestataire : modal créneaux (style "Wecasa") === */
.pp-overlay{
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: auto;
}

.pp-card{
  width: min(660px, 88vw);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
  border: 1px solid rgba(0,0,0,.06);
  overflow: hidden; /* important pour les coins arrondis */
  display: flex;
  flex-direction: column;
  max-height: 92vh;
}

.pp-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 18px 10px 18px;
}

.pp-title{
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0;
}

.pp-subtitle{
  margin-top: 6px;
  color: rgba(0,0,0,.62);
  line-height: 1.35;
  font-size: 13px;
}

.pp-close{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pp-body{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(0,0,0,.08);
  min-height: 0;
  flex: 1 1 auto;
}

.pp-left, .pp-right{
  padding: 16px 18px 18px 18px;
  min-height: 0;
  overflow: auto;
}

.pp-left{
  background: #fbfbfc;
  border-right: 1px solid rgba(0,0,0,.08);
}

.pp-right{
  display: flex;
  flex-direction: column;
}

.pp-section-title{
  font-weight: 900;
  font-size: 13px;
  margin: 0 0 10px 0;
}

.pp-line{
  color: rgba(0,0,0,.72);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 6px;
}

.pp-line b{ color: rgba(0,0,0,.92); }

.pp-chiprow{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.pp-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  font-weight: 800;
  font-size: 13px;
}

.pp-fields{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.pp-field label{
  display: block;
  font-weight: 800;
  font-size: 12px;
  color: rgba(0,0,0,.72);
  margin-bottom: 6px;
}

.pp-field input{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  outline: none;
}

.pp-check{
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
}

.pp-check ul{
  margin: 10px 0 0 18px;
  line-height: 1.6;
  color: rgba(0,0,0,.65);
  font-size: 13px;
}

.pp-footer{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  padding-bottom: 4px;
  border-top: 1px solid rgba(0,0,0,.08);
  position: sticky;
  bottom: 0;
  background: #fff;
  z-index: 2;
}

.pp-error{
  margin-top: 10px;
  min-height: 18px;
  color: #b00020;
  font-size: 13px;
}

button:disabled{
  opacity: 0.55;
  cursor: not-allowed;
}

/* Responsive: sur mobile, 1 colonne */
@media (max-width: 720px){
  .pp-overlay{
    align-items: flex-start;
    padding: 8px;
  }
  .pp-card{
    width: min(420px, 96vw);
    max-height: 96vh;
  }
  .pp-body{ grid-template-columns: 1fr; }
  .pp-left{ border-right: none; border-bottom: 1px solid rgba(0,0,0,.08); }
  .pp-footer{
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.pp-chip.mandatory{
  border-color: rgba(243,156,18,.55);
  background: rgba(243,156,18,.10);
}
.pp-chip.mandatory span{
  font-weight: 700;
}

.address-autocomplete-panel {
  margin-top: 6px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  max-height: 240px;
  overflow: auto;
}

.address-autocomplete-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}

.address-autocomplete-item {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
}

.address-autocomplete-item:hover,
.address-autocomplete-item:focus-visible {
  background: rgba(14, 165, 233, 0.1);
  outline: none;
}

.address-autocomplete-main {
  display: block;
  color: #0f172a;
}

.address-autocomplete-meta {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 0.9em;
}
