/* =========================================================
   VRP38 — Espace membre V17
   CSS consolidé : aucune règle héritée des versions précédentes.
========================================================= */

:root {
  --vrp38-blue: #2f6f91;
  --vrp38-blue-2: #5aa3ca;
  --vrp38-blue-dark: #11344a;
  --vrp38-blue-soft: #dff2ff;
  --vrp38-bg-soft: #f6f8fb;
  --vrp38-white: #ffffff;
  --vrp38-text: #111827;
  --vrp38-muted: #64748b;
  --vrp38-border: #d8e4ef;
  --vrp38-border-strong: #bdd4e9;
  --vrp38-shadow: 0 20px 55px rgba(15, 23, 42, .08);
  --vrp38-shadow-soft: 0 12px 32px rgba(15, 23, 42, .06);
  --vrp38-radius-lg: 26px;
  --vrp38-radius-md: 18px;
}

.vrp38-member-space,
.vrp38-member-space *,
.vrp38-directory,
.vrp38-directory *,
.vrp38-profile-overlay,
.vrp38-profile-overlay *,
.vrp38-logos-grid,
.vrp38-logos-grid * {
  box-sizing: border-box;
}

html.vrp38-profile-open,
body.vrp38-profile-open {
  overflow: hidden !important;
}

.vrp38-member-space {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--vrp38-text);
}

.vrp38-eyebrow {
  margin: 0 0 10px;
  color: var(--vrp38-blue);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* HERO */
.vrp38-private-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 48px;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--vrp38-border);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 0%, rgba(47,111,145,.16), transparent 34%),
    radial-gradient(circle at 100% 12%, rgba(90,163,202,.16), transparent 34%),
    linear-gradient(135deg, #fff 0%, #f6fbff 100%);
  box-shadow: var(--vrp38-shadow);
}

.vrp38-private-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -210px;
  width: 500px;
  height: 500px;
  border: 82px solid rgba(47,111,145,.055);
  border-radius: 50%;
  pointer-events: none;
}

.vrp38-private-hero-content {
  position: relative;
  z-index: 1;
}

.vrp38-private-hero h1 {
  max-width: 1080px;
  margin: 0;
  color: var(--vrp38-blue-dark);
  font-size: clamp(2.1rem, 5vw, 4.3rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.vrp38-private-lead {
  max-width: 960px;
  margin: 24px 0 0;
  color: #425466;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.65;
}

.vrp38-private-tabs-wrap {
  margin: clamp(24px, 3vw, 34px) 0 0;
  padding: 0;
}

.vrp38-private-tabs {
  width: auto;
  max-width: 100%;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--vrp38-border);
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
  backdrop-filter: blur(14px);
}

.vrp38-private-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .65rem 1rem;
  border-radius: 999px;
  color: var(--vrp38-blue-dark) !important;
  font-weight: 850;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.vrp38-private-tab:hover {
  transform: translateY(-1px);
  background: #edf6ff;
}

.vrp38-private-tab.is-active {
  color: #fff !important;
  background: var(--vrp38-blue-dark);
}

/* SECTIONS */
.vrp38-member-section {
  margin: 0 0 74px;
  scroll-margin-top: 90px;
}

.vrp38-section-heading {
  max-width: 850px;
  margin: 0 0 26px;
}

.vrp38-section-heading h2 {
  margin: 0;
  color: var(--vrp38-blue-dark);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.vrp38-section-heading p:not(.vrp38-eyebrow) {
  margin: 10px 0 0;
  color: var(--vrp38-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* LOGIN */
.vrp38-login-required {
  width: min(760px, calc(100% - 32px));
  margin: 60px auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--vrp38-border);
  border-radius: var(--vrp38-radius-lg);
  background: #fff;
  box-shadow: var(--vrp38-shadow);
  text-align: center;
}

.vrp38-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .85rem 1.15rem;
  border-radius: 999px;
  background: var(--vrp38-blue-dark);
  color: #fff !important;
  font-weight: 850;
  text-decoration: none !important;
}

/* DIRECTORY FILTERS */
.vrp38-filter-panel {
  padding: 18px 22px;
  margin: 0 0 28px;
  border: 1px solid var(--vrp38-border-strong);
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--vrp38-shadow-soft);
}

.vrp38-search-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  color: var(--vrp38-blue);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 850;
}

.vrp38-search-label input {
  width: min(420px, 100%);
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 13px;
  background: #fff;
  color: var(--vrp38-text);
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  outline: none;
}

.vrp38-search-label input:focus {
  border-color: var(--vrp38-blue);
  box-shadow: 0 0 0 4px rgba(47,111,145,.13);
}

