/* /nos-partenaires — annuaire des partenaires professionnels (2026-11-24). Chargée par cette seule page, namespace pt-.
   Jetons et composants (sections, titres, boutons, encadré final) : design-system.css et site-pages.css, inchangés. */
.pt-page { --pt-decalage: calc(var(--ds-nav-h) + var(--ds-gbar-h) + var(--ds-promo-h) + var(--ds-logo-band-h) + 20px); }
.pt-page .sp-hero__lead { max-width: 64ch; font-weight: 400; color: rgba(255, 255, 255, .78); }
.pt-page .sp-hero { padding: clamp(40px, 6vw, 72px) 0; }
.pt-page .ds-section { padding: clamp(44px, 6.5vw, 84px) 0; }

/* Accès rapide : affiché à partir de deux départements */
.pt-acces { margin-bottom: var(--ds-space-lg); }
.pt-acces ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pt-acces a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; background: #fff; border: 1px solid var(--ds-warm-gray); font-size: .92rem; font-weight: 700; color: var(--ds-midnight); }
.pt-acces a:hover { border-color: var(--ds-copper); color: var(--ds-copper-text); }

/* Région › département */
.pt-region + .pt-region { margin-top: clamp(56px, 8vw, 88px); }
.pt-region .ds-tag { margin-bottom: 10px; }
.pt-region__titre { font-size: clamp(1.8rem, 3.6vw, 2.7rem); color: var(--ds-midnight); }
.pt-dept { margin-top: var(--ds-space-lg); scroll-margin-top: var(--pt-decalage); }
.pt-dept__tete { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding-bottom: 10px; margin-bottom: var(--ds-space-md); border-bottom: 1px solid var(--ds-taupe); }
.pt-dept__titre { font-family: var(--ds-font-display); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.25; color: var(--ds-midnight); }
.pt-dept__liens { display: flex; flex-wrap: wrap; gap: 0 18px; }
.pt-dept__liens a { display: inline-flex; align-items: center; min-height: 44px; font-size: .92rem; line-height: 1.4; color: var(--ds-copper-text); text-decoration: underline; text-underline-offset: 3px; }
.pt-dept__liens a:hover { color: var(--ds-copper-dark); }

/* Cartes : une colonne sur mobile, deux à partir de 900 px ; une carte seule sur sa ligne prend toute la largeur. */
.pt-grille { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--ds-space-md); }
.pt-grille__case { min-width: 0; container-type: inline-size; }
.pt-carte { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--ds-warm-gray); border-top: 3px solid var(--ds-copper); box-shadow: var(--ds-shadow-sm); scroll-margin-top: var(--pt-decalage); }
.pt-carte__logo { display: flex; align-items: center; justify-content: center; min-height: 148px; padding: 24px; border-bottom: 1px solid var(--ds-warm-gray); }
.pt-carte__corps { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; gap: 18px; padding: clamp(20px, 3.4vw, 36px); }
.pt-carte__nom { font-family: var(--ds-font-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.15; overflow-wrap: anywhere; color: var(--ds-midnight); }
.pt-infos { display: grid; gap: 14px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.pt-infos dt { font-family: var(--ds-font-ui); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ds-copper-text); margin-bottom: 4px; }
.pt-infos dd { font-size: 1rem; line-height: 1.45; color: var(--ds-midnight); }
.pt-infos__large { grid-column: 1 / -1; }
.pt-infos__large dt { margin-bottom: 8px; }
.pt-metiers { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pt-metiers li { padding: 5px 12px; background: var(--ds-cream); border: 1px solid var(--ds-warm-gray); font-size: .9rem; line-height: 1.4; color: var(--ds-midnight); }
.pt-carte__texte { font-size: 1rem; line-height: 1.7; color: var(--ds-text-dark); max-width: 66ch; }
.pt-carte__bouton { align-self: flex-start; margin-top: auto; max-width: 100%; padding-top: 12px; padding-bottom: 12px; line-height: 1.35; white-space: normal; text-align: center; }
.pt-carte__bouton svg { width: 15px; height: 15px; flex: 0 0 auto; }

/* La carte s'adapte à la place qu'elle a, pas à l'écran : logo à gauche dès qu'elle est large. */
@container (min-width: 720px) {
  .pt-carte { flex-direction: row; }
  .pt-carte__logo { flex: 0 0 36%; min-height: 0; padding: 32px; border-bottom: 0; border-right: 1px solid var(--ds-warm-gray); }
}
@media (min-width: 900px) {
  .pt-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-grille__case:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .pt-carte__bouton { align-self: stretch; }
}

/* Devenir partenaire : texte plus lisible que le sous-titre habituel de l'encadré final */
.pt-devenir { grid-template-columns: 1.7fr auto; }
.pt-devenir .ds-cta-final__sub { font-size: 1rem; font-weight: 400; line-height: 1.7; color: rgba(255, 255, 255, .78); margin-bottom: 0; max-width: 60ch; }
@media (max-width: 768px) {
  .pt-devenir { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 22px; text-align: left; }
  .pt-devenir .ds-cta-final__actions { align-items: stretch; }
}
