.tclient-title {
    max-width: 800px !important;
    line-height: 1.2 !important;
    margin-right: auto;
    margin-left: auto;
    font-weight: bold;
}

.tclient-subtitle {
    font-size: 25px;
    font-weight: bold;
    color: #1E4E9F;  
    margin-bottom: 30px;
}

.tclient-card {
    padding-left: 23px !important;
    padding-right: 23px !important;
}

.tclient-card-spe {
    padding: 50px; 
    box-sizing: border-box;
}

.tclient-card-text {
    background-color: #F9F7F4; 
    color:#000; 
    font-weight:bold;
    text-align: center;
}

.tclient-card-green:hover {
    color: #73A68A !important;
    transform: scale(1.05);
}

.tclient-card-red:hover {
    color: #B73848 !important;
    transform: scale(1.05);
}

.tclient-card-greenfonce:hover {
    color: #2E8B57 !important;
    transform: scale(1.05);
}

.tclient-card-blue:hover {
    color: #2F8EFE !important;
    transform: scale(1.05);
}

.tclient-card-redfonce:hover {
    color: #7A345E !important;
    transform: scale(1.05);
}

.tclient-head {
    text-align: left;
    margin-bottom: 75px;
}

.tclient-head-title {
    font-size: 24px; 
    font-weight: bold; 
    text-transform: uppercase;
    color: #1E4E9F;
    margin-bottom: 10px;
    margin-top: 60px;
}

.tclient-head-text {
    font-size: 20px;
    color: #111;
    font-weight: bold;       
    line-height: 1.4;
}

.tclient-banniere {
    padding-bottom: 32px;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
}

.tclient-banniere-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.tclient-banniere-text {
    background: linear-gradient(90deg, #0d57a0, #1e73be);
    font-size: 24px;
    border-radius: 22px;
    padding: 40px 30px;
    color: #fff;
    display: flex;  
    align-items: center;
    justify-content: center;
    min-height: 140px;
    flex-direction: column;
    line-height: normal;
}

.tclient-banniere-text strong{
  font-size: 1.1em;
}

.tclient-banniere-text:nth-child(1), 
.tclient-banniere-text:nth-child(2), 
.tclient-banniere-text:nth-child(3){ text-align: right; }

/* responsive tablette/mobile */
@media (max-width: 768px) {
    .tclient-banniere-grid {
    grid-template-columns: 1fr;
    row-gap: 15px;
    }
}

.tclient-banner{
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    display:flex;
    align-items:center;
    gap: 40px;
}

.tclient-logo{
    width: 200px;  
    height: 200px;  
    border-radius: 50%;
    object-fit: cover;  
}

.tclient-words{ flex: 1 1 auto;  max-width: 755px; }
.tclient-citation{
    color:#fff;
    font-size: 30px;
    line-height: 1.25;
    text-align: center;
}

.tclient-cite{
    color:#fff;
    font-size: 20px;
    text-align: right;
    margin-right: 140px;
}

.tclient-answer {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 25px;
    position: relative;
    padding-left: 32px;
}

@media (max-width: 768px){
    .tclient-banner{ flex-direction:column; text-align:center; gap:18px; }
    .tclient-citation{ text-align:center; }
    .tclient-citation p{ text-align:center; }
}

.tclient-layout-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
}

@media (max-width: 992px){
  .tclient-layout-grid{
    grid-template-columns: 1fr;
  }
}

.tclient-matawan-line {
    width: 100%;
    border: 1px solid #6e5778;
    border-radius: 6px;
    background-color: #6e5778;
}
#matawan h2 {
    margin-bottom: 25px;
    font-weight: bold;
}

#matawan h3 {
    font-size: 26px;
    font-weight: bold;
}

#matawan .text-justify p {
    font-size: 20px;
    line-height: 1.2;
}

.tclient-matawan{
    background: linear-gradient(180deg, #7a6790 0%, #6e5778 100%);
    padding-top: 15px;
    padding-bottom: 15px;
    color:#fff;
}

.tclient-matawan-line-layout {
    width: 40%;
    margin-left: 0;
    border: 2px solid #6e5778;
    background-color: #6e5778;
    margin-top: -8px;
}

.tclient-tiret-matawan::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 18px;
    height: 3px;
    background:#6e5778;
}

@media (max-width: 768px) {
    .tclient-matawan { padding: 24px 16px; }
    #matawan h3 { font-size: 22px; }
}