.vrp38-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.vrp38-filter-btn {
  appearance: none;
  min-height: 36px;
  padding: .48rem .82rem;
  border: 1px solid #cfd8e3;
  border-radius: 999px;
  background: #f5f7fa;
  color: #3f4650;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.vrp38-filter-btn small {
  margin-left: 4px;
  opacity: .72;
  font-weight: 900;
}

.vrp38-filter-btn:hover {
  transform: translateY(-1px);
  border-color: var(--vrp38-blue);
}

.vrp38-filter-btn.is-active {
  color: #fff;
  background: #075d7c;
  border-color: #075d7c;
  box-shadow: 0 8px 20px rgba(7, 93, 124, .17);
}

.vrp38-results-count {
  margin: 14px 0 0;
  color: var(--vrp38-muted);
  font-size: .94rem;
  font-weight: 750;
}

.vrp38-no-results,
.vrp38-empty {
  padding: 18px;
  border: 1px dashed var(--vrp38-border-strong);
  border-radius: var(--vrp38-radius-md);
  background: var(--vrp38-bg-soft);
  color: var(--vrp38-muted);
  font-weight: 750;
  text-align: center;
}

/* PARTNER CARDS */
.vrp38-partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.vrp38-partner-card {
  min-width: 0;
  animation: vrp38FadeUp .45s ease both;
}

.vrp38-partner-card[hidden] {
  display: none !important;
}

.vrp38-partner-card-inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 124px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 40px;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--vrp38-border);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .045);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.vrp38-partner-card-inner:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: 0 20px 46px rgba(15, 23, 42, .08);
}

.vrp38-card-border {
  position: absolute;
  z-index: 4;
  display: block;
  pointer-events: none;
  background: linear-gradient(90deg, var(--vrp38-blue), var(--vrp38-blue-2));
  opacity: 0;
  transition: width .52s cubic-bezier(.19, 1, .22, 1), height .52s cubic-bezier(.19, 1, .22, 1), opacity .12s ease;
}

.vrp38-card-border-top { top: 0; left: 0; width: 0; height: 3px; }
.vrp38-card-border-right { top: 0; right: 0; width: 3px; height: 0; transition-delay: .12s; }
.vrp38-card-border-bottom { right: 0; bottom: 0; width: 0; height: 3px; transition-delay: .24s; }
.vrp38-card-border-left { left: 0; bottom: 0; width: 3px; height: 0; transition-delay: .36s; }

.vrp38-partner-card-inner:hover .vrp38-card-border { opacity: 1; }
.vrp38-partner-card-inner:hover .vrp38-card-border-top,
.vrp38-partner-card-inner:hover .vrp38-card-border-bottom { width: 100%; }
.vrp38-partner-card-inner:hover .vrp38-card-border-right,
.vrp38-partner-card-inner:hover .vrp38-card-border-left { height: 100%; }

.vrp38-partner-card-inner > *:not(.vrp38-card-border) {
  position: relative;
  z-index: 2;
}

.vrp38-partner-logo {
  width: 88px;
  min-width: 88px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vrp38-partner-logo img {
  max-width: 78px;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.vrp38-logo-placeholder {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--vrp38-border);
  border-radius: 16px;
  background: linear-gradient(135deg, #eaf6ff, #f6f8fb);
  color: var(--vrp38-blue);
  font-weight: 950;
}

.vrp38-partner-info {
  min-width: 0;
}

.vrp38-partner-info h3 {
  margin: 0 0 8px;
  color: var(--vrp38-text);
  font-size: clamp(1.1rem, 1.7vw, 1.34rem);
  line-height: 1.12;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}

.vrp38-partner-info > p {
  display: none;
}

.vrp38-domain-list,
.vrp38-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vrp38-domain-badge,
.vrp38-new-badge {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: .28rem .68rem;
  border-radius: 999px;
  background: var(--vrp38-blue-soft);
  color: #1d70a8;
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.vrp38-new-badge,
.vrp38-domain-badge.vrp38-new {
  background: #fff3d6;
  color: #9a6400;
}

.vrp38-partner-card .vrp38-new-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  min-height: 22px;
  padding: .18rem .5rem;
  font-size: .62rem;
}

.vrp38-card-plus {
  width: 38px;
  height: 38px;
  min-width: 38px;
  place-self: start end;
  display: grid;
  place-items: center;
  border: 1px solid var(--vrp38-border-strong);
  border-radius: 999px;
  background: #f8fbff;
  color: var(--vrp38-blue-dark);
  font-size: 1.28rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15,23,42,.08);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.vrp38-partner-card-inner:hover .vrp38-card-plus {
  transform: rotate(90deg) scale(1.04);
  border-color: var(--vrp38-blue);
  background: #fff;
}

/* PARTNER OVERLAY */
.vrp38-profile-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: none !important;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100dvh;
  padding: 32px;
}

.vrp38-profile-overlay.is-open,
.vrp38-profile-overlay[aria-hidden="false"] {
  display: flex !important;
}

.vrp38-profile-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  border: 0;
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(47,111,145,.22), transparent 30%),
    rgba(20, 31, 44, .76);
  backdrop-filter: blur(9px);
  cursor: pointer;
}

