/* Yoopies FR — Hub pages : header + nav (design 4c).
 * Dépend de home.css (classes .yp-hero__*, .yp-hub-nav*, .yp-hub-pill*, .yp-service-card*, .yp-hero__trust).
 * Ne redéfinit QUE les écarts spécifiques hub (bandes, titres, icône cercle, breadcrumb, h1, cartes shortcuts).
 */

/* ============ Bande orange hub (padding réduit vs home) ============ */
.yp-hub-hero__top { padding: 20px 0 96px; }
.yp-hub-hero__top-inner { display: flex; flex-direction: column; gap: 24px; }

.yp-hub-hero__logo-link { display: inline-block; line-height: 0; align-self: flex-start; }

.yp-hub-hero__title-row {
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
}
.yp-hub-hero__title-block { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.yp-hub-hero__title {
  font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.15; color: #363636; letter-spacing: -.01em;
}
.yp-hub-hero__title span { color: #32bfa3; }
.yp-hub-hero__sublabel { font-size: 18px; font-weight: 600; color: #144862; }

.yp-hub-hero__links { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.yp-hub-hero__link-cards { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.yp-hub-hero__job-link { font-size: 15px; font-weight: 800; color: #32bfa3; text-decoration: none; }
.yp-hub-hero__job-link:hover { text-decoration: underline; }

/* Variante service card pour les shortcuts du hub hero (plus petites que home) */
.yp-service-card--hub {
  padding: 14px 18px; gap: 12px;
  background: #fff; border-radius: 6px;
  display: flex; align-items: center;
  text-decoration: none; color: inherit;
  box-shadow: 0 2px 4px rgba(102,102,102,.12);
  transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s;
}
.yp-service-card--hub:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(20,72,98,.16); }
.yp-service-card--hub .yp-service-card__icon { width: 28px; height: 28px; color: #fa9856; }
.yp-service-card--hub .yp-service-card__label {
  flex: none; font-size: 15px; font-weight: 800; color: #144862; white-space: nowrap; display: block;
}
.yp-service-card--hub .yp-service-card__arrow { color: #32bfa3; font-weight: 800; }

/* ============ Carte titre hub ============
 * Breadcrumb retiré de la carte (déplacé en haut du body via .yp-page-crumbs) :
 * on remonte la carte sur le hero (margin-top plus négatif) et on réduit son
 * padding haut pour gagner la hauteur libérée par le crumb. */
.yp-hub-hero__card-wrap { margin-top: -96px; }
.yp-hub-hero__card {
  padding: 56px 48px 8px;
  gap: 28px;
  align-items: center;
  -webkit-clip-path: polygon(0 36px, 100% 0, 100% 100%, 0 100%);
          clip-path: polygon(0 36px, 100% 0, 100% 100%, 0 100%);
}
.yp-hub-hero__icon-circle {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  width: 96px; height: 96px;
  background: var(--hub-tint, rgba(50,191,163,.12));
  border-radius: 50%;
  transform: rotate(-6deg);
}
.yp-hub-hero__icon {
  display: block; width: 50px; height: 50px;
  background-color: #fa9856;
  -webkit-mask: var(--yp-icon) center/contain no-repeat;
          mask: var(--yp-icon) center/contain no-repeat;
}
.yp-hub-hero__card-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }

/* ============ Breadcrumb de body (hub / sub-hub / article) ============
 * Posé en haut du body de chaque page après que le breadcrumb a été retiré
 * de la hero card. Classe partagée via yoopies_page_crumbs_html(). */
.yp-page-crumbs {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px 6px;
  font-size: 13px; font-weight: 700; color: #5b7a8a;
}
.yp-page-crumbs a { color: #5b7a8a; text-decoration: none; }
.yp-page-crumbs a:hover { color: #32bfa3; }
.yp-page-crumbs__sep { color: #9cb2bd; }
@media (min-width: 1024px) {
  .yp-page-crumbs { font-size: 14px; }
}

.yp-hub-hero__h1 {
  margin: 0; font-size: clamp(32px, 4vw, 76px); line-height: 1; font-weight: 800;
  color: #363636; letter-spacing: -.03em; text-wrap: balance;
}
.yp-hub-hero__h1 span { color: #32bfa3; }
.yp-hub-hero__intro { margin: 0; font-size: 15px; line-height: 1.5; color: #5b7a8a; }

/* ============ RESPONSIVE : TABLETTE (<= 1024px) ============
 * Objectif : rendre tout l'espace de la carte titre au H1 + intro en cachant
 * le badge "Le blog" rotated et en réduisant le bouton Rechercher à son icône
 * (comme sur mobile). La structure reste horizontale (icône cercle + text column). */
@media (max-width: 1024px) {
  .yp-hub-hero__card { padding: 48px 32px 8px; gap: 20px; }
  .yp-hub-hero__card-wrap { margin-top: -80px; }
  .yp-hero__card-badge { display: none; }
  .yp-hub-hero__card .yp-search-trigger {
    flex: none; width: 44px; height: 44px; padding: 0; justify-content: center;
    border-radius: 50%; gap: 0; align-self: flex-start;
  }
  .yp-hub-hero__card .yp-search-trigger__label { display: none; }
}

/* ============ RESPONSIVE : MOBILE (<= 768px) ============ */
@media (max-width: 768px) {
  .yp-hub-hero__top { padding: 16px 0 72px; }
  .yp-hub-hero__title-row { flex-direction: column; align-items: stretch; gap: 12px; }
  /* Mobile : on simplifie le hero → 2 boutons service côte à côte + lien emploi juste en dessous.
   * Le titre marketing + sublabel sont planqués pour gagner de la hauteur. */
  .yp-hub-hero__title-block { display: none; }
  .yp-hub-hero__links { align-items: stretch; gap: 8px; }
  .yp-hub-hero__link-cards { flex-direction: row; gap: 8px; }
  .yp-hub-hero__link-cards > li { flex: 1; min-width: 0; }
  .yp-service-card--hub {
    flex-direction: column; align-items: center; gap: 4px;
    padding: 8px 6px; min-height: 0; text-align: center;
  }
  .yp-service-card--hub .yp-service-card__icon { width: 22px; height: 22px; }
  .yp-service-card--hub .yp-service-card__label { font-size: 12px; line-height: 1.2; white-space: normal; }
  .yp-service-card--hub .yp-service-card__arrow { display: none; }
  .yp-hub-hero__job-link { font-size: 14px; text-align: center; align-self: center; }

  .yp-hub-hero__card-wrap { margin-top: -56px; }
  .yp-hub-hero__card {
    padding: 36px 16px 8px;
    gap: 14px;
    flex-direction: column; align-items: stretch;
    -webkit-clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%);
            clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%);
  }
  .yp-hub-hero__icon-circle { width: 64px; height: 64px; align-self: flex-start; }
  .yp-hub-hero__icon { width: 32px; height: 32px; }
  .yp-hub-hero__h1 { font-size: 40px; }
  .yp-hub-hero__intro { font-size: 14px; }
}

/* =====================================================================
 * SUB-HUB NAV TABS (design 6a L462) — non-sticky, après les hub pills
 * ===================================================================== */
.yp-subhub-tabs {
  background: #f2f4f5;
  border-top: 1px solid #dbe5ea;
  border-bottom: 1px solid #dbe5ea;
}
.yp-subhub-tabs__inner {
  display: flex; flex-wrap: nowrap; justify-content: center;
  gap: 24px; padding: 6px 32px 0;
  overflow-x: auto; scrollbar-width: none;
}
.yp-subhub-tabs__inner::-webkit-scrollbar { display: none; }
.yp-subhub-tab {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0 8px;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  font-size: 14px; font-weight: 600; color: #5b7a8a;
  text-decoration: none; white-space: nowrap;
  transition: color .14s, border-color .14s;
}
.yp-subhub-tab:hover { color: #144862; }
.yp-subhub-tab--current { color: #363636; font-weight: 800; border-bottom-color: #32bfa3; }

@media (max-width: 768px) {
  .yp-subhub-tabs__inner { justify-content: flex-start; gap: 16px; padding: 6px 16px 0; }
  .yp-subhub-tab { font-size: 13px; }
}

/* =====================================================================
 * SUB-HUB BODY (design 6a L468-570)
 * ===================================================================== */
.yp-subhub-body { font-family: Nunito, sans-serif; padding: 20px 0 80px; }
.yp-subhub-body__cols {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px;
}
.yp-subhub-body__main { display: flex; flex-direction: column; }

/* Job CTA card (haut de liste) */
.yp-subhub-jobcard {
  margin-bottom: 40px;
  background: #fff; border: 2px solid #fa9856; border-radius: 6px;
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-decoration: none;
  transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s;
}
.yp-subhub-jobcard:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20,72,98,.12); }
.yp-subhub-jobcard__text { display: flex; align-items: center; gap: 14px; min-width: 0; font-size: 17px; font-weight: 800; line-height: 1.3; color: #363636; }
.yp-subhub-jobcard__icon {
  display: flex; align-items: center; justify-content: center;
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(250,152,86,.16);
  position: relative;
}
.yp-subhub-jobcard__icon::after {
  content: ''; display: block; width: 20px; height: 20px;
  background-color: #fa9856;
  -webkit-mask: var(--yp-icon) center/contain no-repeat;
          mask: var(--yp-icon) center/contain no-repeat;
}
.yp-subhub-jobcard__accent { color: #fa9856; }
.yp-subhub-jobcard__arrow { color: #fa9856; font-weight: 800; flex: none; }

/* Head de liste */
.yp-subhub-listhead { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; }
.yp-subhub-listhead__title { font-size: 24px; font-weight: 800; color: #363636; }
.yp-subhub-listhead__count { font-size: 14px; font-weight: 700; color: #5b7a8a; }

/* Liste articles */
.yp-subhub-list { list-style: none; margin: 0; padding: 0; }
.yp-subhub-list > li { border-bottom: 1px solid #dbe5ea; }
.yp-subhub-list > li.yp-subhub-list__newsletter { border-bottom: none; padding: 28px 0; }
.yp-subhub-article {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: center;
  padding: 24px 0;
  text-decoration: none;
  transition: background .14s;
}
.yp-subhub-article:hover { background: #f9fbfb; }
.yp-subhub-article__thumb {
  aspect-ratio: 3/2; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.yp-subhub-article__icon {
  display: block; width: 40px; height: 40px;
  background-color: #fa9856;
  -webkit-mask: var(--yp-icon) center/contain no-repeat;
          mask: var(--yp-icon) center/contain no-repeat;
}
.yp-subhub-article__body { display: flex; flex-direction: column; gap: 8px; }
.yp-subhub-article__cat { font-size: 12px; font-weight: 700; text-transform: uppercase; color: #5b7a8a; letter-spacing: .04em; }
.yp-subhub-article__title { font-size: 21px; font-weight: 800; line-height: 1.3; color: #363636; text-wrap: pretty; }
.yp-subhub-article__excerpt { font-size: 15px; line-height: 1.5; color: #5b7a8a; }
.yp-subhub-article__meta { font-size: 13px; font-weight: 700; color: #9cb2bd; }

.yp-subhub-more { display: flex; justify-content: center; padding-top: 32px; }
.yp-subhub-more .yp-btn { min-width: 220px; }

/* Pagination numérotée (sous la liste articles) */
.yp-subhub-pagination {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 6px; padding-top: 40px;
}
.yp-subhub-pagination__num,
.yp-subhub-pagination__nav {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid #dbe5ea; border-radius: 6px; background: #fff;
  font-size: 15px; font-weight: 700; color: #144862; text-decoration: none;
  transition: border-color .14s, background .14s, color .14s;
}
.yp-subhub-pagination__num:hover,
.yp-subhub-pagination__nav:hover { border-color: #32bfa3; color: #32bfa3; }
.yp-subhub-pagination__num--current {
  background: #32bfa3; border-color: #32bfa3; color: #fff; cursor: default;
}
.yp-subhub-pagination__num--current:hover { background: #32bfa3; color: #fff; }
.yp-subhub-pagination__gap { color: #9cb2bd; padding: 0 4px; }
.yp-subhub-pagination__nav { font-weight: 800; }

/* Tablette (769-1100 px) : la colonne main se rétrécit sous l'aside de 360 px,
   et le layout thumb-240px + title+excerpt à droite devient trop serré. On passe
   la carte en stack (thumb au-dessus, titre en-dessous) tout en gardant la
   grille 2-col main+aside. Au mobile (<=768) tout stacke de toute façon. */
@media (max-width: 1100px) {
  .yp-subhub-article { grid-template-columns: 1fr; gap: 14px; }
  .yp-subhub-article__thumb { max-width: 420px; }
  .yp-subhub-article__title { font-size: 19px; }
}

@media (max-width: 768px) {
  .yp-subhub-body { padding: 16px 0 40px; }
  .yp-subhub-body__cols { grid-template-columns: 1fr; gap: 32px; }
  .yp-subhub-jobcard { margin-bottom: 24px; font-size: 15px; }
  .yp-subhub-jobcard__text { font-size: 15px; }
  .yp-subhub-listhead__title { font-size: 20px; }
  .yp-subhub-article { grid-template-columns: 1fr; gap: 12px; }
  .yp-subhub-article__title { font-size: 18px; }
}

/* =====================================================================
 * HUB BODY (design 4c L202-430)
 * ===================================================================== */

.yp-hub-body { font-family: Nunito, sans-serif; }
.yp-hub-body > .yp-wrap { display: flex; flex-direction: column; gap: 56px; padding-top: 20px; padding-bottom: 24px; }
/* Resserre l'espace sous le breadcrumb du hub (annule une partie du flex gap par margin négative) */
.yp-hub-body > .yp-wrap > .yp-page-crumbs { margin-bottom: -36px; }
/* Sub-hub : pas de flex-gap à annuler (yp-subhub-body est en block), on ajoute juste
   un petit padding-bottom sous le crumb pour l'air avant la liste. */
.yp-subhub-body > .yp-wrap:first-child { padding-bottom: 16px; }

.yp-hub-section__h2 {
  margin: 0; font-size: clamp(28px, 3.5vw, 56px); line-height: 1.05; font-weight: 800;
  color: #363636; letter-spacing: -.02em;
}
.yp-hub-section__intro { margin: 0; max-width: 760px; font-size: 18px; line-height: 1.5; color: #5b7a8a; }

/* Badge tilt (orange ou vert) : texte blanc sur fond coloré */
.yp-badge-tilt--small {
  display: inline-block;
  color: #fff; font-weight: 800; font-size: 14px;
  padding: 6px 12px; border-radius: 6px;
  transform: rotate(-3deg); align-self: flex-start;
}
.yp-badge-tilt--green { background: #32bfa3; color: #fff; }

/* ====== Section parents ====== */
.yp-hub-parents {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start;
}
/* Hub minimal (yoopies) : pas de shortcuts aside → full width */
.yp-hub-parents--full { grid-template-columns: 1fr; }
.yp-hub-parents__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; align-items: flex-start; }
.yp-hub-work-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border-radius: 999px;
  font-size: 15px; font-weight: 800; color: #144862; text-decoration: none;
  transition: box-shadow .14s;
}
.yp-hub-work-link:hover { box-shadow: 0 4px 12px rgba(20,72,98,.16); }
.yp-hub-work-link__arrow {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: #32bfa3; color: #fff; font-size: 15px; font-weight: 800;
}

.yp-hub-shortcuts {
  border-radius: 6px; padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
/* Slots : desktop → shortcuts dans la section parents (droite) ; mobile → entre les
 * groupes articles et l'aside sitters. Même HTML, double rendu, visibilité CSS. */
.yp-hub-shortcuts-slot--mobile { display: none; }
@media (max-width: 768px) {
  .yp-hub-shortcuts-slot--desktop { display: none; }
  .yp-hub-shortcuts-slot--mobile { display: block; }
}
.yp-hub-shortcuts__title { font-size: 20px; font-weight: 800; color: #363636; line-height: 1.25; }
.yp-hub-shortcuts__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.yp-hub-shortcut {
  background: #fff; border: 2px solid #dbe5ea; border-radius: 12px;
  padding: 10px 2px 8px; min-height: 72px; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-decoration: none; transition: border-color .14s;
}
.yp-hub-shortcut:hover { border-color: #32bfa3; }
.yp-hub-shortcut__icon {
  display: block; flex: none; width: 22px; height: 22px;
  background-color: #fa9856;
  -webkit-mask: var(--yp-icon) center/contain no-repeat;
          mask: var(--yp-icon) center/contain no-repeat;
}
.yp-hub-shortcut__label { font-size: 11px; font-weight: 700; color: #5b7a8a; text-align: center; line-height: 1.2; }
.yp-hub-shortcuts__cta,
.yp-hub-shortcuts__cta:hover,
.yp-hub-shortcuts__cta:focus,
.yp-hub-shortcuts__cta:active { width: 100%; justify-content: space-between; padding: 12px 16px; color: #fff; }
.yp-hub-shortcuts__cta * { color: inherit; }
/* Map CTA : même traitement texte blanc + icône loupe blanche */
.yp-hub-map__cta,
.yp-hub-map__cta:hover,
.yp-hub-map__cta:focus,
.yp-hub-map__cta:active { color: #fff; }
.yp-hub-map__cta * { color: inherit; }
.yp-hub-map__cta .yp-hub-icon-left { background-color: #fff; }

/* ====== Questions ====== */
.yp-hub-questions {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.yp-hub-questions__head {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: 12px 8px 6px 0; min-height: 120px;
}
.yp-hub-questions__deco {
  position: absolute; font-weight: 800; line-height: 1; pointer-events: none; z-index: 0;
}
.yp-hub-questions__deco--1 { top: -14px; left: -6px; font-size: 110px; color: #32bfa3; opacity: .16; transform: rotate(-12deg); }
.yp-hub-questions__deco--2 { top: 0; left: 64px; font-size: 48px; color: #fa9856; opacity: .3; transform: rotate(14deg); }
.yp-hub-questions__title { position: relative; margin: 0; font-size: 20px; font-weight: 800; line-height: 1.2; color: #363636; text-wrap: pretty; }

.yp-hub-question {
  background: #fff; border: 2px solid #dbe5ea; border-radius: 6px;
  padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  min-height: 120px; box-sizing: border-box;
  text-decoration: none;
  transition: transform .2s cubic-bezier(.4,0,.2,1), border-color .14s, box-shadow .2s;
}
.yp-hub-question:hover { transform: translateY(-4px) rotate(var(--q-tilt, 0deg)); border-color: var(--q-color, #32bfa3); box-shadow: 0 8px 20px rgba(20,72,98,.12); }
.yp-hub-question__badge {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--q-tint, rgba(50,191,163,.14));
  color: var(--q-color, #32bfa3);
  font-size: 19px; font-weight: 800;
}
.yp-hub-question__text {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 10px;
  font-size: 16px; font-weight: 800; line-height: 1.3; color: #363636; text-wrap: pretty;
}
.yp-hub-question__arrow { color: var(--q-color, #32bfa3); flex: none; }

/* ====== Groupes articles + aside ====== */
.yp-hub-body__cols {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start;
}
/* Hub minimal (yoopies) : pas d'aside → full width */
.yp-hub-body__cols--full { grid-template-columns: 1fr; }
.yp-hub-body__main { display: flex; flex-direction: column; gap: 56px; min-width: 0; }

.yp-hub-group { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.yp-hub-group__head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-bottom: 1px solid #dbe5ea; padding-bottom: 12px;
}
.yp-hub-group__title-row { display: flex; align-items: center; gap: 12px; }
.yp-hub-group__arrow {
  display: flex; align-items: center; justify-content: center;
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  color: #fff; font-size: 22px; font-weight: 800; line-height: 1; padding-bottom: 2px; box-sizing: border-box;
}
.yp-hub-group__title { margin: 0; font-size: 26px; font-weight: 800; color: #363636; }
.yp-hub-group__title a { color: inherit; text-decoration: none; transition: color .14s; }
.yp-hub-group__title a:hover { color: #32bfa3; }
.yp-hub-group__all { font-size: 15px; font-weight: 700; color: #144862; text-decoration: none; white-space: nowrap; }
.yp-hub-group__all:hover { color: #32bfa3; }
.yp-hub-group__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Tablette (769-1100 px) : 3 cartes/row deviennent trop étroites sous l'aside
   360 px. On repasse à 2 colonnes, titres respirent. ≤768 → 1-col (déjà géré). */
@media (max-width: 1100px) {
  .yp-hub-group__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

.yp-hub-article { display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: transform .2s cubic-bezier(.4,0,.2,1); }
.yp-hub-article:hover { transform: translateY(-4px); }
.yp-hub-article__thumb {
  aspect-ratio: 3/2; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
}
.yp-hub-article__icon {
  display: block; width: 36px; height: 36px;
  background-color: #fa9856;
  -webkit-mask: var(--yp-icon) center/contain no-repeat;
          mask: var(--yp-icon) center/contain no-repeat;
}
.yp-hub-article__title { font-size: 17px; font-weight: 800; line-height: 1.3; color: #363636; text-wrap: pretty; }
.yp-hub-article__meta { font-size: 13px; font-weight: 700; color: #9cb2bd; }

/* Aside */
.yp-hub-aside { display: flex; flex-direction: column; gap: 24px; }
/* Variante sim_below : simulateur + carte en pleine largeur sous les groupes (Ménage) */
.yp-hub-wide-aside {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px;
}
@media (max-width: 768px) { .yp-hub-wide-aside { grid-template-columns: 1fr; } }
.yp-hub-panel {
  background: #fff; border: 1px solid #dbe5ea; border-radius: 6px; padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.yp-hub-panel__title { font-size: 20px; font-weight: 800; color: #363636; line-height: 1.25; }

.yp-hub-sitters { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.yp-hub-sitter { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.yp-hub-sitter__avatar {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  background: #dbe5ea center/cover no-repeat;
}
.yp-hub-sitter__text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yp-hub-sitter__name { font-size: 16px; font-weight: 800; color: #363636; }
.yp-hub-sitter__role { font-size: 13px; color: #5b7a8a; }
.yp-hub-sitter__rate { font-size: 16px; font-weight: 800; color: #144862; white-space: nowrap; }
.yp-hub-sitter__rate span { font-size: 12px; font-weight: 700; color: #5b7a8a; }

.yp-hub-field { display: flex; flex-direction: column; gap: 6px; }
.yp-hub-field__label { font-size: 12px; font-weight: 700; text-transform: uppercase; color: #5b7a8a; letter-spacing: .04em; }
.yp-hub-field__input {
  width: 100%; height: 48px; box-sizing: border-box; padding: 0 14px;
  border: 2px solid #dbe5ea; border-radius: 6px; background: #fff;
  font-family: inherit; font-size: 15px; color: #363636;
}
.yp-hub-field__range { width: 100%; }

.yp-hub-sim .yp-hub-field__label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.yp-hub-sim .yp-hub-field__label strong { text-transform: none; color: #363636; font-weight: 800; letter-spacing: 0; }
.yp-hub-sim__hours-value { font-size: 14px; font-weight: 800; color: #144862; text-transform: none; letter-spacing: 0; }
.yp-hub-sim__hours-value [data-sim-hours] { color: #32bfa3; }
/* Range plus visible — track plus épais + thumb plus gros */
.yp-hub-field__range { -webkit-appearance: none; appearance: none; height: 12px; background: #dbe5ea; border-radius: 999px; cursor: pointer; margin: 6px 0; }
.yp-hub-field__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #32bfa3; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(20,72,98,.3); cursor: grab; }
.yp-hub-field__range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #32bfa3; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(20,72,98,.3); cursor: grab; }
.yp-hub-field__range:focus { outline: none; }

.yp-hub-sim-result {
  border-radius: 6px; padding: 16px; margin-top: -8px;
  display: flex; flex-direction: column; gap: 4px;
}
.yp-hub-sim-result__caption { font-size: 13px; font-weight: 700; color: #5b7a8a; }
.yp-hub-sim-result__amount { font-size: 32px; font-weight: 800; color: #32bfa3; line-height: 1.1; }
.yp-hub-sim-result__amount span { font-size: 16px; color: #5b7a8a; }
.yp-hub-sim-result__gross { font-size: 13px; color: #9cb2bd; }

.yp-hub-map { display: block; width: 100%; height: auto; max-height: 200px; object-fit: contain; }
.yp-hub-icon-left {
  display: inline-block; width: 18px; height: 18px; margin-right: 6px;
  background-color: currentColor;
  -webkit-mask: var(--yp-icon) center/contain no-repeat;
          mask: var(--yp-icon) center/contain no-repeat;
  vertical-align: middle;
}

/* Variants bouton pour aside */
.yp-btn--outline { background: transparent; color: #144862; border: 2px solid #dbe5ea; }
.yp-btn--outline:hover { border-color: #32bfa3; }
.yp-btn--secondary { background: #fa9856; color: #fff; }
.yp-btn--secondary:hover { background: #f28234; }

/* ====== Newsletter ====== */
.yp-hub-newsletter {
  background: #144862; border-radius: 6px; padding: 32px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: center;
}
.yp-hub-newsletter__text { display: flex; flex-direction: column; gap: 8px; }
.yp-hub-newsletter__title { font-size: 24px; font-weight: 800; color: #fff; line-height: 1.2; }
.yp-hub-newsletter__desc { font-size: 15px; line-height: 1.5; color: #dbe5ea; }
.yp-hub-newsletter__form { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 6px; padding: 8px; }
.yp-hub-newsletter__form input {
  flex: 1; min-width: 0; height: 48px; box-sizing: border-box; padding: 0 14px;
  border: none; background: transparent; font-family: inherit; font-size: 15px; color: #363636;
}
.yp-hub-newsletter__form input:focus { outline: none; }

/* ====== Section Pour les intervenants (fond teinté, clip-path) ====== */
.yp-hub-work {
  margin-top: 24px;
  -webkit-clip-path: polygon(0 48px, 100% 0, 100% 100%, 0 100%);
          clip-path: polygon(0 48px, 100% 0, 100% 100%, 0 100%);
}
.yp-hub-work__inner { padding-top: 96px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 56px; }
.yp-hub-work__head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; align-items: flex-start; }
.yp-hub-work__groups { display: flex; flex-direction: column; gap: 56px; }

/* ====== Mobile ====== */
@media (max-width: 768px) {
  .yp-hub-body > .yp-wrap { gap: 32px; padding-top: 16px; padding-bottom: 16px; }
  .yp-hub-body > .yp-wrap > .yp-page-crumbs { margin-bottom: -20px; }
  .yp-hub-section__h2 { font-size: 32px; }
  .yp-hub-section__intro { font-size: 15px; }

  .yp-hub-parents { grid-template-columns: 1fr; gap: 20px; }
  .yp-hub-shortcuts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .yp-hub-questions { grid-template-columns: 1fr; }
  .yp-hub-question { min-height: 0; }

  .yp-hub-body__cols { grid-template-columns: 1fr; gap: 32px; }
  .yp-hub-body__main { gap: 32px; }
  .yp-hub-group__grid { grid-template-columns: 1fr; gap: 16px; }
  .yp-hub-group__title { font-size: 20px; }
  .yp-hub-group__all { font-size: 14px; }

  .yp-hub-newsletter { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .yp-hub-newsletter__title { font-size: 20px; }
  .yp-hub-newsletter__form { flex-direction: column; align-items: stretch; }

  .yp-hub-work__inner { padding-top: 72px; padding-bottom: 32px; gap: 32px; }
  .yp-hub-work__groups { gap: 32px; }
}

/* ====== Feedback newsletter (après submit via Braze) ====== */
.yp-hub-newsletter__feedback {
  flex-basis: 100%;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.yp-hub-newsletter__feedback[data-state="success"] {
  background: rgba(50,191,163,.12);
  color: #0f7a66;
}
.yp-hub-newsletter__feedback[data-state="error"] {
  background: rgba(214,56,56,.12);
  color: #a02020;
}

/* État "déjà inscrit" (après capture) — remplace le form entier.
   Styled comme une mini-card verte pour marquer l'état positif. */
.yp-hub-newsletter__already {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(255,255,255,.08);
  color: #ffffff;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

