@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

:root {
  --blue-dark: #061b3a;
  --blue-medium: #09244b;
  --blue-light: #060c43;
  --orange: #e9500e;
  --white: #fff;
}

body.fixed {
  overflow: hidden;
}

.page-wrapper {
  position: relative;
  overflow: hidden;
}

h2,
ol.gamme-list li::marker {
  font-family: "DM Sans", sans-serif;
  color: var(--blue-light);
  font-size: 32px;
  font-weight: 700;
}

.details-interne h2 {
  margin-top: 10px;
}

strong.orange {
  color: rgba(233, 80, 14, 1);
}

h4 {
  font-family: "DM Sans", sans-serif;
  color: var(--blue-light);
  font-size: 22px;
  font-weight: 700;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: flex;
  animation: marquee 50s linear infinite;
}

.marquee-content.paused {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.marquee-content li {
  list-style: none;
  margin: 0 10px;
}

.marquee-content li a {
  text-decoration: none;
  color: var(--white);
  font-size: 14px;
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
}

.marquee-content li a span {
  font-weight: normal;
  font-size: 12px;
}

.container-bourse {
  padding: 0 60px;
  /* position: relative; */
}

.actualite-image {
  position: relative;
  overflow: hidden;
}

.actualite-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.actualite-body {
  position: absolute;
  padding: 0 60px;
  width: 35%;
  left: 0;
  top: 65px;
  z-index: 999;
  font-family: "DM Sans", sans-serif;
}

.actualite-body span {
  display: block;
  font-size: 32px;
  color: #fff;
  font-family: "Lato", sans-serif;
}

.actualite.slick-slide {
  height: 450px;
}

.actualite-body a {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin: 15px 0 0;
}

.banner_news .slick-list {
  padding: 0 !important;
}

.banner_news .slick-prev,
.banner_news .slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 75%;
  display: block;
  width: 35px;
  height: 35px;
  padding: 0;
  color: transparent;
  outline: 0;
  background: transparent;
  border-radius: 50%;
  border: 2px solid var(--white);
  z-index: 2;
}

.banner_news .slick-prev {
  left: 60px;
}

.banner_news .slick-next {
  left: 120px;
}

.banner_news .slick-prev i:before,
.banner_news .slick-next i:before {
  font-size: 18px;
  color: var(--white);
}