.vrp38-profile-panel {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 64px));
  max-height: calc(100dvh - 64px);
  overflow: auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(216,228,239,.95);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(223,242,255,.72), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color: var(--vrp38-text);
  box-shadow: 0 36px 110px rgba(0,0,0,.32);
}

.vrp38-profile-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 5;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  margin: -8px -8px 8px 16px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #102033;
  box-shadow: 0 12px 28px rgba(15,23,42,.18);
  font-size: 32px;
  line-height: 52px;
  text-align: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.vrp38-profile-close:hover {
  transform: rotate(90deg);
  background: #f6f9fc;
}

.vrp38-profile-header {
  clear: both;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 0 70px 28px 0;
  border-bottom: 1px solid var(--vrp38-border);
}

.vrp38-profile-logo {
  width: 148px;
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--vrp38-border);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15,23,42,.06);
}

.vrp38-profile-logo img {
  max-width: 112px;
  max-height: 112px;
  object-fit: contain;
}

.vrp38-profile-heading { min-width: 0; }

.vrp38-profile-kicker {
  margin: 0 0 10px;
  color: var(--vrp38-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.vrp38-profile-heading h2 {
  margin: 0 0 12px;
  color: var(--vrp38-text);
  font-size: clamp(2rem, 4.5vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.vrp38-profile-company {
  margin: -2px 0 16px;
  color: #5d6b7c;
  font-size: clamp(1.05rem, 1.75vw, 1.28rem);
  line-height: 1.35;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.vrp38-profile-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  padding-top: 28px;
}

.vrp38-profile-main {
  min-width: 0;
  display: grid;
  gap: 20px;
}

.vrp38-profile-section,
.vrp38-profile-actions-card {
  padding: 22px;
  border: 1px solid var(--vrp38-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15,23,42,.04);
}

.vrp38-profile-coordinates {
  order: -5;
  border-color: var(--vrp38-border-strong);
  background:
    radial-gradient(circle at top right, rgba(90,163,202,.10), transparent 38%),
    #fff;
}

.vrp38-profile-section h3,
.vrp38-profile-actions-card h3 {
  margin: 0 0 14px;
  color: var(--vrp38-blue-dark);
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 900;
}

.vrp38-profile-contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vrp38-profile-contact-item {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px 14px;
  border-radius: 16px;
  background: #f6f8fb;
}

.vrp38-profile-contact-item span {
  color: var(--vrp38-blue-dark);
  font-size: .86rem;
  font-weight: 900;
}

.vrp38-profile-contact-item strong,
.vrp38-profile-contact-item a {
  color: #263241;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.vrp38-profile-contact-item a { color: #0969b3 !important; }

.vrp38-profile-hook {
  margin: 0;
  padding: 18px 20px;
  border-left: 4px solid var(--vrp38-blue);
  border-radius: 18px;
  background: #f6fbff;
  color: var(--vrp38-blue-dark);
  font-size: 1.12rem;
  line-height: 1.55;
  font-weight: 750;
}

.vrp38-profile-description {
  color: #263241;
  font-size: 1.04rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.vrp38-profile-description > *:first-child { margin-top: 0; }
.vrp38-profile-description > *:last-child { margin-bottom: 0; }

.vrp38-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vrp38-profile-tags span {
  display: inline-flex;
  padding: .46rem .78rem;
  border: 1px solid var(--vrp38-border);
  border-radius: 999px;
  background: #f8fbff;
  color: #263f55;
  font-weight: 800;
}

.vrp38-profile-actions-card {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
}

.vrp38-profile-links,
.vrp38-profile-actions {
  display: grid;
  gap: 10px;
}

.vrp38-profile-link,
.vrp38-share-btn,
.vrp38-copy-btn {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: .62rem 1rem;
  border: 1px solid var(--vrp38-border-strong);
  border-radius: 999px;
  background: #fff;
  color: #1e6aa5 !important;
  font-weight: 850;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.vrp38-share-btn,
.vrp38-copy-btn {
  font-family: inherit;
  font-size: .95rem;
}

.vrp38-profile-link:hover,
.vrp38-share-btn:hover,
.vrp38-copy-btn:hover {
  transform: translateY(-1px);
  background: #edf6ff;
  border-color: var(--vrp38-blue);
}

/* AGENDA */
.vrp38-agenda {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-top: 18px;
}

.vrp38-agenda-item {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  min-height: 104px;
  padding: 12px 16px;
  overflow: hidden;
  border: 1px solid var(--vrp38-border);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(90,163,202,.13), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.vrp38-agenda-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--vrp38-blue), var(--vrp38-blue-2));
}

.vrp38-agenda-item:hover {
  transform: translateY(-2px);
  border-color: var(--vrp38-border-strong);
  box-shadow: 0 22px 54px rgba(15, 23, 42, .08);
}

.vrp38-agenda-date {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  min-height: 88px;
  padding: 12px 10px;
  border-radius: 17px;
  background: linear-gradient(180deg, #e4f6ff 0%, #f4fbff 100%);
  color: var(--vrp38-blue-dark);
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(47,111,145,.08);
}

.vrp38-agenda-weekday {
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vrp38-blue);
}

.vrp38-agenda-day {
  font-size: 2.25rem;
  line-height: .95;
  font-weight: 950;
  letter-spacing: -.05em;
}

.vrp38-agenda-month {
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #5d7084;
}

.vrp38-agenda-content {
  min-width: 0;
  display: grid;
  align-content: center;
  padding: 4px 6px 4px 0;
}

.vrp38-agenda-content .vrp38-eyebrow {
  margin: 0 0 4px;
  font-size: .6rem;
}

.vrp38-agenda-content h3 {
  margin: 0 0 4px;
  color: var(--vrp38-blue-dark);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.15;
}

.vrp38-agenda-content div,
.vrp38-agenda-content p:not(.vrp38-eyebrow) {
  margin: 0;
  color: var(--vrp38-muted);
  font-size: .9rem;
  line-height: 1.35;
  font-weight: 650;
}

.vrp38-agenda-content div p { margin: 0; }

/* DOCUMENTS */
.vrp38-doc-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.vrp38-doc-compact-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--vrp38-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15,23,42,.045);
}

.vrp38-doc-compact-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--vrp38-blue-soft);
}

.vrp38-doc-compact-content { min-width: 0; }
.vrp38-doc-compact-content .vrp38-eyebrow { margin: 0 0 4px; font-size: .68rem; }
.vrp38-doc-compact-content h3 { margin: 0; color: var(--vrp38-blue-dark); font-size: 1rem; line-height: 1.22; }
.vrp38-doc-compact-content p:not(.vrp38-eyebrow) { margin: 4px 0 0; color: var(--vrp38-muted); font-size: .9rem; line-height: 1.4; }

.vrp38-doc-compact-btn,
.vrp38-zip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: .45rem .8rem;
  border: 1px solid var(--vrp38-border-strong);
  border-radius: 999px;
  background: #f8fbff;
  color: #1e6aa5 !important;
  font-size: .88rem;
  font-weight: 850;
  text-decoration: none !important;
}

