@font-face {
  font-family: 'Satoshi-Variable';
  src: url('fonts/Satoshi-Variable.woff2') format('woff2'),
       url('fonts/Satoshi-Variable.woff') format('woff'),
       url('fonts/Satoshi-Variable.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Regular.woff2') format('woff2'),
       url('fonts/Satoshi-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Bold.woff2') format('woff2'),
       url('fonts/Satoshi-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

body{
  font-family: 'Satoshi' !important;
}
.layout-margin > * {
  margin-inline: 17rem;
}

.layout-margin > .divider {
  margin-inline: 0 !important;
}

.bloc1{
  padding:1em !important;
}

.bloc2{
    margin-left:3em !important;
  margin-right:3em !important;
  padding-top : 0em !important;
}

.bloc3{
  padding-left:3em !important;
  padding-right:3em !important;
}

.bloc4 {
  padding-right:2.5em !important;
}




  img.logo-height {
    height: 110px !important;
    width: auto !important;
    max-height: unset !important;
    display: block !important;  }


@media (max-width: 1500px) {
.layout-margin > * {
  margin-inline: 1rem;
}

h1{
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  margin-left:0.5em;
    margin-right:0.5em;

}}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.skip-link {
  font-weight: 400;
  color: black;
  text-decoration: none;
  font-size: 1.1rem;;
}

.skip-link:hover {
  text-decoration: underline;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-label {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.search-input {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width :280px !important;
}

.btn-search {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 0.5rem;
  padding: 0.5rem;
  border-radius: 4px;
}

.btn-search:focus {
  outline: none !important;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 3px #000,        /* bordure noire */
    0 0 0 6px #ffea00;     /* bordure jaune fluo */
  transition: box-shadow 0.2s ease;
}

.search-result a:focus {
  outline: none !important;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 3px #000,        /* bordure noire */
    0 0 0 6px #ffea00 !important;     /* bordure jaune fluo */
  transition: box-shadow 0.2s ease;
}

.btn-search:hover {
  color: #3227CE;
}

.tooltip-container {
  position: relative;
  display: inline-block;
}

.custom-tooltip {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  color: black;
  border: 1px solid black;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
  border-radius: 4px;
}

.tooltip-container:hover .custom-tooltip,
.tooltip-container:focus-within .custom-tooltip {
  opacity: 1;
}

.divider {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 2rem;
}

.menu-link {
  font-weight: 700;
  font-size: 1.5rem;
  color: black;
  text-decoration: none;
}

.menu-link:hover {
  text-decoration: underline;
}

.btn-close-custom {
  font-size: 2rem;
  color: #3227CE;
  border: none;
  background: none;
}

.menu-title {
  font-size: 2rem;
  font-weight: bold;
  color: #3227CE;
}

.offcanvas-fullwidth {
  width: 100vw !important;
  max-width: 100vw;
}

.offcanvas .nav-link {
  font-weight: bold;
  font-size: 1.5rem;
}

.offcanvas .nav-link::before {
  content: "> ";
  font-weight: bold;
}

.hero-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  padding-right: 25%;
}

.mt-4
{
    font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
}

p
{
  font-size:1.3em;
}

h4
{
  font-size:1.3em !important;
}

ul li
{
  font-size:1.35em;
  margin-bottom: 1.05em;
}

ul li::marker {
  color: #3227CE;
   font: size 1.5em;

}

ol li
{
  font-size:1.35em;
    margin-bottom: 1.05em;
}

ol li::marker {
  color: #3227CE;
   font-size:1.5em;
}

.hero-btn {
  background-color: #3227CE;
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 1.5rem;
}

.hero-btn:hover {
  background-color: #3227CE;
  text-decoration: underline;
}

.hero-img {
  max-width: 100%;
  height: auto;
}

.highlight-result {
  background-color: yellow;
  transition: background-color 0.5s ease;
}


/* Style du mot-clé dans la phrase "x résultat(s) pour" */
#search-results > p {
  font-size: 1.5em;
  background: none;
  text-decoration: none;
  font-family: 'Satoshi', sans-serif;
  margin-bottom: 1.2rem;
  margin-top: 2rem;
}


/* Style par défaut du lien dans les résultats de recherche */
#search-results .search-result a {
  color: inherit; /* hérite de la couleur du parent (ex. : noir) */
  text-decoration: none;
  font-family: 'Satoshi', sans-serif;
  display: block; /* pour que le lien prenne toute la largeur */
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 0 transparent;
  transition: all 0.2s ease-in-out;
    font-size: 1.2em;
}

/* Au survol : soulignement discret */
#search-results .search-result a:hover {
  text-decoration: underline;
}

/* Pour éviter que <mark> dans <a> ait un style discordant */
#search-results .search-result mark {
  font-weight: bold;
  font-size: 1em;
  font-family: 'Satoshi', sans-serif;
  background: none;
  color: #212529;
  text-decoration: none;
}