.actualite.slick-slide:before {
  content: "";
  background: rgba(9, 36, 75, 0);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.flex-row {
  display: flex;
  flex-wrap: wrap;
}

h2.titre {
  text-align: center;
}

.section-autre {
  position: relative;
  overflow: hidden;
  padding: 50px 0;
  background: #fafafa;
}

.section-pub {
  position: relative;
  overflow: hidden;
  padding: 50px 0;
}

.tabs-scrollable {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  padding: 0 40px;
  flex-wrap: nowrap;
}

.tabs-scrollable .nav-item {
  flex: 0 0 auto;
}

.tabs-scrollable::-webkit-scrollbar {
  display: none;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background: white;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.scroll-prev {
  left: 0;
}

.scroll-next {
  right: 0;
}
.swiper.bourse-swiper {
  width: 680px;
}
.col-padding {
  padding: 0 15px;
}
.flexbox-buttons-market {
  justify-content: flex-end !important;
  width: 100%;
}
.button-consult {
  border: 1px solid rgba(233, 80, 14, 1);
  padding: 10px 10px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  font-weight: 500;
  color: rgba(233, 80, 14, 1);
  font-size: 14px;
  text-decoration: none;
}

.button-consult:hover {
  background: rgba(233, 80, 14, 1);
  color: #fff;
}
.button-consult-wrapper {
  margin-right: 15px;
}
.seance-market-watch {
  width: 100%;
  height: 80px;
}
.box-marche-bloc-live {
  width: 100%;
  height: 80px;
}
/************** Responsive ***********/

@media (max-width: 1475px) {
  .seance-market-watch, .box-marche-bloc-live {
    height: 175px;
  }
}
@media (max-width: 1280px) {
  .banner_news .slick-prev,
  .banner_news .slick-next {
    top: 75%;
  }

  h2 {
    font-size: 26px;
  }
}
@media (max-width: 1024px) {
  .button-consult-wrapper {
    margin-top: 35px;
  }
}
@media (max-width: 992px) {
  .container-bourse {
    padding: 0 30px;
  }
  h4 {
    font-size: 18px;
  }
  .actualite-body {
    padding: 0 30px;
  }

  .banner_news .slick-prev {
    left: 30px;
  }

  .banner_news .slick-next {
    left: 90px;
  }

  .actualite-body span {
    font-size: 25px;
    line-height: 32px;
  }

  .actualite-body {
    width: 100%;
  }

  .banner_news .slick-prev,
  .banner_news .slick-next {
    top: 24%;
  }
  .actualite.slick-slide {
    height: 635px;
  }
  .banner_news .carousel-overlay {
    top: auto;
    right: 20px;
    width: auto;
    bottom: 40px;
    margin: 0;
    width: 100%;
    left: 20px;
  }
  .actualite-image img {
    height: 635px;
  }
  .swiper.bourse-swiper {
    width: 90%;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .live-capitaux {
    width: 100%;
  }
  a.position-absolute.back-link {
    position: relative !important;
    top: 0;
    font-size: 15px;
  }
  .tab-content.tab-content-margin {
    padding: 0 !important;
  }
  .container-bourse {
    padding: 0 15px;
  }

  .actualite-body {
    padding: 0 15px;
  }

  .banner_news .slick-prev {
    left: 15px;
  }

  .banner_news .slick-next {
    left: 60px;
  }

  h2 {
    font-size: 22px;
  }
  .flexbox-buttons-market {
    flex-direction: column;
  }
  .button-consult-wrapper {
    margin-right: 0;
    margin-top: 15px;
  }
}

@media (max-width: 580px) {
.actualite-body span {
  font-size: 19px;
  line-height: 24px;
}
}

span.color-orange {
  color: var(--orange);
}

a.color-orange {
  color: var(--orange);
}

.description-gris {
  color: gray;
}

.custom-event-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-height: 200px;
  padding: 20px !important;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
}

.custom-event-card:hover {
  transform: translateY(-3px);
  border: 1px solid var(--blue-medium) !important;
}

.custom-event-card .download-link {
  margin-top: 15px !important;
}

.event-text {
  font-size: 0.95rem;
  color: #09244b;
  pointer-events: none;
  text-decoration: none;
}

.event-title {
  font-weight: 600;
  color: #09244b;
  margin-bottom: 0;
  font-size: 17px;
  line-height: 27px;
  margin: 15px 0 10px;
  font-family: "Lato", sans-serif;
  min-height: 60px;
}

.link-all-items a {
  color: #09244b;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}

.link-all-items {
  padding: 10px 0 0;
}

.link-all-items a:hover {
  color: var(--orange);
  text-decoration: none;
}

p.bgblue {
  background: rgba(244, 246, 251, 1);
  padding: 20px;
  border-radius: 10px;
}

a.back-link {
  top: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  line-height: 100%;
  text-align: center;
  color: rgba(9, 36, 75, 1);
}

.bloc-liens-utiles .boxpartenaire a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #09244b99;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 7px;
}

.bloc-liens-utiles .boxpartenaire a:hover::before,
.bloc-liens-utiles .boxpartenaire a:hover::after {
  opacity: 1;
}

.bloc-liens-utiles .boxpartenaire a {
  height: 135px;
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.bloc-liens-utiles .box-partenaire {
  padding: 0 15px 30px;
}

.bloc-liens-utiles .partenaire-image {
  max-width: 100%;
  height: 115px;
  display: block;
  object-fit: contain;
}

.bloc-liens-utiles .bg-partenaire {
  border: none !important; /* ou ajustez selon le besoin */
  box-shadow: none !important; /* si câ€™est une ombre qui gÃªne */
  padding: 0 !important; /* si le padding provoque un dÃ©calage */
  background: none !important; /* si c'est un fond gÃªnant */
}

.bloc-liens-utiles .partenaire-link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Superposition noire sur hover */
.bloc-liens-utiles .boxpartenaire a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #09244b99;
  border-radius: 7px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* IcÃ´ne flÃ¨che â†— au centre */
.bloc-liens-utiles .boxpartenaire a:after {
  content: "\2197"; /* â†— */
  font-size: 2rem;
  color: white;
  position: absolute;
  border-radius: 7px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Activation sur hover */
.bloc-liens-utiles .partenaire-link:hover::before,
.bloc-liens-utiles .partenaire-link:hover::after {
  opacity: 1;
}

/* Styles pour le glossaire */
.glossaire-financier {
  font-family: Arial, sans-serif;
  color: #09244b;
}

/* Index alphabÃ©tique */
.alphabet-glossaire-links {
  margin-bottom: 30px;
}

.alphabet-glossaire-links a {
  color: #09244b;
  text-decoration: none;
  font-weight: 700;
  margin-right: 10px;
  font-size: 20px;
}

.alphabet-glossaire-links a:hover {
  text-decoration: underline;
}

/* Sections de lettres */
.lettre-glossaire-section {
  margin-bottom: 50px;
}

.lettre-titre {
  font-size: 50px;
  font-weight: bold;
  color: #09244b;
  margin-bottom: 20px;
}

/* Items du glossaire */
.glossaire-item {
  margin-bottom: 15px;
}

.glossaire-titre {
  color: #09244b;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.glossaire-description {
  color: #09244b;
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 15px;
}

/* BanniÃ¨re Home Page*/

.banner_news {
  position: relative;
  width: 100%;
  /*height: 500px; !* Hauteur fixe pour le container principal *!*/
  overflow: hidden;
  background-color: #f0f0f0;
}

/* ðŸŸ¢ BanniÃ¨re en arriÃ¨re-plan - FOND BLEU 100% COMPLET */
.banner-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    135deg,
    #2c5282 0%,
    #3d6fa7 100%
  ); /* Fond bleu dÃ©gradÃ© */
  opacity: 1;
  display: flex;
  align-items: center;
  padding: 0 60px; /* Plus de padding pour le texte */
}

/* ðŸ”¥ Style pour le contenu de la banniÃ¨re - TEXTE VISIBLE PARTOUT */
.banner-background > * {
  width: 100%; /* Prend tout l'espace disponible */
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  z-index: 2;
}

.banner-background h1,
.banner-background h2,
.banner-background h3 {
  color: white !important;
  margin-bottom: 15px;
  font-weight: bold;
}

.banner-background p,
.banner-background span {
  color: white !important;
  margin-bottom: 10px;
}

/* Carrousel en overlay - PositionnÃ© Ã  droite */
.carousel-overlay {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  width: 600px;
  height: 300px;
  z-index: 3; /* Au-dessus de la banniÃ¨re */
}

/* SWIPER CONFIGURATION CORRIGÃ‰E */
.bourse-swiper {
  height: 100% !important;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  overflow: hidden;
  position: relative;
}

.swiper-wrapper {
  height: 100% !important;
}

/* SWIPER SLIDES - Configuration avec plus de padding */
.swiper-slide {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  padding: 5px 10px 5px 10px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: #fff;
}

.swiper-slide-active {
  opacity: 1 !important;
}

.swiper-slide-next,
.swiper-slide-prev {
  opacity: 0 !important;
}

/* Container pour l'iframe */
.iframe-container {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.iframe-container iframe {
  width: 100% !important;
  height: 45% !important;
  background: white;
}
.iframe-container iframe.courbe-index {
  margin-top: 10px;
}
/* PAGINATION CORRIGÃ‰E - EN BAS Ã€ GAUCHE DANS LE BLANC */
.swiper-pagination {
  bottom: 25px !important;
  left: 35px !important;
  right: auto !important;
  text-align: left !important;
  width: auto !important;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  background: #bbc2c6 !important; /* Couleur bleu foncÃ© semi-transparente */
  margin: 0 !important;
  border-radius: 50%;
}

.swiper-pagination-bullet-active {
  background: #09244b !important; /* Bleu foncÃ© pour l'actif */
  opacity: 1;
}

/* BOUTONS DE NAVIGATION - DANS LE FOND BLANC */
.swiper-button-prev {
  left: 10px !important;
  bottom: 10px !important;
  top: auto !important;
  width: 40px !important;
  height: 40px !important;
  margin-top: 0 !important;
  /*background: rgba(255, 255, 255, 0.95) !important;*/
  /*border-radius: 50%;*/
  /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);*/
  z-index: 11 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.swiper-button-next {
  right: auto !important;
  left: 220px !important; /* Position aprÃ¨s la pagination */
  bottom: 10px !important;
  top: auto !important;
  width: 40px !important;
  height: 40px !important;
  margin-top: 0 !important;
  /*background: rgba(255, 255, 255, 0.95) !important;*/
  /*border-radius: 50%;*/
  /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);*/
  z-index: 11 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 14px !important;
  color: #2c5282 !important;
  font-weight: bold;
}

/* ðŸ”¥ TEXTE "RÃ‰SUMÃ‰ DU MARCHÃ‰" ET FLÃˆCHE - DANS LE BLANC */
.market-summary {
  position: absolute;
  bottom: 10px !important;
  right: 15px !important;
  color: #09244b;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 11;
  border-bottom: #09244b solid;
  font-family: Helvetica;
  padding: 0 0 2px;
}

/*.market-summary:hover {*/
/*  !*background: #2c5282;*!*/
/*  !*color: white;*!*/
/*  transform: translateY(-2px);*/
/*}*/

/* ðŸ”¥ LIGNE DE SÃ‰PARATION ENTRE PAGINATION ET RÃ‰SUMÃ‰ */
.pagination-separator {
  position: absolute;
  bottom: 50px;
  width: 100%;
  height: 1px;
  background: #bbc2c6;
  z-index: 10;
}

/* Hover effects pour les boutons */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  /*background: white !important;*/
  transform: scale(1.1);
  transition: all 0.3s ease;
}
#shared-titre-gauche {
  height: 50px;
  padding-left: 5px;
}

