.video-hero .video-course{background:var(--accent);color:white;border-radius:26px}.video-hero .video-course h2{color:white}.video-hero .course-link{position:relative;overflow:hidden;border-radius:100px;padding:14px 20px;min-height:50px}.video-hero .course-link svg{position:relative;transition:transform .35s}.video-hero .course-link:hover svg{transform:translateX(4px)}
/* Selected direction:  the CTA fill itself follows the sequence. */
.video-hero .scene-choice{display:none}
.video-hero .video-course>div{padding-right:0}
.video-hero .video-course[data-active=true]{outline:none}
.video-hero .course-link{background:#ffffff26;color:white;border:1px solid #ffffff65;isolation:isolate}
.video-hero .course-link:before{transform:scaleX(var(--progress,0));transform-origin:left;background:color-mix(in srgb,var(--accent) 76%,#292c64);transition:none;opacity:0}
.video-hero .video-course[data-active=true] .course-link:before{opacity:1}
.video-hero .course-link:hover:before,.video-hero .course-link:focus-visible:before{transform:scaleX(var(--progress,0))}
.video-hero .course-link:hover,.video-hero .course-link:focus-visible{border-color:white;box-shadow:0 0 0 2px #ffffff35}

@media(prefers-reduced-motion:reduce){.video-hero .course-link svg{transition:none}}
.video-hero .video-course h2{padding-top:0}

/* Only the active CTA fills in its exact brand colour; inactive CTA stays white. */
.video-hero .course-link{background:white;color:var(--accent);border:1px solid white;isolation:isolate;text-decoration:none}
.video-hero .course-link::before{content:'';position:absolute;inset:0;z-index:-1;background:var(--accent);transform:scaleX(var(--progress,0));transform-origin:left;opacity:0;transition:none}
.video-hero .video-course[data-active=true] .course-link::before{opacity:1}
.video-hero .cta-label{position:relative}
.video-hero .cta-fill-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 20px;color:white;clip-path:inset(0 calc(100% * (1 - var(--progress,0))) 0 0);pointer-events:none}
.video-hero .video-course:not([data-active=true]) .cta-fill-label{visibility:hidden}
/* Active branded card / inactive white card, with a calm colour handover. */
.video-hero .video-course{transition:background-color .8s ease,color .8s ease}
.video-hero .video-course h2{transition:color .8s ease}
.video-hero .video-course[data-active=false]{background:white;color:#292c64}
.video-hero .video-course[data-active=false] h2{color:var(--accent)}
.video-hero .course-link{border-radius:12px;border-color:var(--accent);transition:border-color .6s ease,box-shadow .6s ease}
.video-hero .course-link:after{content:'';position:absolute;inset:0;background:color-mix(in srgb,var(--accent) 12%,transparent);opacity:0;pointer-events:none;transition:opacity .65s ease}
.video-hero .course-link:hover:after,.video-hero .course-link:focus-visible:after{opacity:1}
.video-hero .course-link:hover svg,.video-hero .course-link:focus-visible svg{transform:translateX(5px)}
.video-hero .course-link svg{transition:transform .65s cubic-bezier(.2,.65,.25,1)}
@media(prefers-reduced-motion:reduce){.video-hero .video-course,.video-hero .video-course h2,.video-hero .course-link,.video-hero .course-link:after,.video-hero .course-link svg{transition:none}}
.video-hero .video-course[data-active=true] .course-link{border-color:#ffffff99}
.video-hero .course-link{font-size:16px;gap:14px}
.video-hero .cta-label,.video-hero .cta-fill-label>span{flex:1;min-width:0}
.video-hero .cta-fill-label{gap:14px}
@media(max-width:760px){.video-hero .course-link{font-size:14px;padding:12px 16px}.video-hero .cta-fill-label{padding:12px 16px}}
/* Header contact CTA: a clear button on the video, matching section buttons. */
.video-hero .video-copy>a{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:56px;padding:14px 24px;border:1px solid white;border-radius:10px;background:white;color:#464998;font-size:17px;font-weight:800;line-height:1.35;text-decoration:none;text-shadow:none;transition:background-color .6s cubic-bezier(.2,.65,.25,1),border-color .6s ease}
.video-hero .video-copy>a:hover,.video-hero .video-copy>a:focus-visible{background:#edf7f3;border-color:#edf7f3;color:#464998;text-decoration:none}
.video-hero .video-copy>a svg{width:28px;height:26px;transition:transform .6s cubic-bezier(.2,.65,.25,1)}
.video-hero .video-copy>a:hover svg,.video-hero .video-copy>a:focus-visible svg{transform:translateX(5px)}
.video-hero .video-copy>a:focus-visible{outline:3px solid white;outline-offset:5px}
@media(max-width:540px){.video-hero .video-copy>a{min-height:54px;padding:13px 20px;gap:18px;font-size:16px;max-width:100%}}
@media(prefers-reduced-motion:reduce){.video-hero .video-copy>a,.video-hero .video-copy>a svg{transition:none}.video-hero .video-copy>a:hover svg,.video-hero .video-copy>a:focus-visible svg{transform:none}}
/* Hero: the « Rencontrer l'équipe » / « Meet the team » button is hidden for now. */
.video-hero .video-copy>a{display:none}

.video-hero .video-course .course-link{border-width:2px}
