/* SUPERMATHS — Profils publics des professeurs (style éditorial doux : Poppins + accents arrondis roses) */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@600;700&family=Poppins:wght@300;400;600;800&display=swap');
:root{--tp-pink:#14b3a9;--tp-pink2:#0d8a83;--tp-ink:#191a2e;--tp-soft:#5b6170;--tp-teal:#0f9e95;--tp-line:#dcefed}
/* ----- section accueil ----- */
.tp-home{position:relative;padding:72px 18px;background:
  radial-gradient(600px 300px at 10% 0%,rgba(25,184,174,.12),transparent 70%),radial-gradient(500px 300px at 95% 100%,rgba(15,158,149,.10),transparent 70%),
  linear-gradient(rgba(25,184,174,.06) 1px,transparent 1px) 0 0/28px 28px,linear-gradient(90deg,rgba(25,184,174,.06) 1px,transparent 1px) 0 0/28px 28px,#f4fbfa;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;color:var(--tp-ink)}
.tp-home-in{max-width:1120px;margin:0 auto;text-align:center}
.tp-pill{display:inline-block;padding:5px 14px;border:1.5px solid var(--tp-pink);border-radius:999px;color:var(--tp-pink);font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;background:#fff}
.tp-home h2{margin:14px 0 8px;font-size:clamp(32px,4vw,52px);font-weight:300;letter-spacing:-.02em}
.tp-home h2 em,.tp-acc{font-style:normal;font-family:'Fredoka','Poppins',sans-serif;font-weight:700;color:var(--tp-pink)}
.tp-sub{max-width:620px;margin:0 auto 34px;color:var(--tp-soft)}
.tp-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:22px;text-align:left}
.tp-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:22px 20px;border:1px solid var(--tp-line);border-radius:22px;background:#fff;
  font:inherit;color:inherit;cursor:pointer;box-shadow:0 18px 40px -30px rgba(25,26,46,.35);transform:rotate(var(--r,-.8deg));
  transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s;animation:tpIn .6s both;animation-delay:calc(var(--i)*70ms)}
.tp-card:nth-child(even){--r:.8deg}
.tp-card:hover{transform:rotate(0) translateY(-6px);box-shadow:0 28px 50px -30px rgba(25,184,174,.45)}
@keyframes tpIn{from{opacity:0;transform:translateY(18px) rotate(0)}}
.tp-num{position:absolute;top:-12px;right:16px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--tp-pink);color:#fff;font-family:'Fredoka',sans-serif;font-weight:700;box-shadow:0 6px 14px rgba(25,184,174,.35)}
.tp-av{width:64px;height:64px;border-radius:18px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#19b8ae,#0d8a83);color:#fff;font-weight:800;font-size:20px;
  box-shadow:0 0 0 3px #fff,0 0 0 5px var(--tp-pink);transform:rotate(-3deg);margin-bottom:6px}
.tp-av img{width:100%;height:100%;object-fit:cover}
.tp-card b{font-size:17px;font-weight:800}.tp-card small{color:var(--tp-teal);font-weight:600;font-size:12.5px}
.tp-card p{margin:2px 0 6px;color:var(--tp-soft);font-size:13.5px;line-height:1.5}
.tp-more{margin-top:auto;color:var(--tp-pink);font-weight:700;font-size:13px}
/* ----- fenêtre profil ----- */
.tp-lock{overflow:hidden}
.tp-sheet{position:fixed;inset:0;z-index:300000;display:flex;align-items:center;justify-content:center;padding:14px;background:rgba(25,26,46,.45);opacity:0;transition:opacity .22s;font-family:'Poppins','Segoe UI',Arial,sans-serif}
.tp-sheet.open{opacity:1}
.tp-box{position:relative;width:min(760px,100%);max-height:calc(100dvh - 28px);overflow:auto;background:#fff;border-radius:28px;padding:26px;color:var(--tp-ink);box-shadow:0 30px 80px rgba(0,0,0,.3);transform:translateY(14px);transition:transform .3s}
.tp-sheet.open .tp-box{transform:none}
.tp-x{position:absolute;top:14px;right:14px;width:38px;height:38px;border:0;border-radius:12px;background:#eef6f6;font-size:22px;cursor:pointer}
.tp-head{display:flex;gap:18px;align-items:center;margin-bottom:8px}.tp-av.big{width:96px;height:96px;flex:0 0 96px;border-radius:24px;font-size:28px}
.tp-kick{font-size:10.5px;font-weight:600;letter-spacing:.14em;color:var(--tp-pink);text-transform:uppercase}
.tp-box h3{margin:2px 0 8px;font-family:'Fredoka','Poppins',sans-serif;font-size:28px}
.tp-chips{display:flex;flex-wrap:wrap;gap:6px}.tp-chips span{padding:4px 10px;border-radius:999px;background:#e8f8f6;color:#0b7d76;font-size:12px;font-weight:600}
.tp-chips .lv{background:#eef4ff;color:#3b5bdb}.tp-chips .xp{background:#fff8e6;color:#9a6a00}
.tp-box section{margin-top:18px}.tp-box h4{margin:0 0 8px;font-size:15px;font-weight:800}
.tp-bio{margin:0;color:#3d4250;line-height:1.65}
.tp-video{position:relative;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#000}.tp-video iframe,.tp-video video{position:absolute;inset:0;width:100%;height:100%;border:0}
.tp-link{color:var(--tp-pink);font-weight:700}
.tp-grid{display:grid;grid-template-columns:78px repeat(7,1fr);gap:4px;font-size:11.5px}
.tp-g-h{text-align:center;font-weight:800;color:#5b6170;padding:4px 0}.tp-g-s{color:#5b6170;font-weight:600;display:flex;align-items:center}
.tp-c{height:28px;border-radius:8px;background:#f3f1f2;border:0}.tp-c.on{background:#22c55e}.tp-c.busy{background:#b9c0c7}
button.tp-c{cursor:pointer}button.tp-c:hover{outline:2px solid var(--tp-pink)}
.tp-legend{display:flex;gap:14px;align-items:center;font-size:12px;color:#5b6170;margin:8px 0 0}.tp-legend span{display:inline-block;width:14px;height:14px;border-radius:4px;margin-right:4px;vertical-align:-2px}
.tp-legend .on{background:#22c55e}.tp-legend .busy{background:#b9c0c7}
.tp-cta{display:inline-block;margin-top:20px;padding:12px 20px;border-radius:999px;background:var(--tp-pink);color:#fff!important;font-weight:700;text-decoration:none}
/* ----- formulaire professeur ----- */
.tp-form{display:grid;gap:14px}.tp-form label{display:grid;gap:6px;font-size:13px;font-weight:600}
.tp-form input,.tp-form textarea{border:1.5px solid #d5e9e7;border-radius:12px;padding:10px 12px;font:inherit;font-weight:400}
.tp-form input:focus,.tp-form textarea:focus{outline:none;border-color:var(--tp-pink);box-shadow:0 0 0 4px rgba(25,184,174,.15)}
.tp-form small,.tp-hint{display:block;font-weight:400;color:#7a7f8c;font-size:12px;margin:2px 0 8px}.tp-lab{font-size:13px}
.tp-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media(max-width:560px){.tp-two{grid-template-columns:1fr}.tp-grid{grid-template-columns:58px repeat(7,1fr)}}
.tp-check{display:flex!important;align-items:center;gap:8px;grid-template-columns:none!important}
.tp-save{border:0;border-radius:999px;padding:14px;background:var(--tp-pink);color:#fff;font:inherit;font-weight:800;font-size:15px;cursor:pointer}
.tp-trigger{display:inline-flex;align-items:center;gap:6px;border:1.5px solid #bfe8e4;border-radius:999px;background:#e9f8f6;color:#0b7d76;padding:8px 13px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;margin-right:6px}
@media(max-width:1200px){.tp-trigger b{display:none}}
.tp-toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:400000;background:#191a2e;color:#fff;padding:12px 18px;border-radius:14px;font-weight:600}
/* ----- annonces : carte professionnelle, cadre légèrement incliné, petite photo nette ----- */
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo{position:relative!important;display:flex!important;flex-direction:column!important;gap:10px!important;padding:18px!important;background:#fff!important;
  border:1px solid #d6eeeb!important;border-radius:24px!important;box-shadow:0 22px 44px -34px rgba(13,138,131,.55)!important;transform:rotate(-.7deg);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s!important;overflow:visible!important;
  animation:tpCard .6s both;animation-delay:calc(var(--i,0)*90ms)}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo:nth-child(even){transform:rotate(.7deg)}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo:hover{transform:rotate(0) translateY(-6px)!important;box-shadow:0 30px 54px -30px rgba(13,138,131,.6)!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo::before{content:"";position:absolute;inset:-6px;border:1.5px dashed #bfe8e4;border-radius:28px;transform:rotate(1.4deg);z-index:-1;pointer-events:none}
@keyframes tpCard{from{opacity:0;transform:translateY(16px) rotate(0)}}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-media{position:relative!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;padding:0!important;margin:0!important;background:none!important;border-radius:0!important;overflow:visible!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-media::before,:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-media::after,
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-photo::before,:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-photo::after,
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-name::before,:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-name::after{display:none!important;content:none!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-photo{position:static!important;inset:auto!important;display:flex!important;align-items:center!important;gap:12px!important;flex:1 1 100%!important;width:auto!important;height:auto!important;padding:0 44px 0 0!important;background:none!important;border:0!important;text-align:left!important;cursor:pointer}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-photo img,:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-ini{position:static!important;width:56px!important;height:56px!important;flex:0 0 56px!important;border-radius:16px!important;object-fit:cover!important;transform:none!important;
  box-shadow:0 0 0 3px #fff,0 0 0 5px #9fe3dc!important;display:grid!important;place-items:center;background:linear-gradient(135deg,#19b8ae,#0d8a83);color:#fff;font-weight:800;font-size:18px}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-name{position:static!important;display:flex!important;flex-direction:column!important;gap:2px!important;background:none!important;padding:0!important;margin:0!important;min-width:0}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-name strong{font-size:16.5px!important;line-height:1.2!important;color:#1b2b33!important;text-shadow:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-name small{font-size:12.5px!important;color:#5d6f78!important;text-shadow:none!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-chip{position:static!important;inset:auto!important;order:3;margin:0!important;padding:5px 11px!important;border-radius:999px!important;background:#e9f8f6!important;color:#0b7d76!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important;transform:none!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-fav{position:absolute!important;top:0!important;right:0!important;left:auto!important;bottom:auto!important;width:38px!important;height:38px!important;margin:0!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-row{margin:0!important;padding:0!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-text{padding:0!important;margin:0!important;text-align:left!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-foot{padding:10px 0 0!important;margin:0!important;border-top:1px dashed #d6eeeb!important}
.tp-annonce-link{display:inline-flex;align-items:center;gap:6px;margin:0;padding:7px 12px;border:1.5px solid #bfe8e4;border-radius:999px;background:#e9f8f6;color:#0b7d76;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer;width:max-content;max-width:100%}
.tp-annonce-link:hover{background:#14b3a9;color:#fff;border-color:#14b3a9}
.tp-info{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}.tp-info div{padding:10px 12px;border:1px solid #dcefed;border-radius:14px;background:#f8fdfc}
.tp-info span{display:block;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#5d6f78}.tp-info b{font-size:14px}
@media(prefers-reduced-motion:reduce){.tp-card{animation:none;transform:none}}

.tp-card p,.tp-card b,.tp-card small{text-align:left;align-self:stretch}

/* ----- profil « à la Superprof » : bandeau coloré, grande photo nette, chiffres clés, bouton Discuter ----- */
.tp-box{padding:0!important;overflow:auto}
.tp-box>.tp-x{z-index:3;background:rgba(255,255,255,.9)}
.tp-hero{display:flex;gap:20px;align-items:flex-end;padding:26px 26px 18px;background:linear-gradient(135deg,#19b8ae 0%,#0d8a83 60%,#0b6f8a 100%);color:#fff;border-radius:28px 28px 0 0}
.tp-hero .tp-av.big{width:132px;height:132px;flex:0 0 132px;border-radius:28px;box-shadow:0 0 0 4px #fff,0 16px 30px rgba(0,0,0,.25);transform:rotate(-2deg);image-rendering:auto}
.tp-hero .tp-av.big img{width:100%;height:100%;object-fit:cover;image-rendering:-webkit-optimize-contrast}
.tp-hero h3{color:#fff;font-size:30px;margin:4px 0 10px;letter-spacing:-.01em}
.tp-hero .tp-kick{color:#c9fff9}
.tp-hero .tp-chips span{background:rgba(255,255,255,.18);color:#fff;border:1px solid rgba(255,255,255,.35)}
.tp-hero .tp-chips .lv{background:#fff;color:#0b6f8a}.tp-hero .tp-chips .xp{background:#ffc75a;color:#5a3d00;border-color:#ffc75a}
.tp-box>section,.tp-stats,.tp-ctas{margin-left:26px!important;margin-right:26px!important}
.tp-box>section:last-of-type{margin-bottom:26px!important}
.tp-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:-1px;padding-top:16px}
.tp-stats div{padding:12px 10px;border-radius:16px;text-align:center}.tp-stats b{display:block;font-size:19px;font-family:'Fredoka','Poppins',sans-serif}.tp-stats span{font-size:11.5px;color:#5d6f78}
.tp-stats .c1{background:#e7f8f5}.tp-stats .c1 b{color:#0b7d76}.tp-stats .c2{background:#fff6dc}.tp-stats .c2 b{color:#b07d00}
.tp-stats .c3{background:#eaf2ff}.tp-stats .c3 b{color:#2f5fd0}.tp-stats .c4{background:#fdeef0}.tp-stats .c4 b{color:#d9435f}
.tp-ctas{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.tp-chat{flex:1 1 220px;border:0;border-radius:999px;padding:14px 18px;background:linear-gradient(135deg,#19b8ae,#0d8a83);color:#fff;font:inherit;font-weight:800;font-size:15px;cursor:pointer;box-shadow:0 12px 24px -12px rgba(13,138,131,.7)}
.tp-chat:hover{filter:brightness(1.06)}
.tp-cta2{flex:0 1 auto;display:inline-flex;align-items:center;justify-content:center;padding:13px 18px;border-radius:999px;border:1.5px solid #bfe8e4;color:#0b7d76;font-weight:700;text-decoration:none;background:#fff}
.tp-empty{margin:0;padding:12px 14px;border-radius:14px;background:#f4fbfa;border:1px dashed #bfe8e4;color:#5d6f78}
@media(max-width:620px){.tp-hero{flex-direction:column;align-items:flex-start}.tp-hero .tp-av.big{width:108px;height:108px;flex-basis:108px}.tp-stats{grid-template-columns:repeat(2,1fr)}}
.tp-num{display:none!important}

/* ===== V5 — profil : couleurs claires SUPERMATHS + ouverture animée ===== */
.tp-hero{background:linear-gradient(135deg,#eafaf8 0%,#d8f3ef 55%,#e6f1ff 100%)!important;color:#1b2b33!important;border-bottom:1px solid #d6eeeb}
.tp-hero h3{color:#1b2b33!important}.tp-hero .tp-kick{color:#0d8a83!important}
.tp-hero .tp-av.big{box-shadow:0 0 0 4px #fff,0 0 0 7px #9fe3dc,0 18px 30px -12px rgba(13,138,131,.45)!important;transform:none!important}
.tp-hero .tp-chips span{background:#fff!important;color:#0b7d76!important;border:1px solid #bfe8e4!important}
.tp-hero .tp-chips .lv{background:#eef4ff!important;color:#3b5bdb!important;border-color:#d3defd!important}
.tp-hero .tp-chips .xp{background:#fff6dc!important;color:#8a5b00!important;border-color:#ffe3a1!important}
.tp-box>.tp-x{background:#fff!important;box-shadow:0 4px 12px rgba(0,0,0,.08)}
.tp-sheet .tp-box{transform:translateY(24px) scale(.94)!important;opacity:0;transition:transform .45s cubic-bezier(.2,.9,.25,1.1),opacity .3s!important}
.tp-sheet.open .tp-box{transform:none!important;opacity:1}
.tp-sheet.open .tp-hero .tp-av.big{animation:tpPhoto .7s cubic-bezier(.3,1.5,.5,1) both .15s}
@keyframes tpPhoto{from{transform:scale(.6) rotate(-8deg);opacity:0}}
.tp-sheet.open .tp-hero-tx>*{animation:tpUp .5s both}.tp-sheet.open .tp-hero-tx>*:nth-child(2){animation-delay:.08s}.tp-sheet.open .tp-hero-tx>*:nth-child(3){animation-delay:.16s}
.tp-sheet.open .tp-stats>div{animation:tpUp .5s both}.tp-sheet.open .tp-stats>div:nth-child(1){animation-delay:.2s}.tp-sheet.open .tp-stats>div:nth-child(2){animation-delay:.27s}.tp-sheet.open .tp-stats>div:nth-child(3){animation-delay:.34s}.tp-sheet.open .tp-stats>div:nth-child(4){animation-delay:.41s}
.tp-sheet.open .tp-ctas,.tp-sheet.open .tp-box>section{animation:tpUp .55s both .45s}
@keyframes tpUp{from{opacity:0;transform:translateY(12px)}}
.tp-stats div{transition:transform .25s}.tp-stats div:hover{transform:translateY(-3px)}
/* cartes nettes (pas d'inclinaison : le texte reste parfaitement net) */
.tp-card,.tp-card:nth-child(even){transform:none!important;--r:0deg}
.tp-card:hover{transform:translateY(-6px)!important}

/* ===== V5 — annonces : style « fiche cours » net et attirant ===== */
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo,:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo:nth-child(even){transform:none!important;padding:0!important;gap:0!important;font-size:14px!important;border-radius:20px!important;overflow:hidden!important;border:1px solid #d6eeeb!important;background:#fff!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo::before{content:""!important;position:static!important;display:block!important;inset:auto!important;height:6px;border:0!important;border-radius:0!important;transform:none!important;background:linear-gradient(90deg,#19b8ae,#5ad1c7,#7aa7ff)!important;z-index:auto!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo:hover{transform:translateY(-5px)!important;box-shadow:0 26px 48px -28px rgba(13,138,131,.55)!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-media{padding:14px 16px 4px!important;background:linear-gradient(180deg,#f2fbfa,#fff)!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-photo{padding-right:40px!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-photo img,:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-ini{width:52px!important;height:52px!important;flex-basis:52px!important;border-radius:50%!important;box-shadow:0 0 0 2px #fff,0 0 0 4px #9fe3dc!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-name strong{font-size:15px!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-name small{font-size:12px!important;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-chip{font-size:11.5px!important;padding:4px 10px!important;background:#fff6dc!important;color:#8a5b00!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-fav{top:12px!important;right:12px!important;width:34px!important;height:34px!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-row{padding:8px 16px 0!important;font-size:12.5px!important;display:flex!important;justify-content:space-between;align-items:center}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-text{padding:6px 16px 0!important;font-size:14px!important;line-height:1.45!important;color:#1b2b33!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-foot{margin-top:12px!important;padding:12px 16px!important;background:#f4fbfa!important;border-top:1px solid #e1f1ef!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px;flex-wrap:wrap}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-price{font-size:12.5px!important;line-height:1.35}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-price b{font-size:19px!important;color:#0b7d76!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .sm-pv3-book{border-radius:999px!important;padding:10px 18px!important;font-size:13.5px!important;background:linear-gradient(135deg,#19b8ae,#0d8a83)!important;box-shadow:0 10px 20px -10px rgba(13,138,131,.7)!important}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .tp-annonce-link{margin:6px 16px 0!important;padding:0!important;border:0!important;background:none!important;color:#0d8a83!important;font-size:12.5px!important;font-weight:700;text-decoration:none}
:is(#cours-en-ligne,#pcPromo,body) .sm-pv3.tp-small-photo .tp-annonce-link:hover{text-decoration:underline}

/* ===== V6 — tons plus clairs ===== */
.tp-chat{background:linear-gradient(135deg,#7fdcd3,#3cc4b9)!important;color:#073f3b!important;box-shadow:0 10px 22px -14px rgba(13,138,131,.55)!important;font-weight:700!important}
.tp-cta2{color:#0d8a83!important;font-weight:600!important}
.tp-stats b{font-weight:600!important}.tp-stats .c1 b{color:#1aa398!important}.tp-stats .c2 b{color:#c9930a!important}.tp-stats .c3 b{color:#4a76e0!important}.tp-stats .c4 b{color:#e0607a!important}
.tp-hero h3{font-weight:600!important}.tp-box h4{font-weight:600!important;color:#2a3d45}
.tp-pres{margin:0;padding:14px 16px;border-radius:16px;background:#f6fcfb;border:1px solid #e1f1ef;color:#33454d;line-height:1.7}

.tp-preview{border:1.5px solid #bfe8e4;border-radius:999px;padding:12px;background:#fff;color:#0d8a83;font:inherit;font-weight:700;cursor:pointer}.tp-preview:hover{background:#e9f8f6}

/* ===== V7 — fiche professeur en 2 colonnes (style plateforme de cours) ===== */
.tp-box.tp-v7{width:min(1020px,100%);padding:0!important}
.tp-v7 .tp-lay{display:grid;grid-template-columns:330px 1fr;min-height:100%}
.tp-v7 .tp-side{position:relative;padding:28px 22px;background:linear-gradient(180deg,#eafaf8,#f6fbff 70%);border-right:1px solid #e1f1ef;border-radius:28px 0 0 28px}
.tp-v7 .tp-side>*{position:sticky}
.tp-v7 .tp-hero{flex-direction:column!important;align-items:center!important;text-align:center;padding:0!important;background:none!important;border:0!important;border-radius:0!important;gap:12px!important}
.tp-v7 .tp-hero .tp-av.big{width:150px!important;height:150px!important;flex:0 0 150px!important;border-radius:50%!important}
.tp-v7 .tp-hero h3{font-size:24px!important;margin:2px 0 8px!important}
.tp-v7 .tp-hero .tp-chips{justify-content:center}
.tp-v7 .tp-stats{grid-template-columns:1fr 1fr!important;margin:18px 0 0!important;padding:0!important}
.tp-v7 .tp-stats div{padding:10px 8px!important}.tp-v7 .tp-stats b{font-size:17px!important}.tp-v7 .tp-stats span{font-size:11px!important}
.tp-v7 .tp-ctas{flex-direction:column;margin:14px 0 0!important}
.tp-v7 .tp-ctas>*{flex:none!important;width:100%;justify-content:center;text-align:center}
.tp-v7 .tp-main{padding:28px 30px 26px;min-width:0}
.tp-v7 .tp-main>section{margin:0 0 22px!important}
.tp-v7 .tp-main h4{font-size:16px!important;margin-bottom:10px!important}
.tp-v7 .tp-pres{font-size:14.5px;line-height:1.75;color:#3a4b53;background:#fbfefe}
.tp-v7 .tp-pres.tp-clamp{max-height:260px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}
.tp-more-btn{margin-top:8px;border:0;background:none;color:#0d8a83;font:inherit;font-weight:700;cursor:pointer;padding:4px 0}
.tp-v7 .tp-grid{font-size:11px}
@media(max-width:880px){.tp-v7 .tp-lay{grid-template-columns:1fr}.tp-v7 .tp-side{border-radius:28px 28px 0 0;border-right:0;border-bottom:1px solid #e1f1ef}.tp-v7 .tp-main{padding:20px}}

/* ===== V8 — colonne gauche claire (jamais le bleu foncé du site) ===== */
.tp-v7 .tp-side{background:linear-gradient(180deg,#effbf9 0%,#f7fbff 100%)!important;color:#1b2b33!important;position:relative!important;top:auto!important;left:auto!important;width:auto!important;height:auto!important;min-height:0!important;box-shadow:none!important;transform:none!important}
.tp-v7 .tp-side *{color:inherit}
.tp-v7 .tp-hero h3{color:#1b2b33!important}.tp-v7 .tp-hero .tp-kick{color:#0d8a83!important}
.tp-v7 .tp-hero .tp-chips span{color:#0b7d76!important}.tp-v7 .tp-hero .tp-chips .lv{color:#3b5bdb!important}.tp-v7 .tp-hero .tp-chips .xp{color:#8a5b00!important}
.tp-v7 .tp-stats .c1 b{color:#1aa398!important}.tp-v7 .tp-stats .c2 b{color:#c9930a!important}.tp-v7 .tp-stats .c3 b{color:#4a76e0!important}.tp-v7 .tp-stats .c4 b{color:#e0607a!important}
.tp-v7 .tp-stats span{color:#5d6f78!important}
.tp-v7 .tp-chat{color:#073f3b!important}.tp-v7 .tp-cta2{color:#0d8a83!important}
.tp-v7 .tp-hero .tp-chips{gap:5px}.tp-v7 .tp-hero .tp-chips span{font-size:11.5px;padding:3px 9px}
.tp-c.on{background:#7ddc9f!important}.tp-legend .on{background:#7ddc9f!important}.tp-c.busy,.tp-legend .busy{background:#cfd6dc!important}
