:root {
  --home-accent: #2B5BA3;
  --home-accent-light: #3a72b8;
  --home-border: #d8e3f0;
  --home-muted: #5f646b;
}

#HomeContent {
  display: block;
  width: 100%;
  clear: both;
  padding: 0 0 24px;
}

#Texte.home-page {
  display: block;
  clear: both;
  width: 100%;
  max-width: 960px;
  margin: 20px auto 0;
  padding: 0;
  text-align: left;
  line-height: 1.6;
  font-size: 14px;
  color: #424242;
}

#Texte.home-page h2,
#Texte.home-page h3 {
  color: var(--home-accent);
}

#Texte.home-page img {
  max-width: 100%;
  height: auto;
}

#Texte.home-page a {
  color: var(--home-accent);
}

#Recherche_1 {
  height: auto !important;
  min-height: 0;
  padding: 16px;
  margin: 16px 0 0;
  clear: both;
  background: linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)), url(/images/recherche_1_bg.jpg) no-repeat center;
  background-size: cover;
  border: 1px solid var(--home-border);
  border-radius: 12px;
  box-sizing: border-box;
  width: 100%;
}

#Recherche_1 form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#Recherche_1 .searchCard {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.78) 0%, rgba(238, 245, 251, 0.82) 100%);
  border: 1px solid var(--home-border);
  box-shadow: 0 10px 26px rgba(43, 91, 163, 0.12);
}

#Recherche_1 h1 {
  margin: 0 0 2px;
  padding: 0;
  font-size: 26px;
  line-height: 1.15;
  color: #2f3d52;
}

#Recherche_1 .sousTitreHome {
  display: block;
  margin: 0 0 8px;
  color: var(--home-muted);
  font-size: 13px;
  font-weight: normal;
}

#Recherche_1 .searchSection {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#Recherche_1 .searchStepLabel {
  display: block;
  margin-bottom: 0;
  color: #424242;
  font-size: 13px;
  line-height: 1.3;
}

#Recherche_1 .searchStepLabel .titreHome {
  font-size: 16px;
  margin-right: 4px;
  color: var(--home-accent);
}

#Recherche_1 .searchStepLabel .sousTitreHome {
  display: inline;
  font-size: 13px;
  font-weight: bold;
}

#Recherche_1 select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #8fb8d9;
  border-radius: 8px;
  background-color: #ffffff;
  color: #424242;
  height: 38px;
  line-height: 1.3;
  padding: 0 10px;
  margin: 0;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

#Recherche_1 select:focus {
  outline: none;
  border-color: var(--home-accent);
  box-shadow: 0 0 0 3px rgba(43, 91, 163, 0.12);
}

#Recherche_1 .searchSubmitBtn {
  align-self: flex-start;
  margin-top: 4px;
  min-width: 230px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-light) 100%);
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(43, 91, 163, 0.28);
}

#Recherche_1 .searchSubmitBtn:hover,
#Recherche_1 .searchSubmitBtn:focus {
  background: linear-gradient(135deg, #234a85 0%, #2f66a8 100%);
}

.home-divider {
  height: 1px;
  border-top: 1px dotted #c6c6c6;
  margin: 10px auto;
  max-width: 95%;
}

#AnnonceBloc {
  background-color: #ffffff;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  padding: 8px;
}

#AnnonceBloc img {
  max-width: 100%;
  height: auto;
  min-width: 120px;
}

.home-testimonials {
  background: #EDEFF1;
  border-radius: 12px;
  margin: 20px auto;
  max-width: 95%;
  overflow: hidden;
}

.home-testimonials-inner {
  padding: 20px 40px;
  color: #758394;
  font-size: 11px;
  background: url(/Design/Misc/Quote_Gauche.jpg) top left no-repeat;
}

.home-testimonials-inner > div {
  background: url(/Design/Misc/Quote_Droite.jpg) bottom right no-repeat;
}

.home-testimonials blockquote {
  margin: 0 0 10px;
  padding: 0;
}

.home-testimonials .author {
  padding-bottom: 15px;
  border-bottom: 1px solid #D7D9DD;
}

#PartnersSectionTitle {
  margin: 10px 0 8px;
  text-align: center;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d6d6d;
}

#PartnersGrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  width: 100%;
  margin: 8px auto 0;
  max-width: 100%;
}

#PartnersGrid a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

#PartnersGrid a img {
  max-width: 90%;
  height: auto;
  max-height: 80px;
  transition: transform 0.2s ease;
}

#PartnersGrid a:hover img {
  transform: translateY(-2px);
}

#PartnersGrid .partners-banner {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

#PartnersGrid .partners-banner img {
  max-width: 675px;
  width: 100%;
  height: auto;
}

#Texte.home-page table[height="1"],
#Texte.home-page td[valign="center"] {
  display: none !important;
}

#Texte.home-page table[width="100%"] td[valign="top"] img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  #Recherche_1 {
    padding: 12px;
    margin-top: 12px;
    background-image: none;
    background-color: #f9f9f9;
  }

  #Recherche_1 .searchCard {
    padding: 12px;
    border-radius: 10px;
  }

  #Recherche_1 h1 {
    font-size: 22px;
  }

  #Recherche_1 .searchSubmitBtn {
    width: 100%;
    min-width: 100%;
    text-align: center;
  }

  #Texte.home-page table[cellspacing="0"][cellpadding="0"] table tr,
  #Texte.home-page table[cellspacing="0"][cellpadding="0"] table td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
  }

  .home-testimonials-inner {
    padding: 16px;
  }

  #PartnersGrid {
    gap: 10px;
    flex-direction: column;
    align-items: center;
  }

  #PartnersGrid a img {
    max-height: 70px;
    max-width: 100%;
  }
}
