/*
###########################################################
###########################################################
###  _______ _____  _____ _   _          _____   _____  ###
### |__   __|  __ \|_   _| \ | |   /\   |  __ \ / ____| ###
###    | |  | |__) | | | |  \| |  /  \  | |__) | (___   ###
###    | |  |  _  /  | | | . ` | / /\ \ |  ___/ \___ \  ###
###    | |  | | \ \ _| |_| |\  |/ ____ \| |     ____) | ###
###    |_|  |_|  \_\_____|_| \_/_/    \_\_|    |_____/  ###
###                                                     ###
###########################################################
# SITE WEB : https://www.trinaps.com ######################
# version : prod 2.4 ######################################
###########################################################
*/
@font-face {
  font-family:"Manrope-Light";
  src:url(../fonts/Manrope-Light.ttf)
}
@font-face {
  font-family:"Manrope-Medium";
  src:url(../fonts/Manrope-Medium.ttf)
}
@font-face {
  font-family:"Manrope-Regular";
  src:url(../fonts/Manrope-Regular.ttf)
}
@font-face {
  font-family:"Manrope-ExtraBold";
  src:url(../fonts/Manrope-ExtraBold.ttf)
}
@font-face {
  font-family:"Manrope-Bold";
  src:url(../fonts/Manrope-Bold.ttf)
}

@font-face {
    font-family:"Calibri_W01_Regular.ttf";
    src:url(../fonts/Calibri_W01_Regular.ttf)
}
@font-face {
  font-family:"fa-solid-900";
  src:url(../fonts/fa-solid-900.woff2)
}

@font-face {
  font-family:"Raleway-VariableFont_wght";
  src:url(../fonts/Raleway-VariableFont_wght.ttf)
}

html{
    font-family: "Raleway-VariableFont_wght";
    color : black;
    margin:0;
}
  body{
      margin : 0;
      background-color: rgb(255, 255, 255);
      /*min-height: 1400px;*/
  }
  #chart-container {
    width: 91%;
    height: auto;
    color: black;
  }
  
  .tdbouton {
    min-width: 220px;
    max-width: 240px;
    vertical-align: top;
  }

  .switch {
    position: relative;
    display: inline-block;
    width: 49px;
    height: 19px;
  }  
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0, 204, 255);
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 4px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  .zonetext{
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 200px;
    width: 96%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1%;
  }
  .boutonvalid{
    text-transform: none;
    color: #fff;
    background-color: #204d74;
    border-color: #122b40;
    display: inline-block;
    margin-bottom: 0;
    font-family: "Raleway-VariableFont_wght";
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    zoom: 120%;
    margin-bottom: 15px;
  }


  .linknotice { /*update couleur */
      background: linear-gradient(135deg, #0086D5 0%, #0069ab 100%);
      color: white;
      border: none;
      padding: 12px 35px;
      font-size: 16px;
      font-weight: 500;
      border-radius: 6px;
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
      box-shadow: 0 4px 14px rgba(0,134,213,.28);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      text-align: center;
      vertical-align: middle;
      line-height: 1.42857143;
      margin-bottom: 15px;
  }

  .linknotice::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
  }

  .linknotice:hover::before {
      width: 300px;
      height: 300px;
  }

  .linknotice:hover {
      box-shadow: 0 6px 25px rgba(63, 136, 200, 0.5);
  }


  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  .titreinfo{
    color: #3F88C8 !important;
  }

  .imgposte {
    width: 380px;
    max-width: 380px;
    max-height: 380px;
  }
  .caracteristique{
    text-align: start;
    font-size: 1.3em;
  }
  /* Le texte des specs démarre au bord haut de la cellule */
  .caracteristique > *:first-child {
    margin-top: 0;
  }

  #nomberview{
    display: flex;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  }
  
  td{
      padding-left: 20px;
      padding-right: 20px;
      font-size : 12px;
      text-align: center;
      vertical-align: top;
  }
  form{
    margin-block-end: 0;
  }
  th{
      font-size : 17px;
  /*color : rgba(255,100,100,1);*/
  }
  a{
      color : rgba(100,150,255,1);
  }
  h2{
      margin-block-end : 0;
  }
  p{
    text-align: justify;
    text-justify: inter-word;
  }

  .bouton{
      background-image: linear-gradient(to right, #16A085 0%, #F4D03F 51%, #16A085 100%);
      font-size: 20px;
      padding: 10px;
      text-decoration: none;
      text-align: center;
      text-transform: uppercase;
      transition: 0.5s;
      background-size: 200% auto;
      color: white;
      /*box-shadow: 0 0 20px #eee;*/
      border-radius: 10px;
      display: block;
      width: 80px;
      margin-top: 50px;
  
  }
  .bouton:hover { 
      background-position: right center;
  }
  
  #menu2{
    border-bottom: 6px solid #23adff;
    padding: 5px;
    padding-top: 2%;
  }
  
  /*---- DÃ©but Menu ----*/
  #menu {
    background-color: #0086D5;
    width: 100%;
  }
  
  #menugr{
   width: 70%;
  }
  
  #menudr{
  max-width: 250px;
  position: absolute;
  right: 0;
  display: flex;
  }
  nav#menubar1 {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    height: 72px;
    background-color: #0086D5;
    border: none;
  }
  #menuimg { flex: 0 0 auto; display: inline-flex; }
  #logotrinaps { height: 38px; width: auto; display: block; }
  .linkmenu {
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    color: rgba(255,255,255,.92);
    font-family: "Manrope-Medium", "Raleway-VariableFont_wght", sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    padding: 12px 14px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    transition: background .15s, color .15s;
  }

  #menudruser{
    margin-block-start: 0;
    margin-block-end: 0;
    color: #fff;
    padding-top: 5px;
    padding-right: 7px;
  }
  
  nav#menubar2 { /* menu */
  
      padding-left: 5px;
    padding-right:5px;
      border: #083a7c;
    display: block;
    background-color: #0086D5;
    margin-left: auto;
    margin-right: auto;
    position: initial;
    /*width: -moz-fit-content;*/
    /*width: fit-content;*/
  
  } 
  

  .linkmenu:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
    text-decoration: none;
  }
  .menuform{
    margin: 0;
    display: block;
  }
  
  th{
    padding-bottom: 12px;
  }
  
  td{
    border-bottom: 1px solid rgba(255, 255, 255, 0.294);
    padding-top: 4px;
    padding-bottom: 4px;
  }
  
  #param{
      background-color: rgb(79, 93, 90);
      border: none;
      color: white;
      padding: 12px 16px;
      font-size: 16px;
      cursor: pointer;
  }
  
 
  table{
    margin-bottom : 40px;
  }
  
  .linkpage{
    cursor:pointer;
    border-width: 0;
    border-style: none;
    /*border-color: none;*/
    border-image: none;
   /* rÃ©grage de menu */
      position: relative;
      font-size: 15px;
      background:none;
      padding: 5px 5px; /* dimention des cases */
      color: rgb(255, 255, 255);
  
      text-decoration: none;
      /*border-radius: 6px;*/
      display: inline-block; /*crÃ©ation de block*/
  }
  
  
  .linkpage:hover{ /*vurvol avec la sourie*/
      background: rgb(230, 130, 0);
      color: #FFFFFF;
      text-decoration: none;
  }

