:root{
  --tp-navy:#0b1c2e;
  --tp-navy-light:#16304a;
  --tp-orange:#f5821f;
  --tp-orange-dark:#e06e0f;
}
.tp-container{max-width:1200px;margin:0 auto;padding:0 20px;}
.tp-header{font-family:'Poppins',sans-serif;position:relative;z-index:20;}
.tp-header__topbar{background:var(--tp-navy);border-bottom:1px solid rgba(255,255,255,.08);}
.tp-header__topbar-row{display:flex;justify-content:flex-end;align-items:center;gap:24px;padding:6px 0;}
.tp-header__lang a{color:#fff;opacity:.7;font-size:12px;font-weight:600;text-decoration:none;}
.tp-header__lang a.is-active,.tp-header__lang a:hover{opacity:1;}
.tp-header__lang span{color:rgba(255,255,255,.3);margin:0 4px;}
.tp-header__social{display:flex;gap:10px;}
.tp-header__social a{color:#fff;opacity:.85;font-size:13px;}
.tp-header__social a:hover{opacity:1;color:var(--tp-orange);}
.tp-header__main{background:var(--tp-navy);padding:14px 0;}
.tp-header__main-row{display:flex;align-items:center;gap:28px;}
.tp-header__logo img{height:56px;width:auto;display:block;}
.tp-header__nav{flex:1;}
.tp-header__nav ul{display:flex;gap:22px;list-style:none;margin:0;padding:0;flex-wrap:wrap;}
.tp-header__nav a{color:#fff;text-decoration:none;font-size:14px;font-weight:600;letter-spacing:.02em;padding-bottom:6px;border-bottom:2px solid transparent;}
.tp-header__nav a.is-active,.tp-header__nav a:hover{border-color:var(--tp-orange);color:var(--tp-orange);}
.tp-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;border-radius:6px;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.03em;text-decoration:none;white-space:nowrap;transition:.2s;border:1px solid transparent;}
.tp-btn--orange{background:var(--tp-orange);color:#fff;}
.tp-btn--orange:hover{background:var(--tp-orange-dark);color:#fff;}
.tp-btn--outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.5);}
.tp-btn--outline:hover{background:rgba(255,255,255,.1);color:#fff;}
.tp-header__burger{display:none;background:none;border:0;width:32px;height:24px;position:relative;cursor:pointer;padding:0;}
.tp-header__burger span{display:block;height:2px;background:#fff;margin:6px 0;}
@media (max-width:1200px){
  .tp-header__nav,.tp-header__cta{display:none;}
  .tp-header__burger{display:block;}
}
.tp-mobile-menu{background:var(--tp-navy);color:#fff;width:280px;font-family:'Poppins',sans-serif;}
.tp-mobile-menu .offcanvas-header{border-bottom:1px solid rgba(255,255,255,.1);}
.tp-mobile-menu .btn-close{filter:invert(1);}
.tp-mobile-menu__list{list-style:none;padding:0;margin:0 0 20px;}
.tp-mobile-menu__list li a{display:block;padding:12px 0;color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.08);font-weight:600;}
.tp-mobile-menu__lang{margin-bottom:20px;}
.tp-mobile-menu__lang a{color:#fff;opacity:.7;text-decoration:none;font-weight:600;}
.tp-mobile-menu__lang a.is-active{opacity:1;color:var(--tp-orange);}
.tp-hero{position:relative;background-size:cover;background-position:center 25%;min-height:640px;display:flex;align-items:center;overflow:hidden;font-family:'Poppins',sans-serif;}
.tp-hero__overlay{position:absolute;inset:0;background:linear-gradient(100deg,rgba(11,28,46,.96) 0%,rgba(11,28,46,.88) 35%,rgba(11,28,46,.4) 65%,rgba(11,28,46,.15) 100%);}
.tp-hero__row{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:40px;padding:80px 0;flex-wrap:wrap;}
.tp-hero__content{max-width:620px;}
.tp-hero__title{color:#fff;font-weight:800;font-size:44px;line-height:1.15;text-transform:uppercase;margin-bottom:20px;}
.tp-hero__title span{color:var(--tp-orange);}
.tp-hero__text{color:rgba(255,255,255,.85);font-size:16px;line-height:1.6;margin-bottom:32px;max-width:520px;}
.tp-hero__actions{display:flex;gap:16px;flex-wrap:wrap;}
.tp-hero__logo{flex-shrink:0;max-width:420px;width:100%;opacity:.95;}
.tp-hero__logo img{width:100%;height:auto;display:block;}
.tp-hero__dots{position:absolute;left:50%;transform:translateX(-50%);bottom:24px;display:flex;gap:8px;z-index:2;}
.tp-hero__dots span{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.4);display:block;}
.tp-hero__dots span.is-active{background:var(--tp-orange);width:22px;border-radius:4px;}
@media (max-width:992px){
  .tp-hero__logo{display:none;}
  .tp-hero__title{font-size:32px;}
  .tp-hero{min-height:auto;padding:40px 0;}
}
.tp-header__logo{display:flex;align-items:center;}
.tp-header__logo img{height:56px !important;width:auto !important;max-width:none !important;}
.tp-header .tp-container{max-width:1320px;}
.tp-header__nav ul{gap:16px;}
.tp-header__nav a{font-size:13.5px;}
@media (max-width:1400px){
  .tp-header__nav,.tp-header__cta{display:none;}
  .tp-header__burger{display:block;}
}
.tp-hero{min-height:520px;}
.tp-hero__row{padding:56px 0;}
.tp-header__logo{display:flex;align-items:center;height:56px;line-height:0;}
.tp-header__logo .navbar-brand{display:flex !important;align-items:center;height:56px;padding:0;margin:0;line-height:0;}
.tp-header__logo img.logo{height:56px !important;max-height:56px !important;width:auto !important;max-width:none !important;}
.tp-container{max-width:1760px;padding:0 60px;}
html{font-size:107%;}
.tp-hero__overlay{background:linear-gradient(100deg,rgba(11,28,46,.55) 0%,rgba(11,28,46,.42) 35%,rgba(11,28,46,.18) 65%,rgba(11,28,46,.05) 100%);}
.tp-hero__title{font-size:48px;}
.tp-hero__text{font-size:17px;}
.tp-header__nav a{font-size:15px;}
.tp-btn{font-size:14px;padding:13px 24px;}
html{font-size:107%;}
.tp-hero__overlay{background:linear-gradient(100deg,rgba(11,28,46,.55) 0%,rgba(11,28,46,.42) 35%,rgba(11,28,46,.18) 65%,rgba(11,28,46,.05) 100%);}
.tp-hero__title{font-size:48px;}
.tp-hero__text{font-size:17px;}
.tp-header__nav a{font-size:15px;}
.tp-btn{font-size:14px;padding:13px 24px;}
.tp-hero__overlay{background:linear-gradient(100deg,rgba(11,28,46,.30) 0%,rgba(11,28,46,.20) 35%,rgba(11,28,46,.08) 65%,rgba(11,28,46,0) 100%);}
.tp-hero__title{line-height:1.3;letter-spacing:.01em;text-shadow:0 2px 12px rgba(0,0,0,.55);}
.tp-hero__text{line-height:1.7;text-shadow:0 1px 6px rgba(0,0,0,.5);}
html{font-size:112%;}
.tp-hero__overlay{background:linear-gradient(100deg,rgba(11,28,46,.12) 0%,rgba(11,28,46,.08) 40%,rgba(11,28,46,0) 70%);}
.tp-hero__title{margin-bottom:28px;text-shadow:0 2px 18px rgba(0,0,0,.75),0 1px 3px rgba(0,0,0,.6);}
.tp-hero__text{margin-bottom:40px;text-shadow:0 2px 10px rgba(0,0,0,.7);}
.tp-hero__actions{gap:20px;}
.tp-hero__overlay{background:linear-gradient(100deg,rgba(11,28,46,.30) 0%,rgba(11,28,46,.20) 35%,rgba(11,28,46,.08) 65%,rgba(11,28,46,0) 100%);}
.tp-hero__title{line-height:1.3;letter-spacing:.01em;text-shadow:0 2px 12px rgba(0,0,0,.55);}
.tp-hero__text{line-height:1.7;text-shadow:0 1px 6px rgba(0,0,0,.5);}
html{font-size:112%;}
.tp-hero__overlay{background:linear-gradient(100deg,rgba(11,28,46,.30) 0%,rgba(11,28,46,.20) 35%,rgba(11,28,46,.08) 65%,rgba(11,28,46,0) 100%);}
.tp-hero__title{line-height:1.3;letter-spacing:.01em;text-shadow:0 2px 12px rgba(0,0,0,.55);}
.tp-hero__text{line-height:1.7;text-shadow:0 1px 6px rgba(0,0,0,.5);}
html{font-size:112%;}
.tp-header{position:absolute;top:0;left:0;width:100%;z-index:50;}
.tp-header__topbar{background:transparent;border-bottom:1px solid rgba(255,255,255,.15);}
.tp-header__main{background:linear-gradient(to bottom, rgba(11,28,46,.6) 0%, rgba(11,28,46,0) 100%);padding:14px 0 34px;}
.tp-hero__row{padding-top:175px;}
.tp-header--solid{position:static;}
.tp-header--solid .tp-header__topbar{background:var(--tp-navy);border-bottom:1px solid rgba(255,255,255,.08);}
.tp-header--solid .tp-header__main{background:var(--tp-navy);padding:14px 0;}
.tp-header__main-row{justify-content:space-between;}
.tp-header__left{display:flex;align-items:center;gap:40px;}
.tp-header__right{display:flex;align-items:center;gap:16px;}
.tp-header__logo img.logo{height:72px !important;max-height:72px !important;width:auto !important;max-width:none !important;}
.tp-header__main-row{justify-content:space-between;}
.tp-header__left{display:flex;align-items:center;gap:40px;}
.tp-header__right{display:flex;align-items:center;gap:16px;}
.tp-header__logo img.logo{height:72px !important;max-height:72px !important;width:auto !important;max-width:none !important;}

/* === FIX 10 : retour au header FOND BLEU MARINE PLEIN (annule le header transparent flottant) === */
body .tp-header,
body .tp-header.tp-header--solid {
  position: static !important;
  background: var(--tp-navy, #0b2545) !important;
}
body .tp-header::before,
body .tp-header::after {
  content: none !important;
  background: none !important;
}
body .tp-header__topbar,
body .tp-header__main {
  background: var(--tp-navy, #0b2545) !important;
}
body .tp-hero {
  margin-top: 0 !important;
}
body .tp-header__logo img.logo,
body .tp-header__logo .navbar-brand img,
body .navbar-brand img.logo {
  height: 80px !important;
  width: auto !important;
  max-height: none !important;
}
body .tp-header__main-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
body .tp-header__left {
  display: flex !important;
  align-items: center !important;
  gap: 40px !important;
}
body .tp-header__right {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

/* === FIX 12 : empêcher le retour à la ligne du menu, ajuster les espacements === */
body .tp-header__main-row,
body .tp-header__left,
body .tp-header__nav ul {
  flex-wrap: nowrap !important;
}
body .tp-header__nav ul li a {
  white-space: nowrap !important;
}
body .tp-header__left {
  gap: 36px !important;
}
body .tp-header__nav ul {
  gap: 20px !important;
}
body .tp-header__logo img.logo,
body .tp-header__logo .navbar-brand img,
body .navbar-brand img.logo {
  height: 84px !important;
}

/* === FIX 13 : centrer le logo verticalement dans la bande bleue, lui laisser de l'air === */
body .tp-header__main {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}
body .tp-header__main-row,
body .tp-header__left,
body .tp-header__logo {
  display: flex !important;
  align-items: center !important;
}
body .tp-header__logo img.logo,
body .tp-header__logo .navbar-brand img,
body .navbar-brand img.logo {
  height: 68px !important;
  width: auto !important;
  display: block !important;
  vertical-align: middle !important;
  margin: 0 !important;
}

/* === FIX 14 : le vrai conteneur qui coupait le logo est .navbar-brand (max-height Bootstrap) === */
body .navbar-brand,
body .tp-header__logo .navbar-brand,
body a.navbar-brand.d-block {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
}
body .tp-header__logo {
  display: flex !important;
  align-items: center !important;
  overflow: visible !important;
}
body .tp-header__logo img.logo,
body .navbar-brand img.logo {
  height: 72px !important;
  width: auto !important;
  max-height: none !important;
  max-width: none !important;
  display: block !important;
}

/* === FIX 15 : décaler logo+menu vers la droite, plus d'espacement entre les items du menu === */
body .tp-header__left {
  margin-left: 48px !important;
  gap: 48px !important;
}
body .tp-header__nav ul {
  gap: 40px !important;
}

/* === FIX 15 : décaler logo+menu vers la gauche, plus d'espacement entre les items === */
body .tp-header__main .tp-container,
body .tp-header .tp-container {
  padding-left: 24px !important;
}
body .tp-header__left {
  gap: 48px !important;
}
body .tp-header__nav ul {
  gap: 28px !important;
}

/* === FIX 16 : décaler encore plus le bloc logo+menu vers la gauche === */
body .tp-header__main .tp-container,
body .tp-header .tp-container {
  padding-left: 8px !important;
}

/* === FIX 17 : conteneur header pleine largeur (collé à gauche), espacements définitifs === */
body .tp-header .tp-container {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
body .tp-header__left {
  gap: 48px !important;
}
body .tp-header__nav ul {
  gap: 28px !important;
}

/* === FIX 18 : encore plus d'espacement entre les items du menu === */
body .tp-header__nav ul {
  gap: 40px !important;
}

/* === FIX 19 : un peu plus d'espace entre les items du menu === */
body .tp-header__nav ul {
  gap: 48px !important;
}

/* === FIX 20 : agrandir légèrement le logo === */
body .tp-header__logo img.logo,
body .navbar-brand img.logo {
  height: 82px !important;
}

/* === FIX 21 : agrandir davantage le logo === */
body .tp-header__logo img.logo,
body .navbar-brand img.logo {
  height: 100px !important;
}

/* === FIX 22 : agrandir encore un peu le logo === */
body .tp-header__logo img.logo,
body .navbar-brand img.logo {
  height: 112px !important;
}

/* === FIX 23 : agrandir encore le logo + air vertical dans la bande === */
body .tp-header__logo img.logo,
body .navbar-brand img.logo {
  height: 128px !important;
}
body .tp-header__main {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

/* === FIX 24 : fond du Hero en rotation automatique (3 photos en fondu) + fix boutons coupés === */
body .tp-hero {
  overflow: visible !important;
}
body .tp-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  opacity: 0;
  animation: tpHeroFade 18s infinite;
}
body .tp-hero__bg--1 { animation-delay: 0s; }
body .tp-hero__bg--2 { animation-delay: 6s; }
body .tp-hero__bg--3 { animation-delay: 12s; }
@keyframes tpHeroFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  30%  { opacity: 1; }
  36%  { opacity: 0; }
  100% { opacity: 0; }
}
body .tp-hero__actions {
  position: relative !important;
  z-index: 3 !important;
  margin-top: 8px !important;
}
body .tp-hero__logo {
  align-self: center !important;
}

/* === FIX 25 : supprimer les points du carousel, agrandir la hauteur du Hero === */
body .tp-hero__dots {
  display: none !important;
}
body .tp-hero {
  min-height: 760px !important;
}
body .tp-hero__row {
  padding-bottom: 100px !important;
}

/* === FIX 26 : décaler le texte + boutons du Hero vers la gauche === */
body .tp-hero .tp-container {
  padding-left: 24px !important;
}

/* === FIX 27 : décaler encore plus le texte + boutons du Hero vers la gauche === */
body .tp-hero .tp-container {
  max-width: 100% !important;
  padding-left: 8px !important;
}

/* === FIX 28 : décaler encore plus vers la gauche === */
body .tp-hero .tp-container {
  padding-left: 0px !important;
}

/* === FIX 29 : grand décalage vers la gauche === */
body .tp-hero .tp-container {
  margin-left: -60px !important;
}

/* === FIX 30 : ajustement, revenir un peu vers la droite === */
body .tp-hero .tp-container {
  margin-left: -20px !important;
}

/* === FIX 30 : ajustement, revenir un peu vers la droite === */
body .tp-hero .tp-container {
  margin-left: -20px !important;
}

/* === FIX 31 : corriger le débordement à gauche, revenir à un décalage raisonnable === */
body .tp-hero .tp-container {
  margin-left: 0 !important;
  padding-left: 32px !important;
}

/* === FIX 32 : décaler un peu plus vers la droite === */
body .tp-hero .tp-container {
  padding-left: 56px !important;
}

/* === FIX 33 : décaler encore vers la droite === */
body .tp-hero .tp-container {
  padding-left: 90px !important;
}

/* === FIX 34 : décaler davantage vers la droite === */
body .tp-hero .tp-container {
  padding-left: 130px !important;
}

/* === FIX 36 : texte revenu à une position normale, logo poussé extrêmement à droite === */
body .tp-hero .tp-container {
  padding-left: 60px !important;
}
body .tp-hero__logo {
  margin-left: auto !important;
  margin-right: -120px !important;
}

/* === FIX 37 : logo ancré à l'extrême droite de la page, indépendant du texte === */
body .tp-hero__row {
  position: relative !important;
}
body .tp-hero__logo {
  position: absolute !important;
  top: 50% !important;
  right: 20px !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  z-index: 2 !important;
}

/* === FIX 38 : forcer la ligne du Hero à prendre toute la largeur, pour que le logo s'ancre vraiment à droite === */
body .tp-hero__row {
  width: 100% !important;
}
body .tp-hero__logo {
  right: 40px !important;
}

/* === FIX 39 : retour du logo Hero à sa position d'origine (annule FIX 36, 37, 38) === */
body .tp-hero__logo {
  position: static !important;
  top: auto !important;
  right: auto !important;
  transform: none !important;
  margin: 0 !important;
  z-index: auto !important;
}
body .tp-hero__row {
  width: auto !important;
}

/* === FIX 40 : rangée de catégories (remplace le bloc Lorem Ipsum de ps_customtext) === */
body .tp-categories {
  background: #fff;
  padding: 64px 0;
}
body .tp-categories__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
}
body .tp-categories__item {
  text-align: center;
}
body .tp-categories__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11,28,46,.06);
  color: var(--tp-navy);
  font-size: 26px;
}
body .tp-categories__title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tp-navy);
  margin-bottom: 8px;
}
body .tp-categories__text {
  font-size: 13px;
  color: #667;
  line-height: 1.5;
}
@media (max-width: 992px) {
  body .tp-categories__row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
  body .tp-categories__row { grid-template-columns: repeat(2, 1fr); }
}

/* === FIX 41 : la rangée de catégories chevauche légèrement le bas du Hero (effet carte flottante) === */
body .tp-categories {
  position: relative;
  z-index: 5;
  margin-top: -48px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -12px 30px rgba(0,0,0,.08);
}

/* === FIX 42 : la rangée de catégories devient une vraie carte flottante avec marges de chaque côté === */
body .tp-categories {
  max-width: 1760px;
  margin-left: auto;
  margin-right: auto;
  margin-top: -60px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  padding: 48px 24px;
}

/* === FIX 43 : décaler la carte un peu plus vers le haut === */
body .tp-categories {
  margin-top: -100px !important;
}

/* === FIX 44 : décaler encore un peu plus vers le haut === */
body .tp-categories {
  margin-top: -140px !important;
}

/* === FIX 45 : supprimer le logo flottant dans le Hero === */
body .tp-hero__logo {
  display: none !important;
}

/* === FIX 46 : décaler le texte du Hero vers le haut === */
body .tp-hero__content {
  margin-top: -60px !important;
}

/* === FIX 47 : texte du Hero un peu plus haut et un peu plus à droite === */
body .tp-hero__content {
  margin-top: -90px !important;
  margin-left: 40px !important;
}

/* === FIX 48 : encore un peu plus haut et à droite === */
body .tp-hero__content {
  margin-top: -120px !important;
  margin-left: 80px !important;
}

/* === FIX 49 : bande de statistiques bleu marine (remplace le bloc promo par défaut de ps_banner) === */
body .tp-stats {
  background: var(--tp-navy);
  padding: 40px 0;
}
body .tp-stats__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
body .tp-stats__item {
  display: flex;
  align-items: center;
  gap: 16px;
}
body .tp-stats__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 20px;
}
body .tp-stats__content {
  display: flex;
  flex-direction: column;
}
body .tp-stats__number {
  color: var(--tp-orange);
  font-size: 24px;
  font-weight: 800;
}
body .tp-stats__label {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
body .tp-stats__sub {
  color: rgba(255,255,255,.6);
  font-size: 12px;
}
@media (max-width: 992px) {
  body .tp-stats__row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  body .tp-stats__row { grid-template-columns: 1fr; }
}

/* === FIX 50 : section "Nos Solutions" avec 5 cartes === */
body .tp-solutions {
  background: #fff;
  padding: 64px 0;
}
body .tp-solutions__header {
  text-align: center;
  margin-bottom: 36px;
}
body .tp-solutions__title {
  color: var(--tp-navy);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 24px;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--tp-orange);
  margin-bottom: 10px;
}
body .tp-solutions__subtitle {
  color: #667;
  font-size: 14px;
  margin-top: 8px;
}
body .tp-solutions__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
body .tp-solutions__card {
  display: block;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
body .tp-solutions__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}
body .tp-solutions__image {
  position: relative;
  height: 170px;
  background-size: cover;
  background-position: center;
}
body .tp-solutions__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,28,46,.85) 0%, rgba(11,28,46,0) 55%);
}
body .tp-solutions__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tp-orange);
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
}
body .tp-solutions__label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
body .tp-solutions__body {
  padding: 16px;
}
body .tp-solutions__body p {
  color: #667;
  font-size: 12.5px;
  line-height: 1.5;
  margin-bottom: 10px;
  min-height: 38px;
}
body .tp-solutions__link {
  color: var(--tp-orange);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 992px) {
  body .tp-solutions__row { grid-template-columns: repeat(2, 1fr); }
}

