/* ProConnect V3 TEST — toutes les règles sont préfixées pcv3- */
:root{--pcv3-navy:#082c6c;--pcv3-blue:#1769ff;--pcv3-orange:#ff5a00;--pcv3-green:#14a76c;--pcv3-bg:#f5f8fd;--pcv3-border:#dfe7f1;--pcv3-muted:#60779b;--pcv3-soft:#eaf3ff;--pcv3-shadow:0 8px 28px rgba(8,44,108,.09)}
.pcv3-card,.pcv3-card *{box-sizing:border-box}.pcv3-card{background:#fff;border:1px solid var(--pcv3-border);border-radius:18px;overflow:hidden;box-shadow:var(--pcv3-shadow);height:100%;display:flex;flex-direction:column;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--pcv3-navy);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.pcv3-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(8,44,108,.12)}.pcv3-card--featured{border-color:#ffd29b;box-shadow:0 10px 30px rgba(255,90,0,.10)}
.pcv3-media{height:235px;position:relative;overflow:hidden;background:#eef3f8}.pcv3-media--project{height:255px}.pcv3-media__img,.pcv3-media>img{width:100%;height:100%;object-fit:cover;display:block}.pcv3-media__placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eaf3ff,#f7f9fc);color:#6b83a7;font-weight:800;letter-spacing:.08em}.pcv3-media__badges{position:absolute;left:12px;top:12px;display:flex;flex-direction:column;gap:7px;align-items:flex-start;z-index:4}.pcv3-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:7px 10px;font-size:11px;line-height:1;font-weight:800;box-shadow:0 2px 8px rgba(0,0,0,.08)}.pcv3-badge--premium{background:#ffc55a;color:#5b3600}.pcv3-badge--available{background:var(--pcv3-green);color:#fff}.pcv3-badge--appointment{background:#1769ff;color:#fff}.pcv3-badge--busy{background:#5f708a;color:#fff}.pcv3-gallery-count{position:absolute;right:12px;bottom:12px;background:rgba(15,28,49,.72);color:#fff;border-radius:8px;padding:6px 8px;font-size:11px;font-weight:800;z-index:4}.pcv3-favorite{position:absolute;right:12px;top:12px;z-index:5}.pcv3-favorite button,.pcv3-favorite a{width:38px!important;height:38px!important;min-width:38px!important;border-radius:50%!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;color:var(--pcv3-navy)!important;border:1px solid #d9e3ef!important;box-shadow:0 3px 10px rgba(8,44,108,.12)!important;font-size:0!important}.pcv3-favorite button:before,.pcv3-favorite a:before{content:"♡";font-size:22px;line-height:1}.pcv3-favorite .is-active:before{content:"♥";color:#ef3f5f}
.pcv3-body{padding:16px;display:flex;flex-direction:column;gap:11px;flex:1}.pcv3-title{font-size:19px;line-height:1.18;margin:0;color:var(--pcv3-navy);font-weight:850}.pcv3-title a{color:inherit;text-decoration:none}.pcv3-title a:hover{color:var(--pcv3-blue)}.pcv3-subtitle{font-size:14px;color:#38547e;margin-top:3px}.pcv3-desc{margin:0;color:#466184;font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pcv3-verified{display:inline-flex;width:18px;height:18px;border-radius:50%;align-items:center;justify-content:center;background:var(--pcv3-blue);color:#fff;font-size:11px;margin-left:6px;vertical-align:2px}.pcv3-profile-head{display:flex;gap:11px;align-items:center}.pcv3-profile-head__text{min-width:0}.pcv3-avatar{width:48px;height:48px;border-radius:50%;overflow:hidden;flex:0 0 48px;border:2px solid #fff;box-shadow:0 2px 8px rgba(8,44,108,.16)}.pcv3-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.pcv3-meta-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:12px;color:#4f698d}.pcv3-rating{color:#f19700;font-weight:850}.pcv3-rating small{color:#667b99;font-weight:600}.pcv3-location{color:#405d86}.pcv3-chips{display:flex;gap:7px;flex-wrap:wrap}.pcv3-chips span{display:inline-flex;padding:6px 9px;border-radius:999px;background:var(--pcv3-soft);color:#1760bd;font-size:11px;font-weight:750}.pcv3-proof-row{display:flex;flex-wrap:wrap;gap:8px 15px;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6;padding:10px 0;color:#4e6587;font-size:11.5px}.pcv3-proof-row strong{color:var(--pcv3-navy)}.pcv3-price{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}.pcv3-price small{font-size:12px;color:#60779b}.pcv3-price strong{font-size:20px;color:var(--pcv3-navy)}.pcv3-price em{font-style:normal;font-size:12px;color:#60779b;font-weight:650}.pcv3-review{margin:0;padding:12px 13px;background:#f7f9fc;border:1px solid #e8edf4;border-radius:12px}.pcv3-review__stars{display:block;color:#f6a000;font-size:12px;letter-spacing:1px;margin-bottom:5px}.pcv3-review p{margin:0;color:#405777;font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.pcv3-actions{margin-top:auto;display:flex;gap:8px}.pcv3-actions--split .pcv3-btn{flex:1}.pcv3-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none!important;border-radius:11px;padding:12px 14px;font-size:12px;font-weight:850;min-height:43px;border:1px solid transparent;transition:filter .15s ease,transform .15s ease}.pcv3-btn:hover{filter:brightness(.98);transform:translateY(-1px)}.pcv3-btn--primary{background:var(--pcv3-orange);color:#fff!important}.pcv3-btn--ghost{background:#fff;color:var(--pcv3-navy)!important;border-color:#bfd0e7}
.pcv3-provider{display:flex;align-items:center;gap:9px;padding-top:2px}.pcv3-provider .pcv3-avatar{width:42px;height:42px;flex-basis:42px}.pcv3-provider__name{font-size:13px;font-weight:850;color:var(--pcv3-navy);text-decoration:none}.pcv3-provider__meta{font-size:11px;color:#617895;margin-top:2px}.pcv3-before-after{display:grid;grid-template-columns:1fr 1fr;width:100%;height:100%}.pcv3-before-after__side{position:relative;overflow:hidden}.pcv3-before-after__side img{width:100%;height:100%;object-fit:cover;display:block}.pcv3-before-after__side span{position:absolute;left:9px;bottom:9px;background:rgba(18,31,51,.75);color:#fff;padding:5px 7px;border-radius:7px;font-size:10px;font-weight:800;z-index:2}.pcv3-before-after__side+ .pcv3-before-after__side{border-left:2px solid #fff}
.pcv3-ad-slot{width:100%;margin:18px 0}.pcv3-ad-slot img{width:100%;height:auto;max-height:240px;object-fit:cover;border-radius:16px;display:block}
.pcv3-single-profile-head{display:flex;align-items:center;gap:18px}.pcv3-single-avatar{width:112px;height:112px;border-radius:50%;overflow:hidden;flex:0 0 112px;border:4px solid #fff;box-shadow:0 6px 22px rgba(8,44,108,.13)}.pcv3-single-avatar img{width:100%;height:100%;object-fit:cover}.pcv3-single-profile-head h1{margin:0 0 5px;color:var(--pcv3-navy);font-size:clamp(30px,4vw,48px);line-height:1.02}.pcv3-single-profile-head p{margin:0 0 9px;color:#536d91;font-size:17px}.pcv3-single-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.pcv3-single-stats>div{background:#fff;border:1px solid var(--pcv3-border);border-radius:14px;padding:16px}.pcv3-single-stats strong{display:block;color:var(--pcv3-navy);font-size:24px}.pcv3-single-stats span{font-size:12px;color:#617895}
.pcv3-grid-3 .jet-listing-grid__items{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}.pcv3-grid-3 .jet-listing-grid__item{width:auto!important;max-width:none!important}.pcv3-page-wrap{max-width:1460px;margin:0 auto;padding-left:20px;padding-right:20px}.pcv3-page-hero{padding:44px 0 20px}.pcv3-page-hero h1{font-size:clamp(34px,4vw,56px);line-height:1.02;color:var(--pcv3-navy);margin:0 0 10px}.pcv3-page-hero p{font-size:17px;color:#587093;max-width:800px;margin:0}.pcv3-filter-shell{background:#fff;border:1px solid var(--pcv3-border);border-radius:16px;padding:14px;margin:16px 0 20px}.pcv3-editor-note{background:#fff8e8;border:1px dashed #e8a431;color:#705018;padding:13px 15px;border-radius:10px;font-size:13px}.pcv3-section-title{font-size:28px!important;color:var(--pcv3-navy)!important;margin-top:30px!important}
@media(max-width:1100px){.pcv3-media{height:210px}.pcv3-grid-3 .jet-listing-grid__items{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pcv3-single-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:767px){.pcv3-card{border-radius:15px}.pcv3-media,.pcv3-media--project{height:220px}.pcv3-body{padding:14px;gap:10px}.pcv3-title{font-size:18px}.pcv3-actions--split{flex-direction:column}.pcv3-btn{width:100%}.pcv3-grid-3 .jet-listing-grid__items{grid-template-columns:1fr!important;gap:14px!important}.pcv3-page-wrap{padding-left:15px;padding-right:15px}.pcv3-page-hero{padding-top:28px}.pcv3-single-profile-head{align-items:flex-start;gap:13px}.pcv3-single-avatar{width:78px;height:78px;flex-basis:78px}.pcv3-single-profile-head h1{font-size:30px}.pcv3-single-profile-head p{font-size:14px}.pcv3-single-stats{grid-template-columns:1fr 1fr;gap:9px}.pcv3-single-stats>div{padding:12px}.pcv3-proof-row{gap:8px 11px}}
@media(max-width:390px){.pcv3-media,.pcv3-media--project{height:205px}.pcv3-body{padding:13px}.pcv3-chips span{font-size:10px}.pcv3-single-stats{grid-template-columns:1fr}}

/* V0.3.1 — état visuel du favori. Le backend Favoris existant reste inchangé. */
.pcv3-favorite button,.pcv3-favorite a,.pcv3-favorite [role="button"]{
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
.pcv3-favorite--active button,.pcv3-favorite--active a,.pcv3-favorite--active [role="button"],
.pcv3-favorite .is-active,.pcv3-favorite .active,.pcv3-favorite [aria-pressed="true"]{
  background:#fff0f3!important;
  border-color:#ef3f5f!important;
  color:#ef3f5f!important;
  box-shadow:0 4px 13px rgba(239,63,95,.20)!important;
}
.pcv3-favorite--active button:before,.pcv3-favorite--active a:before,.pcv3-favorite--active [role="button"]:before,
.pcv3-favorite .is-active:before,.pcv3-favorite .active:before,.pcv3-favorite [aria-pressed="true"]:before{
  content:"♥"!important;
  color:#ef3f5f!important;
}

/* V0.3.2 — sobriété des cartes : 3 compétences max côté PHP; 2 visibles sur très petit mobile. */
@media(max-width:390px){.pcv3-chips span:nth-child(n+3){display:none!important}}

/* V0.3.4 SAFE — aucun JavaScript V3 sur le bouton Favoris. Le shortcode existant garde 100 % du clic. */

/* V0.3.5 SAFE — état favori lu côté serveur depuis JetEngine Data Store `favoris` ou ancien stockage. */
.pcv3-favorite--active button,.pcv3-favorite--active a,.pcv3-favorite--active [role="button"]{background:#fff0f3!important;border-color:#ef3f5f!important;color:#ef3f5f!important;box-shadow:0 4px 13px rgba(239,63,95,.20)!important}
.pcv3-favorite--active button:before,.pcv3-favorite--active a:before,.pcv3-favorite--active [role="button"]:before{content:"♥"!important;color:#ef3f5f!important}

/* V0.3.6 SAFE — images toujours en cover + profils adaptatifs sans multiplier les Listings. */
.pcv3-media,
.pcv3-media--project{
  isolation:isolate;
}
.pcv3-media > picture,
.pcv3-media > figure,
.pcv3-media > .jet-listing-dynamic-image,
.pcv3-media > .jet-listing-dynamic-field,
.pcv3-media .jet-listing-dynamic-image,
.pcv3-media .jet-listing-dynamic-image__link,
.pcv3-media .jet-listing-dynamic-image__img,
.pcv3-media--project > picture,
.pcv3-media--project > figure{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
}
.pcv3-media img,
.pcv3-media picture img,
.pcv3-media figure img,
.pcv3-media .jet-listing-dynamic-image img,
.pcv3-media--project img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  display:block!important;
}
.pcv3-profile-card--education .pcv3-proof-row span:nth-child(n+3),
.pcv3-profile-card--beauty .pcv3-proof-row span:nth-child(n+4){display:none}

/* V0.3.8 SAFE — media plein cadre + actions Service compactes.
   CSS uniquement : aucune logique PHP/JetEngine modifiée. */
.pcv3-card{
  margin:0!important;
  padding:0!important;
}
.pcv3-card > .pcv3-media,
.pcv3-card > .pcv3-media--project{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  align-self:stretch!important;
  border-radius:0!important;
}
.pcv3-service-card > .pcv3-media{
  height:auto!important;
  aspect-ratio:4 / 3!important;
  min-height:0!important;
}
.pcv3-service-card > .pcv3-media > img,
.pcv3-project-card > .pcv3-media img,
.pcv3-card > .pcv3-media .pcv3-media__img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  margin:0!important;
  padding:0!important;
}
.pcv3-project-card > .pcv3-media .pcv3-before-after,
.pcv3-project-card > .pcv3-media .pcv3-media__placeholder,
.pcv3-service-card > .pcv3-media .pcv3-media__placeholder{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
}

/* Le contenu garde sa respiration même si le thème applique des styles aux articles. */
.pcv3-card > .pcv3-body{
  width:100%!important;
  margin:0!important;
  padding:16px!important;
}

/* Service : footer plus fin, deux CTA lisibles sans retour à la ligne. */
.pcv3-service-card .pcv3-actions--split{
  display:grid!important;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;
  gap:8px!important;
  align-items:stretch!important;
}
.pcv3-service-card .pcv3-actions--split .pcv3-btn{
  width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  padding:9px 9px!important;
  border-radius:10px!important;
  font-size:11px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
.pcv3-service-card .pcv3-actions--split .pcv3-btn--primary{
  font-size:11px!important;
}

@media(max-width:767px){
  .pcv3-card > .pcv3-body{padding:14px!important}
  .pcv3-service-card .pcv3-actions--split{
    grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;
  }
  .pcv3-service-card .pcv3-actions--split .pcv3-btn{
    min-height:44px!important;
    padding:10px 9px!important;
    font-size:11.5px!important;
  }
}
@media(max-width:330px){
  .pcv3-service-card .pcv3-actions--split{grid-template-columns:1fr!important}
}




/* V0.3.10 SAFE — CTA Service: un seul libellé, aucune duplication. */
.pcv3-service-card .pcv3-actions--split{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)!important;
  gap:8px!important;
}
.pcv3-service-card .pcv3-actions--split .pcv3-btn{
  min-width:0!important;
  width:100%!important;
  min-height:42px!important;
  padding:10px 9px!important;
  font-size:11.5px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
@media(max-width:1100px){
  .pcv3-service-card .pcv3-actions--split{
    grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important;
    gap:7px!important;
  }
  .pcv3-service-card .pcv3-actions--split .pcv3-btn{
    min-height:40px!important;
    padding:9px 7px!important;
    font-size:10.5px!important;
  }
}
@media(max-width:767px){
  .pcv3-service-card .pcv3-actions--split{
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
  }
  .pcv3-service-card .pcv3-actions--split .pcv3-btn{
    min-height:42px!important;
    font-size:11px!important;
  }
}
@media(max-width:340px){
  .pcv3-service-card .pcv3-actions--split{grid-template-columns:1fr!important}
}

/* V0.3.11 SAFE — profils adaptatifs + médias Réalisation stabilisés. */
.pcv3-project-card > .pcv3-media--project{
  width:100%!important;
  height:auto!important;
  aspect-ratio:16 / 10!important;
  min-height:0!important;
  overflow:hidden!important;
}
.pcv3-project-card > .pcv3-media--project > .pcv3-before-after,
.pcv3-project-card > .pcv3-media--project > .pcv3-media__placeholder{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
}
.pcv3-project-card > .pcv3-media--project img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
.pcv3-project-card .pcv3-before-after__side img{
  position:absolute!important;
  inset:0!important;
}
.pcv3-profile-card--education .pcv3-proof-row,
.pcv3-profile-card--beauty .pcv3-proof-row,
.pcv3-profile-card--company .pcv3-proof-row{
  align-items:center;
}
.pcv3-single-stats strong{
  overflow-wrap:anywhere;
}
.pcv3-single-stats--education strong{
  line-height:1.15;
}
@media(max-width:767px){
  .pcv3-project-card > .pcv3-media--project{aspect-ratio:4 / 3!important}
}
/* V0.3.12 SAFE — Carte Service compacte + responsive CTA */

.pcv3-service-card > .pcv3-media{
    height:190px!important;
    aspect-ratio:auto!important;
    min-height:0!important;
    overflow:hidden!important;
}

.pcv3-service-card > .pcv3-media > img,
.pcv3-service-card > .pcv3-media .pcv3-media__img{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center center!important;
}

/* Desktop : 2 boutons côte à côte */
.pcv3-service-card .pcv3-actions--split{
    display:grid!important;
    grid-template-columns:1fr 1.15fr!important;
    gap:8px!important;
}

.pcv3-service-card .pcv3-actions--split .pcv3-btn{
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    padding:10px 8px!important;
    font-size:11.5px!important;
    line-height:1.2!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    text-align:center!important;
}

/* Tablette */
@media(max-width:1100px){
    .pcv3-service-card > .pcv3-media{
        height:175px!important;
    }

    .pcv3-service-card .pcv3-actions--split{
        grid-template-columns:1fr!important;
    }

    .pcv3-service-card .pcv3-actions--split .pcv3-btn{
        min-height:42px!important;
        font-size:12px!important;
    }
}

/* Téléphone */
@media(max-width:767px){
    .pcv3-service-card > .pcv3-media{
        height:170px!important;
    }

    .pcv3-service-card .pcv3-actions--split{
        grid-template-columns:1fr!important;
        gap:7px!important;
    }

    .pcv3-service-card .pcv3-actions--split .pcv3-btn{
        width:100%!important;
        min-height:43px!important;
        font-size:12px!important;
    }
}

/* Très petit téléphone */
@media(max-width:390px){
    .pcv3-service-card > .pcv3-media{
        height:160px!important;
    }
}
/* V0.3.12 SAFE — Carte Service compacte */

.pcv3-service-card > .pcv3-media{
    height:190px!important;
    aspect-ratio:auto!important;
    min-height:0!important;
    overflow:hidden!important;
}

.pcv3-service-card > .pcv3-media > img,
.pcv3-service-card > .pcv3-media .pcv3-media__img{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center center!important;
}
/* FIX SERVICE — image bord à bord */

.pcv3-service-card > .pcv3-media{
    width:calc(100% + 60px)!important;
    max-width:none!important;
    margin-left:-30px!important;
    margin-right:-30px!important;
    padding:0!important;
    overflow:hidden!important;
}

.pcv3-service-card > .pcv3-media > img,
.pcv3-service-card > .pcv3-media .pcv3-media__img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center center!important;
}