#shared-titre-droite {
  height: 50px;
  padding-right: 40px;
}
.bloc-date-time-live {

  margin: 0 auto 30px;
  width: 100%;
}
.bloc-flex-date {
  border-radius: 6px;
  padding: 5px;
}
/* ðŸŸ¢ Responsive Design */

@media (max-width: 1024px) {
  .carousel-overlay {
    width: 55%;
    right: 20px;
  }

  .banner-background {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .bloc-flex-date {
    flex-direction: column;
  }
  #shared-titre-gauche {
    padding-left: 0;
  }

  #shared-titre-droite {
    padding-right: 0;
  }
  .banner_news {
    /* height: 400px; */
    flex-direction: column;
  }

  .banner-background {
    position: relative;
    height: 40%;
    width: 100%;
    padding: 20px;
  }

  .banner-background > * {
    width: 100%;
    text-align: left; /* Alignement Ã  gauche pour mobile */
  }

  .carousel-overlay {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: calc(100% - 40px);
    height: 60%;
    margin: 0 20px;
  }
  /*
  .swiper-button-next {
    left: 140px !important;
  } */
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  left: 50px !important;
}
@media (max-width: 550px) {
  .banner_news {
    height: auto;
  }
  .box-vide-banner {
    display: none;
  }
  .flex-mobile {
    flex-wrap: wrap;
  }
  .grafana-frame.grafana-frame--small {
    width: 100% !important;
  }
  .iframe-container .col-gauche,
  .iframe-container .col.droite.box-cap {
    width: 100%;
  }
  .banner_news .carousel-overlay {
    height: 665px;
    left: 15px;
    right: 15px;
  }
  .actualite.slick-slide {
    height: 100%;
  }
  .actualite-body {
    top: 35px;
  }
  .banner_news .slick-prev,
  .banner_news .slick-next {
    top: 17%;
  }
  .swiper.bourse-swiper {
    width: 93%;
  }
  .note-courbe {
    padding-bottom: 10px !important;
  }
  .actualite-image {
    height: 915px;
  }
  .swiper-button-next {
    left: 220px !important;
    bottom: 15px !important;
  }
  .swiper-button-prev {
    bottom: 15px !important;
  }
  .actualite-image img {
    height: 100%;
  }
  .card-tunindex {
    width: 96%;
  }
}