/* GALLERIES */
.vrp38-galleries {
  display: grid;
  gap: 34px;
}

.vrp38-gallery-block {
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--vrp38-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--vrp38-shadow-soft);
}

.vrp38-gallery-header h3 {
  margin: 0 0 16px;
  color: var(--vrp38-blue-dark);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.vrp38-zip-link {
  width: 100%;
  margin: 0 0 20px;
  border-radius: 12px;
}

.vrp38-foogallery-wrap {
  overflow: hidden;
}

/* LOGOS */
.vrp38-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 18px;
}

.vrp38-logo-link,
.vrp38-logo-lock {
  min-height: 96px;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid var(--vrp38-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.vrp38-logo-link:hover {
  transform: translateY(-3px);
  border-color: #a9cdfa;
  box-shadow: var(--vrp38-shadow-soft);
}

.vrp38-logo-link img,
.vrp38-logo-lock img {
  max-width: 92px;
  max-height: 64px;
  object-fit: contain;
}

.vrp38-logo-lock { opacity: .75; }
.vrp38-logo-lock::after { content: "🔒"; position: absolute; top: 8px; right: 10px; font-size: .9rem; }

@keyframes vrp38FadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 1120px) {
  .vrp38-profile-content { grid-template-columns: 1fr; }
  .vrp38-profile-actions-card { position: static; }
  .vrp38-doc-compact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .vrp38-partners-grid { grid-template-columns: 1fr; }
  .vrp38-private-tabs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; }
  .vrp38-private-tab { width: 100%; }
}