.mobile{
  padding-left: 0px;
  padding-right: 0px;
}

footer{
  height: 25px;
}

#mentions{
  text-align: center;
  padding-top: 20px;
  padding-bottom: 30px;
  font-size: 15px;
}

.zonetextmentions h2{
  margin-top: 15px;
}
.zonetextmentions h3{
  margin-top: 15px;
}
  
.linkmenuactive {
  position: relative;
  cursor: pointer;
  background: rgba(255,255,255,.08);
  border: none;
  color: #fff;
  font-family: "Manrope-Medium", "Raleway-VariableFont_wght", sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}
.linkmenuactive::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -18px;
  height: 3px;
}


.menutrinaps {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  max-width: 1500px;
  margin: 0 auto 24px;
  padding: 0;
  background: #fff;
  border: 1px solid #e4ebf1;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}


.menutrinaps p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #333;
  text-align: center;
}

.menutrinaps a.lientrinaps {
  color: white;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menutrinaps a.lientrinaps:hover {
  color: #81D4FA;
  text-decoration: none;
}

.menutrinaps {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  max-width: 1500px;
  margin: 0 auto 24px;
  padding: 0;
  background: #fff;
  border: 1px solid #e4ebf1;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}

.mt-text {
  padding: 38px 34px;
  border-right: 1px solid #e4ebf1;
}

.mt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0086D5;
  margin-bottom: 14px;
}
.mt-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: #0086D5;
  border-radius: 2px;
}

.mt-text p {
  margin: 0;
  font-size: 17px;
  line-height: 1.62;
  color: #1c3a52;
  text-align: left;
}
.mt-text b {
  color: #0e2a3f;
  font-weight: 700;
}

.mt-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 38px 30px;
  background: linear-gradient(180deg, #f7fbfe 0%, #eef6fc 100%);
}

.mt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  position: relative;   /* ajouté */
  overflow: hidden;     /* ajouté */
}