@media (max-width: 480px) {
  /* .banner_news {
    height: 350px;
  } */

  .carousel-overlay {
    height: 250px;
    margin: 0 15px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 30px !important;
    height: 30px !important;
  }

  .market-summary {
    font-size: 10px;
    padding: 6px 12px;
  }
}

@media (max-width: 420px) {
  .banner_news .carousel-overlay {
    height: 705px;
    bottom: 20px;
  }
  .pagination-separator {
    bottom: 70px;
  }
  .swiper-pagination {
    bottom: 45px !important;
  }
  .swiper-button-prev,
  .swiper-button-next {
    bottom: 35px !important;
  }
  .market-summary {
    bottom: 8px !important;
    font-size: 11px;
    display: inline-flex;
    left: 15px;
    margin-top: 10px;
    position: relative;
  }
  .banner_news .slick-prev,
  .banner_news .slick-next {
    top: 16%;
  }
  .bourse-swiper {
    background: #fff;
  }
}
/* Animation d'entrÃ©e */
@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100px) translateY(-50%);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
  }
}

.carousel-overlay {
  animation: slideInFromRight 0.8s ease-out;
}

/* ðŸ”¥ Forcer l'affichage correct des slides */
.bourse-swiper .swiper-slide {
  transform: translate3d(0, 0, 0) !important;
}

