/* Pages de vente v3 des cours en ligne (yt-cours-v3.php), complément de produit-v3.css — 1er nov. 2026 */

/* studios chiffrés : le total en grand */
html body.single-fluent-products.ypv3 .ype .yc3-stu h3{margin:0 0 6px!important;font-size:15px!important;font-weight:700!important;letter-spacing:.02em!important;text-transform:uppercase;color:var(--yv-gl)!important}
html body.single-fluent-products.ypv3 .ype .yc3-stu p.yc3-stu-tot{margin:0 0 14px!important;font-size:44px!important;font-weight:700!important;line-height:1.05!important;letter-spacing:-.035em!important;font-variant-numeric:tabular-nums;background:linear-gradient(90deg,var(--yv-gxl),var(--yv-gl) 60%,var(--yv-g2));-webkit-background-clip:text;background-clip:text;color:transparent!important}
html body.single-fluent-products.ypv3 .ype .yc3-stu p.yc3-stu-dont{margin-top:16px!important;padding-top:14px!important;border-top:1px solid rgba(255,255,255,.12)!important;font-size:14px!important;color:rgba(255,255,255,.6)!important}
html body.single-fluent-products.ypv3 .ype .yc3-stu p.yc3-stu-dont b{color:#fff;font-weight:700}
html body.single-fluent-products.ypv3 .ype p.yc3-note{margin:18px 0 0!important;font-size:13px!important;color:rgba(255,255,255,.5)!important}

/* le livre du cours : la couverture posée qui flotte */
html body.single-fluent-products.ypv3 .ype .yc3-livre .ype-form{align-items:center}
html body.single-fluent-products.ypv3 .ype a.yc3-livre-v{display:grid;place-items:center;aspect-ratio:4/5;perspective:1600px;text-decoration:none!important}
html body.single-fluent-products.ypv3 .ype .yc3-livre-l{position:relative;display:block;width:min(62%,300px);aspect-ratio:2/3;transform:rotateY(-18deg) rotateX(3deg);animation:yc3F 7s ease-in-out infinite alternate}
html body.single-fluent-products.ypv3 .ype .yc3-livre-l img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;margin:0!important;border-radius:3px 6px 6px 3px!important;box-shadow:0 40px 80px -20px rgba(0,0,0,.75),0 12px 24px -12px rgba(0,0,0,.55)!important}
html body.single-fluent-products.ypv3 .ype .yc3-livre-l::before{content:"";position:absolute;inset:0;z-index:1;border-radius:3px 6px 6px 3px;background:linear-gradient(90deg,rgba(0,0,0,.45) 0,rgba(255,255,255,.18) 2.2%,rgba(0,0,0,.08) 4.5%,transparent 12%);pointer-events:none}
html body.single-fluent-products.ypv3 .ype .yc3-livre-l::after{content:"";position:absolute;top:1.2%;bottom:1.2%;right:-10px;width:11px;border-radius:0 3px 3px 0;background:repeating-linear-gradient(90deg,#F2F2F4 0 1px,#D9D9DE 1px 2px);transform:skewY(-6deg);transform-origin:left}
@keyframes yc3F{from{transform:rotateY(-18deg) rotateX(3deg) translateY(8px)}to{transform:rotateY(-11deg) rotateX(1deg) translateY(-10px)}}
html body.single-fluent-products.ypv3 .ype .yc3-livre h2.ype-h2{color:#fff!important}
html body.single-fluent-products.ypv3 .ype .yc3-livre .ype-btn{margin-top:4px}
@media (prefers-reduced-motion:reduce){html body.single-fluent-products.ypv3 .ype .yc3-livre-l{animation:none}}
@media (max-width:760px){html body.single-fluent-products.ypv3 .ype a.yc3-livre-v{aspect-ratio:auto;padding:10px 0 20px}html body.single-fluent-products.ypv3 .ype .yc3-livre-l{width:min(52%,220px)}html body.single-fluent-products.ypv3 .ype .yc3-stu p.yc3-stu-tot{font-size:36px!important}}
/* chapô lisible sur les bandeaux sombres */
html body.single-fluent-products.ypv3 .ype .ype-noir p.ype-chapo{color:rgba(255,255,255,.72)!important}

/* ===== v3 (1er nov. 2026) : page « beaucoup plus cool » ===== */
html body.single-fluent-products.ypv3 .ype.yc3-page{background:var(--yj-card,#fff)!important}
/* barres de séparation entre deux bandeaux sombres, comme les tuiles de l'accueil */
html body.single-fluent-products.ypv3 .ype.yc3-page > .ype-sec.ycf-sec,html body.single-fluent-products.ypv3 .ype.yc3-page > .yc3-livre + .ype-fin{margin-top:12px!important}

/* le film du cours, pleine largeur */
html body.single-fluent-products.ypv3 .ype > .ype-sec.ycf-sec{padding:0!important;background:#07080C!important}
html body .ype .ycf-h{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;margin:-1px!important;padding:0!important}
html body .ype .ycf{position:relative;height:min(86vh,760px);min-height:580px;overflow:hidden;cursor:pointer;isolation:isolate;-webkit-tap-highlight-color:transparent}
html body .ype .ycf-aura{position:absolute;inset:-20%;z-index:-1;background:radial-gradient(38% 48% at 70% 50%,rgb(var(--yv-g-rgb) / .42),transparent 70%),radial-gradient(34% 44% at 18% 85%,rgba(10,132,255,.16),transparent 70%);filter:blur(24px);animation:ycfAura 16s ease-in-out infinite alternate}
@keyframes ycfAura{to{transform:translate(-5%,3%) scale(1.08)}}
html body .ype .ycf-s{position:absolute;inset:0;margin:0 auto;max-width:1280px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:56px;padding:60px 48px 96px;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility .7s}
html body .ype .ycf-s.is-on{opacity:1;visibility:visible}
html body .ype .ycf-txt{position:relative;z-index:1;text-align:left}
html body .ype .ycf p.ycf-t{margin:0!important;padding:0!important;max-width:none!important;font-size:clamp(52px,6vw,96px)!important;font-weight:700!important;line-height:.98!important;letter-spacing:-.05em!important;color:#fff!important;text-align:left!important}
html body .ype .ycf p.ycf-t span{background:linear-gradient(90deg,var(--yv-gxl),var(--yv-gl) 55%,var(--yv-g2));-webkit-background-clip:text;background-clip:text;color:transparent}
html body .ype .ycf p.ycf-l{margin:24px 0 0!important;padding:0!important;max-width:470px!important;font-size:21px!important;line-height:1.45!important;color:rgba(255,255,255,.74)!important;text-align:left!important}
html body .ype .ycf p.ycf-k{margin:22px 0 0!important;padding:0!important;font-size:14px!important;line-height:1.4!important;color:rgba(255,255,255,.42)!important;text-align:left!important}
html body .ype .ycf .ype-btn{margin-top:32px}
html body .ype .ycf-v{display:flex;align-items:center;justify-content:center;min-width:0;height:100%;max-height:560px}
html body .ype .ycf img.ycf-img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain;margin:0!important;border-radius:0!important;filter:drop-shadow(0 40px 60px rgba(0,0,0,.65))}
html body .ype .ycf img.ycf-ecran{max-height:78%!important;border-radius:14px!important;filter:none;box-shadow:0 50px 100px -30px rgba(0,0,0,.95),0 0 0 1px rgba(255,255,255,.1)}
html body .ype .ycf img.ycf-couv{max-height:72%!important;border-radius:18px!important;filter:none;box-shadow:0 50px 100px -30px rgba(0,0,0,.9)}
html body .ype .ycf svg.ycf-svg{display:block;width:100%;max-width:560px;height:auto;color:#fff}
html body .ype .ycf-s.is-on p.ycf-t{animation:ycfUp .9s cubic-bezier(.2,.8,.2,1) .12s both}
html body .ype .ycf-s.is-on p.ycf-l{animation:ycfUp .9s cubic-bezier(.2,.8,.2,1) .32s both}
html body .ype .ycf-s.is-on p.ycf-k,html body .ype .ycf-s.is-on .ype-btn{animation:ycfUp .9s cubic-bezier(.2,.8,.2,1) .5s both}
html body .ype .ycf-s.is-on .ycf-v > *{animation:ycfIn 1.1s cubic-bezier(.2,.8,.2,1) both,ycfKen 7s linear 1.1s both}
@keyframes ycfUp{from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:none}}
@keyframes ycfIn{from{opacity:0;transform:scale(1.1) translateY(24px)}to{opacity:1;transform:none}}
@keyframes ycfKen{to{transform:scale(1.05)}}
/* en pause (clic) ou hors de l'écran : seuls le lent zoom, la barre et l'aura s'arrêtent ; les apparitions vont au bout */
html body .ype .ycf.ycf-arret .ycf-s.is-on .ycf-v > *,html body .ype .ycf.ycf-hors .ycf-s.is-on .ycf-v > *{animation-play-state:running,paused!important}
html body .ype .ycf.ycf-arret .ycf-aura,html body .ype .ycf.ycf-hors .ycf-aura,html body .ype .ycf.ycf-hors .ycf-b.is-on i::after{animation-play-state:paused!important}
html body .ype .ycf-barres{position:absolute;left:50%;bottom:30px;z-index:4;display:flex;gap:6px;transform:translateX(-50%)}
html body .ype button.ycf-b{width:46px;height:24px;min-height:0!important;margin:0!important;padding:10px 0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;cursor:pointer}
html body .ype .ycf-b i{position:relative;display:block;height:3px;border-radius:3px;background:rgba(255,255,255,.22);overflow:hidden}
html body .ype .ycf-b i::after{content:"";position:absolute;inset:0;background:#fff;transform:scaleX(0);transform-origin:left}
html body .ype .ycf-b.is-vu i::after{transform:scaleX(1)}
html body .ype .ycf-b.is-on i::after{animation:ycfBar var(--d,4600ms) linear both}
html body .ype .ycf.ycf-arret .ycf-b.is-on i::after{animation-play-state:paused}
@keyframes ycfBar{to{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){html body .ype .ycf *{animation:none!important}html body .ype .ycf-b.is-on i::after{transform:scaleX(1)}}
@media (max-width:860px){
	html body .ype .ycf{height:720px;min-height:0}
	html body .ype .ycf-s{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:24px;padding:40px 22px 84px;align-items:end}
	html body .ype .ycf-v{grid-row:1;max-height:none}
	html body .ype .ycf-txt{grid-row:2}
	html body .ype .ycf p.ycf-t{font-size:48px!important}
	html body .ype .ycf p.ycf-l{margin-top:14px!important;font-size:17px!important}
	html body .ype .ycf p.ycf-k{margin-top:12px!important;font-size:13px!important}
	html body .ype .ycf .ype-btn{margin-top:20px}
	html body .ype button.ycf-b{width:34px}
}
/* mode vidéo pour filmer : ?film=video */
html.ycf-video,html.ycf-video body{overflow:hidden!important}
html.ycf-video body.single-fluent-products.ypv3 .ype > .ype-sec.ycf-sec{position:fixed!important;inset:0!important;z-index:2147483000!important;margin:0!important}
html.ycf-video body .ype .ycf{height:100vh;min-height:0}
html.ycf-video .yc3-q-b,html.ycf-video .ypr-barre,html.ycf-video #wpadminbar{display:none!important}

/* l'auteur, en une ligne */
html body.single-fluent-products.ypv3 .ype > .ype-sec.yc3-aut{padding:46px max(40px,calc((100% - 1120px) / 2))!important}
html body .ype .yc3-aut-in{display:flex!important;align-items:center;gap:22px;max-width:860px!important;margin:0 auto!important}
html body .ype img.yc3-aut-img{flex:0 0 72px;width:72px!important;height:72px!important;max-width:none!important;border-radius:50%!important;object-fit:cover;margin:0!important}
html body .ype p.yc3-aut-t{margin:0!important;padding:0!important;max-width:none!important;font-size:16px!important;line-height:1.55!important;color:var(--yj-text2)!important;text-align:left!important}
html body .ype p.yc3-aut-t b{color:var(--yj-text);font-weight:700}
html body .ype p.yc3-aut-t a{color:var(--yj-link)!important;font-weight:600;text-decoration:none!important;white-space:nowrap}
@media (max-width:600px){html body.single-fluent-products.ypv3 .ype > .ype-sec.yc3-aut{padding:34px 20px!important}html body .ype .yc3-aut-in{align-items:flex-start}html body .ype img.yc3-aut-img{flex-basis:56px;width:56px!important;height:56px!important}html body .ype p.yc3-aut-t{font-size:15px!important}}

/* « Tout savoir sur le cours », derrière le « ? » */
html body .ytq-p section.yc3-savoir{color:#1D1D1F;text-align:left}
html.yj-isdark body .ytq-p section.yc3-savoir{color:#F5F5F7}
html body .ytq-p .yc3-savoir h2{margin:0 0 6px!important;padding:0 50px 0 0!important;font-size:38px!important;font-weight:700!important;line-height:1.08!important;letter-spacing:-.03em!important;color:inherit!important}
html body .ytq-p .yc3-savoir h2 span{color:#86868B}
html body .ytq-p .yc3-savoir h3{margin:34px 0 10px!important;padding:0!important;font-size:21px!important;font-weight:700!important;line-height:1.25!important;color:inherit!important}
html body .ytq-p ol.yc3-sv-l{margin:0!important;padding:0!important;list-style:none!important}
html body .ytq-p ol.yc3-sv-l li{display:flex;gap:14px;margin:0!important;padding:12px 0!important;border-top:1px solid rgba(127,127,127,.2)}
html body .ytq-p ol.yc3-sv-l li > b{flex:0 0 26px;font-weight:700;color:#86868B;font-variant-numeric:tabular-nums}
html body .ytq-p ol.yc3-sv-l p{margin:0!important;font-size:15px!important;line-height:1.5!important;color:inherit!important;opacity:.82}
html body .ytq-p ol.yc3-sv-l p.yc3-sv-t{margin-bottom:2px!important;font-weight:700!important;opacity:1}
html body .ytq-p ol.yc3-sv-l p.yc3-sv-t span{margin-left:6px;font-weight:500;font-size:13px;color:#86868B}
html body .ytq-p .yc3-sv-faq details{border-top:1px solid rgba(127,127,127,.2);padding:0}
html body .ytq-p .yc3-sv-faq summary{display:flex;justify-content:space-between;gap:16px;padding:14px 0;font-size:16px;font-weight:600;cursor:pointer;list-style:none}
html body .ytq-p .yc3-sv-faq summary::-webkit-details-marker{display:none}
html body .ytq-p .yc3-sv-faq summary::after{content:"+";flex:0 0 auto;font-size:20px;line-height:1;color:var(--yv-g,#C45048)}
html body .ytq-p .yc3-sv-faq details[open] summary::after{content:"–"}
html body .ytq-p .yc3-sv-faq details p{margin:0 0 16px!important;font-size:15px!important;line-height:1.55!important;opacity:.85}
html body .ytq-p .yc3-sv-faq a,html body .ytq-p .yc3-sv-plus a{color:#0066CC!important;text-decoration:underline!important}
html.yj-isdark body .ytq-p .yc3-sv-faq a,html.yj-isdark body .ytq-p .yc3-sv-plus a{color:#5EB0FF!important}
html body .ytq-p p.yc3-sv-plus{margin:24px 0 0!important;font-size:15px!important;opacity:.75}
html body .ype .ycf p.ycf-t{overflow-wrap:normal!important;word-break:normal!important;hyphens:manual!important}
