/* Hero accueil 2027 - page 199 uniquement */
body.page-id-199 #main{overflow-x:clip}
body.page-id-199 div#acc{display:block!important;min-height:0!important;margin:-70px 0 0!important;padding:0!important;background:none!important;border-radius:0!important;box-shadow:none!important}
body.page-id-199 #acc>.vc_column_container,body.page-id-199 #acc .vc_column-inner{width:100%;float:none;margin:0!important;padding:0!important;display:block}
body.page-id-199 #acc .wpb_raw_html,body.page-id-199 #acc .wpb_wrapper{margin:0!important}
.tvnh-cadre{position:relative;width:100vw;left:50%;margin-left:-50vw}
.tvnh{--hh:720px;position:relative;width:100%;height:720px;overflow:hidden;background:#333}
.tvnh *,.tvnh-sponsors *{box-sizing:border-box}
.tvnh-ciel{position:absolute;inset:-12px 0 0;overflow:hidden;background:url(fixe-bureau.webp?v=4) center/cover no-repeat}
.tvnh-ciel canvas{position:absolute;inset:0;width:100%;height:100%;display:block;visibility:hidden}
.tvnh-coureur{position:absolute;display:block;pointer-events:none;visibility:hidden;max-width:none}
/* Lettres */
.tvnh-texte{position:absolute;left:50%;top:max(0px,calc(4% - 30px));width:min(92%,calc(var(--hh)*1.2));transform:translateX(-50%);--dur:1000ms;--pas:45ms;--trait:2.6}
.tvnh-texte .ht{display:block;width:100%;height:auto;max-width:none;overflow:visible}
.tvnh-texte .ht-lieu{position:absolute;inset:0}
.tvnh .ht path{fill:none;stroke:#fff;stroke-width:calc(var(--trait)*var(--k,1)*1px);stroke-linejoin:round;stroke-dasharray:1 1.02;stroke-dashoffset:1.01;visibility:hidden}
.tvnh .ht .l2 path{stroke-width:calc(var(--trait)*var(--k,1)*.75px)}
.tvnh .ht.is-on path{visibility:visible;stroke-dashoffset:0;stroke-dasharray:none}
.tvnh .ht.is-in path{visibility:visible;animation:tvnh-in var(--dur) cubic-bezier(.45,0,.2,1) calc(var(--i)*var(--pas)) both}
.tvnh .ht.is-out path{visibility:visible;animation:tvnh-out calc(var(--dur)*.75) cubic-bezier(.5,0,.7,.3) calc(var(--i)*var(--pas)*.6) both}
@keyframes tvnh-in{from{stroke-dashoffset:1.01}to{stroke-dashoffset:0}}
@keyframes tvnh-out{from{stroke-dashoffset:0}to{stroke-dashoffset:-1.01}}
.tvnh-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0!important;padding:0!important}
/* Bouton et logos */
.tvnh-bas{position:absolute;z-index:3;left:0;bottom:0;width:100%;display:flex;justify-content:center}
.tvnh-bloc{width:420px;max-width:100%;padding:32px 20px 20px;text-align:center}
.tvnh-bloc a.tvnh-btn,.tvnh-bloc a.tvnh-btn:hover{display:block;background:#ffde00;color:#222738;border-radius:40px;padding:10px 25px;font:700 23px/1.12 rl-aqva,sans-serif;text-decoration:none}
.tvnh-bloc a.tvnh-btn:hover{background:#ffe94d}
.tvnh-sponsors{position:absolute;z-index:3;left:50%;bottom:90px;transform:translateX(-50%);line-height:0}
.tvnh-sponsors img{height:55px;width:auto;max-width:calc(100vw - 24px);object-fit:contain;border-radius:10px;display:block}
.tvnh-m{display:none}
@media(min-width:768px){.tvnh{--hh:clamp(600px,calc(100svh - 100px),860px);height:600px;height:clamp(600px,calc(100svh - 100px),860px)}}
@media(max-width:767px){
 .tvnh-d{display:none}.tvnh-m{display:inline}.tvnh-m br{display:inline!important}
 .tvnh-sponsors{position:static;transform:none;margin:18px auto 0;display:flex;justify-content:center}
}
@media(max-width:480px){
 .tvnh{height:calc(100vh - 60px);height:calc(100svh - 60px);height:var(--plein,calc(100svh - 60px));min-height:460px}
 .tvnh-ciel{background-image:url(fixe-mobile.webp?v=4)}
 .tvnh-texte{top:50%;width:min(900px,92%);transform:translate(-50%,calc(-50% - 95px))}
 .tvnh-bloc{padding:0 20px 20px}
}
@media(prefers-reduced-motion:reduce){.tvnh-texte .ht-lieu{position:static;width:60%;margin:-20px auto 0}.tvnh .ht path{visibility:visible!important;stroke-dasharray:none!important;stroke-dashoffset:0!important;animation:none!important}}