/* === FIX 51 : section "À propos" (photo + texte), insérée avant Nos solutions === */
body .tp-about {
  background: #fff;
  padding: 64px 0;
}
body .tp-about__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
body .tp-about__image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
body .tp-about__kicker {
  color: var(--tp-orange);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
body .tp-about__title {
  color: var(--tp-navy);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.3;
  margin: 12px 0 16px;
}
body .tp-about__text {
  color: #667;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
body .tp-about__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
body .tp-about__list li {
  color: var(--tp-navy);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
body .tp-about__list i {
  color: var(--tp-orange);
}
@media (max-width: 992px) {
  body .tp-about__row { grid-template-columns: 1fr; }
  body .tp-about__list { grid-template-columns: 1fr; }
}

/* === FIX 52 : section "Nos produits & équipements" === */
body .tp-products {
  background: #f7f8fa;
  padding: 64px 0;
}
body .tp-products__header {
  text-align: center;
  margin-bottom: 32px;
}
body .tp-products__title {
  color: var(--tp-navy);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 24px;
}
body .tp-products__subtitle {
  color: #667;
  font-size: 14px;
  margin-top: 8px;
}
body .tp-products__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
body .tp-products__card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}
body .tp-products__image {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 12px;
}
body .tp-products__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
body .tp-products__label {
  display: block;
  padding: 12px 8px 16px;
  font-weight: 800;
  font-size: 12.5px;
  text-transform: uppercase;
  color: var(--tp-navy);
  border-top: 1px solid rgba(0,0,0,.06);
}
body .tp-products__cta {
  text-align: center;
  margin-top: 32px;
}
@media (max-width: 992px) {
  body .tp-products__row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
  body .tp-products__row { grid-template-columns: repeat(2, 1fr); }
}

/* === FIX 52 : section "Nos produits & équipements" === */
body .tp-products {
  background: #f7f8fa;
  padding: 64px 0;
}
body .tp-products__header {
  text-align: center;
  margin-bottom: 32px;
}
body .tp-products__title {
  color: var(--tp-navy);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 24px;
}
body .tp-products__subtitle {
  color: #667;
  font-size: 14px;
  margin-top: 8px;
}
body .tp-products__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
body .tp-products__card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}
body .tp-products__image {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 12px;
}
body .tp-products__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
body .tp-products__label {
  display: block;
  padding: 12px 8px 16px;
  font-weight: 800;
  font-size: 12.5px;
  text-transform: uppercase;
  color: var(--tp-navy);
  border-top: 1px solid rgba(0,0,0,.06);
}
body .tp-products__cta {
  text-align: center;
  margin-top: 32px;
}
@media (max-width: 992px) {
  body .tp-products__row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
  body .tp-products__row { grid-template-columns: repeat(2, 1fr); }
}

/* === FIX 53 : section "Nos réalisations" (galerie photo) === */
body .tp-gallery {
  background: #fff;
  padding: 56px 0;
}
body .tp-gallery__header {
  text-align: center;
  margin-bottom: 28px;
}
body .tp-gallery__title {
  color: var(--tp-navy);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 22px;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--tp-orange);
}
body .tp-gallery__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
body .tp-gallery__item {
  height: 130px;
  overflow: hidden;
  border-radius: 6px;
}
body .tp-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
body .tp-gallery__item:hover img {
  transform: scale(1.06);
}
body .tp-gallery__cta {
  text-align: center;
  margin-top: 24px;
}
body .tp-gallery__cta a {
  color: var(--tp-orange);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
}
@media (max-width: 992px) {
  body .tp-gallery__row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
  body .tp-gallery__row { grid-template-columns: repeat(2, 1fr); }
}

