/* Lien d'évitement (repris de Header Footer Elementor) */
.hfe-skip-link{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
.hfe-skip-link:focus{position:fixed;top:0;inset-inline-start:0;width:auto;height:auto;margin:0;padding:.75em 1.5em;overflow:visible;clip:auto;clip-path:none;white-space:normal;z-index:100000;background:#fff;color:#0073aa;font-size:14px;text-decoration:underline;border-radius:0 0 3px 0;outline:2px solid #0073aa;outline-offset:-2px}
.cmplz-hidden{display:none!important}

/* Visionneuse d'images des galeries */
.bt-lightbox{position:fixed;inset:0;z-index:100001;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.88);padding:4vh 4vw}
.bt-lightbox[hidden]{display:none}
.bt-lightbox img{max-width:100%;max-height:92vh;object-fit:contain;box-shadow:0 10px 40px rgba(0,0,0,.5)}
.bt-lightbox__close{position:absolute;top:12px;right:16px;width:48px;height:48px;border:0;background:transparent;color:#fff;font-size:40px;line-height:1;cursor:pointer}
.bt-lightbox__close:focus-visible{outline:2px solid #FFCD04;outline-offset:2px}

/* Messages du formulaire de contact */
#page .bt-form-msg{margin:0 0 16px;padding:12px 16px;border-radius:10px;font-size:15px;line-height:1.45;text-align:left}
#page .bt-form-msg--err{background:rgba(192,49,47,.14);color:#ffd9d6;border:1px solid #C0312F}

/* Confirmation d'envoi : remplace le formulaire */
#page .bt-form-done{display:flex;flex-direction:column;align-items:center;gap:14px;padding:40px 24px;border-radius:16px;background:rgba(255,205,4,.06);border:1px solid rgba(255,205,4,.45);text-align:center;outline:none;animation:bt-done-in .45s cubic-bezier(.22,.61,.36,1) both}
#page .bt-form-done__icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#FFCD04;color:#111}
#page .bt-form-done__title{margin:4px 0 0;color:#fff;font-size:clamp(24px,3vw,32px);font-weight:700;line-height:1.15}
#page .bt-form-done__text{max-width:46ch;margin:0;color:rgba(255,255,255,.85);font-size:16px;line-height:1.55}
#page .bt-form-done__actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 20px;margin:8px 0 0}
#page .bt-form-done__btn{display:inline-flex;align-items:center;min-height:48px;padding:0 24px;border-radius:999px;background:#FFCD04;color:#111;font-weight:600;text-decoration:none;transition:background-color .2s}
#page .bt-form-done__btn:hover,#page .bt-form-done__btn:focus-visible{background:#fff;color:#111}
#page .bt-form-done__link{display:inline-flex;align-items:center;min-height:44px;color:rgba(255,255,255,.8);text-decoration:underline;text-underline-offset:3px}
#page .bt-form-done__link:hover,#page .bt-form-done__link:focus-visible{color:#FFCD04}
@keyframes bt-done-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){#page .bt-form-done{animation:none}}

/* Bouton pendant l'envoi */
#bt-contact.is-sending button[type=submit]{opacity:.7;cursor:progress;pointer-events:none}
#bt-contact.is-sending button[type=submit] .elementor-button-text::before{content:"";display:inline-block;width:14px;height:14px;margin-right:10px;vertical-align:-2px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:bt-spin .7s linear infinite}
@keyframes bt-spin{to{transform:rotate(360deg)}}
.bt-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* Sélecteur de langue en haut à droite (même pastille que celle du pied de page) */
#masthead{position:relative}
.bt-lang{position:absolute;top:18px;right:24px;z-index:20;display:inline-flex;gap:2px;padding:4px;border-radius:999px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.bt-lang a{display:grid;place-items:center;min-width:44px;height:32px;padding:0 10px;border-radius:999px;color:rgba(255,255,255,.75);font-family:"Inter",Sans-serif;font-size:12px;font-weight:700;line-height:1;letter-spacing:.1em;text-decoration:none;transition:background-color .2s,color .2s}
.bt-lang a.is-active{background:#FFCD04;color:#111}
.bt-lang a:focus-visible{outline:2px solid #FFCD04;outline-offset:2px}
@media (hover:hover){.bt-lang a:not(.is-active):hover{color:#fff;background:rgba(255,255,255,.1)}}
@media (max-width:767px){.bt-lang{top:10px;right:10px}.bt-lang a{min-width:40px;height:30px;padding:0 8px;font-size:11px}}

/* En-tête ordinateur : menu sur une seule ligne (« Contact » passait à la ligne) */
@media (min-width:1025px){
 #masthead .elementor-88 .elementor-element-61e828e .elementskit-navbar-nav{flex-wrap:nowrap}
 #masthead .elementor-88 .elementor-element-61e828e .elementskit-navbar-nav>li>a{white-space:nowrap}
}
@media (min-width:1025px) and (max-width:1699px){
 #masthead .elementor-88 .elementor-element.elementor-element-61e828e .elementskit-navbar-nav>li>a{padding-left:12px;padding-right:12px}
}
@media (min-width:1025px) and (max-width:1299px){
 #masthead .elementor-88 .elementor-element-61e828e .elementskit-navbar-nav{justify-content:flex-start}
}
/* Accueil : l'espace sous l'en-tête valait 60 % de la hauteur d'écran, la photo remontait sous le logo sur un écran bas */
@media (min-width:1025px){
 #page .elementor-1705 .elementor-element-1429637 .elementor-spacer-inner{height:max(60vh,540px)}
}

/* Bouton du menu mobile : traits noirs sur fond noir à l'origine, presque invisibles */
#masthead .elementskit-menu-hamburger{min-height:44px;min-width:48px;border:1px solid rgba(255,255,255,.35)!important;border-radius:8px;background:transparent}
#masthead .elementskit-menu-hamburger .elementskit-menu-hamburger-icon{background-color:#fff!important}

/* Sécurisation : en néerlandais, les mots longs élargissaient les cartes au-delà de l'écran (tablette) */
.services-grid>.service-card{min-width:0;overflow-wrap:break-word;hyphens:auto}
.service-card .badges{flex-wrap:wrap}

/* À propos : même défaut que Sécurisation, les mots longs élargissaient les cartes (tablette) */
.btp-features>.feature-card{min-width:0;overflow-wrap:break-word;hyphens:auto}

/* Produits : les trois onglets dépassaient de l'écran sur mobile */
@media (max-width:640px){
 #page .category-tab{padding:10px 12px;font-size:15px}
}

/* Accueil, les deux blocs « Nos services » : l'élargissement animait la mise en page (flex-grow), d'où l'effet saccadé.
   On garde le zoom de la photo et l'assombrissement de l'autre bloc, qui ne sollicitent que la carte graphique. */
#page #bt-hero .bth-panel{transition:none}
#page #bt-hero .bth-grid:hover .bth-panel,#page #bt-hero .bth-grid .bth-panel:hover{flex-grow:1}
#page #bt-hero .bth-img{transition:transform .9s cubic-bezier(.22,.61,.36,1),filter .5s ease;will-change:transform;backface-visibility:hidden}

/* Aucun défilement horizontal parasite, quel que soit le navigateur */
html,body{overflow-x:clip}

/* L'en-tête Elementor déborde (padding-bottom 200px) sur le haut du contenu et captait la souris :
   survol des blocs de l'accueil qui se coupait, haut des blocs non cliquable. Seul son contenu reste actif. */
#masthead,#masthead .elementor-88,#masthead .elementor-element-68211fe{pointer-events:none}
#masthead .elementor-element-68211fe>*,#masthead .bt-lang{pointer-events:auto}

/* Crédit agence dans la barre du bas du pied de page */
#footer-build-tech-pro .btf-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}
#footer-build-tech-pro .btf-credit a:hover,#footer-build-tech-pro .btf-credit a:focus-visible{color:#FFCD04}
/* Sélecteur de langue : zone de clic de 44 px de haut sans changer la pastille */
.bt-lang a{position:relative}
.bt-lang a::after{content:"";position:absolute;inset:-6px 0}
