/* =========================================================
   1) Liens / Chips
   ========================================================= */
.chip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* =========================================================
   2) Grand panneau blanc
   ========================================================= */
.home-panel {
  max-width: 850px;
  margin: 22px auto 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 22px;
  /*box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);*/
  overflow: hidden;
}
.home-panel__inner {
  padding: 18px 16px;
}
.home-panel__divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 14px 0;
}

/* =========================================================
   3) Checklist
   ========================================================= */
.home-checklist {
  padding: 14px 14px 10px;
}
.home-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.home-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #1b1b1b;
}
.home-check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(6, 255, 168, 0.18);
  display: grid;
  place-items: center;
}
.home-check svg {
  width: 14px;
  height: 14px;
}

/* =========================================================
   4) Titres
   ========================================================= */
.home-h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  color: #1b1b1b;
}

/* =========================================================
   5) Liste praticiens
   ========================================================= */
.hp-list {
  display: grid;
  gap: 12px;
}

/* --- Carte --- */
.hp-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  padding: 12px;
}

/* --- Ligne 1 : avatar | texte | rating --- */
.hp-row1 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hp-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.hp-main {
  flex: 1;
  min-width: 0;
}

.hp-name {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #111;
  line-height: 1.15;
}

.hp-spec {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
}

/* --- Rating (étoiles base + fill) --- */
.hp-rating {
  text-align: right;
  min-width: 110px;
}

.hp-stars {
  position: relative;
  display: inline-block;
  line-height: 1;
  font-size: 13px;
  letter-spacing: 1px;
}
.hp-stars .stars-base {
  color: #ddd;
}
.hp-stars .stars-fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f5b301;
}

.hp-note {
  margin-top: 2px;
  font-size: 0.85rem;
  color: #111;
}

/* --- Ligne 2 : Online (gauche) | bouton (droite) --- */
.hp-row2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-left: 68px; /* aligné sous le texte (56 avatar + gap) */
}

.hp-online {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  opacity: 0.9;
  white-space: nowrap;
}

/* --- Bouton --- */
.hp-btn {
  background: var(--red, #e03c3f);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-radius: 999px;
  padding: 10px 14px;
  min-width: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  white-space: nowrap;
}

/* =========================================================
   6) Mini steps
   ========================================================= */
.hp-steps {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  padding: 12px 14px;
}

/* --- Nouveau : entête (sobre) --- */
.hp-steps__head {
  text-align: center;
  margin-bottom: 10px;
}
.hp-steps__title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #111;
}
.hp-steps__sub {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

/* --- Nouveau : grille steps propre (sans <br>) --- */
.hp-steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-top: 6px;
}

.hp-steps__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 16px;
  color: #111;
}

.hp-steps__arr {
  color: #6b7280;
  font-weight: 900;
}

/* =========================================================
   7) Articles
   ========================================================= */
.hp-articles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ha {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  color: #111;
}
.ha-img {
  height: 92px;
  background: #e9edf8;
}
.ha-body {
  padding: 10px 12px 12px;
}
.ha-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}
.ha-sub {
  margin: 0;
  font-size: 12.5px;
  font-weight: 400;
  color: #6b7280;
}
.hp-all {
  text-align: center;
  padding-top: 10px;
}
.hp-all a {
  font-weight: 600;
  color: #1f3bb3;
  text-decoration: none;
}

.spec-cta-wrap {
  margin-top: 24px;
  padding: 28px 22px;
  border-radius: 12px;

  background: #8ca9ff;
  box-shadow: 0 20px 40px rgba(127, 91, 255, 0.2);

  color: #fff;

  /* ⬇️ IMPORTANT */
  display: grid;
  grid-template-columns: auto 1fr auto; /* gauche | milieu | droite */
  align-items: center;
  column-gap: 22px;

  text-align: left;
}

/* Titre */
.spec-cta-wrap h3 {
  margin: 0;
  font-size: 34px; /* pour se rapprocher de la capture 2 */
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap; /* optionnel: évite retour ligne */
}

.spec-cta-wrap p {
  margin: 0;
  font-size: 18px;
  opacity: 0.95;
  line-height: 1.35;
  max-width: 520px; /* pour un look “milieu” */
}

/* Bouton blanc */
.spec-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;

  padding: 12px 24px;
  border-radius: 999px;

  background: #fff;
  color: #8ca9ff;

  font-weight: 600;
  font-size: 15px;

  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

/* Hover */
.spec-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

/* Active */
.spec-cta:active {
  transform: translateY(0);
}
/* Barre style "carte" */
.searchbar {
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.search-icon {
  margin-left: 6px;
  opacity: 0.7;
}

.input-wrap {
  position: relative;
  flex: 1 1 0;
  min-width: 0; /* IMPORTANT: évite débordements */
}

/* Champs “plats” (comme sur ta capture) */
.searchbar input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  padding: 10px 8px;
  color: #111;
}

.searchbar input::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

/* séparateur */
.divider {
  width: 1px;
  height: 34px;
  background: rgba(0, 0, 0, 0.1);
}

/* Bouton intégré à droite */
.btn-find--inbar {
  margin: 0;
  border: none;
  background: var(--red);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  white-space: nowrap;
}

.btn-find--inbar:hover {
  transform: translateY(-1px);
}

.btn-find--inbar:active {
  transform: translateY(0);
}

/* Suggestions dropdown */
.suggest {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  list-style: none;
  margin: 6px 0 0;
  padding: 6px 0;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
  max-height: 260px;
  overflow: auto;
  z-index: 20;
}
.suggest li {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 15px;
}
.suggest li:hover {
  background: #f6f6f6;
}

/* =========================================================
   8) Mobile
   ========================================================= */
@media (max-width: 720px) {
  .hp-btn {
    min-width: 112px;
    padding: 9px 12px;
  }
  .hp-row2 {
    padding-left: 4px;
  }
  .ha-img {
    height: 90px;
  }
  .hp-articles {
    grid-template-columns: 1fr;
  }

  .hp-steps__title {
    font-size: 17px;
  }
  .hp-steps__sub {
    font-size: 12.5px;
  }
  .hp-steps__item {
    font-size: 13.5px;
  }
  .spec-cta-wrap {
    grid-template-columns: 1fr;
    row-gap: 12px;
    text-align: center;
    justify-items: center;
    padding: 22px 18px;
  }

  .spec-cta-wrap h3 {
    font-size: 26px;
    white-space: normal;
  }

  .spec-cta-wrap p {
    font-size: 15px;
    max-width: 34ch;
  }

  .spec-cta {
    width: 50%;
    max-width: 340px;
  }
  .hero {
    background: #f3f4f8;
  }
}