.mt-btn:active { transform: translateY(1px); }
.mt-btn svg { flex: 0 0 auto; }

.mt-btn-primary {
  background: linear-gradient(135deg, #0086D5 0%, #0069ab 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,134,213,.28);
}
.mt-btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0,134,213,.4);
  color: #fff;
  
}
.mt-btn-primary::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: 0;
}

.mt-btn-ghost {
  background: #fff;
  color: #1c3a52;
  border: 1.5px solid #e4ebf1;
}

.mt-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: 0;
}

.mt-btn:hover::before {
  width: 1000px;
  height: 1000px;
}

.mt-btn-ghost::before {
  background: rgba(0, 134, 213, 0.12);
}

/* ===== Recherche dans la barre de navigation ===== */
 
#menugr {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1 1 auto;
  width: auto;
  flex-wrap: nowrap;
  overflow: hidden;
}
 
#search-wrapper {
  position: relative;
  margin-left: auto;
  flex: 0 0 auto;
}
 
#search-input {
  height: 38px;
  width: 320px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  font-family: "Manrope-Medium", "Raleway-VariableFont_wght", sans-serif;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: background .15s, width .15s, border-color .15s, color .15s;
}
 
#search-input::placeholder { color: rgba(255,255,255,.78); }

 
#search-input:focus {
  background: #fff;
  border-color: #fff;
  width: 380px;
  color: #0e2a3f;
}
 
#search-input:focus::placeholder { color: #8a99a8; }

 
/* Liste de suggestions */
#search-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 100%;
    max-height: 320px;
    overflow-y: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    list-style: none;
    margin: 0;
    padding: 4px 0;
    z-index: 1000;
}
 
#search-suggestions li {
    padding: 10px 18px;
    font-size: 15px;
    color: #222;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    outline: none;
}
 
#search-suggestions li:last-child {
    border-bottom: none;
}
 
#search-suggestions li:hover,
#search-suggestions li:focus {
    background: #e8f2fc;
    color: #0086D5;
}
 
/* ===== Migration : bannière d'explication ===== */
.migbanner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #eaf5fc;
  border: 1px solid #bfe1f5;
  border-radius: 10px;
  padding: 16px 20px;
  max-width: 1500px;
  margin: 0 auto 24px;
}
.migbanner-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #0086D5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.migbanner-body {
  font-size: 14.5px;
  line-height: 1.55;
  color: #1c3a52;
  text-align: left;
}
.migbanner-body b { font-weight: 700; color: #0e2a3f; }
.migbanner-title {
  display: block;
  font-weight: 700;
  font-size: 20px;
  color: #0086D5;
  margin-bottom: 3px;
  text-transform: uppercase;
}

/* ===== Migration : bloc deux notices dans la colonne bouton ===== */
.notices-a {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.notice-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.notice-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8a99a8;
  text-align: left;
}
.notice-tag.is-new { color: #0086D5; }

.btn-notice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.btn-notice:active { transform: translateY(1px); }
.btn-notice svg { flex: 0 0 auto; }

.btn-notice::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: 0;
}

.btn-notice:hover::before {
  width: 1000px;
  height: 1000px;
}

/* Le contenu (icône + texte) reste au-dessus du ripple */
.btn-notice svg,
.btn-notice > * {
  position: relative;
  z-index: 1;
}


/* Nouvelle solution = bouton primaire (bleu Trinaps) */
.btn-new {
  background: linear-gradient(135deg, #0086D5 0%, #0069ab 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,134,213,.28);
  border: none;
}
.btn-new:hover { box-shadow: 0 6px 20px rgba(0,134,213,.4); color: #fff; }

/* Ancienne solution = bouton secondaire (contour) */
.btn-old {
  background: #fff;
  color: #4a5b6c;
  border-color: #d3dbe3;
}
.btn-old:hover { color: #0086D5; 
  background: rgba(0, 134, 213, 0.12);
}
.btn-old::before {
  background: rgba(0, 134, 213, 0.18);
}

/* ===== Highlight modèle ciblé via #modele-XXX ===== */
 
@keyframes highlightFade {
    0%   { box-shadow: 0 0 0 4px #3F88C8; }
    70%  { box-shadow: 0 0 0 4px #3F88C8; }
    100% { box-shadow: none; }
}
 
.highlight-modele {
    animation: highlightFade 2s ease-out forwards;
    border-radius: 8px;
}
 
/* ===== Mobile : on cache le champ de recherche ===== */
 
@media (max-width: 700px) {
  #search-wrapper { display: none; }
  nav#menubar1 { height: auto; flex-wrap: wrap; padding: 8px 12px; }
  #menugr { flex-wrap: wrap; }
}