/* ============================================================
   Réseau des professionnels — feuille dédiée.
   S'appuie sur les jetons de app.css (--navy-*, --powder-*, --ink…)
   sans la modifier : app.css garde sa version unique (v=N).
   ============================================================ */

.net-hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  padding: 56px 0 64px;
}
.net-hero .kicker { color: var(--powder-400); }
.net-hero h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 820px; margin: 6px 0 12px; }
.net-hero .lead { color: var(--powder-200); max-width: 720px; }
.net-count { margin-top: 16px; color: var(--powder-300); font-size: .92rem; }

.net-search { display: flex; gap: 8px; max-width: 720px; margin-top: 26px; background: var(--white); border-radius: 14px; padding: 6px; box-shadow: var(--shadow-lg); }
.net-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1.02rem; padding: 12px 14px; color: var(--ink); background: transparent; }
.net-search button { white-space: nowrap; }
.net-search.is-compact { box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-top: 0; max-width: none; }

.net-section { padding: 46px 0; }
.net-section + .net-section { padding-top: 10px; }
.net-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.net-section-head h2 { margin: 0; font-size: 1.45rem; }
.net-section-head a { font-weight: 700; font-size: .92rem; }

.net-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.net-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; }
.net-chip:hover, .net-chip.is-active { border-color: var(--navy-700); background: var(--powder-100); }
.net-chip small { color: var(--ink-soft); font-weight: 600; }

.net-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.net-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .18s, transform .18s; }
.net-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.net-card-cover { aspect-ratio: 16 / 7; background: var(--powder-100); overflow: hidden; }
.net-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.net-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.net-card-id { display: flex; align-items: center; gap: 12px; }
.net-card h3 { font-size: 1.06rem; margin: 0; line-height: 1.25; font-family: var(--font-body); font-weight: 700; }
.net-card-prof { color: var(--navy-700); font-weight: 600; font-size: .88rem; }
.net-card-summary { color: var(--ink-soft); font-size: .92rem; margin: 2px 0 0; }
.net-card-place { margin-top: auto; padding-top: 8px; color: var(--ink-soft); font-size: .86rem; }

.net-avatar { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 12px; background: var(--powder-200); color: var(--navy-800); display: grid; place-items: center; font-weight: 800; overflow: hidden; border: 1px solid var(--line); }
.net-avatar img { width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.net-avatar.is-lg { width: 96px; height: 96px; border-radius: 18px; font-size: 1.6rem; }

.net-badge-premium { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: var(--amber-100); color: #8a5520; font-size: .74rem; font-weight: 700; vertical-align: middle; }

.net-empty { text-align: center; padding: 44px 20px; background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--ink-soft); }
.net-empty h3 { color: var(--ink); margin: 0 0 6px; }

.net-how { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.net-how div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
.net-how strong { display: block; margin-bottom: 4px; }
.net-how p { margin: 0; color: var(--ink-soft); font-size: .93rem; }

.net-cta { background: var(--powder-100); border-radius: var(--radius-lg); padding: 28px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.net-cta h2 { margin: 0 0 4px; font-size: 1.35rem; }
.net-cta p { margin: 0; color: var(--ink-soft); max-width: 620px; }
.net-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Publications */
.net-pub { display: grid; grid-template-columns: 120px 1fr; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; }
.net-pub-img { aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--powder-100); }
.net-pub-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.net-pub-type { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--navy-600); }
.net-pub h3 { font-size: 1.02rem; margin: 2px 0 4px; font-family: var(--font-body); }
.net-pub h3 a { color: var(--ink); }
.net-pub p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.net-pub-meta { font-size: .84rem; color: var(--ink-soft); margin-top: 6px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.net-pubs { display: grid; gap: 14px; }
.net-pubs.is-two { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
@media (max-width: 520px) {
  .net-pub { grid-template-columns: 1fr; }
  .net-pub-img { aspect-ratio: 16 / 8; }
  .net-pubs.is-two { grid-template-columns: 1fr; }
}

/* ---------- Annuaire */
.net-dir { display: grid; grid-template-columns: 270px 1fr; gap: 26px; align-items: start; }
.net-filters { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; position: sticky; top: 90px; }
.net-filters label { display: block; font-weight: 700; font-size: .86rem; margin: 12px 0 4px; }
.net-filters label:first-of-type { margin-top: 0; }
.net-filters .input { width: 100%; }
.net-filters .btn { width: 100%; margin-top: 16px; }
.net-results-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin: 18px 0 14px; color: var(--ink-soft); }
@media (max-width: 900px) {
  .net-dir { grid-template-columns: 1fr; }
  .net-filters { position: static; }
}

/* ---------- Fiche */
.net-profile-head { background: var(--white); border-bottom: 1px solid var(--line); }
.net-profile-cover { height: 220px; background: var(--powder-100) center / cover no-repeat; }
.net-profile-id { display: flex; gap: 20px; align-items: flex-end; flex-wrap: wrap; padding: 0 0 22px; }
.net-profile-id .net-avatar { margin-top: -48px; box-shadow: var(--shadow-md); }
.net-profile-head.no-cover .net-profile-id { padding-top: 28px; }
.net-profile-head.no-cover .net-avatar { margin-top: 0; }
.net-profile-id h1 { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.net-profile-id .net-card-prof { font-size: 1rem; }
.net-profile-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.net-profile-body { display: grid; grid-template-columns: 1fr 320px; gap: 26px; padding: 30px 0 50px; align-items: start; }
.net-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; }
.net-panel + .net-panel { margin-top: 18px; }
.net-panel h2 { font-size: 1.15rem; margin: 0 0 10px; font-family: var(--font-body); }
.net-about { white-space: pre-line; color: var(--ink); line-height: 1.6; }
.net-services { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.net-services li { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.net-services strong { display: block; }
.net-services span { color: var(--ink-soft); font-size: .9rem; }
.net-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.net-contact a { word-break: break-word; }
.net-note { font-size: .82rem; color: var(--ink-soft); }
.net-preview-bar { background: var(--amber-100); color: #6d4316; padding: 10px 0; font-weight: 600; font-size: .92rem; }
.net-preview-bar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 900px) {
  .net-profile-body { grid-template-columns: 1fr; }
  .net-profile-cover { height: 150px; }
  .net-profile-actions { margin-left: 0; width: 100%; }
}

.net-report summary { cursor: pointer; color: var(--ink-soft); font-size: .86rem; }
.net-report form { margin-top: 10px; display: grid; gap: 8px; }
.net-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Espace propriétaire */
.net-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.net-toggle strong { display: block; font-size: 1.02rem; }
.net-switch { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.net-switch-track { width: 44px; height: 24px; border-radius: 999px; background: var(--line); position: relative; transition: background .15s; }
.net-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); transition: left .15s; }
.net-switch.is-on .net-switch-track { background: var(--green-600); }
.net-switch.is-on .net-switch-track::after { left: 23px; }
.net-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.net-checks li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 7px 0; font-size: .93rem; }
.net-checks .ok { color: var(--green-600); font-weight: 700; }
.net-checks .ko { color: var(--ink-soft); }
.net-state { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--powder-100); color: var(--navy-800); }
.net-state.is-on { background: #e1f1e9; color: var(--green-600); }
.net-state.is-off { background: var(--red-100); color: var(--red-600); }