.bourse-swiper .swiper-slide-active {
  transform: translate3d(0, 0, 0) !important;
  opacity: 1 !important;
  z-index: 1;
}

/* Styles pour la section des graphiques */

/* Styles pour les cartes de graphiques - MODIFIÃ‰ : fond transparent */
.chart-card {
  background: transparent;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

/* Titres des graphiques - MODIFIÃ‰ : background blue seulement pour le texte */
.chart-title-blue {
  background-color: var(--blue-medium);
  color: var(--white);
  padding: 8px 12px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
  border-radius: 5px;
  font-family: Helvetica;
  text-transform: uppercase;
}

/* MODIFIÃ‰ : background #F3F3F3 et texte centrÃ© */
.chart-title-bg {
  background: #f3f3f3;
  color: #09244b;
  padding: 12px 20px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-top: 3px solid #f97316;
  vertical-align: middle;
  text-align: center; /* Texte centrÃ© */
  margin: 0;
}

/* Conteneur principal pour les indices */
.index-container {
  position: relative;
}

/* Style pour le graphique principal - MODIFIÃ‰ : border radius ajoutÃ© */
.tunindex_courbe {
  display: block;
  width: 100%;
  height: 250px;
  border: none;
  margin-top: 80px;
  border-radius: 10px; /* Border radius ajoutÃ© */
}

/* Style pour les statistiques simples - NOUVELLES MODIFICATIONS */
/* .tunindex_stat_simple {
  position: absolute;
  top: 90px;
  left: 600px;
  width: 100px !important;
  height: 30px !important;
  border: none;
  box-shadow: none;
  z-index: 10;
  transform: scale(1.5);
  transform-origin: bottom right;
  overflow: hidden;
  border-radius: 5px;
  background: #fff !important;
  clip-path: inset(0 15% 0 0);
} */
.tunindex_stat_simple {
  position: absolute;
  top: 70px;
  right: 1px;
  width: 200px !important;
  border: none;
  box-shadow: none;
  z-index: 10;
}

/* Alternative avec mask pour cacher la partie jaune */
.tunindex_stat-simple::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 20%; /* Masque les 20% de droite oÃ¹ se trouve la partie jaune */
  height: 100%;
  background: white; /* MÃªme couleur que le fond */
  z-index: 1;
}

/* Styles pour les tableaux */
.iframe-tableau-capitalisation {
  border: none;
  width: 100%;
  height: 190px;
  border-bottom: 1px solid #bbc2c6;
}

/* Titre de section */
.chart-links h6 {
  color: #09244b;
  font-size: 15px;
  font-weight: 700;
  font-family: Helvetica, sans-serif;
  margin: 5px 0 20px 0;
  padding-left: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .tunindex_stat-simple {
    position: static;
    width: 100% !important;
    height: 100px !important;
    margin-bottom: 10px;
    transform: scale(1.2); /* Zoom rÃ©duit sur mobile */
    transform-origin: center;
    clip-path: none; /* Pas de dÃ©coupage sur mobile */
  }

  .tunindex_stat-simple::after {
    display: none; /* Pas de masque sur mobile */
  }

  .chart-card {
    margin-bottom: 15px;
  }

  .chart-title-blue,
  .chart-title-bg {
    font-size: 14px;
    padding: 10px 15px;
  }

  /* Ajustement du titre blue sur mobile */
  .chart-title-blue {
    display: block;
    text-align: center;
  }
}

