/* ============================================================
   entreprise-v2.css — Pages annuaire entreprises (design v2)
   Sert : templates_v2/entreprise/entreprise/list_by_day.html.twig
          (+ à venir : details.html.twig)
   S'appuie sur bootstrap-lgdf.css (tokens --lgdf-*, .card, .badge,
   .btn, .icon-tile, .eyebrow, .lead). Tout est préfixé .ent-*.
   ============================================================ */

/* -------- Conteneur de contenu (lecture confortable) -------- */
.ent-wrap { max-width: 920px; }

/* -------- Hero -------- */
.ent-hero .eyebrow { justify-content: center; }
.ent-hero .lead { max-width: 62ch; margin-left: auto; margin-right: auto; }

/* -------- Barre d'outils (compteur + info page) -------- */
.ent-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
  padding-bottom: .85rem; margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--lgdf-stone-200);
}
.ent-toolbar p { margin: 0; color: var(--lgdf-stone-600); font-size: .9375rem; }
.ent-toolbar .ent-page-info { color: var(--lgdf-stone-500); font-size: .875rem; }

/* -------- Carte entreprise -------- */
.ent-card { margin-bottom: 1.25rem; }
.ent-card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: .75rem 1rem; flex-wrap: wrap; margin-bottom: 1.1rem;
}
.ent-card-title { font-size: 1.25rem; font-weight: 600; margin: 0; line-height: 1.25; }
.ent-card-title a { color: var(--lgdf-ink-900); text-decoration: none; }
.ent-card-title a:hover { color: var(--lgdf-ink-600); }