@media (max-width: 760px) {
  .vrp38-member-space { width: min(100% - 20px, 1480px); }
  .vrp38-private-hero { padding: 26px 20px; border-radius: 24px; }
  .vrp38-filter-panel { padding: 16px; }
  .vrp38-search-label { display: block; }
  .vrp38-search-label span { display: block; margin-bottom: 10px; }
  .vrp38-search-label input { width: 100%; }
  .vrp38-filter-btn { font-size: .78rem; }

  .vrp38-partner-card-inner {
    min-height: 112px;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }
  .vrp38-partner-logo { width: 68px; min-width: 68px; height: 58px; }
  .vrp38-partner-logo img { max-width: 58px; max-height: 48px; }
  .vrp38-card-plus { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; min-width: 34px; }
  .vrp38-domain-badge { font-size: .66rem; }

  .vrp38-profile-overlay { align-items: flex-end; padding: 0; }
  .vrp38-profile-panel { width: 100vw; max-height: 94dvh; border-radius: 24px 24px 0 0; padding: 20px; }
  .vrp38-profile-close { width: 46px; height: 46px; min-width: 46px; min-height: 46px; line-height: 46px; font-size: 28px; }
  .vrp38-profile-header { grid-template-columns: 94px minmax(0, 1fr); gap: 14px; padding: 0 0 20px; }
  .vrp38-profile-logo { width: 94px; height: 94px; border-radius: 20px; }
  .vrp38-profile-logo img { max-width: 72px; max-height: 72px; }
  .vrp38-profile-heading h2 { font-size: clamp(1.65rem, 9vw, 2.35rem); }
  .vrp38-profile-contact-list { grid-template-columns: 1fr; }

  .vrp38-agenda-item { grid-template-columns: 1fr; gap: 12px; }
  .vrp38-agenda-date { min-height: auto; grid-template-columns: auto auto auto; justify-content: center; gap: 8px; }
  .vrp38-agenda-content { padding: 0; }
  .vrp38-doc-compact-card { grid-template-columns: 42px minmax(0, 1fr); }
  .vrp38-doc-compact-btn { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 520px) {
  .vrp38-private-tabs { grid-template-columns: 1fr; }
  .vrp38-profile-header { grid-template-columns: 1fr; }
  .vrp38-profile-logo { width: 104px; height: 104px; }
  .vrp38-logos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================
   V18 — Hover cartes partenaires simplifié
   Plus aucun contour animé, plus de bleu, plus de voile.
   Effet unique : zoom / élévation classique.
========================================================= */

.vrp38-partner-card-inner {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid var(--vrp38-border) !important;
  background: #fff !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .045) !important;
  transform: translateZ(0) scale(1) !important;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease !important;
}

.vrp38-partner-card-inner::before,
.vrp38-partner-card-inner::after,
.vrp38-card-border,
.vrp38-card-border-top,
.vrp38-card-border-right,
.vrp38-card-border-bottom,
.vrp38-card-border-left {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  clip-path: none !important;
  pointer-events: none !important;
}

.vrp38-partner-card-inner:hover,
.vrp38-partner-card-inner:focus-visible {
  transform: translateY(-3px) scale(1.015) !important;
  border-color: var(--vrp38-border-strong) !important;
  background: #fff !important;
  box-shadow: 0 22px 52px rgba(15, 23, 42, .09) !important;
}

.vrp38-partner-card-inner:hover .vrp38-card-plus,
.vrp38-partner-card-inner:focus-visible .vrp38-card-plus {
  transform: scale(1.04) !important;
  border-color: var(--vrp38-border-strong) !important;
  background: #fff !important;
}

.vrp38-partner-card-inner > * {
  position: relative !important;
  z-index: 1 !important;
}


/* =========================================================
   V19 FINALE — Overlay gris, fermeture stable, animations sobres
   Important : cette section neutralise les anciens effets de hover/overlay.
========================================================= */

/* 1) Overlay fiche ouverte : fond gris transparent, plus de bleu */
.vrp38-profile-overlay,
body > .vrp38-profile-overlay,
body > .vrp38-profile-overlay.is-open,
body > .vrp38-profile-overlay[aria-hidden="false"] {
  background: transparent !important;
}

.vrp38-profile-backdrop,
body > .vrp38-profile-overlay .vrp38-profile-backdrop {
  background: rgba(17, 24, 39, .56) !important;
  backdrop-filter: blur(7px) !important;
  -webkit-backdrop-filter: blur(7px) !important;
}

/* 2) Bouton X : toujours lisible, reste noir même au hover */
.vrp38-profile-close,
body > .vrp38-profile-overlay .vrp38-profile-close {
  background: #ffffff !important;
  color: #111827 !important;
  border: 1px solid rgba(216, 228, 239, .9) !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .18) !important;
  opacity: 1 !important;
}

.vrp38-profile-close:hover,
.vrp38-profile-close:focus,
body > .vrp38-profile-overlay .vrp38-profile-close:hover,
body > .vrp38-profile-overlay .vrp38-profile-close:focus {
  background: #ffffff !important;
  color: #111827 !important;
  transform: rotate(90deg) scale(1.03) !important;
  opacity: 1 !important;
  outline: none !important;
}

/* 3) Hover cartes partenaires : uniquement zoom classique, aucun bleu ajouté */
.vrp38-partner-card-inner::before,
.vrp38-partner-card-inner::after,
.vrp38-card-border,
.vrp38-card-border-top,
.vrp38-card-border-right,
.vrp38-card-border-bottom,
.vrp38-card-border-left {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
  filter: none !important;
}

.vrp38-partner-card-inner {
  background: #ffffff !important;
  border: 1px solid var(--vrp38-border, #d8e4ef) !important;
  overflow: hidden !important;
  transition:
    transform .22s cubic-bezier(.2,.8,.2,1),
    box-shadow .22s cubic-bezier(.2,.8,.2,1),
    border-color .22s ease !important;
  will-change: transform !important;
}

.vrp38-partner-card-inner:hover {
  transform: translateY(-3px) scale(1.015) !important;
  border-color: var(--vrp38-border-strong, #bdd4e9) !important;
  box-shadow: 0 22px 56px rgba(15, 23, 42, .095) !important;
}

.vrp38-partner-card-inner:hover .vrp38-card-plus {
  transform: scale(1.06) !important;
  background: #ffffff !important;
  color: var(--vrp38-blue-dark, #11344a) !important;
  border-color: var(--vrp38-border-strong, #bdd4e9) !important;
}

/* 4) Animations d'entrée sobres */
.vrp38-private-hero {
  animation: vrp38HeroIn .65s cubic-bezier(.2,.8,.2,1) both !important;
}

.vrp38-filter-panel,
.vrp38-member-section .vrp38-section-heading {
  animation: vrp38FadeUpSoft .55s cubic-bezier(.2,.8,.2,1) both !important;
}

.vrp38-partner-card {
  animation: vrp38CardIn .48s cubic-bezier(.2,.8,.2,1) both !important;
}

.vrp38-partner-card:nth-child(1) { animation-delay: .03s !important; }
.vrp38-partner-card:nth-child(2) { animation-delay: .06s !important; }
.vrp38-partner-card:nth-child(3) { animation-delay: .09s !important; }
.vrp38-partner-card:nth-child(4) { animation-delay: .12s !important; }
.vrp38-partner-card:nth-child(5) { animation-delay: .15s !important; }
.vrp38-partner-card:nth-child(6) { animation-delay: .18s !important; }
.vrp38-partner-card:nth-child(7) { animation-delay: .21s !important; }
.vrp38-partner-card:nth-child(8) { animation-delay: .24s !important; }
.vrp38-partner-card:nth-child(n+9) { animation-delay: .27s !important; }

.vrp38-agenda-item,
.vrp38-doc-compact-card,
.vrp38-gallery-block {
  animation: vrp38FadeUpSoft .52s cubic-bezier(.2,.8,.2,1) both !important;
}

/* 5) Animation ouverture fiche */
.vrp38-profile-overlay.is-open .vrp38-profile-panel,
body > .vrp38-profile-overlay.is-open .vrp38-profile-panel,
body > .vrp38-profile-overlay[aria-hidden="false"] .vrp38-profile-panel {
  animation: vrp38ModalIn .28s cubic-bezier(.2,.8,.2,1) both !important;
}

@keyframes vrp38HeroIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes vrp38FadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vrp38CardIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes vrp38ModalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 6) Respect accessibilité / réduction animations */
@media (prefers-reduced-motion: reduce) {
  .vrp38-private-hero,
  .vrp38-filter-panel,
  .vrp38-member-section .vrp38-section-heading,
  .vrp38-partner-card,
  .vrp38-agenda-item,
  .vrp38-doc-compact-card,
  .vrp38-gallery-block,
  .vrp38-profile-overlay.is-open .vrp38-profile-panel {
    animation: none !important;
  }

  .vrp38-partner-card-inner,
  .vrp38-profile-close {
    transition: none !important;
  }

  .vrp38-partner-card-inner:hover {
    transform: none !important;
  }
}


/* =========================================================
   V20 — Accès membre par identifiant / mot de passe VRP38
========================================================= */

.vrp38-login-required {
  width: min(640px, calc(100% - 28px)) !important;
  margin: 60px auto !important;
  padding: clamp(28px, 5vw, 46px) !important;
  border: 1px solid var(--vrp38-border, #d8e4ef) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at top right, rgba(90,163,202,.13), transparent 38%),
    #fff !important;
  box-shadow: 0 24px 70px rgba(15,23,42,.10) !important;
  text-align: left !important;
}

.vrp38-login-required h2 {
  margin: 0 0 12px !important;
  color: var(--vrp38-blue-dark, #11344a) !important;
  font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
}

.vrp38-login-required p:not(.vrp38-eyebrow) {
  margin: 0 0 22px !important;
  color: var(--vrp38-muted, #64748b) !important;
  line-height: 1.65 !important;
}

.vrp38-member-login-form {
  display: grid !important;
  gap: 14px !important;
}

.vrp38-member-login-form label {
  display: grid !important;
  gap: 7px !important;
  color: var(--vrp38-blue-dark, #11344a) !important;
  font-weight: 850 !important;
}

.vrp38-member-login-form input {
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  border: 1px solid var(--vrp38-border-strong, #bdd4e9) !important;
  border-radius: 14px !important;
  background: #f8fbff !important;
  color: var(--vrp38-text, #111827) !important;
  font: inherit !important;
  outline: none !important;
}

.vrp38-member-login-form input:focus {
  border-color: var(--vrp38-blue, #2f6f91) !important;
  box-shadow: 0 0 0 4px rgba(47,111,145,.12) !important;
}

.vrp38-member-login-form .vrp38-btn-primary {
  width: 100% !important;
  margin-top: 6px !important;
  border: 0 !important;
  cursor: pointer !important;
}

.vrp38-login-error {
  margin: 0 0 16px !important;
  padding: 12px 14px !important;
  border: 1px solid #fecaca !important;
  border-radius: 14px !important;
  background: #fff1f2 !important;
  color: #991b1b !important;
  font-weight: 800 !important;
}


/* =========================================================
   V24 — Logos homepage sans cadenas + mobile espace membre
========================================================= */

/* Homepage logos : toujours cliquables, jamais de cadenas */
.vrp38-logo-lock,
.vrp38-logo-lock::after {
  display: none !important;
  content: none !important;
}

.vrp38-logos-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)) !important;
  gap: 14px !important;
}

.vrp38-logo-link {
  min-height: 92px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid var(--vrp38-border, #d8e4ef) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(15,23,42,.05) !important;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.vrp38-logo-link:hover {
  transform: translateY(-2px) scale(1.015) !important;
  border-color: var(--vrp38-border-strong, #bdd4e9) !important;
  box-shadow: 0 16px 34px rgba(15,23,42,.08) !important;
}

.vrp38-logo-link img {
  max-width: 92px !important;
  max-height: 64px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Layout mobile global */
@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  .vrp38-member-space {
    width: min(100% - 18px, 1480px) !important;
    margin-inline: auto !important;
  }

  .vrp38-private-hero {
    padding: 24px 18px !important;
    border-radius: 22px !important;
    margin-bottom: 22px !important;
  }

  .vrp38-private-hero h1 {
    font-size: clamp(2rem, 11vw, 3rem) !important;
    line-height: .98 !important;
    letter-spacing: -.045em !important;
  }

  .vrp38-private-lead {
    margin-top: 16px !important;
    font-size: .98rem !important;
    line-height: 1.58 !important;
  }

  .vrp38-private-hero .vrp38-private-tabs-wrap {
    margin-top: 20px !important;
  }

  .vrp38-private-hero .vrp38-private-tabs {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 8px !important;
    border-radius: 18px !important;
  }

  .vrp38-private-hero .vrp38-private-tab {
    width: 100% !important;
    min-height: 42px !important;
    padding: .62rem .85rem !important;
    text-align: center !important;
    justify-content: center !important;
    font-size: .92rem !important;
  }

  .vrp38-member-section {
    margin-bottom: 48px !important;
    scroll-margin-top: 16px !important;
  }

  .vrp38-section-heading {
    margin-bottom: 18px !important;
  }

  .vrp38-section-heading h2 {
    font-size: clamp(1.75rem, 9vw, 2.35rem) !important;
  }

  .vrp38-section-heading p:not(.vrp38-eyebrow) {
    font-size: .98rem !important;
    line-height: 1.55 !important;
  }

  /* Recherche filtres mobile */
  .vrp38-filter-panel {
    padding: 14px !important;
    margin-bottom: 18px !important;
    border-radius: 18px !important;
  }

  .vrp38-search-label {
    display: grid !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    font-size: .98rem !important;
  }

  .vrp38-search-label input {
    width: 100% !important;
    min-height: 42px !important;
  }

  .vrp38-filter-buttons {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding-bottom: 4px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
  }

  .vrp38-filter-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    min-height: 34px !important;
    padding: .46rem .76rem !important;
    font-size: .8rem !important;
  }

  .vrp38-results-count {
    font-size: .86rem !important;
    margin-top: 10px !important;
  }

  /* Cartes partenaires mobile : une vraie carte lisible */
  .vrp38-partners-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .vrp38-partner-card {
    width: 100% !important;
    min-width: 0 !important;
  }

  .vrp38-partner-card-inner {
    width: 100% !important;
    min-height: 104px !important;
    display: grid !important;
    grid-template-columns: 62px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 15px 48px 15px 14px !important;
    border-radius: 18px !important;
  }

  .vrp38-partner-logo {
    width: 62px !important;
    min-width: 62px !important;
    height: 56px !important;
  }

  .vrp38-partner-logo img {
    max-width: 56px !important;
    max-height: 46px !important;
    object-fit: contain !important;
  }

  .vrp38-logo-placeholder {
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
    font-size: 1.25rem !important;
  }

  .vrp38-partner-info {
    min-width: 0 !important;
  }

  .vrp38-partner-info h3 {
    margin: 0 0 6px !important;
    font-size: 1rem !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere !important;
  }

  .vrp38-domain-list {
    gap: 5px !important;
  }

  .vrp38-domain-badge {
    min-height: 22px !important;
    padding: .22rem .48rem !important;
    font-size: .62rem !important;
    line-height: 1.1 !important;
    letter-spacing: .025em !important;
    max-width: 100% !important;
  }

  .vrp38-partner-info > p {
    display: none !important;
  }

  .vrp38-card-plus {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    font-size: 1rem !important;
  }

  .vrp38-partner-card-inner:hover {
    transform: translateY(-1px) scale(1.006) !important;
  }

  /* Calendrier mobile */
  .vrp38-agenda {
    gap: 12px !important;
  }

  .vrp38-agenda-item {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 14px !important;
    border-radius: 18px !important;
    min-height: 0 !important;
  }

  .vrp38-agenda-date {
    min-height: auto !important;
    display: grid !important;
    grid-template-columns: auto auto auto !important;
    justify-content: start !important;
    align-items: baseline !important;
    gap: 8px !important;
    padding: 11px 12px !important;
    border-radius: 15px !important;
    text-align: left !important;
  }

  .vrp38-agenda-weekday {
    grid-column: 1 / -1 !important;
    font-size: .62rem !important;
  }

  .vrp38-agenda-day {
    font-size: 1.9rem !important;
    line-height: 1 !important;
  }

  .vrp38-agenda-month {
    font-size: .82rem !important;
  }

  .vrp38-agenda-content {
    padding: 0 !important;
  }

  .vrp38-agenda-content h3 {
    font-size: 1.08rem !important;
  }

  .vrp38-agenda-content div,
  .vrp38-agenda-content p:not(.vrp38-eyebrow) {
    font-size: .9rem !important;
  }

  /* Documents mobiles */
  .vrp38-doc-compact-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .vrp38-doc-compact-card {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 14px !important;
    border-radius: 16px !important;
  }

  .vrp38-doc-compact-btn {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  /* Galeries mobiles */
  .vrp38-gallery-block {
    padding: 16px !important;
    border-radius: 18px !important;
  }

  .vrp38-gallery-header h3 {
    font-size: 1.25rem !important;
    line-height: 1.2 !important;
  }

  .vrp38-zip-link {
    width: 100% !important;
    justify-content: center !important;
    font-size: .92rem !important;
  }

  /* Fiche ouverte mobile */
  body > .vrp38-profile-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  body > .vrp38-profile-overlay .vrp38-profile-panel {
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: 94dvh !important;
    padding: 18px !important;
    border-radius: 22px 22px 0 0 !important;
    overflow-x: hidden !important;
  }

  .vrp38-profile-close {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    line-height: 42px !important;
    font-size: 1.6rem !important;
  }

  .vrp38-profile-header {
    grid-template-columns: 74px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 0 0 18px 0 !important;
  }

  .vrp38-profile-logo {
    width: 74px !important;
    height: 74px !important;
    border-radius: 17px !important;
  }

  .vrp38-profile-logo img {
    max-width: 58px !important;
    max-height: 58px !important;
  }

  .vrp38-profile-heading h2 {
    font-size: clamp(1.55rem, 8vw, 2.15rem) !important;
    line-height: 1.04 !important;
  }

  .vrp38-profile-company {
    font-size: .98rem !important;
    margin-bottom: 10px !important;
  }

  body > .vrp38-profile-overlay .vrp38-profile-content-v7,
  .vrp38-profile-content {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding-top: 18px !important;
  }

  .vrp38-profile-section,
  .vrp38-profile-actions-card {
    padding: 16px !important;
    border-radius: 18px !important;
  }

  .vrp38-profile-coordinates .vrp38-profile-contact-list,
  .vrp38-profile-contact-list {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .vrp38-profile-contact-item {
    padding: 11px 12px !important;
    border-radius: 14px !important;
  }

  .vrp38-profile-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .vrp38-profile-link,
  .vrp38-profile-actions .vrp38-copy-btn,
  .vrp38-profile-actions .vrp38-share-btn {
    width: 100% !important;
  }
}

/* Très petit mobile */
@media (max-width: 380px) {
  .vrp38-member-space {
    width: min(100% - 12px, 1480px) !important;
  }

  .vrp38-private-hero {
    padding: 20px 14px !important;
  }

  .vrp38-partner-card-inner {
    grid-template-columns: 54px minmax(0, 1fr) !important;
    padding: 14px 42px 14px 12px !important;
  }

  .vrp38-partner-logo {
    width: 54px !important;
    min-width: 54px !important;
  }
}