@media (max-width: 767.98px) and (hover: none) and (pointer: coarse) {
  .search-form {
    display: none !important;
  }
}


@media (max-width: 1500px) {


  .hero-text {
    text-align: center;
  }

  .hero-btn {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.5rem;
  }

  h1 {

    margin-bottom: 0.9rem;
       margin-top: 0rem;
  }


  .hero-text h1 {
    font-size: 2rem;
    padding-right: 0%;
  }

  .hero-img {
    max-width: 80%;
    margin: auto;
  }
}

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 3px #000,        /* bordure noire */
    0 0 0 6px #ffea00;     /* bordure jaune fluo */
  transition: box-shadow 0.2s ease;
}



@media (max-width: 1200px) {
  .menu-link {
    font-size: 1.1rem; /* ou 1em, c'est équivalent ici */
  }

    img.logo-height {
    height: 80px !important;
    width: auto !important;
    max-height: unset !important;
    display: block !important;  }

}



#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  font-size: 1.5rem;
  background-color: #F4DD09;
  color: black;
  border: 2px solid black;
  border-radius: 5px;
  cursor: pointer;
  display: none; /* Cacher le bouton par défaut */
}

#scrollToTopBtn:hover {
  background-color: #e6d013;
}

/* Cacher la barre de recherche uniquement sur de vrais appareils mobiles */
@media (max-width: 767.98px) and (hover: none) and (pointer: coarse) {
  .custom-visible-search {
    display: none !important;
  }
}

  @media (min-width: 768px) {
    .img-md-100 {
      width: 100% !important;
    }

    .img-md-50 {
      width: 50% !important;
    }

       .img-md-70 {
      width: 80% !important;
      padding-left: 20% !important;
    }
  }

    @media (max-width: 768px) {
    .img-md-100 {
      width: 60% !important;
    }

    .img-md-50 {
      width: 20% !important;
      margin-bottom: 2em !important;
    }

       .img-md-70 {
      width: 100% !important;
   
    }
  }
  
[id^="audioToggle"] {
  font-size: 1.2em;
  padding: 0.5em 1em !important;
  cursor: pointer;
  background-color: white;
  color: black;
  width: 120px !important;
  max-width: 100%;
  border: 2px solid black !important;
  font-family: 'Satoshi';
  line-height: 1;                  /* ✅ empêche l'étirement vertical */
  vertical-align: middle;         /* ✅ aligne les éléments inline */
  white-space: nowrap;            /* ✅ empêche les retours à la ligne */
}

/* ✅ Survol = surlignage */
[id^="audioToggle"]:hover {
 text-decoration: underline; /* ✅ soulignement au survol */
 background-color: white;
  color: black;
}

/* ✅ Survol = surlignage */
[id^="audioToggle"]:active{   
 text-decoration: underline; /* ✅ soulignement au survol */
 background-color: white !important;
  color: black !important;
}

    [id^="audioToggle"]:focus {
  outline: none !important;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 3px #000,        /* bordure noire */
    0 0 0 6px #ffea00;     /* bordure jaune fluo */
  transition: box-shadow 0.2s ease;
   background-color: white !important;
  color: black !important;
}

button[aria-pressed="true"] {
  background-color: #ccc;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.vision-quote {
  padding: 2rem 1rem;
  position: relative;
}

.quote-open,
.quote-close {
  font-size: 9rem;
  color: #3227CE;
  font-family: Georgia, serif;
  line-height: 1;
  position: absolute;
  pointer-events: none;
}

.quote-open {
  top: -30px;
  left: -10px;
}

.quote-close {
  bottom: -90px;
  right: -10px;
}

.floating-menu {
  position: fixed;
  bottom: 90px;
  right: 30px;
  background-color: white;
  border: 4px solid black;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 9999;
  font-family: 'Satoshi', sans-serif;
}

.floating-menu a {
  display: block;
  color: #3227CE;
  text-decoration: none;
  font-weight: 700; /* gras */
  margin-bottom: 0.5rem;
}

.floating-menu a:last-child {
  margin-bottom: 0;
}

.floating-menu a:hover,
.floating-menu a:focus {
  text-decoration: underline;
}

@media (max-width: 1789px) {
  #floatingMenu {
    display: none !important;
  }

}

@media (max-width: 800px) {
  .quote-open,
.quote-close {
display: none;
}
.row{
  padding:0px !important;
}

.bloc2{

    padding:-100px !important;
    margin-top :0em !important;
}

.bloc3{
  padding:0em !important;
}

.bloc5{
  margin-top:70px !important
}

p{
  font-size: 1em !important;
}

ul li{
  font-size: 1em !important;
}

ol li{
  font-size: 1em !important;
}

}

    #closeFloatingMenu:focus {
  outline: none !important;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 3px #000,        /* bordure noire */
    0 0 0 6px #ffea00;     /* bordure jaune fluo */
  transition: box-shadow 0.2s ease;
}



[hidden] {
  display: none !important;
}

h2.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


img.contact-width{
  width:100%;
}