/* Faits (SIREN, création, capital, lieu…) */
.ent-facts { display: flex; flex-wrap: wrap; gap: .9rem 1.75rem; }
.ent-fact { display: flex; align-items: center; gap: .6rem; }
.ent-fact-ic {
  width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto;
  background: var(--lgdf-paper-200); color: var(--lgdf-ink-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.ent-fact-ic i, .ent-fact-ic svg { width: 16px; height: 16px; stroke-width: 1.75; }
.ent-fact-txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.ent-fact-lbl {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .06em;
  font-weight: 600; color: var(--lgdf-stone-500);
}
.ent-fact-val { font-size: .9375rem; font-weight: 500; color: var(--lgdf-ink-900); }
.ent-fact-val.siren { font-variant-numeric: tabular-nums; }

/* Activité (ligne pleine largeur) */
.ent-activite { margin-top: 1.1rem; }
.ent-activite .ent-fact-lbl { display: block; margin-bottom: .2rem; }
.ent-activite p { margin: 0; color: var(--lgdf-stone-600); font-size: .875rem; }

/* Séparateur interne */
.ent-divider { height: 1px; background: var(--lgdf-stone-200); margin: 1.25rem 0; }

/* Dirigeants */
.ent-sub-title {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .05em;
  font-weight: 600; color: var(--lgdf-stone-600); margin: 0 0 .85rem;
}
.ent-sub-title i, .ent-sub-title svg { width: 15px; height: 15px; }
.ent-dir-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1.5rem; }
.ent-dir { display: flex; align-items: center; gap: .7rem; }
.ent-dir-ic {
  width: 36px; height: 36px; border-radius: 999px; flex: 0 0 auto;
  background: var(--lgdf-ink-50); color: var(--lgdf-ink-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.ent-dir-ic i, .ent-dir-ic svg { width: 18px; height: 18px; }
.ent-dir-body { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ent-dir-body a { color: var(--lgdf-ink-900); font-weight: 600; text-decoration: none; }
.ent-dir-body a:hover { color: var(--lgdf-ink-600); }
.ent-dir-body > strong { color: var(--lgdf-ink-900); font-weight: 600; }
.ent-dir-role { font-size: .8125rem; color: var(--lgdf-stone-500); }
.ent-dir-birth { font-size: .75rem; color: var(--lgdf-stone-400); }

/* Pied de carte */
.ent-card-foot { margin-top: 1.25rem; display: flex; justify-content: flex-end; }
.ent-card-foot .btn i, .ent-card-foot .btn svg { width: 15px; height: 15px; }

/* -------- Pagination : info centrée entre les flèches -------- */
.ent-pagination .page-link { display: inline-flex; align-items: center; gap: .35rem; }
.ent-pagination .ent-page-cur {
  color: var(--lgdf-stone-600); background: transparent; border-color: transparent; font-weight: 500;
}
.ent-pagination i, .ent-pagination svg { width: 15px; height: 15px; }

/* -------- Carte SEO : liens par jour -------- */
.ent-seo-card { background: var(--lgdf-paper-50); }
.ent-seo-sub {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .05em;
  font-weight: 600; color: var(--lgdf-stone-600); margin: 0 0 .6rem;
}
.ent-day-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.ent-day {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .7rem; border-radius: 999px;
  border: 1px solid var(--lgdf-stone-200); background: var(--lgdf-paper-0);
  color: var(--lgdf-ink-700); font-size: .82rem; text-decoration: none;
  transition: all 160ms cubic-bezier(.22, 1, .36, 1);
}
.ent-day:hover { border-color: var(--lgdf-ink-400); color: var(--lgdf-ink-800); background: var(--lgdf-ink-50); }
.ent-day.active { background: var(--lgdf-ink-700); border-color: var(--lgdf-ink-700); color: #fff; }
.ent-day i, .ent-day svg { width: 13px; height: 13px; }

/* -------- Responsive -------- */
@media (max-width: 640px) {
  .ent-dir-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FICHE DÉTAIL (details.html.twig) — préfixe .entd-*
   Reconstruit à partir des primitives DS (pas de portage du
   thème bleu v1). Architecture d'information identique à la v1 :
   barre de recherche, carte récap (identité / infos clés),
   sommaire scroll-spy, sections empilées.
   ============================================================ */

.entd-container { max-width: 1180px; }

/* -------- Fil d'ariane -------- */
.entd-breadcrumb { margin-bottom: 1.25rem; }
.entd-breadcrumb .breadcrumb { margin: 0; }

/* -------- Barre de recherche -------- */
.entd-search { position: relative; margin-bottom: 1.5rem; }
.entd-search-inner {
  display: flex; align-items: center; gap: .5rem;
  background: var(--lgdf-paper-0);
  border: 1px solid var(--lgdf-stone-200);
  border-radius: var(--lgdf-radius, 12px);
  border-radius: 12px;
  padding: .35rem .5rem .35rem .9rem;
  box-shadow: 0 1px 2px rgba(11, 42, 107, .05);
  transition: border-color 160ms, box-shadow 160ms;
}
.entd-search-inner:focus-within {
  border-color: var(--lgdf-ink-400);
  box-shadow: 0 0 0 3px rgba(31, 74, 153, .14);
}
.entd-search-ic { color: var(--lgdf-stone-400); display: inline-flex; }
.entd-search-ic i, .entd-search-ic svg { width: 18px; height: 18px; }
.entd-search-input {
  flex: 1 1 auto; border: 0; outline: 0; background: transparent;
  font-size: .95rem; color: var(--lgdf-ink-900); padding: .5rem 0;
}
.entd-search-input::placeholder { color: var(--lgdf-stone-400); }
.entd-search-btn {
  flex: 0 0 auto; border: 0; border-radius: 8px;
  width: 38px; height: 38px; cursor: pointer;
  background: var(--lgdf-ink-700); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 160ms;
}
.entd-search-btn:hover { background: var(--lgdf-ink-800); }
.entd-search-btn i, .entd-search-btn svg { width: 18px; height: 18px; }

/* Suggestions */
.entd-suggestions {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
  background: var(--lgdf-paper-0);
  border: 1px solid var(--lgdf-stone-200); border-radius: 12px;
  box-shadow: 0 16px 40px -12px rgba(11, 42, 107, .18);
  overflow: hidden;
}
.entd-suggestions[hidden] { display: none; }
.detail-suggestion-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: .65rem .9rem; text-decoration: none;
  border-bottom: 1px solid var(--lgdf-stone-100);
}
.detail-suggestion-item:last-child { border-bottom: 0; }
.detail-suggestion-item:hover { background: var(--lgdf-paper-50); }
.detail-suggestion-name { font-weight: 600; color: var(--lgdf-ink-900); font-size: .9rem; }
.detail-suggestion-meta { display: flex; flex-wrap: wrap; gap: .6rem; font-size: .78rem; color: var(--lgdf-stone-500); }
.detail-suggestion-empty, .detail-suggestion-loading { padding: .8rem .9rem; font-size: .85rem; color: var(--lgdf-stone-500); }
.detail-suggestion-spinner {
  display: inline-block; width: 13px; height: 13px; vertical-align: -2px;
  border: 2px solid var(--lgdf-stone-300); border-top-color: var(--lgdf-ink-600);
  border-radius: 999px; animation: entdSpin .7s linear infinite;
}
@keyframes entdSpin { to { transform: rotate(360deg); } }

/* -------- Bandeau diffusion partielle -------- */
.entd-warning-banner {
  display: flex; align-items: center; gap: .75rem;
  background: var(--lgdf-warning-50, #FFF6E1); border: 1px solid #FCE3A8;
  border-radius: 10px; padding: .9rem 1.25rem; margin-bottom: 1.5rem;
  color: #9A5A00; font-size: .9rem;
}
.entd-warning-banner i, .entd-warning-banner svg { width: 20px; height: 20px; flex: 0 0 auto; color: #E08B00; }

/* -------- Carte récap principale -------- */
.entd-main-card { margin-bottom: 1.5rem; }
.entd-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 1px minmax(0, 1fr);
  gap: 2rem;
}
.entd-summary-divider { background: var(--lgdf-stone-200); width: 1px; }

.entd-sigle { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--lgdf-stone-500); margin: 0 0 .25rem; }
.entd-title {
  font-size: clamp(1.55rem, 3vw, 2.05rem); font-weight: 600;
  color: var(--lgdf-ink-900); line-height: 1.15; margin: 0 0 .35rem;
  letter-spacing: -0.01em;
}
.entd-subtitle { font-size: 1rem; color: var(--lgdf-stone-600); margin: 0 0 .5rem; }
.entd-intro { font-size: .92rem; color: var(--lgdf-stone-600); margin: .35rem 0 .5rem; }
.entd-source { font-size: .78rem; color: var(--lgdf-stone-400); margin: 0 0 1rem; }

/* Badge statut actif / radié */
.entd-status {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .75rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: #E6F6EE; color: #056647; margin-bottom: 1rem;
}
.entd-status svg, .entd-status i { width: 15px; height: 15px; }
.entd-status.is-inactive { background: var(--lgdf-red-50); color: var(--lgdf-red-700); }

/* Champ label / valeur */
.entd-field { margin-bottom: 1.1rem; }
.entd-field:last-child { margin-bottom: 0; }
.entd-label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .05em;
  font-weight: 600; color: var(--lgdf-stone-500); margin-bottom: .2rem;
}
.entd-value {
  font-size: .95rem; color: var(--lgdf-ink-900); font-weight: 500;
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.entd-value.tnum, .entd-value .tnum { font-variant-numeric: tabular-nums; }

/* Bouton copier */
.entd-copy {
  border: 0; background: transparent; cursor: pointer; padding: 2px;
  color: var(--lgdf-stone-400); display: inline-flex; line-height: 1;
  transition: color 140ms;
}
.entd-copy:hover { color: var(--lgdf-ink-600); }
.entd-copy i, .entd-copy svg { width: 15px; height: 15px; }

/* Séparateur horizontal entre haut d'identité et infos clés */
.entd-col-divider { height: 1px; background: var(--lgdf-stone-200); margin: 1.25rem 0; }

/* Lien "voir tous les dirigeants" + télécharger dans un champ */
.entd-field-inline { display: flex; align-items: center; gap: .6rem; }
.entd-plus-btn {
  border: 1px solid var(--lgdf-stone-200); background: var(--lgdf-paper-0);
  color: var(--lgdf-ink-700); border-radius: 999px; width: 26px; height: 26px;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: all 140ms;
}
.entd-plus-btn:hover { background: var(--lgdf-ink-50); border-color: var(--lgdf-ink-400); }
.entd-plus-btn i, .entd-plus-btn svg { width: 14px; height: 14px; }

/* -------- Sommaire scroll-spy -------- */
.entd-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; gap: .25rem; flex-wrap: wrap;
  padding: .5rem 0; margin-bottom: 1.5rem;
  background: var(--lgdf-paper-100);
  border-bottom: 1px solid var(--lgdf-stone-200);
  overflow-x: auto;
}
.entd-nav-link {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .85rem; border-radius: 8px; white-space: nowrap;
  font-size: .875rem; font-weight: 500; text-decoration: none;
  color: var(--lgdf-stone-600); transition: all 140ms;
}
.entd-nav-link:hover { background: var(--lgdf-paper-200); color: var(--lgdf-ink-800); }
.entd-nav-link.active { background: var(--lgdf-ink-700); color: #fff; }
.entd-nav-link i, .entd-nav-link svg { width: 15px; height: 15px; }

/* -------- Sections empilées -------- */
.entd-section { scroll-margin-top: 84px; margin-bottom: 1.5rem; }
.entd-section-head { margin-bottom: 1.75rem; }
.entd-section-title { font-size: 1.4rem; font-weight: 600; color: var(--lgdf-ink-900); margin: 0 0 .35rem; }
.entd-section-desc { font-size: .9rem; color: var(--lgdf-stone-500); margin: 0; max-width: 70ch; }

/* Grille interne d'une section (2 ou 3 colonnes + séparateur) */
.entd-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem 2.5rem;
}
.entd-col { display: flex; flex-direction: column; gap: 1.1rem; }
.entd-vsep { width: 1px; background: var(--lgdf-stone-200); }

/* Statut d'immatriculation (RCS / INSEE / RNE) */
.entd-reg { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.entd-reg-ok { color: #056647; font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.entd-reg-ko { color: var(--lgdf-red-600); font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.entd-reg-ok i, .entd-reg-ok svg, .entd-reg-ko i, .entd-reg-ko svg { width: 14px; height: 14px; }
.entd-reg-since { font-size: .82rem; color: var(--lgdf-stone-500); }
/* Rendu <button> (lien javascript:void retiré — SEO crawlable-anchors) */
.entd-reg-obs { font-size: .78rem; color: var(--lgdf-stone-500); text-decoration: none; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; text-align: left; }
.entd-reg-obs:hover { color: var(--lgdf-ink-600); text-decoration: underline; }
.entd-reg-dl { color: var(--lgdf-ink-600); display: inline-flex; }
.entd-reg-dl i, .entd-reg-dl svg { width: 16px; height: 16px; }

/* Boutons d'action (extrait RNE, avis SIRENE) dans la section Activité */
.entd-actions { display: flex; flex-direction: column; gap: .75rem; align-items: stretch; max-width: 260px; margin-left: auto; }

/* -------- Emplacement pub (à restyler en itération pub) -------- */
.entd-ad-slot { }

/* Pont de compat : le JS carte injecte du HTML référençant ces vars v1. */
.entd-container, .entd-fsmap {
  --color-primary: var(--lgdf-ink-700);
  --color-success: #056647;
  --color-text-primary: var(--lgdf-ink-900);
  --color-text-secondary: var(--lgdf-stone-500);
}

/* ============================================================
   Section ÉTABLISSEMENTS (+ carte)
   Les noms .etablissement-* sont conservés (le JS carte les cible).
   ============================================================ */
.entd-etab-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.75rem; }
.entd-etab-count-lbl { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; color: var(--lgdf-stone-500); }
.entd-etab-count-val { font-size: 1.7rem; font-weight: 600; color: var(--lgdf-ink-900); line-height: 1; margin-bottom: 1.1rem; }
.entd-etab-list { display: flex; flex-direction: column; gap: 1rem; }

.etablissement-card { border: 1px solid var(--lgdf-stone-200); border-radius: 12px; padding: 1.1rem 1.25rem; background: var(--lgdf-paper-0); transition: border-color 160ms, box-shadow 160ms; }
.etablissement-card.active-on-map { border-color: var(--lgdf-ink-400); box-shadow: 0 0 0 3px rgba(31, 74, 153, .10); }
.etablissement-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.etablissement-type { display: flex; align-items: center; gap: .6rem; }
.etablissement-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--lgdf-paper-200); color: var(--lgdf-ink-700); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.etablissement-icon i, .etablissement-icon svg { width: 16px; height: 16px; }
.etablissement-label { font-weight: 600; color: var(--lgdf-ink-900); font-size: .92rem; }
.etablissement-label.secondaire { font-weight: 500; }
.etablissement-status { font-size: .75rem; font-weight: 600; }
.etablissement-status.active { color: #056647; }
.etablissement-status.inactive { color: var(--lgdf-red-600); }
.etablissement-siret { display: flex; align-items: center; gap: .4rem; font-variant-numeric: tabular-nums; }
.etablissement-siret-value { font-size: .85rem; color: var(--lgdf-stone-700); }
.etablissement-copy { border: 0; background: transparent; cursor: pointer; color: var(--lgdf-stone-400); padding: 2px; display: inline-flex; }
.etablissement-copy:hover { color: var(--lgdf-ink-600); }
.etablissement-copy i, .etablissement-copy svg { width: 14px; height: 14px; }
.etablissement-separator { height: 1px; background: var(--lgdf-stone-100); margin: .9rem 0; }
.etablissement-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .9rem 1.5rem; }
.etablissement-column { display: flex; flex-direction: column; gap: .9rem; }
.etablissement-field-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; color: var(--lgdf-stone-500); margin-bottom: .15rem; }
.etablissement-field-value { font-size: .9rem; color: var(--lgdf-ink-900); }
.etablissement-field-value.primary { color: var(--lgdf-ink-700); font-weight: 600; }
.etablissement-address-link { display: inline-flex; align-items: center; gap: .3rem; margin-top: .3rem; font-size: .8rem; color: var(--lgdf-ink-600); text-decoration: none; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; }
.etablissement-address-link:hover { text-decoration: underline; }
.etablissement-address-link i, .etablissement-address-link svg { width: 13px; height: 13px; }

/* Carte (sticky) */
.entd-map { position: sticky; top: 84px; }
.entd-map-container { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--lgdf-stone-200); height: 440px; background: var(--lgdf-stone-100); }
.entd-map-container iframe { width: 100%; height: 100%; border: 0; display: block; }
.entd-map-fs-btn { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--lgdf-stone-200); background: var(--lgdf-paper-0); color: var(--lgdf-ink-700); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.entd-map-fs-btn i, .entd-map-fs-btn svg { width: 16px; height: 16px; }
.entd-map-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--lgdf-stone-500); padding: 1.5rem; gap: .5rem; }
.entd-map-placeholder i, .entd-map-placeholder svg { width: 32px; height: 32px; color: var(--lgdf-stone-300); }

