/* Page « Devenir partenaire » (bin/partenaires-page.php) — classes ph-* */
.section .cat-page > .ph.ph { max-width: none; }
.ph { display: grid; gap: clamp(3rem, 6vw, 4.5rem); margin-top: 2rem; }
.ph h2, .ph h3, .ph h4 { text-wrap: balance; }
.ph .btn { gap: 0.45rem; }
.ph-h2 { margin: 0 0 0.5rem; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--c-deep); }
.ph-sub { margin: 0 0 2rem; font-size: 1.1rem; color: var(--c-muted); }

/* Bandeau « demande permanente » */
.ph-hero { display: grid; gap: 2rem; align-items: center; padding: clamp(1.75rem, 4vw, 3rem); border-radius: 16px; color: #fff;
    background: radial-gradient(120% 140% at 100% 0%, #9c1a2c 0%, var(--c-sign) 40%, var(--c-deep) 100%);
    box-shadow: 0 18px 48px rgba(69, 9, 15, 0.18); }
/* une seule colonne : titre et texte sur toute la largeur, les 4 chiffres en une ligne dessous (ordinateur) */
.ph-kicker { margin: 0 0 0.5rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-amber); }
.ph-hero__title { margin: 0 0 1rem; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; color: #fff; }
.ph-hero__lead { margin: 0 0 1.5rem; font-size: 1.12rem; line-height: 1.6; opacity: 0.95; }
.ph-hero__actions { display: grid; gap: 0.75rem; margin: 0; }
@media (min-width: 40em) { .ph-hero__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; width: 100%; } } /* 2 boutons centrés, chacun de la largeur de 2 cadres */
.ph-hero__actions .btn { justify-content: center; text-align: center; }
.ph-btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.ph-btn--outline:hover { background: #fff; color: var(--c-deep); }
.ph-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 64em) { .ph-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ph-facts li { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.1rem 1.2rem; border-radius: 12px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); }
.ph-facts strong { font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.1; color: var(--c-amber); }
.ph-facts span { font-size: 0.95rem; line-height: 1.35; opacity: 0.92; }

/* Rubriques */
.ph-choose { scroll-margin-top: 6rem; }
.ph-family + .ph-family { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--c-line); }
.ph-family__title { margin: 0 0 0.35rem; font-size: 1.45rem; color: var(--c-deep); padding-left: 0.9rem; border-left: 4px solid var(--c-amber); }
.ph-family__text { margin: 0 0 1.5rem; color: var(--c-muted); }
.ph-family .cat-cards { margin-bottom: 0; }
.ph-family .cat-card__title { font-size: 1.3rem; }
@media (min-width: 64em) { .ph-family--sell .cat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ph-family--sell .cat-card__media { aspect-ratio: 2 / 1; } }

/* Pourquoi travailler avec nous */
.ph-benefits { display: grid; gap: 1.25rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
@media (min-width: 48em) { .ph-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ph-benefit { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; padding: 1.5rem; background: var(--c-mist); border-left: 4px solid var(--c-amber); border-radius: var(--radius); }
.ph-benefit__icon { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: #fff; color: var(--c-sign); }
.ph-benefit h3 { margin: 0 0 0.4rem; font-size: 1.2rem; color: var(--c-deep); }
.ph-benefit p { margin: 0; line-height: 1.55; }

/* Comment ça se passe */
.ph-steps__list { display: grid; gap: 1.25rem; margin: 1.5rem 0 0; padding: 0; list-style: none; counter-reset: none; }
@media (min-width: 48em) { .ph-steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ph-steps__list li { padding: 1.5rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); }
.ph-steps__n { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 0.9rem; border-radius: 50%; background: var(--c-deep); color: #fff; font-weight: 700; }
.ph-steps__list h3 { margin: 0 0 0.4rem; font-size: 1.2rem; color: var(--c-deep); }
.ph-steps__list p { margin: 0; color: var(--c-muted); line-height: 1.5; }
.ph-steps__cta { margin: 1.5rem 0 0; text-align: center; }

/* Encadrés deux par deux */
.ph-duo { display: grid; gap: 1.5rem; }
@media (min-width: 48em) { .ph-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ph-duo + .ph-duo { margin-top: calc(1.5rem - clamp(3rem, 6vw, 4.5rem)); }
.ph-box { display: flex; flex-direction: column; padding: 1.75rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); }
.ph-box--rating, .ph-box--other { background: var(--c-mist); border: 0; border-left: 4px solid var(--c-amber); }
.ph-box--rating { align-items: center; justify-content: center; text-align: center; }
.ph-box--founder { flex-direction: row; align-items: center; gap: 1.25rem; }
.ph-box__title { margin: 0 0 0.6rem; font-size: 1.35rem; line-height: 1.25; color: var(--c-deep); }
.ph-box__text { margin: 0; line-height: 1.55; }
.ph-box__actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0.75rem; margin: auto 0 0; padding-top: 1.25rem; }
.ph-box--rating .ph-box__actions { margin-top: 0; }
.ph-box__actions .btn { justify-content: center; text-align: center; }
.ph-rating { margin: 0; }
.ph-rating strong { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--c-deep); }
.ph-rating span { font-size: 1.1rem; color: var(--c-muted); }
.ph-stars { margin: 0.25rem 0 0.75rem; }
.ph-photo { flex: none; width: 7.5rem; height: 7.5rem; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid var(--c-mist); }
@media (max-width: 39.999em) {
    .ph-box--founder { flex-direction: column; text-align: center; }
    .ph-box__actions { grid-auto-flow: row; }
    .ph-facts strong { font-size: 1.3rem; }
}

/* partenaires-v5 : cartes compactes (Vous accueillez nos groupes) */
.ph-family:not(.ph-family--sell) .cat-card__media { aspect-ratio: 16 / 9; }
.ph-family:not(.ph-family--sell) .cat-card__body { padding: 0.9rem 1rem 1rem; }
.ph-family:not(.ph-family--sell) .cat-card__title { font-size: 1.12rem; margin-bottom: 0.35rem; }
.ph-family:not(.ph-family--sell) .cat-card__text { font-size: 0.9rem; line-height: 1.45; margin-bottom: 0.6rem; }
.ph-family:not(.ph-family--sell) .cat-card__go { font-size: 0.92rem; }
.ph-family:not(.ph-family--sell) .cat-card__go--end { padding-top: 0.6rem; }
@media (min-width: 64em) {
    .ph-family:not(.ph-family--sell) .cat-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
}
.ph-why, .ph-steps { scroll-margin-top: 6rem; }

/* partenaires-v7 : accès direct en haut de page */
.pv-top { display: grid; gap: 0.75rem; margin: 0 0 1.75rem; }
.pv-top__part { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; padding: 0.9rem 1.1rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); }
.pv-top__q { margin: 0; font-weight: 700; font-size: 1.05rem; color: var(--c-deep); }
.pv-top .btn { justify-content: center; }
@media (max-width: 29.99em) { .pv-top .btn { width: 100%; } }
@media (min-width: 30em) { .pv-top .btn { min-width: 14rem; } }
@media (min-width: 64em) { .pv-top { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
#h-ph-steps { scroll-margin-top: 7rem; }