/* === FIX PARTENAIRES : bande logos partenaires defilante === */
.tp-partners{background:#f7f8fa;padding:40px 0;border-top:1px solid #eee;border-bottom:1px solid #eee}
.tp-partners__title{text-align:center;font-size:15px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;color:var(--tp-navy);position:relative;margin:0 0 30px}
.tp-partners__title::before{content:"";display:block;width:40px;height:3px;background:var(--tp-orange);margin:0 auto 14px}
.tp-partners__marquee{overflow:hidden;width:100%;-webkit-mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent)}
.tp-partners__track{display:flex;align-items:center;gap:70px;width:max-content;animation:tpPartnersScroll 22s linear infinite}
.tp-partners__marquee:hover .tp-partners__track{animation-play-state:paused}
.tp-partners__logo{display:flex;align-items:center;flex-shrink:0}
.tp-partners__logo img{height:40px;width:auto;object-fit:contain}
.tp-partners__logo--aiko{color:#1a1a2e;font-style:italic;letter-spacing:1px}
.tp-partners__logo--tcl{color:#e2231a;font-family:Arial,sans-serif}
.tp-partners__logo--risen{color:#0057a8}
.tp-partners__logo--risen span{font-size:11px;font-weight:600;letter-spacing:2px;color:#7a8a99;align-self:center}
.tp-partners__logo--solarc{color:var(--tp-orange)}
.tp-partners__logo--deye{color:#0a4f8f}
.tp-partners__deye-i{color:#3fa535;font-style:italic;font-size:30px}
@keyframes tpPartnersScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:576px){.tp-partners__logo{font-size:20px}.tp-partners__track{gap:40px}}

/* === FIX ACTUALITES : section actualites et nouveautes === */
.tp-news{background:#fff;padding:56px 0}
.tp-news__header{text-align:center;margin-bottom:34px}
.tp-news__badge{display:inline-block;background:#f4f5f7;color:var(--tp-navy);font-weight:800;text-transform:uppercase;font-size:13px;letter-spacing:.5px;padding:10px 22px;border-radius:30px;position:relative}
.tp-news__badge::after{content:"";display:block;width:36px;height:3px;background:var(--tp-orange);margin:8px auto 0}
.tp-news__row{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.tp-news__card{background:#fff;border:1px solid #eee;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s}
.tp-news__card:hover{transform:translateY(-4px);box-shadow:0 10px 24px rgba(0,0,0,.08)}
.tp-news__img{position:relative;height:130px;overflow:hidden}
.tp-news__img img{width:100%;height:100%;object-fit:cover}
.tp-news__date{position:absolute;top:10px;left:10px;background:#fff;color:var(--tp-navy);font-size:11px;font-weight:700;padding:5px 10px;border-radius:5px;display:flex;align-items:center;gap:5px}
.tp-news__date i{color:var(--tp-orange);font-size:12px}
.tp-news__title{font-size:14px;font-weight:700;color:var(--tp-navy);line-height:1.4;padding:14px 14px 6px;flex-grow:1}
.tp-news__link{color:var(--tp-orange);font-weight:700;font-size:13px;padding:0 14px 16px;display:inline-block}
.tp-news__cta{background:var(--tp-navy);border-radius:10px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:22px;color:#fff}
.tp-news__cta-icon{font-size:26px;color:var(--tp-orange);margin-bottom:14px}
.tp-news__cta p{font-weight:700;font-size:15px;margin-bottom:18px}
.tp-news__cta-btn{background:var(--tp-orange);color:#fff;font-weight:700;font-size:13px;padding:10px 16px;border-radius:6px}
@media(max-width:992px){.tp-news__row{grid-template-columns:repeat(2,1fr)}.tp-news__cta{grid-column:span 2}}
@media(max-width:576px){.tp-news__row{grid-template-columns:1fr}.tp-news__cta{grid-column:span 1}}

/* === FIX FOOTER : bandeau CTA + footer principal === */
.tp-footer-cta{background:var(--tp-navy);padding:34px 0;border-top:4px solid var(--tp-orange)}
.tp-footer-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.tp-footer-cta__text h3{color:#fff;font-size:22px;font-weight:800;margin:0 0 6px}
.tp-footer-cta__text h3 span{color:var(--tp-orange)}
.tp-footer-cta__text p{color:#c7cdd6;font-size:14px;margin:0;max-width:360px}
.tp-footer-cta__contacts{display:flex;gap:26px;flex-wrap:wrap}
.tp-footer-cta__item{display:flex;align-items:center;gap:10px;color:#fff}
.tp-footer-cta__item i{color:var(--tp-orange);font-size:20px}
.tp-footer-cta__item span{display:block;font-size:11px;color:#9aa5b1;text-transform:uppercase;letter-spacing:.5px}
.tp-footer-cta__item strong{display:block;font-size:14px;font-weight:700}
.tp-footer-cta__btn{background:var(--tp-orange);color:#fff;font-weight:700;font-size:14px;padding:12px 20px;border-radius:6px;white-space:nowrap}
.tp-footer-cta__btn:hover{opacity:.9;color:#fff}
.tp-footer{background:#0f1b2e;padding:50px 0 20px;color:#c7cdd6}
.tp-footer__grid{display:grid;grid-template-columns:1.4fr 1.4fr 1fr 1.2fr;gap:30px;padding-bottom:30px}
.tp-footer__logo{height:42px;margin-bottom:14px}
.tp-footer__brand p{font-size:13px;line-height:1.6;margin-bottom:16px}
.tp-footer__social{display:flex;gap:10px}
.tp-footer__social a{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:#fff;transition:background .2s}
.tp-footer__social a:hover{background:var(--tp-orange)}
.tp-footer__col h4{color:#fff;font-size:14px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;margin-top:0;margin-bottom:16px}
.tp-footer__col ul{list-style:none;margin:0;padding:0}
.tp-footer__col li{margin-bottom:10px;font-size:13px}
.tp-footer__col a{color:#c7cdd6;transition:color .2s}
.tp-footer__col a:hover{color:var(--tp-orange)}
.tp-footer__cols2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tp-footer__contact li{display:flex;align-items:flex-start;gap:10px}
.tp-footer__contact i{color:var(--tp-orange);margin-top:3px}
.tp-footer .copyright,.tp-footer .footer__copyright{border-top:1px solid rgba(255,255,255,.1);padding-top:18px;color:#8b95a3;font-size:12px}
.tp-footer .copyright a,.tp-footer .footer__copyright a{color:#c7cdd6}
@media(max-width:992px){.tp-footer__grid{grid-template-columns:1fr 1fr}.tp-footer-cta__inner{justify-content:center;text-align:center}}
@media(max-width:576px){.tp-footer__grid{grid-template-columns:1fr}.tp-footer__cols2{grid-template-columns:1fr 1fr}}

/* === FIX FOOTER BOTTOM : ligne de copyright personnalisee === */
.tp-footer__bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:18px;color:#8b95a3;font-size:12px;text-align:center}

/* === FIX RESPONSIVE 1 : lisibilite et position du texte Hero sur mobile === */
@media (max-width: 992px) {
  body .tp-hero__overlay {
    background: linear-gradient(180deg, rgba(11,28,46,.75) 0%, rgba(11,28,46,.55) 60%, rgba(11,28,46,.55) 100%) !important;
  }
  body .tp-hero__content { margin-top: 0 !important; margin-left: 0 !important; }
  body .tp-hero__title { font-size: 28px !important; }
  body .tp-hero__text { font-size: 15px !important; max-width: 100% !important; }
}
@media (max-width: 576px) {
  body .tp-hero { min-height: auto !important; padding: 50px 0 !important; }
  body .tp-hero__row { padding: 40px 0 !important; }
  body .tp-hero__title { font-size: 23px !important; }
  body .tp-hero__actions { flex-direction: column; align-items: stretch; }
  body .tp-hero__actions .tp-btn { justify-content: center; }
}

/* === FIX RESPONSIVE 2 : libelles des cartes ne doivent plus etre coupes === */
body .tp-solutions__label { right: 14px; white-space: normal; overflow-wrap: break-word; word-break: break-word; line-height: 1.3; }
body .tp-products__label { overflow-wrap: break-word; word-break: break-word; line-height: 1.3; }
@media (max-width: 576px) {
  body .tp-solutions__row { grid-template-columns: 1fr; }
  body .tp-solutions__label { font-size: 15px; }
  body .tp-products__label { font-size: 11.5px; padding: 10px 6px 14px; }
}

/* === FIX RESPONSIVE 3 : le texte du Hero doit pouvoir retrecir et revenir a la ligne === */
body .tp-hero__content { min-width: 0; }
@media (max-width: 992px) {
  body .tp-hero__content { width: 100%; max-width: 100%; min-width: 0; }
  body .tp-hero__text { width: 100%; max-width: 100%; }
}

/* === FIX HERO KICKER : sous-titre "Depuis 2012" au-dessus du titre === */
body .tp-hero__kicker{display:inline-block;color:#fff;background:rgba(245,130,31,.15);border:1px solid var(--tp-orange);padding:6px 16px;border-radius:30px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:16px}

/* === FIX HERO SINCE : "Depuis" petit + "2012" tres grand === */
body .tp-hero__since{display:flex;align-items:baseline;gap:10px;margin-bottom:14px}
body .tp-hero__since-label{color:#fff;font-size:24px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;text-shadow:0 2px 8px rgba(0,0,0,.6)}
body .tp-hero__since-year{color:var(--tp-orange);font-size:56px;font-weight:800;line-height:1;text-shadow:0 2px 12px rgba(0,0,0,.5)}
@media (max-width:576px){
  body .tp-hero__since-year{font-size:40px}
}

/* === FIX HERO SINCE : "Depuis" petit + "2012" tres grand === */
body .tp-hero__since{display:flex;align-items:baseline;gap:10px;margin-bottom:14px}
body .tp-hero__since-label{color:#fff;font-size:24px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;text-shadow:0 2px 8px rgba(0,0,0,.6)}
body .tp-hero__since-year{color:var(--tp-orange);font-size:56px;font-weight:800;line-height:1;text-shadow:0 2px 12px rgba(0,0,0,.5)}
@media (max-width:576px){
  body .tp-hero__since-year{font-size:40px}
}

/* === FIX MODAL A PROPOS : styliser la fenetre "En savoir plus" === */
.tp-modal .modal-content{border-radius:14px;border:none;overflow:hidden}
.tp-modal .modal-header{background:var(--tp-navy);border-bottom:none;padding:22px 26px}
.tp-modal .modal-title{color:#fff;font-weight:800;font-size:20px}
.tp-modal .btn-close{filter:invert(1)}
.tp-modal .modal-body{padding:26px}
.tp-modal .modal-body p{color:#556;line-height:1.7;margin-bottom:16px}
.tp-modal .modal-body h4{color:var(--tp-navy);font-weight:800;font-size:15px;text-transform:uppercase;margin:20px 0 12px}
.tp-modal .modal-body ul{padding-left:20px;margin-bottom:0;color:#556}
.tp-modal .modal-body ul li{margin-bottom:8px}
.tp-modal .modal-footer{border-top:1px solid #eee;padding:18px 26px}

/* === FIX SOLUTIONS DETAILS : agrandissement + explications au clic === */
.tp-solutions__link{cursor:pointer;background:none;border:none;padding:0;color:var(--tp-orange);font-weight:700;font-size:12.5px;text-transform:uppercase;display:inline-flex;align-items:center;gap:6px;font-family:inherit}
.tp-solutions__link i{transition:transform .25s}
.tp-solutions__card.is-expanded .tp-solutions__link i{transform:rotate(90deg)}
.tp-solutions__details{max-height:0;overflow:hidden;transition:max-height .35s ease, margin-top .35s ease}
.tp-solutions__details p{color:#667;font-size:12.5px;line-height:1.6;padding-top:2px}
.tp-solutions__card.is-expanded .tp-solutions__details{max-height:260px;margin-top:10px}
.tp-solutions__card.is-expanded{box-shadow:0 16px 32px rgba(0,0,0,.14);transform:translateY(-2px)}

/* === AJOUT : menu déroulant "Nos références" === */
.tp-header__nav li{position:relative}
.tp-header__nav-item--has-dropdown{position:relative}
.tp-header__dropdown{display:none!important;position:absolute;top:100%;left:0;margin-top:18px;background:#fff;list-style:none;padding:0;margin-left:0;margin-right:0;margin-bottom:0;min-width:230px;box-shadow:0 14px 34px rgba(0,0,0,.18);border-top:3px solid var(--tp-orange);z-index:60}
.tp-header__dropdown li{border-bottom:1px solid #eee}
.tp-header__dropdown li:last-child{border-bottom:none}
.tp-header__dropdown a{display:block;color:var(--tp-navy);font-size:13.5px;font-weight:700;padding:14px 18px;border-bottom:none}
.tp-header__dropdown a:hover{color:var(--tp-orange);border-color:transparent}
.tp-header__nav-item--has-dropdown:hover .tp-header__dropdown{display:block!important}
.tp-mobile-menu__group{padding:12px 0}
.tp-mobile-menu__group>span{display:block;font-weight:700;margin-bottom:6px}
.tp-mobile-menu__submenu{list-style:none;padding-left:14px;margin:0}
.tp-mobile-menu__submenu li{margin:8px 0}

/* === AJOUT : section "Nos références" (jauges % + listes clients défilantes) === */
.tp-references{background:#f7f8fa;padding:64px 0;border-top:1px solid #eee;border-bottom:1px solid #eee}
.tp-references__header{text-align:center;margin-bottom:44px}
.tp-references__title{font-size:28px;font-weight:800;color:var(--tp-navy);margin:0 0 10px}
.tp-references__subtitle{color:#5b6472;font-size:14.5px;margin:0}
.tp-ref-gauges{display:flex;gap:32px;max-width:1180px;margin:0 auto;justify-content:center;flex-wrap:wrap;align-items:flex-start}
.tp-ref-gauge__note{margin-top:16px;padding-top:16px;border-top:1px dashed #d8dce1;font-size:13px;line-height:1.5;color:#6b7480;text-align:center;max-width:220px}
.tp-ref-gauge{flex:1 1 220px;max-width:260px;text-align:center}
.tp-ref-gauge__icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0 auto 14px;background:var(--tp-orange);border-radius:10px;color:#fff;font-size:18px}
.tp-ref-gauge__label{font-size:15px;font-weight:800;color:var(--tp-navy);text-transform:uppercase;letter-spacing:.02em;margin:0 0 18px}
.tp-ref-gauge__track{width:40px;height:150px;margin:0 auto;background:#e6e9ed;border-radius:20px;position:relative;overflow:hidden;box-shadow:inset 0 2px 4px rgba(11,28,46,.08)}
.tp-ref-gauge__fill{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(180deg,var(--tp-orange),var(--tp-orange-dark));border-radius:20px;animation:tpGaugeFill 1.4s cubic-bezier(.2,.7,.2,1) both}
@keyframes tpGaugeFill{from{height:0}}
.tp-ref-gauge__value{margin-top:14px;font-size:22px;font-weight:800;color:var(--tp-navy);font-variant-numeric:tabular-nums}
.tp-ref-gauge__value span{display:block;font-size:11px;font-weight:600;color:#9aa3ad;text-transform:uppercase;letter-spacing:.04em;margin-top:3px}
.tp-ref-clientlist{list-style:none;margin:20px 0 0;padding:14px 6px 0;text-align:left;max-height:190px;overflow-y:auto;border-top:1px solid #eaecef}
.tp-ref-clientlist::-webkit-scrollbar{width:5px}
.tp-ref-clientlist::-webkit-scrollbar-track{background:transparent}
.tp-ref-clientlist::-webkit-scrollbar-thumb{background:#d8dce1;border-radius:3px}
.tp-ref-client{display:flex;align-items:center;gap:10px;padding:7px 4px;font-size:12.5px;font-weight:500;color:var(--tp-navy);border-bottom:1px solid #f2f2f2}
.tp-ref-client:last-child{border-bottom:none}
.tp-ref-client__avatar{flex:0 0 auto;width:26px;height:26px;border-radius:50%;object-fit:contain;background:#fff;border:1px solid #eee}
.tp-ref-client__avatar--text{display:flex;align-items:center;justify-content:center;background:var(--tp-orange);color:#fff;font-weight:700;font-size:11px}
@media(max-width:768px){
  .tp-ref-gauges{gap:24px}
  .tp-ref-gauge{flex:1 1 100%;max-width:360px}
}
.tp-footer-cta__item{text-decoration:none;cursor:pointer}

/* === FIX 25 : header responsive corrige pour petits/moyens ecrans portable (1280-1536px) === */
body .tp-header__logo img.logo,
body .tp-header__logo .navbar-brand img,
body .navbar-brand img.logo {
  height: 64px !important;
  max-height: 64px !important;
  width: auto !important;
}
body .tp-header__left {
  gap: 32px !important;
}
body .tp-header__nav ul {
  gap: 20px !important;
  flex-wrap: wrap !important;
}
body .tp-header__nav a {
  font-size: 14px !important;
}
@media (max-width: 1400px) {
  body .tp-header__nav, body .tp-header__cta { display: none !important; }
  body .tp-header__burger { display: block !important; }
}

/* === FIX RESPONSIVE HERO : coherent sur mobile / tablette / desktop === */
@media (max-width: 991px) {
  body .tp-hero .tp-container { padding-left: 32px !important; padding-right: 32px !important; }
  body .tp-hero { min-height: 600px !important; }
  body .tp-hero__row { padding-top: 140px !important; padding-bottom: 48px !important; }
  body .tp-hero__content { margin-top: 0 !important; margin-left: 0 !important; max-width: 100% !important; }
  body .tp-hero__title { font-size: 34px !important; }
  body .tp-hero__text { font-size: 15px !important; }
}
@media (max-width: 767px) {
  body .tp-hero .tp-container { padding-left: 20px !important; padding-right: 20px !important; }
  body .tp-hero { min-height: auto !important; }
  body .tp-hero__row { padding-top: 120px !important; padding-bottom: 40px !important; }
  body .tp-hero__title { font-size: 27px !important; line-height: 1.3 !important; }
  body .tp-hero__actions { flex-direction: column !important; align-items: stretch !important; gap: 12px !important; }
  body .tp-hero__actions .tp-btn { justify-content: center !important; width: 100% !important; }
  body .tp-hero__overlay { background: linear-gradient(180deg, rgba(11,28,46,.78) 0%, rgba(11,28,46,.55) 55%, rgba(11,28,46,.35) 100%) !important; }
}
@media (max-width: 575px) {
  body .tp-hero__row { padding-top: 105px !important; padding-bottom: 32px !important; }
  body .tp-hero__title { font-size: 22px !important; }
  body .tp-hero__text { font-size: 13.5px !important; }
  body .tp-hero__since { transform: scale(.85); transform-origin: left center; }
}

/* === FIX RESPONSIVE CATEGORIES (bloc blanc juste apres le Hero) === */
@media (max-width: 991px) {
  body .tp-categories { margin-top: -60px !important; padding: 40px 20px !important; }
  body .tp-categories .tp-container { padding-left: 0 !important; padding-right: 0 !important; }
  body .tp-categories__row { grid-template-columns: repeat(3, 1fr) !important; gap: 24px !important; }
  body .tp-categories__icon { width: 56px !important; height: 56px !important; font-size: 22px !important; margin-bottom: 14px !important; }
  body .tp-categories__title { font-size: 14px !important; }
  body .tp-categories__text { font-size: 12.5px !important; }
}
@media (max-width: 767px) {
  body .tp-categories { margin-top: -30px !important; padding: 32px 16px !important; border-radius: 16px !important; }
  body .tp-categories__row { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
}
@media (max-width: 480px) {
  body .tp-categories { margin-top: 0 !important; }
  body .tp-categories__row { grid-template-columns: 1fr !important; gap: 24px !important; }
  body .tp-categories__item { text-align: center; }
}


/* === Simulateur kWc (nouvelle section, avant Nos solutions) === */
.tp-simulator{padding:80px 0;background:#f7f8fb;}
.tp-simulator__header{text-align:center;margin-bottom:44px;}
.tp-simulator__kicker{display:inline-block;color:var(--tp-orange);font-weight:700;letter-spacing:1.5px;font-size:13px;text-transform:uppercase;margin-bottom:10px;}
.tp-simulator__title{font-size:32px;font-weight:800;margin:0 0 14px;color:#0f1b2e;}
.tp-simulator__title::after{content:'';display:block;width:56px;height:4px;background:var(--tp-orange);border-radius:4px;margin:14px auto 0;}
.tp-simulator__subtitle{color:#64748b;font-size:15.5px;max-width:560px;margin:0 auto;}

.tp-simulator__card{background:#fff;border-radius:24px;box-shadow:0 20px 50px -20px rgba(15,27,46,.18);display:grid;grid-template-columns:1fr 1fr;overflow:hidden;max-width:1100px;margin:0 auto;}

.tp-simulator__form{padding:44px 40px;}
.tp-simulator__tabs{display:flex;background:#f7f8fb;border-radius:14px;padding:5px;margin-bottom:26px;}
.tp-simulator__tab{flex:1;text-align:center;padding:11px 8px;border-radius:10px;font-size:13.5px;font-weight:600;color:#64748b;cursor:pointer;transition:.25s;user-select:none;}
.tp-simulator__tab.active{background:#0f1b2e;color:#fff;box-shadow:0 6px 16px -6px rgba(15,27,46,.5);}

.tp-simulator__label{font-size:13px;font-weight:600;color:#0f1b2e;margin-bottom:8px;display:block;}
.tp-simulator__input-wrap{position:relative;margin-bottom:10px;}
.tp-simulator__input{width:100%;padding:16px 100px 16px 18px;border-radius:12px;border:1.5px solid #e6eaf0;font-size:20px;font-weight:700;color:#0f1b2e;font-family:'Poppins',sans-serif;outline:none;transition:.2s;}
.tp-simulator__input:focus{border-color:var(--tp-orange);box-shadow:0 0 0 4px rgba(242,121,10,.12);}
.tp-simulator__unit{position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:13px;font-weight:700;color:#64748b;background:#f7f8fb;padding:6px 10px;border-radius:8px;}
.tp-simulator__hint{font-size:12.5px;color:#64748b;margin:0 0 22px;line-height:1.5;}

.tp-simulator__result{background:radial-gradient(circle at 30% 20%,#16253d,#0f1b2e 70%);padding:44px 36px;color:#fff;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:480px;}
.tp-simulator__result::before{content:'';position:absolute;top:-60px;right:-60px;width:220px;height:220px;background:radial-gradient(circle,rgba(242,121,10,.35),transparent 70%);}
.tp-simulator__placeholder{opacity:.85;}
.tp-simulator__placeholder i{font-size:46px;color:var(--tp-orange);margin-bottom:18px;display:block;}
.tp-simulator__placeholder p{font-size:14.5px;color:#c9d2e0;max-width:260px;margin:0 auto;}

.tp-simulator__gauge-wrap{display:none;position:relative;z-index:1;}
.tp-simulator__gauge-wrap.show{display:block;animation:tpSimFadeUp .5s ease;}
@keyframes tpSimFadeUp{from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:translateY(0);}}

.tp-simulator__gauge{position:relative;width:200px;height:200px;margin:0 auto 8px;}
.tp-simulator__gauge svg{transform:rotate(-90deg);}
.tp-simulator__gauge-bg{fill:none;stroke:rgba(255,255,255,.12);stroke-width:14;}
.tp-simulator__gauge-fill{fill:none;stroke:url(#tpSimGaugeGrad);stroke-width:14;stroke-linecap:round;transition:stroke-dashoffset 1s cubic-bezier(.22,1,.36,1);}
.tp-simulator__gauge-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.tp-simulator__gauge-value{font-size:38px;font-weight:800;line-height:1;color:#fff;}
.tp-simulator__gauge-unit{font-size:13px;color:#ffb648;font-weight:700;letter-spacing:1px;margin-top:4px;}

.tp-simulator__stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:26px 0 24px;width:100%;position:relative;z-index:1;}
.tp-simulator__stat{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:14px 10px;}
.tp-simulator__stat i{color:#ffb648;font-size:17px;margin-bottom:6px;display:block;}
.tp-simulator__stat b{display:block;font-size:19px;font-weight:800;color:#fff;}
.tp-simulator__stat span{font-size:11.5px;color:#c9d2e0;}

.tp-simulator__cta{display:inline-flex;align-items:center;gap:8px;background:#fff;color:#0f1b2e;font-weight:700;font-size:14px;padding:14px 26px;border-radius:12px;text-decoration:none;position:relative;z-index:1;transition:.2s;}
.tp-simulator__cta:hover{background:var(--tp-orange);color:#fff;}
.tp-simulator__disclaimer{font-size:11px;color:#93a0b8;margin-top:14px;max-width:300px;position:relative;z-index:1;}

@media(max-width:991px){
  .tp-simulator{padding:56px 0;}
  .tp-simulator__card{margin:0 16px;}
}
@media(max-width:820px){
  .tp-simulator__card{grid-template-columns:1fr;max-width:520px;}
  .tp-simulator__form{padding:32px 28px;}
  .tp-simulator__result{padding:36px 28px;min-height:auto;}
}
@media(max-width:480px){
  .tp-simulator__title{font-size:24px;}
  .tp-simulator__input{font-size:17px;padding:14px 90px 14px 14px;}
  .tp-simulator__gauge{width:160px;height:160px;}
  .tp-simulator__gauge svg{width:160px;height:160px;}
  .tp-simulator__gauge-value{font-size:30px;}
}


/* === Simulateur kWc : ajustements responsive supplementaires === */
@media(max-width:767px){
  .tp-simulator{padding:48px 0;}
  .tp-simulator__header{margin-bottom:32px;}
  .tp-simulator__card{border-radius:18px;}
  .tp-simulator__tabs{margin-bottom:20px;}
  .tp-simulator__tab{font-size:12.5px;padding:10px 6px;}
  .tp-simulator__cta{width:100%;justify-content:center;text-align:center;white-space:normal;line-height:1.3;}
}
@media(max-width:575px){
  .tp-simulator__card{margin:0 12px;max-width:none;}
  .tp-simulator__form{padding:26px 20px;}
  .tp-simulator__result{padding:30px 20px;}
  .tp-simulator__input{padding-right:78px;font-size:16px;}
  .tp-simulator__unit{font-size:11px;padding:5px 8px;right:10px;}
  .tp-simulator__stats{gap:8px;}
  .tp-simulator__stat{padding:12px 6px;}
  .tp-simulator__stat b{font-size:16px;}
  .tp-simulator__stat span{font-size:10.5px;}
}
@media(max-width:380px){
  .tp-simulator__title{font-size:21px;}
  .tp-simulator__subtitle{font-size:14px;}
  .tp-simulator__tabs{flex-direction:column;gap:6px;}
  .tp-simulator__tab{padding:10px;}
  .tp-simulator__gauge{width:140px;height:140px;}
  .tp-simulator__gauge svg{width:140px;height:140px;}
  .tp-simulator__gauge-value{font-size:26px;}
  .tp-simulator__cta{font-size:13px;padding:12px 18px;}
}


/* === Simulateur kWc : couverture des ecrans intermediaires (petits PC/laptops/tablettes paysage) === */
@media(min-width:821px) and (max-width:1199px){
  .tp-simulator__form{padding:34px 28px;}
  .tp-simulator__result{padding:34px 26px;min-height:440px;}
  .tp-simulator__input{padding-right:88px;font-size:18px;}
  .tp-simulator__unit{font-size:12px;padding:5px 9px;}
  .tp-simulator__gauge{width:180px;height:180px;}
  .tp-simulator__gauge svg{width:180px;height:180px;}
}
@media(min-width:1200px){
  .tp-simulator__card{max-width:1100px;}
}
/* Petits telephones tres etroits (<=340px, ex: anciens modeles) */
@media(max-width:340px){
  .tp-simulator__form{padding:22px 16px;}
  .tp-simulator__result{padding:26px 16px;}
  .tp-simulator__input{padding-right:70px;font-size:15px;}
  .tp-simulator__unit{font-size:10px;padding:4px 7px;right:8px;}
  .tp-simulator__stats{grid-template-columns:1fr;}
  .tp-simulator__gauge{width:120px;height:120px;}
  .tp-simulator__gauge svg{width:120px;height:120px;}
  .tp-simulator__gauge-value{font-size:22px;}
}


/* === Simulateur kWc : correction du debordement horizontal sur mobile === */
/* Les onglets (flex) et la grille forcaient la carte a depasser la largeur de l'ecran */
.tp-simulator, .tp-simulator *{min-width:0;}
.tp-simulator{overflow-x:hidden;}
.tp-simulator__card{overflow:hidden;}
.tp-simulator__tab{white-space:normal;word-break:break-word;text-align:center;}
.tp-simulator__label, .tp-simulator__hint, .tp-simulator__subtitle, .tp-simulator__disclaimer{overflow-wrap:break-word;word-break:break-word;}
.tp-simulator__input{max-width:100%;}


/* === Simulateur kWc v3 : panneaux multiples, bascule periode, tableau appareils === */
.tp-simulator__panel{display:none;}
.tp-simulator__panel.active{display:block;}

.tp-simulator__period{display:inline-flex;background:#f7f8fb;border-radius:10px;padding:3px;margin-bottom:16px;}
.tp-simulator__period-btn{padding:7px 16px;border-radius:8px;font-size:12px;font-weight:700;color:#64748b;cursor:pointer;transition:.2s;}
.tp-simulator__period-btn.active{background:var(--tp-orange);color:#fff;}

.tp-simulator__tip{font-size:12px;color:#0f6d4f;background:#eafaf3;border:1px solid #b9ecd7;border-radius:10px;padding:10px 12px;margin:0 0 6px;line-height:1.6;}
.tp-simulator__tip i{margin-right:6px;}
.tp-simulator__tip a{color:#0f6d4f;font-weight:700;text-decoration:underline;cursor:pointer;}

.tp-simulator__app-table{border:1px solid #e6eaf0;border-radius:14px;overflow:hidden;margin-bottom:14px;}
.tp-simulator__app-row{display:grid;grid-template-columns:1fr 60px 60px;gap:8px;align-items:center;padding:9px 12px;border-bottom:1px solid #e6eaf0;}
.tp-simulator__app-row:last-child{border-bottom:none;}
.tp-simulator__app-row.head{background:#f7f8fb;font-size:10px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.4px;text-align:center;padding:8px 12px;}
.tp-simulator__app-row.head span:first-child{text-align:left;}
.tp-simulator__app-name{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#0f1b2e;}
.tp-simulator__app-name i{color:var(--tp-orange);width:14px;text-align:center;flex:none;}
.tp-simulator__app-input{width:100%;padding:6px 3px;text-align:center;border:1.5px solid #e6eaf0;border-radius:8px;font-size:12.5px;font-family:'Poppins',sans-serif;font-weight:700;color:#0f1b2e;}
.tp-simulator__app-input:focus{border-color:var(--tp-orange);outline:none;}
.tp-simulator__app-note{font-size:10.5px;color:#64748b;margin:0 0 4px;line-height:1.5;}

@media(max-width:480px){
  .tp-simulator__app-row{grid-template-columns:1fr 48px 48px;padding:7px;}
  .tp-simulator__app-name{font-size:11px;}
}


/* === Simulateur kWc v3 : correction de structure ===
   La carte empile desormais : onglets (pleine largeur) puis panneaux (2 colonnes).
   Avant, la grille 2 colonnes etait sur la carte entiere, ce qui plaquait
   les onglets dans la colonne de gauche au lieu d'une bande horizontale. */
.tp-simulator__card{display:block;}
.tp-simulator__tabs{margin:20px 24px 0;}
.tp-simulator__panels{display:grid;grid-template-columns:1fr 1fr;}
@media(max-width:820px){
  .tp-simulator__panels{grid-template-columns:1fr;}
  .tp-simulator__tabs{margin:16px 16px 0;}
}


/* === Corrections rapport audit : menu mobile trop etroit + chevauchement barre du haut === */
.tp-mobile-menu{--bs-offcanvas-width:85vw;}
@media(min-width:431px){
  .tp-mobile-menu{--bs-offcanvas-width:360px;}
}
@media(max-width:575px){
  .tp-header__topbar-row{flex-wrap:wrap;gap:8px;justify-content:center;}
  .tp-header__social{display:none;}
}


/* === Correction rapport audit : contraste du popup "Demander un devis" === */
.tp-modal .modal-content{background:#fff;}
.tp-modal .form-label{color:var(--tp-navy);font-weight:600;}
.tp-modal .form-control{background:#fff;color:#1a1a1a;border:1px solid #d7dce3;}
.tp-modal .form-control::placeholder{color:#8a94a3;}
.tp-modal .form-control:focus{border-color:var(--tp-orange);box-shadow:0 0 0 .2rem rgba(243,112,33,.15);}


/* === Section Actualites enrichie : popup "Voir plus" (8 articles) === */
.tp-news-modal__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:18px;max-height:60vh;overflow-y:auto;}
.tp-news-modal__item{display:flex;gap:16px;padding-bottom:18px;border-bottom:1px solid #eee;}
.tp-news-modal__item:last-child{border-bottom:none;padding-bottom:0;}
.tp-news-modal__icon{flex:0 0 auto;width:44px;height:44px;border-radius:50%;background:rgba(243,112,33,.1);color:var(--tp-orange);display:flex;align-items:center;justify-content:center;font-size:18px;}
.tp-news-modal__content{min-width:0;}
.tp-news-modal__date{display:block;font-size:12px;font-weight:700;color:var(--tp-orange);text-transform:uppercase;letter-spacing:.03em;margin-bottom:4px;}
.tp-news-modal__title{font-size:16px;font-weight:800;color:var(--tp-navy);margin:0 0 6px;}
.tp-news-modal__excerpt{font-size:14px;color:#667;line-height:1.6;margin:0;}
@media(max-width:575px){
  .tp-news-modal__item{gap:12px;}
  .tp-news-modal__icon{width:36px;height:36px;font-size:15px;}
}


/* === Refonte section Actualites : cartes extensibles + defilement par groupes de 4 (sans popup) === */
.tp-news__card{transition:opacity .3s ease, transform .3s ease;}
.tp-news__card--out{opacity:0;transform:translateX(-24px);}
.tp-news__card--in{opacity:0;transform:translateX(24px);}
.tp-news__full{display:none;margin:10px 0 14px;font-size:14px;color:#667;line-height:1.7;}
.tp-news__card.is-expanded{grid-column:1 / -1;display:flex;gap:24px;align-items:flex-start;}
.tp-news__card.is-expanded .tp-news__img{flex:0 0 300px;margin:0;}
.tp-news__card.is-expanded .tp-news__body{flex:1;min-width:0;}
@media(max-width:767px){
  .tp-news__card.is-expanded{flex-direction:column;}
  .tp-news__card.is-expanded .tp-news__img{flex:none;width:100%;}
}


/* === Correction agrandissement carte contenu (pas pleine largeur) === */
.tp-news__card.is-expanded{grid-column:auto;display:block;box-shadow:0 10px 28px rgba(10,29,55,.14);border-radius:14px;position:relative;z-index:2;background:#fff;}
.tp-news__full{transition:opacity .25s ease;}


/* === Correction etirement des autres cartes lors de l'agrandissement === */
.tp-news__row{align-items:start;}


/* === Correction etirement des autres cartes (Nos solutions) === */
body .tp-solutions__row{align-items:start;}


/* === Panneau de lecture dedie pour "Lire la suite" (Actualites) === */
.tp-news__detail{display:none;margin-top:24px;background:#fff;border-radius:14px;box-shadow:0 10px 30px rgba(10,29,55,.12);padding:28px;gap:28px;position:relative;}
.tp-news__detail-close{position:absolute;top:16px;right:16px;width:32px;height:32px;border-radius:50%;border:none;background:#f2f4f7;color:var(--tp-navy);font-size:20px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;}
.tp-news__detail-close:hover{background:#e4e8ee;}
.tp-news__detail-img{flex:0 0 320px;}
.tp-news__detail-img img{width:100%;height:220px;object-fit:cover;border-radius:10px;display:block;}
.tp-news__detail-body{flex:1;min-width:0;padding-right:36px;}
.tp-news__detail-date{display:inline-block;font-size:12px;font-weight:700;color:var(--tp-orange);text-transform:uppercase;letter-spacing:.03em;margin-bottom:8px;}
.tp-news__detail-title{font-size:20px;font-weight:800;color:var(--tp-navy);margin:0 0 12px;}
.tp-news__detail-text{font-size:15px;color:#556;line-height:1.8;margin:0;}
@media(max-width:767px){
  .tp-news__detail{flex-direction:column;padding:20px;}
  .tp-news__detail-img{flex:none;width:100%;}
  .tp-news__detail-img img{height:180px;}
  .tp-news__detail-body{padding-right:0;}
}


/* === Refonte galerie "Nos realisations" avec vraies photos (categories + voir plus) === */
body .tp-gallery__item{position:relative;}
body .tp-gallery__item-caption{position:absolute;left:0;right:0;bottom:0;padding:10px 12px 8px;background:linear-gradient(to top, rgba(10,29,55,.88), rgba(10,29,55,0));color:#fff;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;line-height:1.3;pointer-events:none;}
.tp-gallery__item--out{opacity:0;transform:translateY(10px);transition:opacity .22s ease, transform .22s ease;}
.tp-gallery__item--in{opacity:0;transform:translateY(10px);}
body .tp-gallery__row{grid-template-columns:repeat(4, 1fr);gap:14px;align-items:start;}
body .tp-gallery__item{height:200px;}
@media (max-width:992px){
  body .tp-gallery__row{grid-template-columns:repeat(3, 1fr);}
  body .tp-gallery__item{height:170px;}
}
@media (max-width:576px){
  body .tp-gallery__row{grid-template-columns:repeat(2, 1fr);gap:10px;}
  body .tp-gallery__item{height:150px;}
  body .tp-gallery__item-caption{font-size:11px;padding:8px 8px 6px;}
}


/* === Correction rapport visuel : onglets simulateur decales vers le haut === */
.tp-simulator__tabs{margin:0 24px 0;}
@media(max-width:820px){
  .tp-simulator__tabs{margin:2px 16px 0;}
}


/* === Retour visuel pour le formulaire "Demander un devis" (plus de mailto) === */
.tp-quote-feedback{border-radius:10px;padding:14px 16px;margin-bottom:16px;font-size:14px;line-height:1.6;}
.tp-quote-feedback--success{background:#eafaf3;border:1px solid #b9ecd7;color:#0f6d4f;}
.tp-quote-feedback--error{background:#fdecea;border:1px solid #f3b4ac;color:#a12a20;}