/* État vide */
.entd-empty { text-align: center; padding: 3.5rem 1.25rem; color: var(--lgdf-stone-500); }
.entd-empty i, .entd-empty svg { width: 44px; height: 44px; color: var(--lgdf-stone-300); margin-bottom: .75rem; }
.entd-empty-title { font-size: 1.05rem; font-weight: 600; color: var(--lgdf-ink-800); display: block; margin-bottom: .25rem; }

/* Carte plein écran */
.entd-fsmap { display: none; position: fixed; inset: 0; z-index: 1080; background: rgba(2, 19, 61, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.entd-fsmap-container { position: absolute; inset: 3vh 3vw; display: grid; grid-template-columns: 1fr 320px; background: var(--lgdf-paper-0); border-radius: 16px; overflow: hidden; box-shadow: 0 32px 80px -24px rgba(2, 19, 61, .5); }
.entd-fsmap-content { position: relative; }
.entd-fsmap-content iframe { width: 100%; height: 100%; border: 0; }
.entd-fsmap-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--lgdf-stone-200); background: var(--lgdf-paper-0); color: var(--lgdf-ink-800); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.entd-fsmap-close i, .entd-fsmap-close svg { width: 18px; height: 18px; }
.entd-fsmap-sidebar { border-left: 1px solid var(--lgdf-stone-200); padding: 1.25rem; overflow-y: auto; background: var(--lgdf-paper-50); }
.entd-fsmap-sidebar h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 1rem; }
.fullscreen-etablissement-item { border: 1px solid var(--lgdf-stone-200); border-radius: 10px; padding: .8rem; margin-bottom: .7rem; background: var(--lgdf-paper-0); }
.fullscreen-etablissement-item.active { border-color: var(--lgdf-ink-400); box-shadow: 0 0 0 3px rgba(31, 74, 153, .10); }

