@charset "UTF-8";
/* TECH-BAT Group – adaptation à toutes les tailles d'écran (TBG_ADAPT) */
/* Ordinateurs : la maquette 1440 px est mise à l'échelle de l'écran */
html.tbg-zoom body{zoom:var(--tbgz)}
html.tbg-zoom body{overflow-x:clip}

/* Téléphones et tablettes en portrait (styles relus après affichage : « propriété: valeur ») */
html.tbg-mob body{overflow-x:clip}
html.tbg-mob [style*="width: 1440px"]{width:100%!important;font-size:16px!important}
html.tbg-mob img,html.tbg-mob video{max-width:100%}
/* marges latérales */
html.tbg-mob [style*="px 80px"]{padding-left:18px!important;padding-right:18px!important}
html.tbg-mob [style*="padding: 110px"],html.tbg-mob [style*="padding: 100px"],html.tbg-mob [style*="padding: 90px"]{padding-top:56px!important}
html.tbg-mob [style*="padding: 60px 70px"],html.tbg-mob [style*="padding: 64px"],html.tbg-mob [style*="padding: 70px;"]{padding:28px 20px!important}
/* grilles */
html.tbg-mob [style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
html.tbg-mob [style*="grid-template-columns: repeat(4,"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html.tbg-mob [style*="grid-template-columns: repeat(5,"],html.tbg-mob [style*="grid-template-columns: repeat(9,"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html.tbg-mob [style*="grid-column"]{grid-column:1/-1!important}
/* titres */
html.tbg-mob [style*="font-size: 88px"],html.tbg-mob [style*="font-size: 76px"],html.tbg-mob [style*="font-size: 72px"],html.tbg-mob [style*="font-size: 64px"]{font-size:40px!important;line-height:1.1!important}
html.tbg-mob [style*="font-size: 58px"],html.tbg-mob [style*="font-size: 56px"],html.tbg-mob [style*="font-size: 54px"],html.tbg-mob [style*="font-size: 52px"],html.tbg-mob [style*="font-size: 50px"],html.tbg-mob [style*="font-size: 48px"],html.tbg-mob [style*="font-size: 46px"],html.tbg-mob [style*="font-size: 44px"]{font-size:30px!important;line-height:1.15!important}
html.tbg-mob [style*="font-size: 32px"],html.tbg-mob [style*="font-size: 30px"],html.tbg-mob [style*="font-size: 28px"]{font-size:23px!important}
/* hauteurs figées */
html.tbg-mob [style*="height: 734px"]{height:auto!important}
html.tbg-mob [style*="width: 560px"],html.tbg-mob [style*="width: 300px"]{width:100%!important;max-width:100%!important}
/* en-tête */
html.tbg-mob header{height:auto!important;flex-wrap:wrap;gap:8px 12px;padding:10px 14px!important}
html.tbg-mob header > a:first-child{width:auto!important}
html.tbg-mob header nav{order:3;width:100%;overflow-x:auto;gap:18px!important;font-size:15px!important;padding-bottom:4px;scrollbar-width:none}
html.tbg-mob header nav::-webkit-scrollbar{display:none}
html.tbg-mob header > a:first-child{gap:8px!important;height:auto!important}
html.tbg-mob header > a:first-child span{width:auto!important;height:auto!important}
html.tbg-mob header > a:first-child span[style*="font-size: 22px"]{font-size:17px!important}
html.tbg-mob #tbgLogoBox{width:52px!important;height:44px!important;margin:-4px 0!important}
html.tbg-mob #tbgLogoBox img{width:44px!important;height:44px!important}
html.tbg-mob header > a[href^="simuler"]{padding:9px 14px!important;font-size:13px!important}
/* métiers : les cinq tours restent côte à côte, en réduit */
html.tbg-mob #metiers [style*="grid-template-columns: repeat(5,"]{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important}
html.tbg-mob #metiers .mbtn > span:first-child{zoom:.3}
html.tbg-mob #metiers .mdesc{display:none!important}
html.tbg-mob #metiers .mbtn > span:nth-child(2){font-size:10px!important;margin-top:6px!important}
html.tbg-mob #metiers .mname{font-size:12px!important;line-height:1.2!important}
/* titres de section accompagnés de boutons */
html.tbg-mob section [style*="justify-content: space-between"]{flex-wrap:wrap;gap:14px}
html.tbg-mob a[href^="mailto"]{font-size:19px!important;overflow-wrap:anywhere}
html.tbg-mob .wa-btn{white-space:normal}
html.tbg-mob header{padding:8px 12px!important;gap:6px 8px}
html.tbg-mob header > a:first-child{gap:5px!important}
html.tbg-mob header > a:first-child span[style*="font-size: 22px"]{font-size:15px!important;white-space:nowrap}
html.tbg-mob #tbgLogoBox{width:40px!important;height:40px!important;margin:0!important}
html.tbg-mob #tbgLogoBox img{width:40px!important;height:40px!important}
html.tbg-mob header > a[href^="simuler"]{padding:8px 12px!important;font-size:12px!important;white-space:nowrap}
html.tbg-mob [style*="margin: "][style*="px 80px"]{margin-left:12px!important;margin-right:12px!important}
html.tbg-mob [style*="padding: 40px;"],html.tbg-mob [style*="padding: 34px 40px"],html.tbg-mob [style*="padding: 44px"],html.tbg-mob [style*="padding: 34px 38px"],html.tbg-mob [style*="padding: 30px 36px"]{padding:22px 18px!important}
html.tbg-mob header nav a{white-space:nowrap}

/* Écran de chargement : animation en grand, textes en Eras gras, bouton d'entrée */
html.tbg-loading{overflow:hidden}
.tbg-loader{gap:calc(10px / var(--tbgz,1))!important;padding:calc(16px / var(--tbgz,1))!important;box-sizing:border-box}
.tbg-loader video{width:calc(min(94vw, 60vh * 1.25) / var(--tbgz,1))!important;height:calc(min(94vw, 60vh * 1.25) * .8 / var(--tbgz,1))!important}
.tbg-loader p{font-family:'TBG Eras','Eras Bold ITC','Eras ITC',Mukta,sans-serif!important;font-weight:700!important;font-size:calc(clamp(30px, 4.2vw, 60px) / var(--tbgz,1))!important;letter-spacing:.02em!important;line-height:1.1!important;text-align:center}
.tbg-loader .tbg-l-tech{color:#d4a017}
.tbg-loader small{font-family:'TBG Eras','Eras Bold ITC','Eras ITC',Mukta,sans-serif!important;font-weight:700!important;font-size:calc(clamp(14px, 1.5vw, 22px) / var(--tbgz,1))!important;letter-spacing:.22em!important;text-align:center}
.tbg-entrer{display:flex;flex-direction:column;align-items:center;gap:calc(12px / var(--tbgz,1));margin-top:calc(18px / var(--tbgz,1));opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .7s ease,transform .7s ease}
.tbg-entrer.on{opacity:1;transform:none;pointer-events:auto}
.tbg-btn-son{display:inline-flex;align-items:center;gap:calc(10px / var(--tbgz,1));padding:calc(15px / var(--tbgz,1)) calc(32px / var(--tbgz,1));border:none;border-radius:999px;background:#FDE101;color:#0F1C3F;font-family:'TBG Eras','Eras Bold ITC','Eras ITC',Mukta,sans-serif;font-weight:700;font-size:calc(clamp(17px, 1.4vw, 22px) / var(--tbgz,1));cursor:pointer;box-shadow:0 10px 30px rgba(253,225,1,.25);animation:tbgPulseJ 1.8s ease-in-out infinite}
@keyframes tbgPulseJ{0%,100%{box-shadow:0 0 0 0 rgba(253,225,1,.45)}50%{box-shadow:0 0 0 14px rgba(253,225,1,0)}}
.tbg-btn-son svg{width:calc(22px / var(--tbgz,1));height:calc(22px / var(--tbgz,1))}
.tbg-btn-son:hover{transform:scale(1.05)}
.tbg-btn-muet{border:none;background:none;color:rgba(255,255,255,.75);font-family:'TBG Eras','Eras ITC',Mukta,sans-serif;font-size:calc(clamp(14px, 1vw, 16px) / var(--tbgz,1));text-decoration:underline;cursor:pointer;padding:6px}
html.tbg-mob .tbg-loader video{width:100vw!important;height:80vw!important}

/* Formulaire « Parlons de votre projet » (DEM_CONT_WEB) */
.tbg-ou{display:flex;align-items:center;gap:14px;margin:4px 0 22px;color:#1D428A;font-size:17px;font-weight:600}
.tbg-ou:before,.tbg-ou:after{content:"";flex:1;height:1px;background:#D5DCE8}
.tbg-cform{text-align:left;margin:0 0 28px;display:flex;flex-direction:column;gap:18px}
.tbg-cf-l{display:flex;flex-direction:column;gap:8px;font-size:19px;font-weight:600;color:#0F1C3F}
.tbg-cf-l b{color:#C0392B;font-weight:600}
.tbg-cf-l input,.tbg-cf-l select,.tbg-cf-l textarea{font:inherit;font-size:19px;font-weight:400;color:#0F1C3F;background:#fff;border:1.5px solid #C9D3E4;border-radius:14px;padding:14px 16px;min-height:56px;box-sizing:border-box;width:100%;outline:none;transition:border-color .2s,box-shadow .2s}
.tbg-cf-l textarea{min-height:120px;resize:vertical}
.tbg-cf-l input:focus,.tbg-cf-l select:focus,.tbg-cf-l textarea:focus{border-color:#1D428A;box-shadow:0 0 0 4px rgba(29,66,138,.15)}
.tbg-cf-l.err input{border-color:#C0392B}
.tbg-cf-piege{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.tbg-cf-btn{font:inherit;font-size:20px;font-weight:700;min-height:58px;border:none;border-radius:999px;background:#1D428A;color:#fff;cursor:pointer;transition:transform .15s,background .2s}
.tbg-cf-btn:hover{background:#0F1C3F;transform:translateY(-1px)}
.tbg-cf-btn[disabled]{opacity:.6;cursor:wait}
.tbg-cf-msg{margin:0;font-size:18px;min-height:1px}
.tbg-cf-msg.ok{color:#1E7B3C;font-weight:600}
.tbg-cf-msg.ko{color:#C0392B;font-weight:600}
/* Téléphone : l'en-tête s'efface pendant la saisie dans le formulaire */
html.tbg-mob header{transition:transform .25s ease}
html.tbg-mob.tbg-saisie header{transform:translateY(-110%)}
.tbg-cf-l i{font-style:normal;font-weight:400;color:#6F778A}
.tbg-cf-zone{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:20px 16px;border:2px dashed #9FB2D3;border-radius:14px;background:#F5F8FD;cursor:pointer;transition:border-color .2s,background .2s}
.tbg-cf-zone:hover,.tbg-cf-zone.sur{border-color:#1D428A;background:#EAF0FA}
.tbg-cf-zone input{position:absolute;width:1px;height:1px;opacity:0}
.tbg-cf-zone strong{font-size:18px;font-weight:600;color:#1D428A}
.tbg-cf-zone small{font-size:15px;font-weight:400;color:#6F778A}
.tbg-cf-liste{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.tbg-cf-liste li{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:400;background:#fff;border:1px solid #DDE4F0;border-radius:10px;padding:8px 12px}
.tbg-cf-liste li span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tbg-cf-liste li em{font-style:normal;color:#6F778A;font-size:14px}
.tbg-cf-liste button{border:none;background:none;color:#C0392B;font-size:22px;line-height:1;cursor:pointer;padding:0 4px}
