/* Carrousel accueil – typo premium v2 « peps » (9/11/2026). Remplace topstar-slider-1109.css. */

#homeslider .slide-content{position:relative}
#homeslider .slide-content:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(21,27,51,.78) 0%,rgba(21,27,51,.45) 38%,rgba(21,27,51,0) 65%);pointer-events:none}
#homeslider .slide-description{position:absolute!important;left:7%!important;right:auto!important;top:auto!important;bottom:14%!important;transform:none!important;width:auto!important;max-width:520px!important;text-align:left!important;margin:0!important;padding:0!important;background:none!important}
#homeslider .slide-description p{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif!important;font-size:16px!important;line-height:1.5!important;font-weight:400!important;text-transform:none!important;letter-spacing:0!important;color:rgba(255,255,255,.82)!important;margin:0 0 4px!important;text-shadow:none!important;text-align:left!important}
#homeslider .slide-description p:first-child{font-family:'Helvetica Neue Condensed','Arial Narrow',sans-serif!important;font-size:13px!important;letter-spacing:.22em!important;text-transform:uppercase!important;color:rgba(255,255,255,.7)!important;margin:0 0 14px!important}
#homeslider .slide-description p:nth-child(2){font-family:'Helvetica Neue Condensed','Arial Narrow',sans-serif!important;font-size:52px!important;line-height:1.02!important;color:#fff!important;margin:0 0 16px!important;letter-spacing:.005em!important}
#homeslider .slide-description p:has(a){margin:26px 0 0!important}
#homeslider .slide-description p:has(a) a{display:inline-block!important;font-family:'Helvetica Neue Condensed','Arial Narrow',sans-serif!important;font-size:13px!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:#fff!important;border:1px solid rgba(255,255,255,.85)!important;padding:12px 24px!important;text-decoration:none!important;background:transparent!important;transition:background .2s,color .2s}
#homeslider .slide-description p:has(a) a:hover{background:#fff!important;color:#151b33!important}
@media(max-width:767px){#homeslider .slide-description{left:6%!important;right:6%!important;bottom:10%!important}#homeslider .slide-description p:nth-child(2){font-size:30px!important}#homeslider .slide-description p{font-size:14px!important}}#homeslider .slide-description{height:auto!important;min-height:0!important;display:block!important;bottom:12%!important;top:auto!important}#homeslider .slide-description pre{display:none!important}
.bx-wrapper .bx-pager .bx-pager-item a,.bx-pager-link{background:#c9ccd6!important}
.bx-wrapper .bx-pager .bx-pager-item a.active,.bx-pager-link.active,.bx-pager-link:hover{background:#1e2643!important}html body .bx-wrapper .bx-pager.bx-default-pager .bx-pager-item a.bx-pager-link{background:#c9ccd6!important;background-color:#c9ccd6!important}
html body .bx-wrapper .bx-pager.bx-default-pager .bx-pager-item a.bx-pager-link.active,html body .bx-wrapper .bx-pager.bx-default-pager .bx-pager-item a.bx-pager-link:hover{background:#1e2643!important;background-color:#1e2643!important}html body .bx-wrapper .bx-pager.bx-default-pager .bx-pager-item:nth-child(n) a.active,html body .bx-wrapper .bx-pager.bx-default-pager .bx-pager-item:nth-child(n) a:hover{background:#1e2643!important}@media(max-width:767px){#homeslider .slide-content:before{background:linear-gradient(0deg,rgba(21,27,51,.85) 0%,rgba(21,27,51,.55) 45%,rgba(21,27,51,0) 75%)!important}}

#homeslider .slide-description{max-width:640px!important;bottom:13%!important}
#homeslider .slide-description p:first-child{font-size:20px!important;letter-spacing:.2em!important;color:#fff!important;font-weight:400!important;margin:0 0 14px!important;display:flex!important;align-items:center!important;gap:14px!important}
#homeslider .slide-description p:first-child:before{content:"";display:inline-block;width:42px;height:2px;background:#fff;flex:0 0 42px}
#homeslider .slide-description p:nth-child(2){font-size:68px!important;line-height:1!important;margin:0 0 18px!important}
#homeslider .slide-description p{font-size:18px!important;color:rgba(255,255,255,.9)!important}
#homeslider .slide-description p:has(a) a{font-size:15px!important;padding:14px 30px!important;border-width:1.5px!important}
@media(max-width:767px){#homeslider .slide-description p:first-child{font-size:15px!important}#homeslider .slide-description p:first-child:before{width:28px;flex-basis:28px}#homeslider .slide-description p:nth-child(2){font-size:38px!important}#homeslider .slide-description p{font-size:15px!important}}
#homeslider .slide-description p:not(:first-child):not(:nth-child(2)):not(:has(a)){font-family:'Helvetica Neue Condensed','Arial Narrow',sans-serif!important;font-size:24px!important;line-height:1.3!important;color:#fff!important;letter-spacing:.02em!important;margin:0 0 2px!important}
@media(max-width:767px){#homeslider .slide-description p:not(:first-child):not(:nth-child(2)):not(:has(a)){font-size:18px!important}}
/* 11/11/2026 – mobile : slide #12 photo entière en haut, slide #13 silhouette recentrée */
@media (max-width: 767px) {
  #homeslider .slide-content[title="Plongée tek"] { background: linear-gradient(180deg, rgba(21,27,51,0) calc(100vw - 130px), rgba(21,27,51,.92) calc(100vw - 20px)) no-repeat 0 0 / 100% 100%, url('/img/cms/TP4%20Version%20Laurent%20Ballesta%20compresser.jpg') no-repeat 50% 0 / 100% auto, #151B33 !important; }
  #homeslider .slide-content[title="Sur-mesure à distance"] { background: #151B33 url('/modules/contentbox/content/sur-mesure-scan3d-mobile-1111.jpg') no-repeat 50% 0 / cover !important; }
}

/* 11/11/2026 – Mobile : titres alignés à la même hauteur sur tous les slides + voile léger seulement sur les photos chargées – retour arrière : recocher topstar-slider-1111f.css */
@media (max-width:767px){
#homeslider .slide-content{position:relative}
#homeslider .slide-content[title="3000 professionnels Topstar"]::after,#homeslider .slide-content[title="Réparation"]::after,#homeslider .slide-content[title="SP1 IRONSkin"]::after{content:"";position:absolute;left:0;right:0;bottom:0;height:46%;background:linear-gradient(180deg,rgba(21,27,51,0) 0%,rgba(21,27,51,.5) 40%,rgba(21,27,51,.82) 100%);pointer-events:none;z-index:1}
#homeslider .slide-description{z-index:2;left:22px!important;right:22px!important;top:350px!important;bottom:auto!important;text-shadow:0 1px 10px rgba(0,0,0,.45)}
#homeslider .slide-description p:nth-child(2){font-size:32px!important;line-height:1.06!important;letter-spacing:0!important}
#homeslider .slide-description a{font-size:13px!important;padding:12px 22px!important;letter-spacing:.16em!important;display:inline-block!important;width:auto!important;text-shadow:none}
}

/* 11/11/2026 – correctif : bouton coupé sur téléphone réel (slide moins haut) → ancrage à 50 % de la hauteur + texte plus compact */
@media (max-width:767px){
#homeslider .slide-description{top:50%!important}
#homeslider .slide-description p:nth-child(1){margin-bottom:6px!important}
#homeslider .slide-description p:nth-child(2){margin:0 0 10px!important}
#homeslider .slide-description p:nth-child(3):not(:last-child){font-size:16px!important;line-height:1.35!important;margin:0 0 14px!important}
#homeslider .slide-description a{font-size:12px!important;padding:10px 18px!important;line-height:1.2!important}
}

/* 11/11/2026 – texte plus bas (demande Fabien : aère la page), toujours aligné entre slides */
@media (max-width:767px){#homeslider .slide-description{top:calc(100% - 250px)!important}}