/* ============================================================
   Section DIRIGEANTS
   ============================================================ */
.entd-dir-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem 2.5rem; }
.entd-dir-item { margin-bottom: 1rem; }
.entd-dir-role { font-size: .8rem; color: var(--lgdf-stone-500); }
.entd-dir-name { color: var(--lgdf-ink-700); font-weight: 600; font-size: 1rem; text-decoration: none; }
.entd-dir-name:hover { color: var(--lgdf-ink-800); text-decoration: underline; }
.entd-dir-meta { font-size: .78rem; color: var(--lgdf-stone-500); }
.entd-dir-teaser { font-size: .92rem; color: var(--lgdf-ink-800); font-weight: 500; }

/* ============================================================
   Section DOCUMENTS (actes AJAX + documents officiels)
   ============================================================ */
.entd-doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.entd-doc-card { position: relative; overflow: hidden; background: var(--lgdf-paper-0); border: 1px solid var(--lgdf-stone-200); border-radius: 12px; padding: 1.1rem 1.25rem 1.1rem 1.4rem; display: flex; flex-direction: column; justify-content: space-between; }
.entd-doc-card::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--lgdf-ink-700); }
.entd-doc-card.is-muted::before { background: var(--lgdf-stone-400); }
.entd-doc-head { display: flex; align-items: flex-start; gap: .85rem; margin-bottom: 1rem; }
.entd-doc-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--lgdf-ink-50); color: var(--lgdf-ink-700); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.entd-doc-ic.is-muted { background: var(--lgdf-stone-100); color: var(--lgdf-stone-600); }
.entd-doc-ic i, .entd-doc-ic svg { width: 20px; height: 20px; }
.entd-doc-title { font-size: .95rem; font-weight: 600; color: var(--lgdf-ink-900); margin: 0 0 4px; line-height: 1.35; }
.entd-doc-sub { font-size: .8rem; color: var(--lgdf-stone-500); display: inline-flex; align-items: center; gap: .35rem; }
.entd-doc-sub i, .entd-doc-sub svg { width: 13px; height: 13px; }
.entd-doc-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .6rem; border-radius: 8px; font-size: .875rem; font-weight: 500; text-decoration: none; background: var(--lgdf-paper-50); color: var(--lgdf-ink-700); border: 1px solid var(--lgdf-stone-200); transition: all 140ms; }
.entd-doc-btn:hover { background: var(--lgdf-ink-50); border-color: var(--lgdf-ink-200); color: var(--lgdf-ink-800); }
.entd-doc-btn i, .entd-doc-btn svg { width: 15px; height: 15px; }
.entd-doc-loader { text-align: center; padding: 2rem 1rem; color: var(--lgdf-stone-500); }
.entd-doc-loader .entd-spin { display: inline-block; width: 22px; height: 22px; border: 2.5px solid var(--lgdf-stone-200); border-top-color: var(--lgdf-ink-600); border-radius: 999px; animation: entdSpin .7s linear infinite; margin-bottom: .5rem; }
.entd-doc-error { text-align: center; padding: 2rem 1rem; background: var(--lgdf-red-50); border: 1px solid var(--lgdf-red-100); border-radius: 10px; color: var(--lgdf-red-700); }
.entd-doc-error i, .entd-doc-error svg { width: 24px; height: 24px; margin-bottom: .5rem; }
.entd-doc-error p { margin: 0; font-size: .875rem; }