.tclient-solimut-line {
    width: 100%;
    border: 1px solid #5A7756;
    border-radius: 6px;
    background-color: #5A7756;
}
#solimut h2 {
    margin-bottom: 25px;
    font-weight: bold;
}

#solimut h3 {
    font-size: 26px;
    font-weight: bold;
}

#solimut .text-justify p {
    font-size: 20px;
    line-height: 1.2;
}

.tclient-solimut{
    background: linear-gradient(180deg, #5A7756 0%, #4F684C 100%);
    padding-top: 15px;
    padding-bottom: 15px;
    color:#fff;
}

.tclient-solimut-line-layout {
    width: 40%;
    margin-left: 0;
    border: 2px solid #5A7756;
    background-color: #5A7756;
    margin-top: -8px;
}

.tclient-tiret-solimut::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 18px;
    height: 3px;
    background:#5A7756;
}

@media (max-width: 768px) {
    .tclient-solimut { padding: 24px 16px; }
    #solimut h3 { font-size: 22px; }
}

.tclient-belfort-line {
    width: 100%;
    border: 1px solid #001A70;
    border-radius: 6px;
    background-color: #001A70;
}
#belfort h2 {
    margin-bottom: 25px;
    font-weight: bold;
}

#belfort h3 {
    font-size: 26px;
    font-weight: bold;
}

#belfort .text-justify p {
    font-size: 20px;
    line-height: 1.2;
}

.tclient-belfort{
    background: linear-gradient(90deg, #001A70 0%, #1E3A97 100%);
    padding-top: 15px;
    padding-bottom: 15px;
    color:#fff;
}

.tclient-belfort-line-layout {
    width: 40%;
    margin-left: 0;
    border: 2px solid #001A70;
    background-color: #001A70;
    margin-top: -8px;
}

.tclient-tiret-belfort::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 18px;
    height: 3px;
    background:#001A70;
}

@media (max-width: 768px) {
    .tclient-belfort { padding: 24px 16px; }
    #belfort h3 { font-size: 22px; }
}

.tclient-cogep-line {
    width: 100%;
    border: 1px solid #0094C9;
    border-radius: 6px;
    background-color: #0094C9;
}
#cogep h2 {
    margin-bottom: 25px;
    font-weight: bold;
}

#cogep h3 {
    font-size: 26px;
    font-weight: bold;
}

#cogep .text-justify p {
    font-size: 20px;
    line-height: 1.2;
}

.tclient-cogep {
    background: linear-gradient(90deg, #0094C9 0%, #00A9E0 100%);
    padding-top: 15px;
    padding-bottom: 15px;
    color:#fff;
}

.tclient-cogep-line-layout {
    width: 40%;
    margin-left: 0;
    border: 2px solid #0094C9;
    background-color: #0094C9;
    margin-top: -8px;
}

.tclient-tiret-cogep::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 18px;
    height: 3px;
    background:#0094C9;
}

@media (max-width: 768px) {
    .tclient-cogep { padding: 24px 16px; }
    #cogep h3 { font-size: 22px; }
}

.tclient-layout {
  display: grid;
  grid-template-columns: 420px 1fr; /* illustration fixe à gauche */
  gap: 28px;
  align-items: start;
}

/* Illustration gauche */
.tclient-illustration {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
}
.tclient-illustration img {
  width: 115%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Titre */
.tclient-other-title {
  margin: 6px 0 16px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
  color: #1E4E9F;
  text-transform: uppercase;
}

/* Grille */
.tclient-other-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Carte */
.tclient-other-card {
  display: block;
  text-decoration: none;
  border-radius: 2px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tclient-other-card-top {
  background: #D9D9D9;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box;
}
.tclient-other-card-top img {
  max-width: 80%;
  max-height: 80%;
  height: auto;
  width: auto;
  display: block;
}
.tclient-other-card-label {
  background: #F3F3F3;
  text-align: center;
  font-weight: 600;
  padding: 0px 12px;
  color: #333;
  display: block;
}
.tclient-other-card-label:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

/* Responsive */
@media (max-width: 1100px) {
  .tclient-layout {
    grid-template-columns: 360px 1fr;
  }
}
@media (max-width: 900px) {
  .tclient-layout {
    grid-template-columns: 1fr;
  }
  .tclient-other-title {
    font-size: 22px;
  }
  .tclient-other-grid {
    grid-template-columns: 1fr;
  }
  .tclient-illustration {
    display: none;
  }
}