/* Styles pour la section de prÃ©sentation du marchÃ© principal */
.box-presentation-marche-principal table tr td span {
  display: inline-block;
  padding: 0 !important;
  margin: 0 0px 0 5px;
}

.box-presentation .market-content table tr td p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-presentation .market-content table tr td img {
  margin: 0;
}

/* Partie droite (bouton) */
.box-presentation-marche-principal .market-watch-button {
  flex-shrink: 0;
  text-align: right;
  margin-bottom: 5%;
  width: 100%;
}

/* Style du bouton */
.box-presentation-marche-principal .btn-market-watch {
  display: inline-flex;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s;
  white-space: nowrap;
  border: none;
  background: var(--blue-medium);
  padding: 10px 15px;
  align-items: center;
  border-radius: 10px;
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-family: Helvetica;
}

.box-presentation-marche-principal .btn-market-watch svg {
  margin-right: 10px;
}

.btn-market-watch:hover {
  background-color: #003366;
}

.btn-market-watch:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 31, 63, 0.3);
}

.btn-market-watch svg {
  width: 18px;
  height: 18px;
  fill: #ff6b00;
  flex-shrink: 0;
}

/* Table styling */
.box-presentation-marche-principal table {
  width: 65% !important;
  margin: 25px auto !important;
}

.box-presentation-marche-principal table td {
  padding: 0 !important;
}

.box-presentation-marche-principal table td img {
  height: auto !important;
  width: auto !important;
  object-fit: cover;
}

.box-presentation-marche-principal table td span {
  font-size: 18px !important;
  font-weight: 500 !important;
  padding: 5px !important;
  display: inline;
}

/* Responsive: alignement vertical sur mobile */
@media (max-width: 768px) {
  .box-presentation-marche-principal {
    flex-direction: column;
    align-items: flex-start;
  }
}

#comment {
  background-color: #f3f3f366;
  width: 100%;
  padding: 2rem; /* optionnel : pour un peu d'espace intÃ©rieur */
}

.chart-card-courbe {
  background: white !important;
  border-radius: 14px;
  border-top: 3px solid #f74d40 !important;
  border: 1px solid #bbc2c6;
  padding: 10px;
}

.iframe-tableau {
  background-color: white !important;
  width: 100%;
  /*padding-left: 5%;*/
}

.chart-card .iframe-tableau {
  margin-bottom: -6px !important;
  margin-top: -8px !important;
}

.note-courbe {
  font-family: Helvetica, sans-serif;
  font-weight: 400 !important;
  font-size: 14px;
  color: #b4b4b4;
  padding-top: 3px;
  padding-bottom: 30px;
}

#frais .box-commission .box-guide-tarification table tr {
  display: table-row !important;
}

#frais .box-commission h3 {
  text-align: center !important;
}

#comment .box-guide-tarification > div {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
}

#comment .box-guide-tarification table {
  width: 45%;
  vertical-align: top;
  margin-right: 3%;
  --bs-table-bg: transparent;
  --bs-table-border-color: transparent;
  --bs-table-accent-bg: transparent;
  --bs-table-striped-color: transparent;
  --bs-table-striped-bg: transparent;
  --bs-table-active-color: transparent;
  --bs-table-active-bg: transparent;
  --bs-table-hover-color: transparent;
  --bs-table-hover-bg: transparent;
}

#comment .boxcontainer-bourse p {
  width: 80%;
  margin-left: 10%;
}

#comment .boxcontainer-bourse td p {
  margin-left: 0 !important;
}

.accordion-item .bg-gris {
  background-color: #f3f3f3;
  border-radius: 10px;
}

#accordionProtections .accordion-item {
  margin-top: 20px !important;
  border: none !important;
}

#accordionProtections .accordion-button::after {
  content: " " !important;
  color: #09244b !important;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="%2309244B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><polyline points="6 9 12 15 18 9"/></svg>')
  no-repeat center;
}

.bg-gris {
  background: rgba(250, 250, 250, 1);
}

a.link-in-text {
  color: #165baaff;
  font-weight: 500;
  margin: 10px 0 0;
  display: inline;
  text-decoration: underline !important;
}

/* CSS Variables par dÃ©faut */
.views-view-responsive-grid {
  --views-responsive-grid--column-count: 3;
  --views-responsive-grid--cell-min-width: 200px;
  --views-responsive-grid--layout-gap: 20px;
  --views-responsive-grid--columns-mobile: 1;
  --views-responsive-grid--columns-tablet: 2;
  --views-responsive-grid--columns-desktop: 3;
}