/* ============================================================
   Section OBSERVATIONS (cartes inline + modal)
   ============================================================ */
.entd-obs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.entd-obs-card { background: var(--lgdf-paper-50); border: 1px solid var(--lgdf-stone-200); border-radius: 12px; padding: 1.1rem 1.25rem; }
.entd-obs-meta { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--lgdf-stone-500); font-weight: 600; margin: 0 0 .4rem; }
.entd-obs-text { font-size: .9rem; color: var(--lgdf-ink-800); line-height: 1.5; margin: 0; }

/* Modal observations (id #observations-modal-overlay ciblé par le JS) */
.observations-modal-overlay { display: none; position: fixed; inset: 0; z-index: 1080; background: rgba(2, 19, 61, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.observations-modal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(640px, 92vw); max-height: 85vh; display: flex; flex-direction: column; background: var(--lgdf-paper-0); border-radius: 16px; box-shadow: 0 32px 80px -24px rgba(2, 19, 61, .5); overflow: hidden; }
.observations-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--lgdf-stone-200); }
.observations-modal-header h3 { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--lgdf-ink-900); }
.observations-modal-close { border: 0; background: transparent; cursor: pointer; color: var(--lgdf-stone-600); width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.observations-modal-close:hover { background: var(--lgdf-paper-200); color: var(--lgdf-ink-800); }
.observations-modal-close i, .observations-modal-close svg { width: 18px; height: 18px; }
.observations-modal-content { padding: 1.25rem; overflow-y: auto; }
.observation-item { padding: .9rem 0; border-bottom: 1px solid var(--lgdf-stone-100); }
.observation-item:last-child { border-bottom: 0; }
.observation-date { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--lgdf-stone-500); font-weight: 600; margin-bottom: .25rem; }
.observation-text { font-size: .9rem; color: var(--lgdf-ink-800); line-height: 1.5; }
.observation-empty { text-align: center; padding: 2.5rem; color: var(--lgdf-stone-500); }

/* ============================================================
   Section DOMAINES
   ============================================================ */
.entd-domain-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.entd-domain-item a { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border: 1px solid var(--lgdf-stone-200); border-radius: 999px; background: var(--lgdf-paper-0); color: var(--lgdf-ink-700); text-decoration: none; font-size: .875rem; transition: all 140ms; }
.entd-domain-item a:hover { border-color: var(--lgdf-ink-400); background: var(--lgdf-ink-50); color: var(--lgdf-ink-800); }
.entd-domain-item i, .entd-domain-item svg { width: 14px; height: 14px; }

/* ============================================================
   Section FINANCES / BILANS
   ============================================================ */
