:root{color-scheme:light;--gold:#D4AF37;--edge:#B88A0C;--ink:#2d2340;--muted:#665e70}*{box-sizing:border-box}html,body{margin:0;width:100%;max-width:100%;background:transparent!important;overflow-x:clip}body{font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:var(--ink)}main{width:100%;max-width:1600px;margin:auto;padding:16px 12px 40px}.hero{text-align:center;padding:16px 10px 20px}.hero h1{margin:0 0 9px;color:var(--gold);font-size:clamp(24px,3vw,36px)}.hero p{margin:0 auto;max-width:720px;line-height:1.55}.toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 18px}.filters{display:flex;gap:6px;flex-wrap:wrap}.filter{font:inherit;border:1px solid var(--edge);color:var(--ink);background:rgba(255,255,255,.8);border-radius:99px;padding:8px 12px;cursor:pointer}.filter.selected{background:var(--gold);color:#291a35;border-color:var(--gold);font-weight:700}.muted{font-size:13px;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:100%}.expert{border:1.5px solid var(--edge);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.92));padding:14px;min-width:0;overflow:hidden;display:flex;flex-direction:column;gap:10px;box-shadow:0 8px 24px rgba(20,10,40,.08);position:relative}.expert::before{content:'';display:block;height:92px;margin:-14px -14px 0;border-radius:20px 20px 0 0;background:linear-gradient(135deg,#5f2db8 0%,#7c43d2 40%,#8a59d9 100%);opacity:.16}.expert-head{display:flex;gap:12px;min-width:0;align-items:flex-start;margin-top:-62px;position:relative;z-index:1}.portrait{width:76px;height:76px;flex:0 0 76px;object-fit:cover;border-radius:50%;background:#f0ebdf}.placeholder{display:grid;place-items:center;color:var(--edge);font-size:30px}.headbody{min-width:0;flex:1;padding-top:6px}.name{color:var(--gold);font-size:18px;font-weight:800;line-height:1.15;overflow-wrap:anywhere;text-decoration:none}.code{font-size:12px;margin-top:6px}.specialties{font-size:12px;line-height:1.35;margin-top:5px;color:var(--muted)}.status{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:20px;font-size:12px;font-weight:700;background:#eee;color:#64616d}.status.online{background:#e3f8e9;color:#11723b}.status.busy{background:#fff0d9;color:#9a5c0a}.status.planning{background:#e9e9ff;color:#484c99}.description{color:#544b5b;font-size:12px;line-height:1.48;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.audio{width:100%;height:32px}.services{display:grid;grid-template-columns:1fr;gap:7px;margin-top:auto}.service{display:flex;justify-content:space-between;align-items:center;gap:7px;border:1px solid #b88a0c;border-radius:9px;padding:9px 11px;background:#d4af37;color:#241730;text-decoration:none;font-weight:700;font-size:12px;min-width:0}.service.disabled{background:#e5e0d6;color:#756f73;border-color:#cbc3b7;cursor:not-allowed}.service span{min-width:0;overflow-wrap:anywhere}.service small{font-weight:500;font-size:11px}.profile-link{color:#86640b;font-weight:750;text-align:center;text-decoration:none;font-size:13px;padding:2px 5px 0}

.service-icons{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:auto;padding-top:4px}
.service-icon{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:46px;text-decoration:none;color:var(--muted)}
.service-icon svg{width:22px;height:22px;display:block}
.service-icon span{font-size:11px;font-weight:700;line-height:1;text-align:center}
.service-icon--available{color:#168344}
.service-icon--busy{color:#f19b32}
.service-icon--offline{color:#c0392b}
.service-icon--always{color:#168344}
.cta-wrap{display:flex;flex-direction:column;gap:8px;margin-top:auto}
.consult-cta{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:10px;padding:10px 12px;font-size:18px;font-weight:800;text-decoration:none;border:1px solid transparent}
.consult-cta small{display:block;font-size:12px;font-weight:700;opacity:.95}
.consult-cta--available{background:#168344;border-color:#116b37;color:#fff}
.consult-cta--busy{background:#f19b32;border-color:#d57b0f;color:#34220a}
.consult-cta--offline{background:#c0392b;border-color:#a12f23;color:#fff}
.consult-cta--disabled{pointer-events:none;cursor:not-allowed}
.consult-cta .cta-inner{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}
.error{padding:24px;text-align:center;color:#a54422}.empty{padding:30px;text-align:center;color:var(--muted)}.time{font-size:12px;color:#94611a;font-weight:650}.profile{max-width:1240px;margin:12px auto;border:1.5px solid var(--edge);border-radius:24px;background:rgba(255,255,255,.92);padding:clamp(16px,3vw,30px);box-shadow:0 12px 34px rgba(20,10,40,.08)}.profiletop{display:flex;gap:22px;align-items:flex-start;flex-wrap:wrap}.profiletop>.portrait{width:160px;height:160px;flex-basis:160px;border-radius:50%}.profiletop .headbody{flex:1 1 240px}.profiletop .name{font-size:30px}.profile h2{color:var(--gold);font-size:19px;margin:24px 0 10px}.profile .description{display:block;font-size:15px;line-height:1.65;white-space:pre-line;overflow:visible}.profile .services{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}.profile .service{font-size:14px}.back{display:inline-block;margin-bottom:13px;color:#7b5a05;text-decoration:none;font-weight:700}.slots{display:flex;gap:8px;flex-wrap:wrap}.slot{border:1px solid #d8cba0;border-radius:9px;padding:9px;background:rgba(255,255,255,.7);font-size:13px}.review{border-top:1px solid #e5d7ab;padding:11px 0;font-size:14px}.review strong{color:#87650b}.review p{margin:7px 0}.price{font-size:11px;font-weight:600}.note{font-size:12px;color:#6d6871}.statusline{margin-top:9px}.audio-label{font-size:12px;color:var(--muted);margin:7px 0 4px} @media(max-width:860px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.packages-grid{grid-template-columns:1fr}.service-card-title{font-size:18px}.service-card-sub{font-size:14px}.availability-row{grid-template-columns:1fr}.availability-times{text-align:left}}@media(max-width:600px){.grid,.profile .services{grid-template-columns:1fr}.portrait{width:70px;height:70px;flex-basis:70px}.profiletop>.portrait{width:120px;height:120px;flex-basis:120px}.hero{padding-top:10px}.toolbar{justify-content:center}.hero h1{font-size:24px}.profiletop .name{font-size:24px}.expert::before{height:80px}.expert-head{margin-top:-52px}.review-chip{min-width:260px;max-width:260px}}

.empty[hidden]{display:none!important}
/* V10 : consultations privées détaillées, sans affecter l'Audiotel */
.sr-only{position:absolute;clip:rect(0 0 0 0);width:1px;height:1px;overflow:hidden}
.searchbar{display:grid;grid-template-columns:minmax(200px,2fr) minmax(140px,1fr) minmax(140px,1fr);gap:10px;margin:0 0 18px}
.searchbar input,.searchbar select{width:100%;min-width:0;min-height:44px;border:1px solid #b88a0c;border-radius:10px;padding:9px 12px;background:rgba(255,255,255,.92);color:#2d2340;font:inherit}
.stats{font-size:12px;font-weight:650;color:#87650b;line-height:1.4}
.expert .services{gap:5px}
.expert .service{flex-wrap:wrap;gap:3px 6px}
.expert .service-price{font-size:11px;white-space:nowrap}
.profile-banner{display:block;width:100%;max-height:240px;object-fit:cover;border-radius:12px;margin:0 0 20px}
.profiletop h1{margin:0}
.profile .stats{margin-top:12px;font-size:14px}
.packages-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.package{border:1px solid #b88a0c;background:rgba(255,255,255,.82);border-radius:12px;padding:15px;min-width:0;display:flex;flex-direction:column;gap:7px}
.package-name{font-size:16px;color:#8b680d}.package-quantity{font-size:15px;font-weight:750}.package-description{font-size:12px;margin:0;color:#665e70}.package-discount{color:#9b6220;font-size:12px;font-weight:650}.package-prices{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.old-price{text-decoration:line-through;color:#817b87;font-size:12px}.final-price{font-size:19px;color:#936902}.package-button{margin-top:auto;border-radius:8px;background:#d4af37;color:#291c34;text-align:center;padding:9px 12px;font-size:13px;font-weight:800;text-decoration:none}.review-score{color:#b88a0c}.review-answer{font-style:italic;color:#716879}
@media(max-width:1180px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-body{grid-template-columns:1fr}.packages-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.searchbar{grid-template-columns:1fr}.packages-grid{grid-template-columns:1fr}.profile-banner{max-height:170px}}

/* V11 — couleurs d'action selon statut privé (Audiotel inchangé) */
.service.service--available,.service.service--available.disabled{background:#168344;border-color:#116b37;color:#fff;}
.service.service--occupied,.service.service--occupied.disabled{background:#f19b32;border-color:#d57b0f;color:#34220a;}
.service.service--unavailable,.service.service--unavailable.disabled{background:#e5e0d6;border-color:#cbc3b7;color:#756f73;}
.service.no-link{opacity:.6;cursor:not-allowed;}
.service.service--occupied.disabled{cursor:not-allowed;opacity:1;}
.package-button--available{background:#168344;color:#fff;}
.package-button--occupied{background:#f19b32;color:#34220a;cursor:not-allowed;}
.package-button--unavailable{background:#e5e0d6;color:#756f73;cursor:not-allowed;}
@media(hover:hover){.service.service--available[href]:hover,.package-button--available[href]:hover{background:#116b37}}


.package-media{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;border:1px solid #ead8a0;background:#f6f0dc}
.package-media-wrap{margin-bottom:2px}


.profile-body{display:grid;grid-template-columns:minmax(0,3fr) minmax(280px,1fr);gap:22px;align-items:start;margin-top:22px}
.profile-main,.profile-side{min-width:0}
.profile-section{margin-top:26px}
.service-panel,.availability-panel{border:1px solid #e2d2a2;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,243,232,.96));box-shadow:0 8px 22px rgba(20,10,40,.06);padding:20px}
.panel-title{font-size:18px;color:#1e1b26;margin:0 0 16px;font-weight:800}
.service-number-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.service-number{font-size:18px;font-weight:800;color:#5f3ea1}
.service-badge{white-space:pre-line;text-align:center;background:#6e45b8;color:#fff;font-size:11px;line-height:1.1;font-weight:800;padding:8px 10px;border-radius:0;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,8% 50%)}
.service-badge.solo{display:inline-block;margin-bottom:14px}
.service-card-button{display:flex;align-items:center;justify-content:flex-start;min-height:88px;border-radius:12px;padding:14px 18px;text-decoration:none;border:1px solid transparent;box-shadow:0 6px 16px rgba(20,10,40,.10);margin-top:12px}
.service-card-button--available{background:#168344;color:#fff;border-color:#116b37}
.service-card-button--occupied{background:#f19b32;color:#34220a;border-color:#d57b0f}
.service-card-button--unavailable{background:#c0392b;color:#fff;border-color:#a12f23}
.service-card-button.disabled{opacity:.9;cursor:not-allowed;pointer-events:none}
.service-card-left{display:flex;align-items:center;gap:16px;width:100%}
.service-card-icon{width:46px;height:46px;display:grid;place-items:center;flex:0 0 46px}
.service-card-icon svg{width:40px;height:40px;fill:currentColor}
.service-card-text{display:flex;flex-direction:column;gap:4px}
.service-card-title{font-size:22px;font-weight:800;line-height:1.05}
.service-card-sub{font-size:16px;font-weight:700;opacity:.95}
.availability-table{display:flex;flex-direction:column;gap:10px}
.availability-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(140px,1fr);gap:10px;align-items:center;background:rgba(0,0,0,.03);padding:10px 12px;border-radius:0}
.availability-day,.availability-times{font-size:16px;color:#6d7882;font-weight:650}
.availability-times{text-align:right}
.reviews-ticker{overflow:hidden;position:relative;border-top:1px solid #ead9a7;padding-top:10px}
.reviews-track{display:flex;gap:14px;align-items:stretch;width:max-content;animation:reviews-scroll 70s linear infinite}
.review-chip{min-width:320px;max-width:320px;border:1px solid #e4d39d;border-radius:16px;background:rgba(255,255,255,.95);padding:14px 16px;box-shadow:0 6px 18px rgba(20,10,40,.05)}
.review-chip-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.review-chip p{margin:0;color:#554d60;font-size:14px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
@keyframes reviews-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion: reduce){.reviews-track{animation:none}}

/* V14 – cartes privées et fiches : fond individuel, largeur et ergonomie */
.expert{isolation:isolate}
.expert::before{display:none!important}
.expert-cover{height:118px;margin:-14px -14px -40px;flex:0 0 auto;background-size:cover;background-position:center;position:relative;border-radius:20px 20px 0 0;z-index:0}
.expert-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(255,255,255,.75),rgba(0,0,0,.05))}
.expert-head{margin-top:0!important;z-index:1;align-items:center}
.expert:has(.expert-cover) .expert-head{margin-top:-12px!important}
.expert-head .headbody{background:rgba(255,255,255,.96);border:1px solid rgba(184,138,12,.45);border-radius:16px;padding:9px 11px;box-shadow:0 4px 14px rgba(0,0,0,.12);min-width:0}
.expert-head .name{line-height:1.25}
.expert-head .portrait{flex-shrink:0;border:3px solid white;box-shadow:0 3px 12px rgba(0,0,0,.2)}
.service-number-row{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;min-width:0;margin:0 0 12px;width:100%;overflow:visible}
.service-number{display:block;width:100%;text-align:center;overflow-wrap:anywhere;white-space:normal;font-size:clamp(17px,1.6vw,24px);padding:10px 6px;border:1px solid #dfd0ec;border-bottom:0;border-radius:10px 10px 0 0;color:#6546a0;background:#fff;font-weight:800}
.service-badge,.service-badge.solo{clip-path:none;display:block;width:100%;white-space:normal;border-radius:0 0 10px 10px;padding:10px 8px;line-height:1.3;font-size:clamp(10px,1vw,12px);text-align:center;overflow-wrap:break-word}
.service-card-button{min-height:46px;margin-top:7px;padding:8px 11px;border-radius:10px;box-shadow:0 3px 9px rgba(20,10,40,.07)}
.service-card-left{gap:10px;min-width:0}
.service-card-icon{width:26px;height:26px;flex:0 0 26px}
.service-card-icon svg{width:24px;height:24px}
.service-card-text{gap:2px;min-width:0}
.service-card-title{font-size:clamp(13px,1.2vw,16px);line-height:1.15}
.service-card-sub{font-size:clamp(11px,1.0vw,13px)}
.availability-panel{margin-top:14px}
.availability-table{gap:6px}
.availability-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:10px 11px;border-radius:9px;min-width:0}
.availability-row:nth-child(odd){background:#f3f1ec}
.availability-row:nth-child(even){background:#fff}
.availability-day{font-size:13px;min-width:0;flex:1 1 125px;color:#5a5961}
.availability-times{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end;flex:1 1 135px;text-align:right;min-width:0}
.availability-slot{font-size:12px;font-weight:700;white-space:nowrap;color:#595d68;padding:4px 6px;border:1px solid #e0d7bf;background:white;border-radius:6px}
@media(max-width:1180px){.availability-times{justify-content:flex-start}}
@media(max-width:600px){.expert-cover{height:105px}.expert:has(.expert-cover) .expert-head{margin-top:-12px!important}.service-number{font-size:19px}.availability-day{flex-basis:100%}.availability-times{flex-basis:100%;justify-content:flex-start}}


/* V15 – cartes privées : grandes photos, bulles uniformes, CTA vers la fiche */
.expert{gap:12px}
.expert-cover{height:124px;margin:-14px -14px -54px}
.expert-cover::after{background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(255,255,255,.78))}
.expert-head{align-items:flex-start;gap:14px}
.expert:has(.expert-cover) .expert-head{margin-top:0!important}
.expert-head .portrait{width:118px;height:118px;flex:0 0 118px;margin:6px 0 0 10px;border-width:4px}
.expert-head .headbody{height:100px;min-height:100px;max-height:100px;align-self:center;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:10px 14px;overflow:hidden;flex:1 1 auto}
.expert-head .name{font-size:18px;line-height:1.12;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.expert-head .code{font-size:12px;line-height:1.15;margin-top:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.expert-head .specialties{font-size:12px;line-height:1.28;margin-top:0;color:#655f72;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.expert .statusline{margin-top:2px}
.expert .description{font-size:11.5px;line-height:1.45;-webkit-line-clamp:4}
.expert .stats{font-size:11px;line-height:1.35}
.service-icons{padding-top:2px;gap:18px}
.service-icon svg{width:24px;height:24px}
.service-icon span{font-size:12px}
.cta-wrap{gap:10px}
.consult-cta{min-height:50px;border-radius:14px;padding:10px 14px;font-size:22px;box-shadow:0 4px 12px rgba(0,0,0,.08)}
.consult-cta small{font-size:12px}
.profile-link{display:none!important}
@media(max-width:1180px){.expert-head .portrait{width:108px;height:108px;flex-basis:108px}.expert-head .headbody{height:92px;min-height:92px;max-height:92px}}
@media(max-width:760px){.expert-cover{height:112px;margin-bottom:-48px}.expert-head .portrait{width:96px;height:96px;flex-basis:96px;margin-left:6px}.expert-head .headbody{height:82px;min-height:82px;max-height:82px;padding:8px 10px}.expert-head .name{font-size:16px}.consult-cta{font-size:19px}}
@media(max-width:600px){.expert-cover{height:108px}.expert-head{gap:10px}.expert-head .portrait{width:88px;height:88px;flex-basis:88px;margin-top:8px}.expert-head .headbody{height:75px;min-height:75px;max-height:75px}.service-icons{gap:14px}}


/* V16 – photo remontée à gauche, cartouche 85 %, textes complets et CTA compact */
.expert{--photo-size:clamp(112px,7.8vw,148px)}
.expert-head{gap:7px!important;align-items:center!important;margin-top:-13px!important;min-width:0}
.expert:has(.expert-cover) .expert-head{margin-top:-13px!important}
.expert-head .portrait{width:var(--photo-size)!important;height:var(--photo-size)!important;flex:0 0 var(--photo-size)!important;margin:-14px 0 0 -10px!important;object-fit:cover;align-self:flex-start}
.expert-head .headbody{height:calc(var(--photo-size) * .85)!important;min-height:calc(var(--photo-size) * .85)!important;max-height:calc(var(--photo-size) * .85)!important;min-width:0!important;flex:1 1 0!important;align-self:center!important;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:8px 10px!important;overflow:hidden}
.expert-head .name{font-size:clamp(14px,1.05vw,18px)!important;line-height:1.13!important;display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal}
.expert-head .code{font-size:clamp(10px,.81vw,12px)!important;margin-top:0!important;line-height:1.15!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important}
.expert-head .specialties{font-size:clamp(10px,.78vw,12px)!important;line-height:1.2!important;min-height:0;margin-top:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;overflow-wrap:anywhere!important}
.expert .consult-cta{min-height:40px!important;padding:7px 9px!important;border-radius:11px!important;font-size:clamp(13px,1vw,17px)!important;line-height:1.15!important}
.expert .consult-cta small{font-size:clamp(10px,.75vw,12px)!important;line-height:1.2!important}
.expert .consult-cta .cta-inner{gap:2px}
@media(max-width:1180px){.expert{--photo-size:clamp(106px,10vw,134px)}}
@media(max-width:860px){.expert{--photo-size:clamp(102px,14vw,134px)}}
@media(max-width:600px){.expert{--photo-size:clamp(102px,29vw,140px)}.expert-head .portrait{margin-left:-7px!important}.expert-head .headbody{padding:7px 9px!important}.expert-head .name{font-size:clamp(14px,3.8vw,17px)!important}.expert-head .code{font-size:11px!important}.expert .consult-cta{font-size:16px!important}}


/* V19 - Forfaits privés compacts : quatre par ligne dans l'intégration desktop.
   Ces règles ciblent uniquement les forfaits ; aucun impact sur l'Audiotel. */
.profile .packages-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
}
.profile .package{
  min-width:0;
  padding:11px;
  gap:5px;
  border-radius:12px;
}
.profile .package-media{
  width:100%;
  height:112px;
  aspect-ratio:auto;
  object-fit:cover;
  border-radius:9px;
}
.profile .package-name{font-size:15px;line-height:1.25}
.profile .package-quantity{font-size:14px}
.profile .package-description{font-size:11px;line-height:1.4}
.profile .final-price{font-size:17px}
.profile .package-button{font-size:12px;padding:8px 7px;line-height:1.3}
/* Pour les iframes étroits, préserver la lisibilité au lieu de couper les forfaits. */
@media(max-width:900px){.profile .packages-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){
  .profile .packages-grid{grid-template-columns:1fr}
  .profile .package-media{height:140px}
}

/* V21 : lecteur vocal uniquement sur les fiches privées, avant le texte. */
.profile-voice{padding:14px 16px 16px;border:1px solid rgba(184,138,12,.45);border-radius:14px;background:rgba(255,255,255,.83);margin:6px 0 22px;max-width:100%;min-width:0}
.profile-voice h2{margin:0 0 12px;color:#D4AF37;font-size:clamp(17px,1.7vw,21px)}
.profile-voice audio{display:block;width:100%;min-width:0;max-width:100%;height:44px}
@media(max-width:600px){.profile-voice{padding:12px;margin-bottom:16px}}

/* V23 — Responsive corrige pour la grille privee et la fiche individuelle.
   Regles placees a la fin pour neutraliser les anciens breakpoints V10/V16.
   Le planning Audiotel (/) n'utilise pas cette feuille de style. */
@media (max-width: 1250px) and (min-width: 901px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-body { grid-template-columns: minmax(0, 1fr); }
  .profile-main, .profile-side { min-width: 0; width: 100%; }
  .profile-voice { width: 100%; }
  .profile-voice audio { width: 100%; }
  .profile .packages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  main { padding: 10px 10px 28px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .expert { width: 100%; padding: 14px; }
  .expert { --photo-size: clamp(104px, 29vw, 136px); }
  .expert-head .name { font-size: clamp(15px, 4.4vw, 19px) !important; }
  .expert-head .code { font-size: 12px !important; }
  .expert-head .specialties { font-size: 12px !important; }
  .expert .stats { font-size: 12px; }
  .expert .description { font-size: 13px; }
  .expert .consult-cta { font-size: 17px !important; }
  .service-icons { flex-wrap: wrap; gap: 12px 20px; }
  .searchbar { grid-template-columns: minmax(0, 1fr); }
  .toolbar { justify-content: flex-start; }
  .profile { margin: 6px auto; padding: 14px; border-radius: 18px; }
  .profile-banner { max-height: 155px; margin-bottom: 16px; }
  .profiletop { gap: 14px; }
  .profiletop > .portrait { width: 94px; height: 94px; flex: 0 0 94px; }
  .profiletop .headbody { flex: 1 1 0; min-width: 0; }
  .profiletop .name { font-size: clamp(20px, 6vw, 26px); overflow-wrap: anywhere; }
  .profile-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 20px; }
  .profile-main, .profile-side { width: 100%; max-width: 100%; min-width: 0; }
  .profile-main > .description { font-size: 14px; line-height: 1.6; }
  .profile-voice { width: 100%; padding: 12px; margin: 0 0 18px; }
  .profile-voice h2 { font-size: 19px; }
  .profile-voice audio { width: 100%; max-width: 100%; min-width: 0; }
  .service-panel, .availability-panel { padding: 14px; width: 100%; }
  .service-card-button { min-height: 54px; }
  .service-card-title { font-size: 15px; }
  .service-card-sub { font-size: 12px; }
  .profile .packages-grid { grid-template-columns: minmax(0, 1fr); }
  .profile .package-media { height: 145px; }
  .review-chip { min-width: min(270px, 76vw); max-width: min(270px, 76vw); }
}
@media (max-width: 380px) {
  .expert { --photo-size: 104px; }
  .expert-head { gap: 6px !important; }
  .expert-head .headbody { padding: 6px 8px !important; }
  .profiletop > .portrait { width: 80px; height: 80px; flex-basis: 80px; }
  .profiletop .name { font-size: 20px; }
}

/* V24 — Correctif mobile iPhone lorsque Safari utilise un viewport « bureau ».
   La largeur physique de l'écran est vérifiée indépendamment de la largeur
   du viewport, afin d'éviter toute superposition des deux colonnes. */
html.romael-phone-layout main{width:100%;max-width:100%;padding:10px 10px 28px}
html.romael-phone-layout .grid{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:14px}
html.romael-phone-layout .expert{width:100%;max-width:100%;min-width:0}
html.romael-phone-layout .searchbar{grid-template-columns:minmax(0,1fr)!important}
html.romael-phone-layout .profile{width:100%;max-width:100%;min-width:0;margin:6px auto;padding:14px;border-radius:18px}
html.romael-phone-layout .profile-banner{max-height:155px}
html.romael-phone-layout .profile-body{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:20px!important;width:100%;min-width:0;max-width:100%;margin-top:20px}
html.romael-phone-layout .profile-main,
html.romael-phone-layout .profile-side{display:block!important;position:static!important;float:none!important;flex:none!important;align-self:stretch!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-wrap:anywhere}
html.romael-phone-layout .profile-voice,
html.romael-phone-layout .profile .description,
html.romael-phone-layout .profile .service-panel,
html.romael-phone-layout .profile .availability-panel{position:static;display:block;min-width:0;max-width:100%;width:100%;box-sizing:border-box}
html.romael-phone-layout .profile-voice{padding:12px;margin:0 0 18px}
html.romael-phone-layout .profile-voice audio{display:block;width:100%;min-width:0;max-width:100%}
html.romael-phone-layout .profile .packages-grid{grid-template-columns:minmax(0,1fr)!important}
html.romael-phone-layout .service-card-button{min-height:54px}
html.romael-phone-layout .service-card-title{font-size:15px}
html.romael-phone-layout .service-card-sub{font-size:12px}
html.romael-phone-layout .availability-times{justify-content:flex-start}
html.romael-phone-layout .profiletop>.portrait{width:94px;height:94px;flex:0 0 94px}
html.romael-phone-layout .profiletop .name{font-size:clamp(20px,6vw,26px)}
html.romael-phone-layout .expert{--photo-size:clamp(104px,29vw,136px)}
html.romael-phone-layout .expert-head .name{font-size:17px!important}
html.romael-phone-layout .expert .consult-cta{font-size:17px!important}

/* V25 : cartouche de numéro direct cliquable, uniquement en fiche individuelle. */
.profile .service-number-row--clickable{display:flex;flex-direction:column;text-decoration:none;cursor:pointer;width:100%;max-width:100%;min-width:0;border-radius:13px;margin:0 0 14px;overflow:hidden;box-shadow:0 3px 14px rgba(71,51,14,.12);transition:box-shadow .2s ease,transform .2s ease}
.profile .service-number-row--clickable .service-number{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;white-space:normal;overflow-wrap:anywhere;font-size:clamp(17px,2.2vw,24px);color:#4c2a86;border:1px solid #dbc594;border-bottom:0;border-radius:13px 13px 0 0;padding:12px 10px;background:#fff}
.profile .service-number-icon{display:inline-flex;width:23px;height:23px;flex:0 0 23px;color:#188047}
.profile .service-number-icon svg{width:100%;height:100%}
.profile .service-number-text{min-width:0;overflow-wrap:anywhere}
.profile .service-number-row--clickable .service-badge{display:flex;flex-direction:column;align-items:center;gap:4px;color:#ffffff;background:#5a2ca0;font-weight:750;border-radius:0 0 13px 13px;padding:10px 8px;line-height:1.4;text-align:center}
.profile .service-number-price,.profile .service-number-code{display:block;font-size:12px;font-weight:600}
.profile .service-number-row--clickable:focus-visible{outline:3px solid #d4af37;outline-offset:3px}
@media(hover:hover){.profile .service-number-row--clickable:hover{box-shadow:0 5px 18px rgba(71,51,14,.2);transform:translateY(-1px)}}
@media(max-width:680px){.profile .service-number-row--clickable .service-number{font-size:20px}}
html.romael-phone-layout .profile .service-number-row--clickable{width:100%;max-width:100%}

/* V25 : respecter les paragraphes et les espaces des présentations individuelles. */
.profile .profile-main > .description{white-space:pre-wrap!important;overflow-wrap:anywhere;word-break:normal;line-height:1.7;tab-size:4;display:block;-webkit-line-clamp:unset;overflow:visible}
html.romael-phone-layout .profile .profile-main > .description{white-space:pre-wrap!important}

/* V26 : accès CB correct et lignes internationales avec drapeaux.
   Les couleurs suivent strictement l'état de disponibilité existant. */
.profile .special-phone-card{width:100%;max-width:100%;box-sizing:border-box;min-width:0;gap:10px}
.profile .special-phone-card .service-card-left{min-width:0;gap:12px;align-items:center}
.profile .special-phone-card .service-card-text{min-width:0;overflow-wrap:anywhere}
.profile .special-phone-card .service-card-title{font-weight:800}
.profile .special-phone-number{font-size:clamp(16px,1.65vw,21px);font-weight:850;letter-spacing:.2px;line-height:1.25;margin:3px 0}
.profile .special-phone-code{font-size:12px;font-weight:700;margin-top:4px}
.profile .special-phone-flag{display:inline-flex;justify-content:center;align-items:center;flex:0 0 37px;width:37px;font-size:29px;line-height:1}
.profile .foreign-phone-group{margin-top:18px;padding-top:13px;border-top:1px solid rgba(184,138,12,.35)}
.profile .foreign-phone-title{font-size:15px;color:#936b0c;margin:2px 0 10px;font-weight:800}
.profile .special-phone-card.disabled{pointer-events:none;cursor:not-allowed}
@media(max-width:680px){.profile .special-phone-card{padding:10px 12px}.profile .special-phone-flag{flex-basis:32px;width:32px;font-size:26px}.profile .special-phone-number{font-size:18px}}
html.romael-phone-layout .profile .special-phone-card{box-sizing:border-box;width:100%;max-width:100%}


/* V27 : appels internationaux au même gabarit que les boutons classiques. */
.profile .foreign-phone-group .special-phone-card{
  min-height:54px;
  height:auto;
  padding:8px 11px;
  margin-top:7px;
  border-radius:10px;
  gap:10px;
  box-shadow:0 3px 9px rgba(20,10,40,.07);
  align-items:center;
  box-sizing:border-box;
}
.profile .foreign-phone-group .special-phone-card .service-card-left{
  gap:10px;
  align-items:center;
  width:100%;
}
.profile .foreign-phone-group .special-phone-flag{
  flex:0 0 24px;
  width:24px;
  font-size:22px;
}
.profile .foreign-phone-group .service-card-text{gap:2px;min-width:0}
.profile .foreign-phone-group .service-card-title{
  font-size:clamp(13px,1.2vw,16px);
  line-height:1.15;
  overflow-wrap:anywhere;
}
.profile .foreign-phone-group .service-card-sub{
  font-size:clamp(11px,1vw,13px);
  line-height:1.2;
  overflow-wrap:anywhere;
}
.profile .foreign-phone-group a.special-phone-card{cursor:pointer;touch-action:manipulation}
.profile .foreign-phone-group a.special-phone-card:focus-visible{outline:3px solid #d4af37;outline-offset:2px}
@media(max-width:680px){
  .profile .foreign-phone-group .special-phone-card{min-height:54px;padding:8px 11px}
  .profile .foreign-phone-group .service-card-title{font-size:15px}
  .profile .foreign-phone-group .service-card-sub{font-size:12px}
}
html.romael-phone-layout .profile .foreign-phone-group .special-phone-card{min-height:54px;padding:8px 11px}
html.romael-phone-layout .profile .foreign-phone-group .service-card-title{font-size:15px}
html.romael-phone-layout .profile .foreign-phone-group .service-card-sub{font-size:12px}

/* V28 : le numéro CB français utilise le même gabarit que les boutons étrangers. */
.profile .special-phone-card--cb{
  min-height:54px;
  height:auto;
  padding:8px 11px;
  margin-top:7px;
  border-radius:10px;
  gap:10px;
  box-shadow:0 3px 9px rgba(20,10,40,.07);
  align-items:center;
  box-sizing:border-box;
}
.profile .special-phone-card--cb .service-card-left{gap:10px;align-items:center;width:100%;min-width:0}
.profile .special-phone-card--cb .service-card-icon{width:24px;height:24px;flex:0 0 24px}
.profile .special-phone-card--cb .service-card-icon svg{width:23px;height:23px}
.profile .special-phone-card--cb .service-card-text{gap:2px;min-width:0}
.profile .special-phone-card--cb .service-card-title{font-size:clamp(13px,1.2vw,16px);line-height:1.15;overflow-wrap:anywhere}
.profile .special-phone-card--cb .service-card-sub{font-size:clamp(11px,1vw,13px);line-height:1.2;overflow-wrap:anywhere}
.profile a.special-phone-card--cb{cursor:pointer;touch-action:manipulation}
.profile a.special-phone-card--cb:focus-visible{outline:3px solid #d4af37;outline-offset:2px}
@media(max-width:680px){
  .profile .special-phone-card--cb{min-height:54px;padding:8px 11px}
  .profile .special-phone-card--cb .service-card-title{font-size:15px}
  .profile .special-phone-card--cb .service-card-sub{font-size:12px}
}
html.romael-phone-layout .profile .special-phone-card--cb{min-height:54px;padding:8px 11px}
html.romael-phone-layout .profile .special-phone-card--cb .service-card-title{font-size:15px}
html.romael-phone-layout .profile .special-phone-card--cb .service-card-sub{font-size:12px}