/* Grille principale avec CSS Grid moderne */
.views-view-responsive-grid--enhanced {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(var(--views-responsive-grid--cell-min-width), 1fr)
  );
  gap: var(--views-responsive-grid--layout-gap);
  width: 100%;
}

/* Items de la grille */
.views-view-responsive-grid__item {
  display: flex;
  flex-direction: column;
}

.views-view-responsive-grid__item-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Approche responsive avec breakpoints explicites */
@media (max-width: 767px) {
  .views-view-responsive-grid--enhanced {
    grid-template-columns: repeat(
      var(--views-responsive-grid--columns-mobile),
      1fr
    );
    gap: calc(var(--views-responsive-grid--layout-gap) * 0.75);
  }

  :root {
    --views-responsive-grid--cell-min-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .views-view-responsive-grid--enhanced {
    grid-template-columns: repeat(
      var(--views-responsive-grid--columns-tablet),
      1fr
    );
  }

  :root {
    --views-responsive-grid--cell-min-width: calc(
      50% - var(--views-responsive-grid--layout-gap) / 2
    );
  }
}

@media (min-width: 1024px) {
  .views-view-responsive-grid--enhanced {
    grid-template-columns: repeat(
      var(--views-responsive-grid--columns-desktop),
      1fr
    );
  }
}

/* Alternative avec approche flexible */
.views-view-responsive-grid--flexible {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(min(var(--views-responsive-grid--cell-min-width), 100%), 1fr)
  );
  gap: var(--views-responsive-grid--layout-gap);
}

/* Pour les alignements verticaux/horizontaux */
.views-view-responsive-grid--vertical .views-view-responsive-grid__item {
  align-items: stretch;
}

.views-view-responsive-grid--horizontal .views-view-responsive-grid__item {
  justify-content: center;
}

/* Styles pour les Ã©crans trÃ¨s petits */
@media (max-width: 480px) {
  .views-view-responsive-grid--enhanced {
    grid-template-columns: 1fr;
    gap: calc(var(--views-responsive-grid--layout-gap) * 0.5);
  }
}

/* AmÃ©lioration pour les trÃ¨s grands Ã©crans */
@media (min-width: 1400px) {
  .views-view-responsive-grid--enhanced {
    margin: 0 auto;
  }
}

.Jours-feries-list .box-commission table tr {
  border-bottom: none;
  border-top: solid 1px #bbc2c6 !important;
}

.Jours-feries-list .box-commission table tr td,
th {
  border: none;
}

a.btn-bleu {
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: white;
  background: linear-gradient(181.57deg, #09244b 1.33%, #183866 98.67%);
  padding: 16px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1);
  opacity: 1;
  top: 6161px;
  left: 552.5px;
  gap: 10px;
  border-radius: 5px;
  text-decoration: none;
}

.border-radius-gris {
  border: 1.21px solid rgba(187, 194, 198, 1);
}

.orange-bg-orange {
  color: rgba(233, 80, 14, 1);
  font-family: Helvetica;
  font-weight: 400;
  font-size: 10px;
  line-height: 100%;
  background: rgba(255, 210, 167, 0.25);

  opacity: 1;
  border-radius: 5px;
  padding: 5px;
}

/* In your custom.css file or within a <style> tag */
.max-w-fit-content {
  max-width: fit-content;
}

.blue-bg-blue {
  color: rgba(9, 36, 75, 1);
  font-family: Helvetica;
  font-weight: 400;
  font-size: 10px;
  line-height: 100%;
  background: rgba(211, 220, 234, 0.5);
  opacity: 1;
  border-radius: 5px;
  padding: 5px;
}

.font-size-14 {
  font-size: 14px;
}

.font-size-12 {
  font-size: 12px;
}

.market-content {
  display: block; /* pour forcer que chaque div suivant sâ€™affiche en dessous */
  margin-bottom: 20px; /* espace avec ce qui vient aprÃ¨s */
}

.iframe-wrapper {
  display: flex;
  justify-content: center; /* centre horizontalement */
  margin: 10px 0;
}

.iframe-seance {
  /*width: 100% !important;*/
  max-width: 700px; /* optionnel : limite la largeur */
  /*height: 100px;*/
  border: none;
}