.entd-fin-layout { display: flex; gap: 2rem; align-items: flex-start; flex-wrap: wrap; }
.entd-fin-chart { flex: 1 1 320px; min-width: 280px; }
.entd-fin-chart-canvas { position: relative; height: 260px; }
.entd-fin-chart-btns { display: flex; justify-content: center; gap: .5rem; margin-top: .9rem; flex-wrap: wrap; }
.bilan-chart-btn { padding: .4rem 1rem; border-radius: 8px; font-size: .8rem; font-weight: 500; border: 1px solid var(--lgdf-stone-200); background: var(--lgdf-paper-0); color: var(--lgdf-stone-700); cursor: pointer; transition: all 140ms; }
.bilan-chart-btn:hover { border-color: var(--lgdf-ink-300); }
.bilan-chart-btn.active { background: var(--lgdf-ink-700); color: #fff; border-color: var(--lgdf-ink-700); }
.entd-fin-table-wrap { flex: 1 1 320px; min-width: 280px; overflow-x: auto; }
.entd-fin-notice { background: var(--lgdf-ink-50); border: 1px solid var(--lgdf-ink-100); border-radius: 8px; padding: .75rem 1rem; margin-bottom: 1rem; display: flex; align-items: flex-start; gap: .6rem; font-size: .8rem; color: var(--lgdf-ink-800); }
.entd-fin-notice i, .entd-fin-notice svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; }
.entd-fin-table { border-collapse: collapse; font-size: .875rem; width: 100%; }
.entd-fin-table th.entd-fin-cat { text-align: left; padding: .55rem .6rem .4rem; font-size: .8rem; font-weight: 700; color: var(--lgdf-ink-900); border-bottom: 2px solid var(--lgdf-stone-200); }
.entd-fin-table th.entd-fin-year { text-align: right; padding: .55rem .6rem .4rem; font-size: .8rem; font-weight: 700; color: var(--lgdf-stone-600); border-bottom: 2px solid var(--lgdf-stone-200); min-width: 72px; }
.entd-fin-table td { padding: .4rem .6rem; border-bottom: 1px solid var(--lgdf-stone-100); color: var(--lgdf-stone-700); }
.entd-fin-table td.entd-fin-val { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--lgdf-ink-900); }
.entd-fin-table td.entd-fin-val.pos { color: #0E9F6E; }
.entd-fin-table td.entd-fin-val.neg { color: var(--lgdf-red-600); }
.entd-fin-source { margin-top: .75rem; font-size: .7rem; color: var(--lgdf-stone-400); text-align: right; }

/* ============================================================
   Recirculation bas de page (même jour, navigation jours, recherche)
   ============================================================ */
.entd-recirc { margin-top: 1.5rem; }
.entd-recirc-title { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; font-weight: 600; color: var(--lgdf-ink-900); margin: 0 0 .35rem; }
.entd-recirc-title i, .entd-recirc-title svg { width: 18px; height: 18px; color: var(--lgdf-ink-600); }
.entd-recirc-sub { font-size: .85rem; color: var(--lgdf-stone-500); margin: 0 0 1.25rem; }

.entd-same-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.entd-same-card { display: block; text-decoration: none; background: var(--lgdf-paper-50); border: 1px solid var(--lgdf-stone-200); border-radius: 12px; padding: 1rem 1.25rem; transition: all 160ms; }
.entd-same-card:hover { border-color: var(--lgdf-ink-400); box-shadow: 0 4px 12px -4px rgba(11, 42, 107, .12); }
.entd-same-name { font-weight: 600; font-size: .95rem; color: var(--lgdf-ink-900); margin-bottom: .4rem; }
.entd-same-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem; }
.entd-same-tag { font-size: .72rem; font-weight: 500; padding: .15rem .6rem; border-radius: 999px; background: var(--lgdf-ink-50); color: var(--lgdf-ink-700); }
.entd-same-tag.naf { background: #E6F6EE; color: #056647; }
.entd-same-meta { font-size: .8rem; color: var(--lgdf-stone-500); display: flex; flex-wrap: wrap; gap: .25rem .9rem; }
.entd-same-meta i, .entd-same-meta svg { width: 12px; height: 12px; vertical-align: -1px; }

.entd-daynav-current { margin-bottom: 1.25rem; }
.entd-daynav-current a { display: inline-flex; align-items: center; gap: .5rem; background: var(--lgdf-ink-700); color: #fff; font-size: .9rem; font-weight: 600; padding: .5rem 1.1rem; border-radius: 8px; text-decoration: none; }
.entd-daynav-current i, .entd-daynav-current svg { width: 14px; height: 14px; }
.entd-daynav-block { margin-bottom: 1rem; }
.entd-daynav-sub { font-size: .75rem; font-weight: 600; color: var(--lgdf-stone-600); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .6rem; display: flex; align-items: center; gap: .3rem; }
.entd-daynav-sub i, .entd-daynav-sub svg { width: 13px; height: 13px; }
.entd-day-count { font-size: .7rem; color: var(--lgdf-stone-400); margin-left: .2rem; }

.entd-recirc-search-title { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: 1.1rem; font-weight: 600; color: var(--lgdf-ink-900); margin: 0 0 .35rem; }
.entd-recirc-search-title i, .entd-recirc-search-title svg { width: 17px; height: 17px; color: var(--lgdf-ink-600); }
.entd-recirc-search-desc { font-size: .85rem; color: var(--lgdf-stone-500); margin: 0 auto 1.1rem; max-width: 48ch; text-align: center; }

/* ============================================================
   BLOCS PUB (cartes DS) + modal lead simplifié
   ============================================================ */
.ad-block { margin: 1rem 0 0; }
.ad-block-trigger { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 0; cursor: pointer; font: inherit; color: inherit; }

/* Variante compacte (sidebar / summary_right) */
.ad-variant-compact .ad-compact-inner { display: block; border: 1px solid var(--lgdf-stone-200); border-radius: 12px; padding: 1.1rem 1.25rem; background: var(--lgdf-paper-0); transition: all 160ms; }
.ad-variant-compact .ad-block-trigger:hover .ad-compact-inner { border-color: var(--lgdf-ink-400); box-shadow: 0 4px 12px -4px rgba(11, 42, 107, .12); }
.ad-compact-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--lgdf-ink-50); color: var(--lgdf-ink-700); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .6rem; }
.ad-compact-icon i, .ad-compact-icon svg { width: 20px; height: 20px; }
.ad-compact-title { display: block; font-weight: 600; color: var(--lgdf-ink-900); font-size: .95rem; margin-bottom: .3rem; }
.ad-compact-pitch { display: block; font-size: .82rem; color: var(--lgdf-stone-500); line-height: 1.45; margin-bottom: .6rem; }
.ad-compact-cta { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; color: var(--lgdf-ink-600); }
.ad-compact-cta i, .ad-compact-cta svg { width: 14px; height: 14px; }
.ad-compact-mention { display: block; font-size: .62rem; color: var(--lgdf-stone-400); text-transform: uppercase; letter-spacing: .05em; margin-top: .5rem; }