.iframe-titre {
  /*width: 100%;*/
  max-width: 500px; /* rÃ©duit la largeur si tu veux */
  /*height: 35px; !* hauteur minimisÃ©e *!*/
  border: none;
}

.event-image img {
  width: 100%;
  height: 200px;
  object-fit: fill;
}

.details-interne .event-image img {
  height: 250px;
}

.date-esg {
  font-family: Helvetica;
  font-weight: 500;
  font-style: italic;
  margin-top: 30px;
  display: block;
}

.details-interne .event-image {
  margin: 30px 0;
  border-radius: 10px;
  overflow: hidden;
}

.description-savoir.text-truncate-1 {
  min-height: 50px;
}

.description-savoir.text-truncate-1.text-height-130 {
  min-height: 130px;
}

.box-cotee {
  width: 75%;
}

.image-cotee.event-image {
  box-shadow: 0 0.125rem 0.25rem #999999 !important;
  border-radius: 10px;
  margin-right: 35px;
}

.badge.color-orange {
  font-weight: 500;
}

.margin-box-sociaux {
  margin: 35px 0;
}

.box-image-reporting {
  margin-top: 55px;
}

.title-details {
  font-weight: 800;
  font-size: 26px;
  line-height: 100%;
  color: rgba(9, 36, 75, 1);
  font-family: "Lato", sans-serif;
  margin-bottom: 25px;
  display: block;
}

.min-height-600 {
  min-height: 600px;
}

.details-interne.details-esg .event-image img {
  width: auto !important;
  float: right;
}

.logo-certification {
  border-radius: 10px;
  padding: 15px;
  height: 120px;
  display: flex;
  align-items: center;
  background-color: #fff;
}

.logo-certification img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.market-title-wrapper {
  width: 100%;
  background-color: #ffffff;
  text-align: left;
  padding-bottom: 5px;
}

.market-title-wrapper .nav-tabs .nav-link {
  border: none !important;
}
.market-title-wrapper .nav-tabs .nav-item.show .nav-link,
.market-title-wrapper .nav-tabs .nav-link.active {
  font-weight: 700;
  color: #09244b;
  border-bottom: 3px solid #e9500eff !important;
}
.market-title {
  font-family: Helvetica, sans-serif;
  font-size: 15px; /* Taille de police */
  font-weight: 700; /* Gras */
  color: #0c2646; /* Bleu foncÃ© identique */
  letter-spacing: 0.5px;
}
.flex-fiche-instrument {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.link-reset,
.link-reset:visited,
.link-reset:hover,
.link-reset:active,
.link-reset:focus {
  color: inherit;
  text-decoration: none;
  outline: none;
}

@media (max-width: 768px) {
  .views-view-responsive-grid--enhanced {
    display: flex;
    flex-wrap: wrap;
  }
  #comment .box-guide-tarification table {
    width: 100%;
  }
  .views-view-responsive-grid--horizontal .views-view-responsive-grid__item {
    width: 100%;
  }
}
@media (max-width: 680px) {
  .market-title-wrapper .nav-tabs .nav-link {
    padding: 6px;
    font-size: 14px;
  }
  .market-title-wrapper .nav-tabs .nav-link td {
    width: 100% !important;
  }
}
.hitorique-market-watch .col-cap-boursiere {
  width: 20%;
}
@media (max-width: 1280px) {
  .box-marche-bloc-live {
    height: 80px;
  }
}
@media (max-width: 1150px) {
  .seance-market-watch {
    height: 190px;
  }
}

@media (max-width: 860px) {
  .seance-market-watch {
    height: 235px;
  }
}

@media (max-width: 540px) {
  .seance-market-watch {
    height: 400px;
  }
}
.tbm-row .span3 {
  min-height: auto;
}
.bloc-flex-date .gauche-actions iframe, .bloc-flex-date .droite-actions iframe {
  height: 70px;
}
.bloc-flex-date .gauche-actions iframe {
  width: 220px;
}
.bloc-flex-date .droite-actions iframe {
  width: 320px;
}

@media (max-width: 768px) {
  .bloc-flex-date .gauche-actions iframe {
    width: 100%;
  }
  .bloc-flex-date .droite-actions iframe {
    width: 100%;
  }
}