/* Variante bannière (pleine largeur) */
.ad-variant-banner .ad-banner-inner { display: flex; align-items: center; gap: 1rem; border: 1px solid var(--lgdf-stone-200); border-radius: 12px; padding: 1rem 1.25rem; background: var(--lgdf-paper-50); transition: all 160ms; position: relative; }
.ad-variant-banner .ad-block-trigger:hover .ad-banner-inner { border-color: var(--lgdf-ink-400); box-shadow: 0 4px 12px -4px rgba(11, 42, 107, .12); }
.ad-banner-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--lgdf-ink-50); color: var(--lgdf-ink-700); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ad-banner-icon i, .ad-banner-icon svg { width: 22px; height: 22px; }
.ad-banner-content { flex: 1 1 auto; min-width: 0; }
.ad-banner-title { display: block; font-weight: 600; color: var(--lgdf-ink-900); font-size: .95rem; margin-bottom: .15rem; }
.ad-banner-pitch { display: block; font-size: .82rem; color: var(--lgdf-stone-500); line-height: 1.4; }
.ad-banner-cta { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; color: #fff; background: var(--lgdf-ink-700); padding: .5rem .9rem; border-radius: 8px; }
.ad-banner-cta i, .ad-banner-cta svg { width: 14px; height: 14px; }
.ad-banner-mention { position: absolute; top: 6px; right: 10px; font-size: .58rem; color: var(--lgdf-stone-400); text-transform: uppercase; letter-spacing: .05em; }

/* Modal lead */
.ad-modal-overlay { display: none; position: fixed; inset: 0; z-index: 1090; background: rgba(2, 19, 61, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: 1rem; }
.ad-modal-overlay.is-open { display: flex; }
.ad-modal { width: min(460px, 96vw); background: var(--lgdf-paper-0); border-radius: 16px; box-shadow: 0 32px 80px -24px rgba(2, 19, 61, .5); overflow: hidden; max-height: 92vh; display: flex; flex-direction: column; }
.ad-modal-head { padding: 1.5rem 1.5rem 0; position: relative; }
.ad-modal-close { position: absolute; top: 12px; right: 12px; border: 0; background: transparent; color: var(--lgdf-stone-500); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ad-modal-close:hover { background: var(--lgdf-paper-200); color: var(--lgdf-ink-800); }
.ad-modal-close i, .ad-modal-close svg { width: 18px; height: 18px; }
.ad-modal-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--lgdf-ink-50); color: var(--lgdf-ink-700); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .85rem; }
.ad-modal-icon i, .ad-modal-icon svg { width: 26px; height: 26px; }
.ad-modal-title { font-size: 1.15rem; font-weight: 600; color: var(--lgdf-ink-900); margin: 0 0 .4rem; line-height: 1.3; }
.ad-modal-pitch { font-size: .9rem; color: var(--lgdf-stone-600); line-height: 1.5; margin: 0; }
.ad-modal-body { padding: 1.25rem 1.5rem 1.5rem; overflow-y: auto; }
.ad-modal-field { margin-bottom: .85rem; }
.ad-modal-label { display: block; font-size: .78rem; font-weight: 600; color: var(--lgdf-ink-800); margin-bottom: .3rem; }
.ad-modal-input { width: 100%; border: 1px solid var(--lgdf-stone-300); border-radius: 8px; padding: .6rem .8rem; font-size: .9rem; color: var(--lgdf-ink-900); background: var(--lgdf-paper-0); }
.ad-modal-input:focus { outline: 0; border-color: var(--lgdf-ink-400); box-shadow: 0 0 0 3px rgba(31, 74, 153, .14); }
.ad-modal-submit { width: 100%; border: 0; border-radius: 8px; background: var(--lgdf-ink-700); color: #fff; font-weight: 600; font-size: .92rem; padding: .7rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; transition: background 140ms; margin-top: .35rem; }
.ad-modal-submit:hover { background: var(--lgdf-ink-800); }
.ad-modal-submit:disabled { opacity: .7; cursor: default; }
.ad-modal-legal { font-size: .72rem; color: var(--lgdf-stone-400); margin: .75rem 0 0; text-align: center; }
.ad-modal-mention { font-size: .6rem; color: var(--lgdf-stone-400); text-transform: uppercase; letter-spacing: .05em; margin-top: .6rem; text-align: center; }
.ad-modal-success { display: none; text-align: center; padding: 1rem 0; }
.ad-modal-success.is-visible { display: block; }
.ad-modal-success-icon { width: 56px; height: 56px; border-radius: 999px; background: #E6F6EE; color: #056647; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .85rem; }
.ad-modal-success-icon i, .ad-modal-success-icon svg { width: 28px; height: 28px; }

@media (max-width: 640px) {
  .ad-variant-banner .ad-banner-inner { flex-wrap: wrap; }
  .ad-banner-cta { width: 100%; justify-content: center; }
}

/* -------- Responsive fiche détail -------- */
@media (max-width: 860px) {
  .entd-summary { grid-template-columns: 1fr; gap: 1.25rem; }
  .entd-summary-divider { display: none; }
  .entd-actions { max-width: none; margin-left: 0; }
  .entd-etab-layout { grid-template-columns: 1fr; }
  .entd-map { position: static; }
  .entd-fsmap-container { grid-template-columns: 1fr; }
  .entd-fsmap-sidebar { display: none; }
}

/* ============================================================
   FICHE DIRIGEANT (.dirp-*) — design v2
   Complète les primitives .entd-* réutilisées par
   templates_v2/entreprise/dirigeant/show.html.twig.
   ============================================================ */

/* -------- En-tête de profil -------- */
.dirp-head { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: start; }
.dirp-avatar {
  width: 64px; height: 64px; border-radius: 999px; flex-shrink: 0;
  background: var(--lgdf-paper-200); color: var(--lgdf-ink-600);
  display: inline-flex; align-items: center; justify-content: center;
}
.dirp-avatar i, .dirp-avatar svg { width: 30px; height: 30px; }
.dirp-head-main { min-width: 0; }

.dirp-meta-row { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin: .5rem 0 .9rem; }
.dirp-meta-item { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--lgdf-stone-500); }
.dirp-meta-item i, .dirp-meta-item svg { width: 14px; height: 14px; color: var(--lgdf-stone-400); }

.dirp-intro { font-size: .95rem; line-height: 1.6; color: var(--lgdf-ink-700); margin: 0 0 .85rem; max-width: 78ch; }

/* -------- Compteurs -------- */
.dirp-stats { display: flex; gap: .6rem; flex-wrap: wrap; }
.dirp-stat {
  min-width: 82px; padding: .7rem .9rem; border-radius: 12px; text-align: center;
  background: var(--lgdf-paper-50); border: 1px solid var(--lgdf-stone-200);
}
.dirp-stat.is-ok { background: #E6F6EE; border-color: #BFE7D4; }
.dirp-stat.is-muted { background: var(--lgdf-paper-100); }
.dirp-stat-val { display: block; font-size: 1.5rem; font-weight: 650; line-height: 1.1; color: var(--lgdf-ink-900); font-variant-numeric: tabular-nums; }
.dirp-stat.is-ok .dirp-stat-val { color: #056647; }
.dirp-stat-lbl { display: block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--lgdf-stone-500); margin-top: .15rem; }

/* -------- Cartes de mandat -------- */
.dirp-mandat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.dirp-mandat-card {
  border: 1px solid var(--lgdf-stone-200); border-left: 4px solid var(--lgdf-stone-300);
  border-radius: 14px; padding: 1.1rem 1.2rem; background: #fff;
  display: flex; flex-direction: column;
}
.dirp-mandat-card.is-active { border-left-color: #056647; }
.dirp-mandat-card.is-inactive { border-left-color: var(--lgdf-stone-300); background: var(--lgdf-paper-50); }

.dirp-mandat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; margin-bottom: .6rem; }
.dirp-mandat-role { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--lgdf-stone-500); }

.dirp-badge { display: inline-flex; align-items: center; gap: .25rem; flex-shrink: 0; padding: .15rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 600; }
.dirp-badge i, .dirp-badge svg { width: 12px; height: 12px; }
.dirp-badge.is-ok { background: #E6F6EE; color: #056647; }
.dirp-badge.is-off { background: var(--lgdf-paper-200); color: var(--lgdf-stone-500); }

.dirp-mandat-name { font-size: 1.05rem; font-weight: 600; margin: 0 0 .15rem; line-height: 1.35; }
.dirp-mandat-name a { color: var(--lgdf-ink-900); text-decoration: none; }
.dirp-mandat-name a:hover { color: var(--lgdf-ink-600); text-decoration: underline; }
.dirp-mandat-forme { font-size: .82rem; color: var(--lgdf-stone-500); margin: 0 0 .85rem; }

.dirp-mandat-meta { margin: 0 0 .85rem; display: grid; gap: .5rem; }
.dirp-mandat-meta > div { display: grid; grid-template-columns: 40% 1fr; gap: .5rem; align-items: baseline; }
.dirp-mandat-meta dt { font-size: .76rem; color: var(--lgdf-stone-500); font-weight: 500; margin: 0; }
.dirp-mandat-meta dd { font-size: .85rem; color: var(--lgdf-ink-800); font-weight: 500; margin: 0; }

.dirp-mandat-objet { font-size: .83rem; line-height: 1.55; color: var(--lgdf-ink-700); margin: 0 0 .85rem; padding-top: .7rem; border-top: 1px solid var(--lgdf-stone-200); }
.dirp-mandat-maj { display: flex; align-items: center; gap: .35rem; font-size: .74rem; color: var(--lgdf-stone-400); margin: 0 0 .8rem; }
.dirp-mandat-maj i, .dirp-mandat-maj svg { width: 12px; height: 12px; }

.dirp-mandat-link { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-size: .84rem; font-weight: 600; color: var(--lgdf-ink-700); text-decoration: none; }
.dirp-mandat-link:hover { color: var(--lgdf-ink-900); text-decoration: underline; }
.dirp-mandat-link i, .dirp-mandat-link svg { width: 15px; height: 15px; }

/* -------- Étiquettes (secteurs, communes) -------- */
.dirp-tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.dirp-tag {
  display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 500;
  background: var(--lgdf-paper-100); color: var(--lgdf-ink-700); border: 1px solid var(--lgdf-stone-200);
}

/* -------- Réseau -------- */
.dirp-person-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.dirp-person-card { display: flex; gap: .85rem; padding: 1rem 1.1rem; border: 1px solid var(--lgdf-stone-200); border-radius: 14px; background: #fff; }
.dirp-person-avatar {
  width: 42px; height: 42px; border-radius: 999px; flex-shrink: 0;
  background: var(--lgdf-paper-200); color: var(--lgdf-ink-600);
  display: inline-flex; align-items: center; justify-content: center;
}
.dirp-person-avatar i, .dirp-person-avatar svg { width: 20px; height: 20px; }
.dirp-person-body { min-width: 0; }
.dirp-person-name { font-size: .98rem; font-weight: 600; margin: 0 0 .4rem; }
.dirp-person-name a { color: var(--lgdf-ink-900); text-decoration: none; }
.dirp-person-name a:hover { color: var(--lgdf-ink-600); text-decoration: underline; }
.dirp-person-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .6rem; }
.dirp-person-tags .dirp-tag { font-size: .73rem; }
.dirp-person-socs-lbl { display: block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--lgdf-stone-500); margin-bottom: .3rem; }
.dirp-person-socs ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .25rem; }
.dirp-person-socs a { display: inline-flex; align-items: center; gap: .35rem; font-size: .83rem; color: var(--lgdf-ink-700); text-decoration: none; }
.dirp-person-socs a:hover { color: var(--lgdf-ink-900); text-decoration: underline; }
.dirp-person-socs i, .dirp-person-socs svg { width: 13px; height: 13px; color: var(--lgdf-stone-400); flex-shrink: 0; }

/* -------- FAQ (<details> natif, sans JS) -------- */
.dirp-faq { display: flex; flex-direction: column; gap: .6rem; }
.dirp-faq-item { border: 1px solid var(--lgdf-stone-200); border-radius: 12px; overflow: hidden; background: #fff; }
.dirp-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .95rem 1.1rem; cursor: pointer; list-style: none; background: var(--lgdf-paper-50);
}
.dirp-faq-q::-webkit-details-marker { display: none; }
.dirp-faq-q h3 { font-size: .95rem; font-weight: 600; color: var(--lgdf-ink-900); margin: 0; }
.dirp-faq-q i, .dirp-faq-q svg { width: 17px; height: 17px; color: var(--lgdf-stone-400); flex-shrink: 0; transition: transform .15s ease; }
.dirp-faq-item[open] .dirp-faq-q { background: #fff; border-bottom: 1px solid var(--lgdf-stone-200); }
.dirp-faq-item[open] .dirp-faq-q i, .dirp-faq-item[open] .dirp-faq-q svg { transform: rotate(180deg); }
.dirp-faq-a { padding: .95rem 1.1rem; font-size: .89rem; line-height: 1.65; color: var(--lgdf-ink-700); }

/* -------- Note de source -------- */
.dirp-source-note {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .82rem; color: var(--lgdf-stone-500);
  margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--lgdf-stone-200);
}
.dirp-source-note i, .dirp-source-note svg { width: 15px; height: 15px; color: var(--lgdf-stone-400); }

/* -------- Responsive fiche dirigeant -------- */
@media (max-width: 860px) {
  .dirp-head { grid-template-columns: auto 1fr; }
  .dirp-stats { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .dirp-head { grid-template-columns: 1fr; }
  .dirp-mandat-grid, .dirp-person-grid { grid-template-columns: 1fr; }
  .dirp-mandat-meta > div { grid-template-columns: 1fr; gap: .1rem; }
}
