@charset "UTF-8";
:root {
  --taille-barre-navigation: 64px;
}

@font-face {
  font-family: "3ds";
  src: url("../fonts/3ds/Regular.ttf");
}
body {
  font-family: "3ds" !important;
  /*overflow: hidden;*/
}

* {
  outline: none;
}

::-webkit-scrollbar {
  display: none;
}

h1 {
  font-size: 2.813rem !important;
}
@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.188rem !important;
  }
}

h2 {
  font-weight: 700 !important;
}

#fil_ariane, #fil_ariane_sticky {
  font-size: 10px;
}
#fil_ariane a, #fil_ariane_sticky a {
  display: inline-block !important;
}
#fil_ariane a::after, #fil_ariane_sticky a::after {
  content: " ";
  display: block;
  background-color: #fff;
  height: 1px;
  margin-top: 2px;
}
#fil_ariane span, #fil_ariane .separator, #fil_ariane_sticky span, #fil_ariane_sticky .separator {
  color: white !important;
}

#retour {
  display: none;
}

/*Rappel : le carousel caption est dans dark, corp et light*/
.alert-statut-prepa {
  padding: 0.3rem 1rem !important;
  margin-bottom: 0 !important;
  display: flex;
  justify-content: start;
  align-items: center;
  background-color: orange;
  color: white;
  border-radius: 0 !important;
}

.qr_code_wrapper {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  .qr_code_wrapper {
    justify-content: center;
  }
}
.qr_code_wrapper p {
  margin: 0;
  font-weight: 400;
  font-style: italic;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0%;
  max-width: 112px;
}

@media screen and (max-width: 768px) {
  .mt-25 {
    margin-top: 25px !important;
  }
}

@media screen and (max-width: 768px) {
  .mt-55 {
    margin-top: 55px !important;
  }
}

.btn {
  padding-left: 1.2rem !important;
  padding-right: 1.2rem !important;
}

/* NAVIGATION  */
nav {
  /*background-color: #ffffff;*/
  width: 100%;
  position: relative;
  background-color: white;
  z-index: 9999;
}

.nav-header {
  /*background: white;*/
  padding-left: 30px !important;
  z-index: 99999;
}

.nav-header i {
  margin-right: 20px !important;
  color: #005386;
}

.menu {
  z-index: 100;
  border-top: 2px solid rgba(0, 83, 134, 0.2);
  text-align: center;
  width: 100%;
  min-height: calc(100vh - var(--taille-barre-navigation));
  display: flex;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .menu {
    align-items: start;
  }
}

.menu h2 {
  color: #239de8;
  text-transform: uppercase;
  font-weight: bold;
}

.menu ul {
  padding: 0;
  list-style-type: none !important;
  margin-top: 10px;
}

.menu li a {
  color: #050b25;
  font-size: 22px;
  text-decoration: none;
}

.menu .col-md-4 {
  margin-top: 20px;
}

.backimg {
  width: 100vw;
  height: calc(100vh - var(--taille-barre-navigation));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute !important;
  background-color: #9ea2b5;
  z-index: -1;
}

/* Flou avec opacité */
.backimg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: inherit;
  background-position: inherit;
  background-repeat: inherit;
  filter: blur(10px); /* Ajuste l’intensité du flou */
  opacity: 0.75; /* 75% de visibilité */
  z-index: 0;
}

.texte_gauche.sans-menu .backimg {
  height: 100vh !important;
}

.backimg {
  -webkit-animation: kenburns-top 2s ease-in reverse both;
  animation: kenburns-top 2s ease-in reverse both;
}

.backimg video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.backimg video video {
  z-index: 2;
  width: 100% !important;
  border-radius: 10px;
  box-shadow: 0px 50px 50px -25px rgba(0, 0, 0, 0.5);
}

/*
------------------------------------
 */
@-webkit-keyframes kenburns-top {
  0% {
    -webkit-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
    -webkit-transform-origin: 50% 16%;
    transform-origin: 50% 16%;
  }
  100% {
    -webkit-transform: scale(1.25) translateY(0);
    transform: scale(1.25) translateY(0);
    -webkit-transform-origin: top;
    transform-origin: top;
  }
}
@keyframes kenburns-top {
  0% {
    -webkit-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
    -webkit-transform-origin: 50% 16%;
    transform-origin: 50% 16%;
  }
  100% {
    -webkit-transform: scale(1.25) translateY(0);
    transform: scale(1.25) translateY(0);
    -webkit-transform-origin: top;
    transform-origin: top;
  }
}
.fond {
  height: calc(100vh - var(--taille-barre-navigation));
  /*padding-bottom:20px;*/
  background-size: cover;
  z-index: 2;
  position: relative;
}

body.sans-menu .fond {
  height: 100vh;
}

.fond > .container-fluid {
  padding-left: 64px;
  padding-right: 64px;
  height: calc(100vh - var(--taille-barre-navigation));
}

body.sans-menu .fond > .container-fluid {
  height: 100vh;
}

.fond.type-accueil > .container-fluid > .row.align-items-center {
  height: calc(100vh - var(--taille-barre-navigation));
  overflow: hidden;
}

body.sans-menu .fond.type-accueil > .container-fluid > .row.align-items-center {
  height: 100vh;
  overflow: hidden;
}

.fond:not(.type-accueil) > .container-fluid > .row.align-items-center {
  height: calc(100vh - 180px);
  overflow: hidden;
}

.fond.type-accueil > .container-fluid > .row.align-items-center .col-md-7,
body.sans-menu .fond.type-accueil > .container-fluid > .row.align-items-center .col-md-7,
.fond:not(.type-accueil) > .container-fluid > .row.align-items-center .col-md-7 {
  padding-bottom: 20px;
}

.type-media img:not(.qr_code_img) {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0px;
}

.type-media .fancy {
  position: relative;
}

.type-media .fancy:before {
  height: 60px;
  width: 60px;
  padding: 4px;
  display: block;
  position: absolute;
  left: calc(50% - 30px);
  top: 0;
  /*mask:url('../img/play-solid.svg') no-repeat;
  -webkit-mask:url('../img/play-solid.svg') no-repeat;*/
  background: url("../img/play-solid.svg") no-repeat;
  content: "";
}

.fancybox-container {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

video {
  z-index: 2;
  width: 100% !important;
}

.niveau-trois img {
  max-width: 100%;
  width: 100%;
}

.fancybox-slide--video .fancybox-content {
  background: none !important;
}

.fond.niveau.texte_centre .column-content {
  flex-direction: column;
  justify-content: center !important;
}

/* Page éolionne */
.lien_under-p a {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.lien_under-p .col-md-6 {
  margin-top: 30px;
}

.niveau-un,
.niveau-deux {
  min-height: 100%;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
}

.test {
  display: flex;
  align-items: center;
}

.liens {
  padding-top: 0;
  margin-bottom: 10px;
  padding-left: 0px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  height: 90px;
  border-bottom: none !important;
}

.liens > div {
  flex: 1;
  padding-top: 28px;
  margin-bottom: 15px;
  padding-left: 0;
}
@media screen and (max-width: 768px) {
  .liens > div {
    flex: 0 0 100%;
  }
}

.liens > div > p {
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 400;
  color: #8bcaf4 !important;
  margin-bottom: 5px;
  margin-top: 8px;
}

.wrapper_btn_next_page {
  text-align: right;
}
@media screen and (max-width: 768px) {
  .wrapper_btn_next_page {
    text-align: left;
  }
}
.wrapper_btn_next_page .btn.btn-next {
  font-weight: 400 !important;
  font-size: 16px !important;
  letter-spacing: 0% !important;
  max-height: 35px !important;
  padding: 5px 20px !important;
  text-align: left !important;
  width: auto !important;
  background-color: #0071e2 !important;
  border: none !important;
  color: white !important;
  overflow: hidden;
}
.wrapper_btn_next_page .btn.btn-next:hover {
  background-color: rgb(0, 87.5, 175) !important;
}

.wrapper_btn_next_page.mobile {
  display: none;
}
.wrapper_btn_next_page.mobile .btn.btn-next {
  width: 100% !important;
  border-radius: 0% !important;
  text-align: center !important;
  min-height: 58px !important;
  padding: 14px 0px 14px 0px !important;
  line-height: 1.8 !important;
}

@media screen and (max-width: 640px) {
  .wrapper_btn_next_page.mobile {
    display: block;
  }
  .wrapper_btn_next_page.desktop {
    display: none;
  }
}
.niveau-un .container-fluid,
.niveau-deux .container-fluid,
.niveau-trois .container-fluid {
  padding-left: 60px !important;
  padding-right: 60px !important;
}

.niveau-un,
.niveau-deux,
.niveau-trois {
  text-align: center;
  text-align: left;
}

.niveau .btn {
  border-radius: 30px;
  border: none;
  font-weight: 400;
  font-size: 16px;
  width: auto;
  background-color: #0071e2;
}
.niveau .btn:hover {
  background-color: rgb(0, 87.5, 175);
}

.btn-right {
  margin-right: 220px;
}

.btn-left {
  margin-left: 220px !important;
}

.niveau-un h1,
.niveau-deux h1 {
  font-weight: 600;
  margin-bottom: 20px;
}

.niveau-un h2,
.niveau-deux h2 {
  margin-bottom: 20px;
}

.niveau-un p,
.niveau-deux p {
  font-size: 18px;
}

.niveau-un .col-md-6:nth-child(even) {
  padding-top: 60px;
}

.niveau-un .col-md-6:nth-child(even) .form-group {
  padding-bottom: 30px;
}

.position-1 {
  margin-left: 0;
}

.position-2 {
  margin-left: calc(25% - 100px);
}

.position-3 {
  margin-left: calc(50% - 200px);
}

.position-4 {
  margin-left: calc(75% - 300px);
}

.position-5 {
  margin-left: calc(100% - 400px);
}

@media screen and (max-width: 768px) {
  .position-1 {
    margin-left: 0;
  }
  .position-2 {
    margin-left: 0;
  }
  .position-3 {
    margin-left: 0;
  }
  .position-4 {
    margin-left: 0;
  }
  .position-5 {
    margin-left: 0;
  }
}
.bouton_accueil {
  margin-top: 22px !important;
}

.bouton_accueil:first-child {
  margin-top: 0 !important;
}

.bouton_accueil a .btn {
  position: relative;
  overflow: hidden;
}

.bouton_accueil a .btn div {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  background: rgba(44, 245, 246, 0.3);
  transition: 0.2s ease-out;
  z-index: 9;
  transform: translate(-50%, -50%);
}

body.sans-menu .HF3ds {
  display: none !important;
}

.HF3ds {
  position: fixed !important;
  bottom: 0;
  z-index: 3;
  /*background: none !important;*/
  width: 100%;
}

.HF3ds .ds-footer__corporate {
  text-align: left;
  padding: 0 0 20px !important;
}

.HF3ds .ds-footer__corporate-legal {
  padding-top: 24px;
}

.HF3ds .ds-footer__corporate-links,
.HF3ds .ds-footer__corporate-links *,
.HF3ds .ds-footer__corporate-legal,
.HF3ds .ds-footer__corporate-legal * {
  font-size: 14px !important;
}

.HF3ds .ds-container {
  padding-left: 80px !important;
  padding-right: 80px !important;
}

.carousel-controls {
  position: relative;
  display: flex;
  justify-content: flex-end;
}
.carousel-controls .carousel-controls-buttons {
  display: flex;
  gap: 1px;
}
.carousel-controls .carousel-controls-buttons .carousel-control-next, .carousel-controls .carousel-controls-buttons .carousel-control-prev {
  position: relative;
  align-self: flex-end;
  flex: 1;
  background-color: #0071e2;
  opacity: 1;
  width: 50px;
  height: 50px;
}
.carousel-controls .carousel-controls-buttons .carousel-control-next:hover, .carousel-controls .carousel-controls-buttons .carousel-control-prev:hover {
  background-color: rgb(0, 87.5, 175) !important;
}
.carousel-controls .carousel-controls-buttons .carousel-control-next.swiper-button-disabled, .carousel-controls .carousel-controls-buttons .carousel-control-prev.swiper-button-disabled {
  opacity: 0.5;
  pointer-events: none;
}
.carousel-controls #slideCounter, .carousel-controls #slideCounterMobile {
  flex: 1;
  height: 100%;
  align-self: center;
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  line-height: 32px;
}
.carousel-controls #slideCounter .current, .carousel-controls #slideCounterMobile .current {
  color: #FFFFFF;
}
.carousel-controls #slideCounter .total, .carousel-controls #slideCounterMobile .total {
  color: #FFFFFF;
  opacity: 20%;
}

.carousel-controls-desktop {
  display: flex;
}

.carousel-controls-mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  .carousel-controls-desktop {
    display: none;
  }
  .carousel-controls-mobile {
    display: none;
  }
  #slideCounterMobile {
    display: none;
  }
}
.carousel-control-next-icon,
.carousel-control-prev-icon {
  border-radius: 10px;
  background-color: #0071e2;
  width: 2.5rem !important;
  background-size: 80% 80% !important;
  height: 2.5rem !important;
}

.carrouselModal {
  cursor: pointer;
}

.carousel-play-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  display: inline-block;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8Zz4KICAgIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSI2NCIgaGVpZ2h0PSI2NCIgcng9IjMyIiBmaWxsPSJ3aGl0ZSIgc2hhcGUtcmVuZGVyaW5nPSJjcmlzcEVkZ2VzIi8+CiAgICA8cGF0aCB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTUsIC0yKSIKICAgICAgZD0iTTQ1LjIwNTkgMjcuMTU3OUM0NC44NzI4IDI2Ljk0OTggNDQuNTg5MyAyNi45MTA3IDQ0LjM1NTEgMjcuMDQwOEM0NC4xMjEgMjcuMTcwOSA0NC4wMDM5IDI3LjQzMzcgNDQuMDAzOSAyNy44MjkxVjM3LjMzNTRDNDQuMDAzOSAzNy43MzA5IDQ0LjEyMSAzNy45OTM3IDQ0LjM1NTEgMzguMTIzN0M0NC41ODkzIDM4LjI1MzggNDQuODcyOCAzOC4yMiA0NS4yMDU5IDM4LjAyMjNMNTIuODIzNCAzMy4zMjM3QzUzLjE1NjQgMzMuMTE1NiA1My4zMjI5IDMyLjg2ODUgNTMuMzIyOSAzMi41ODIzQzUzLjMyMjkgMzIuMjk2MSA1My4xNTY0IDMyLjA0ODkgNTIuODIzNCAzMS44NDA4TDQ1LjIwNTkgMjcuMTU3OVoiCiAgICAgIGZpbGw9IiMwODcwRDMiLz4KICA8L2c+Cjwvc3ZnPg==");
  background-size: cover; /* ou contain */
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  z-index: 10;
}
.carousel-play-video .fa-play {
  color: white;
  font-size: 2rem;
}

.swiper-carousel-caption {
  font-weight: 400;
  font-style: italic;
  font-size: 15px;
  line-height: 25px;
  letter-spacing: 0%;
  text-align: center;
  color: #FFFFFF;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 10px;
}

.modal-content {
  background-color: transparent !important;
  border: none !important;
}
.modal-content video {
  border-radius: 10px;
}

.wysiwyg u {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.wysiwyg a {
  color: #0870D3;
  text-underline-offset: 6px;
}
.wysiwyg blockquote {
  padding-left: 40px;
  position: relative;
}
.wysiwyg blockquote p {
  font-style: italic;
}
.wysiwyg blockquote:before {
  content: url("../img/blockquote.svg");
  position: absolute;
  left: 0;
  top: 0;
}
.wysiwyg ul {
  padding-left: 1rem;
}
.wysiwyg ul li {
  color: white;
}
.wysiwyg ul li::marker {
  color: #0071e2;
}

.type-accueil .surtitle, .type-sous_accueil .surtitle {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: white;
  margin-bottom: 10px;
  display: inline-block;
}
.type-accueil h1:after, .type-sous_accueil h1:after {
  content: " ";
  width: 63px;
  height: 4px;
  background-color: #0071e2;
  display: block;
  margin-top: 30px;
}
.type-accueil h2, .type-sous_accueil h2 {
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 24px;
}
.type-accueil .images_card_accueil_wrapper, .type-sous_accueil .images_card_accueil_wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .type-accueil .images_card_accueil_wrapper, .type-sous_accueil .images_card_accueil_wrapper {
    margin-top: 20px;
  }
}
.type-accueil .images_card_accueil_wrapper .images_card_accueil .card, .type-sous_accueil .images_card_accueil_wrapper .images_card_accueil .card {
  position: relative;
  border-radius: 0;
  border: none;
  background-color: #0071e2;
  max-width: 400px;
  min-height: 121px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .type-accueil .images_card_accueil_wrapper .images_card_accueil .card, .type-sous_accueil .images_card_accueil_wrapper .images_card_accueil .card {
    max-height: 160px;
    min-height: 160px;
  }
}
.type-accueil .images_card_accueil_wrapper .images_card_accueil .card:after, .type-sous_accueil .images_card_accueil_wrapper .images_card_accueil .card:after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 59.28%, rgba(0, 0, 0, 0.7) 100%);
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom: 2.26px solid #0071e2;
}
.type-accueil .images_card_accueil_wrapper .images_card_accueil .card img, .type-sous_accueil .images_card_accueil_wrapper .images_card_accueil .card img {
  width: 100%;
  max-height: 121px;
  object-fit: cover; /* ou "contain" selon le rendu voulu */
}
@media screen and (max-width: 768px) {
  .type-accueil .images_card_accueil_wrapper .images_card_accueil .card img, .type-sous_accueil .images_card_accueil_wrapper .images_card_accueil .card img {
    max-height: 160px;
  }
}
.type-accueil .images_card_accueil_wrapper .images_card_accueil .card h3, .type-sous_accueil .images_card_accueil_wrapper .images_card_accueil .card h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0%;
  text-transform: uppercase;
  z-index: 1;
}
.type-accueil .boutons_accueil_wrapper, .type-sous_accueil .boutons_accueil_wrapper {
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 768px) {
  .type-accueil .boutons_accueil_wrapper, .type-sous_accueil .boutons_accueil_wrapper {
    margin-top: 20px;
  }
}
.type-accueil .video_single, .type-sous_accueil .video_single {
  aspect-ratio: 465/218;
  max-width: 465px !important;
}
@media screen and (max-width: 768px) {
  .type-accueil .video_single, .type-sous_accueil .video_single {
    width: 100vw;
    margin-left: -49vw;
    left: 50%;
    position: relative;
    aspect-ratio: 16/9;
    max-width: unset !important;
  }
}

.type-classique.texte_centre .columns {
  padding-left: clamp(16px, 10vw, 170px);
  padding-right: clamp(16px, 10vw, 170px);
  flex-direction: row;
  align-content: center;
  gap: 0;
}
@media screen and (max-width: 1200px) {
  .type-classique.texte_centre .columns {
    padding-right: 0;
    padding-left: 0;
  }
}
@media screen and (max-width: 768px) {
  .type-classique.texte_centre .columns {
    padding-right: 0;
    padding-left: 0;
  }
}
.type-classique.texte_centre .columns > div {
  flex: 1 1 100%;
}
.type-classique.texte_centre .columns > div .image_cover {
  display: none;
}
.type-classique.texte_centre .columns > div:nth-child(1) {
  margin-top: 20px;
}
.type-classique .columns {
  padding-right: 50px;
  padding-left: 50px;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  gap: 140px;
  height: 70vh;
}
@media screen and (max-width: 768px) {
  .type-classique .columns {
    padding-right: 0;
    padding-left: 0;
  }
}
@media screen and (max-width: 1200px) {
  .type-classique .columns {
    gap: 0;
    flex-direction: column-reverse;
  }
}
@media screen and (max-width: 1200px) {
  .type-classique .columns {
    height: 100%;
    gap: 15px;
  }
}
.type-classique .columns > div {
  flex: 1 1 calc(50% - 140px);
}
.type-classique h1:after {
  content: " ";
  width: 63px;
  height: 4px;
  background-color: #0071e2;
  display: block;
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .type-classique h1 {
    margin-top: 20px;
  }
}
.type-classique h2 {
  margin-bottom: 20px;
}
.type-classique .image_cover {
  position: relative;
  width: 100%;
  padding-bottom: 46.88%;
  overflow: hidden;
  margin-bottom: 10px;
}
.type-classique .image_cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ou "contain" selon le rendu voulu */
}
@media screen and (max-width: 768px) {
  .type-classique .image_cover {
    width: calc(100% + 70px); /* ou une valeur fixe comme 2rem */
    margin-left: -35px;
    margin-right: -35px;
    aspect-ratio: 16/9;
  }
}
.type-classique .btn:not(.btn-next) {
  text-transform: none;
  text-align: left;
  max-width: 137px;
  background-color: #0071e2;
  border: none;
  color: white !important;
  font-size: 1rem;
  font-weight: 400;
  min-height: 35px;
}
.type-classique .btn:not(.btn-next) .fa-chevron-right {
  margin-right: 5px;
}
.type-classique .btn:not(.btn-next):hover {
  background-color: rgb(0, 87.5, 175) !important;
}
@media screen and (max-width: 768px) {
  .type-classique.fond:not(.type-media) .order-1 {
    margin-top: 0 !important;
  }
}
.type-classique .cta a {
  max-width: 100% !important;
}

.type-lien .container-fluid {
  overflow: hidden;
}
.type-lien.texte_centre .columns {
  padding-left: clamp(16px, 10vw, 170px);
  padding-right: clamp(16px, 10vw, 170px);
  flex-direction: row;
  align-content: center;
  gap: 0;
}
@media screen and (max-width: 1200px) {
  .type-lien.texte_centre .columns {
    padding-right: 0;
    padding-left: 0;
  }
}
@media screen and (max-width: 768px) {
  .type-lien.texte_centre .columns {
    padding-right: 0;
    padding-left: 0;
  }
}
.type-lien.texte_centre .columns > div {
  flex: 1 1 100%;
}
.type-lien.texte_centre .columns > div .image_cover {
  display: none;
}
.type-lien.texte_centre .columns > div:nth-child(1) {
  margin-top: 20px;
}
.type-lien .columns {
  padding-right: 50px;
  padding-left: 50px;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  gap: 55px;
  height: 43vh;
}
@media screen and (max-width: 768px) {
  .type-lien .columns {
    padding-right: 0;
    padding-left: 0;
    flex-direction: column-reverse !important;
  }
}
@media screen and (max-width: 1200px) {
  .type-lien .columns {
    gap: 0;
    flex-direction: column;
  }
}
@media screen and (max-width: 1200px) {
  .type-lien .columns {
    height: 100%;
    gap: 15px;
  }
}
.type-lien .columns > div {
  flex: 1 1 calc(50% - 160px);
  width: 100%;
}
.type-lien h1 {
  font-weight: 700;
  font-size: 45px;
  line-height: 50px;
  letter-spacing: 0%;
}
.type-lien h1:after {
  content: " ";
  width: 63px;
  height: 4px;
  background-color: #0071e2;
  display: block;
  margin-top: 30px;
}
.type-lien h2 {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0%;
}
.type-lien .images_card_lien_wrapper {
  flex: 1 1 100% !important;
  order: 3;
  padding-left: 50px;
}
@media screen and (max-width: 1200px) {
  .type-lien .images_card_lien_wrapper {
    padding-left: 0;
  }
}
.type-lien .images_card_lien_wrapper .swiper-slide {
  width: 345px !important;
}
.type-lien .images_card_lien_wrapper .images_card_lien {
  max-width: 345px;
  min-height: 161px;
}
.type-lien .images_card_lien_wrapper .images_card_lien .card {
  width: 100%;
  height: 100%;
  min-height: 161px;
  position: relative;
  border-radius: 0;
  border: none;
  background-color: #0071e2;
}
.type-lien .images_card_lien_wrapper .images_card_lien .card:after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 59.28%, rgba(0, 0, 0, 0.7) 100%);
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom: 2.26px solid #0071e2;
}
.type-lien .images_card_lien_wrapper .images_card_lien .card img {
  width: 100%;
  max-height: 161px;
  object-fit: cover; /* ou "contain" selon le rendu voulu */
}
.type-lien .images_card_lien_wrapper .images_card_lien .card h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0%;
  text-transform: uppercase;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .type-lien .images_card_lien_wrapper {
    margin-top: 30px;
  }
  .type-lien .images_card_lien_wrapper .swiper-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .type-lien .images_card_lien_wrapper .swiper-wrapper .swiper-slide {
    width: 100% !important;
  }
  .type-lien .images_card_lien_wrapper .swiper-wrapper .images_card_lien {
    max-width: 100%;
    width: 100%;
  }
}
.type-lien #liensCarousel {
  height: auto;
  overflow: visible;
}
.type-lien .card img {
  width: 100%;
  display: block;
}
.type-lien .swiper-lien {
  overflow: visible;
}
.type-lien .carousel-controls {
  margin-top: 20px;
}
.type-lien .carousel-controls #slideCounter {
  text-align: right;
  margin-right: 30px;
}
.type-lien .wrapper_boutons_enfants {
  display: flex;
  gap: 25px;
  padding-right: 50px;
  padding-left: 50px;
}
.type-lien .wrapper_boutons_enfants .bouton_enfant .btn {
  border: 2px solid #FFFFFF;
  background-color: transparent;
}
.type-lien .wrapper_boutons_enfants .bouton_enfant .btn:hover {
  background-color: white !important;
  color: #0071e2 !important;
}
@media screen and (max-width: 768px) {
  .type-lien .wrapper_boutons_enfants {
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
    margin-top: 30px;
  }
}

.type-media h1 {
  margin-top: 10px;
}
.type-media h1:after {
  content: " ";
  width: 63px;
  height: 4px;
  background-color: #0071e2;
  display: block;
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .type-media h1 {
    margin-top: 20px;
  }
}
.type-media h1.medias_h1_hidden {
  display: none;
}
.type-media h2 {
  margin-bottom: 20px;
}
.type-media.texte_centre .container_media_single {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 10px;
  padding-left: clamp(16px, 10vw, 170px);
  padding-right: clamp(16px, 10vw, 170px);
}
.type-media.texte_centre .container_media_single .left-column, .type-media.texte_centre .container_media_single .right-column {
  width: 100%;
}
.type-media.texte_centre .container_media_carou {
  flex-direction: row;
  padding: 0;
  gap: 10px;
  padding-left: clamp(16px, 10vw, 170px);
  padding-right: clamp(16px, 10vw, 170px);
}
.type-media.texte_centre .container_media_carou .right-column {
  width: 100%;
}
@media screen and (max-width: 768px) {
  .type-media .order-1-mobile {
    order: 1;
  }
}
@media screen and (max-width: 768px) {
  .type-media .order-2-mobile {
    order: 2;
  }
}

.container_media_single, .container_media_carou {
  display: flex;
  gap: 140px;
  align-items: center;
  justify-content: center;
  height: 70vh;
  max-width: 1440px;
  margin: 0 auto !important;
}
@media screen and (max-width: 996px) {
  .container_media_single, .container_media_carou {
    height: auto;
    gap: 40px;
  }
}
@media screen and (max-width: 1200px) {
  .container_media_single, .container_media_carou {
    flex-direction: column;
    align-items: center;
  }
}
.container_media_single.portrait, .container_media_carou.portrait {
  padding-left: clamp(16px, 10vw, 80px);
  padding-right: clamp(16px, 10vw, 80px);
}
@media screen and (max-width: 768px) {
  .container_media_single.portrait, .container_media_carou.portrait {
    padding-right: 0;
    padding-left: 0;
  }
}
.container_media_single .left-column, .container_media_carou .left-column {
  width: calc(50% - 70px);
  padding-right: 0 !important;
  padding-left: 0 !important;
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
  .container_media_single .left-column, .container_media_carou .left-column {
    width: calc(100% + 40px) !important;
  }
}
@media screen and (max-width: 768px) {
  .container_media_single .left-column, .container_media_carou .left-column {
    width: calc(100% + 40px) !important;
  }
}
.container_media_single .right-column, .container_media_carou .right-column {
  display: flex;
  flex-direction: column;
  width: calc(50% - 70px);
  padding-right: 0 !important;
  padding-left: 0 !important;
  justify-content: center; /* centre horizontalement */
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
  .container_media_single .right-column, .container_media_carou .right-column {
    width: calc(100% + 40px) !important;
  }
}
@media screen and (max-width: 768px) {
  .container_media_single .right-column, .container_media_carou .right-column {
    width: calc(100% + 40px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
.container_media_single img.image_single, .container_media_carou img.image_single {
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0px;
}
@media screen and (max-width: 768px) {
  .container_media_single img.image_single, .container_media_carou img.image_single {
    width: calc(100% + 110px) !important;
    max-width: calc(100% + 110px) !important;
    margin-left: -50px;
    margin-right: -50px;
  }
}
.container_media_single img.video_single, .container_media_carou img.video_single {
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  .container_media_single img.video_single, .container_media_carou img.video_single {
    width: calc(100% + 110px) !important;
    max-width: calc(100% + 110px) !important;
    margin-left: -50px;
    margin-right: -50px;
  }
}

.container_media_carou {
  height: 70vh;
  align-content: center;
}
.container_media_carou .mySwiper {
  max-width: 892px;
  margin-right: 0;
}
@media screen and (max-width: 768px) {
  .container_media_carou .mySwiper {
    width: calc(100% + 110px) !important;
    max-width: calc(100% + 110px) !important;
    margin-left: -50px;
    margin-right: -50px;
  }
  .container_media_carou .mySwiper .swiper-wrapper {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }
}
.container_media_carou .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.type-news {
  overflow: hidden;
}
.type-news h2 {
  font-size: 24px;
  font-weight: 400 !important;
}
.type-news .wrapper_news {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  height: 70vh;
  padding-left: clamp(16px, 10vw, 170px);
}
@media screen and (max-width: 1200px) {
  .type-news .wrapper_news {
    padding-left: 5px;
  }
}
@media screen and (max-width: 768px) {
  .type-news .wrapper_news {
    padding-left: 0;
    height: auto;
  }
}
.type-news .wrapper_news .wrapper_titles {
  display: flex;
  flex-direction: row;
  align-items: end;
  margin-bottom: 16px;
}
.type-news .wrapper_news .wrapper_titles .titles {
  width: 80%;
}
.type-news .wrapper_news .wrapper_titles .carousel-controls-desktop {
  width: 20%;
}
.type-news .news_list_wrapper .swiper-news {
  overflow: visible;
}
.type-news .news_list_wrapper .swiper-news .swiper-slide {
  width: 345px;
}
@media screen and (max-width: 768px) {
  .type-news .news_list_wrapper .swiper-news .swiper-slide {
    width: 100%;
  }
}
.type-news .news_list_wrapper .swiper-news .swiper-slide .card_news {
  background-color: transparent;
  overflow: hidden;
  min-height: 345px;
  position: relative;
}
.type-news .news_list_wrapper .swiper-news .swiper-slide .card_news img {
  width: 345px;
  height: 187px;
  object-fit: cover;
  display: block;
}
@media screen and (max-width: 768px) {
  .type-news .news_list_wrapper .swiper-news .swiper-slide .card_news img {
    width: 100%;
  }
}
.type-news .news_list_wrapper .swiper-news .swiper-slide .card_news h3 {
  font-weight: 700;
  font-size: 18px;
  line-height: 18px;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 15px;
}
.type-news .news_list_wrapper .swiper-news .swiper-slide .card_news .texte {
  color: #8C8C8C;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0%;
}
.type-news .news_list_wrapper .swiper-news .swiper-slide .card_news .link {
  margin-top: 15px;
  position: absolute;
  bottom: 0;
  left: 0;
  padding-left: 20px;
  padding-right: 20px;
}
@media screen and (max-width: 768px) {
  .type-news .news_list_wrapper .swiper-news .swiper-slide .card_news .link {
    margin-top: 0;
    bottom: 15px;
  }
}
@media screen and (max-width: 768px) {
  .type-news .news_list_wrapper .swiper-news .swiper-wrapper {
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
  }
}
.type-news .carousel-controls #slideCounter {
  text-align: right;
  padding-right: 15px;
}

.show-desktop {
  display: block;
}

.show-mobile {
  display: none;
}

/* RESPONSIVE */
@media screen and (max-width: 996px) {
  .bouton_accueil {
    margin-left: 0 !important;
  }
  .show-desktop {
    display: none;
  }
  .show-mobile {
    display: block;
  }
}
@media screen and (max-width: 1200px) {
  body {
    overflow: auto !important;
    overflow-x: hidden !important;
  }
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
  .fond.type-media .order-1 {
    order: 2 !important;
    margin-top: 20px;
  }
  .fond.type-media .order-2 {
    order: 1 !important;
  }
  .fond {
    height: inherit;
  }
  .fond > .container-fluid {
    height: auto;
  }
  .fond:not(.type-accueil) > .container-fluid > .row.align-items-center {
    height: inherit !important;
    overflow: auto !important;
  }
  .show-mobile {
    display: block;
  }
  /*.fond.type-media,
  .fond.type-media > .container-fluid,
  .fond.type-media > .container-fluid .row,
  .fond:not(.type-accueil) > .container-fluid > .row.align-items-center {
  	height:auto !important;
  }
  .fond.type-media,
  .fond.type-media > .container-fluid,
  .fond.type-accueil > .container-fluid {
  	height:100vh !important;
  }*/
}
@media screen and (max-width: 768px) {
  .nav-header {
    padding-left: 15px !important;
  }
  .menu {
    min-height: calc(100vh - 60px);
    padding-top: 35px;
  }
  .container-fluid .row > div {
    padding-right: 20px !important;
  }
  .fond.type-media .order-1 {
    order: 2 !important;
    margin-top: 20px;
  }
  .fond.type-media .order-2 {
    order: 1 !important;
  }
  .fond,
  .fond > .container-fluid,
  .fond > .container-fluid .row {
    height: auto !important;
    overflow: visible !important;
  }
  .fond {
    background-size: 200%;
    background-repeat: no-repeat;
  }
  .columns {
    margin-top: 25px;
  }
  .px-mobile {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .lien_under-p .col-md-6 {
    margin-top: 0px;
  }
}
@media screen and (max-width: 640px) {
  .menu h2 {
    font-size: 18px !important;
  }
  .menu li a {
    font-size: 15px;
  }
  .niveau-deux .container-fluid {
    padding: 10px !important;
  }
  .niveau .container-fluid {
    padding: 20px !important;
  }
  .niveau-un h1,
  .niveau-deux h1 {
    font-size: 24px;
  }
  .niveau-un h2,
  .niveau-deux h2 {
    font-size: 18px;
  }
  .niveau-un p,
  .niveau-deux p {
    font-size: 15px;
  }
  video {
    width: 100% !important;
    margin-bottom: 15px;
  }
  .liens {
    margin-bottom: 20px !important;
  }
  .liens > div {
    padding-top: 8px;
  }
  .liens > div > p {
    font-size: 13px;
  }
  .niveau .btn {
    font-size: 14px;
  }
  .btn-right {
    margin-right: 0px !important;
    margin-left: 0px !important;
  }
  .btn-left {
    margin-left: 0px !important;
  }
  .lien_under-p a {
    font-size: 14px;
  }
}
/* TABLETTE  */
@media (min-width: 761px) and (max-width: 1023px) {
  .niveau-un .container-fluid {
    padding: 10px !important;
    margin: 10px !important;
  }
  video {
    width: 720px !important;
    margin-bottom: 15px;
  }
}
/* MACBOOK  */
@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .niveau-un .container-fluid {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  /* .btn-left {
    margin-left: 0px !important;
  } */
}
@media screen and (max-width: 1260px) {
  .btn-left {
    margin-left: 0px !important;
  }
}
@media screen and (max-width: 1200px) {
  .HF3ds {
    position: relative !important;
    bottom: inherit;
  }
}
#fil_ariane_sticky {
  color: black;
  padding: 0.5rem 1rem;
  display: none;
}
#fil_ariane_sticky a, #fil_ariane_sticky span, #fil_ariane_sticky .separator {
  color: black !important;
  font-family: 3ds !important;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 400;
}

@media screen and (max-width: 768px) {
  .menu {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
  }
  .menu {
    top: 60px; /* hauteur de ton nav (à ajuster) */
    z-index: 999;
  }
  .sticky-hidden {
    top: -100px; /* fait disparaître le nav + menu quand on scroll vers le bas */
  }
  .sticky-on-scroll-up {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
  }
  .menu.sticky-on-scroll-up {
    top: 60px; /* Position sous le nav sticky */
    z-index: 999;
  }
  nav {
    position: relative; /* pas sticky par défaut */
    top: auto;
    z-index: 1000;
    transition: top 0.3s ease-in-out;
  }
  nav.sticky-on-scroll-up {
    position: sticky;
    top: 0;
    background: white;
  }
  #fil_ariane_sticky {
    display: block;
  }
  nav:not(.sticky-on-scroll-up) #fil_ariane_sticky {
    display: none;
  }
  nav.sticky-on-scroll-up.top #fil_ariane_sticky {
    display: none;
  }
  body.scrolled nav:not(.sticky-on-scroll-up):not(.top) {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }
  .sticky-on-scroll-up {
    transition: transform 0.3s ease;
    transform: translateY(0);
  }
}

/*# sourceMappingURL=main.css.map */

/* ------------------------------------------------------------------
   Vignettes d'accueil : ratio 16:9, empilees ou en grille 2 colonnes
   ------------------------------------------------------------------
   Pilote par affichage_liens_enfants() (include/fonctions.php), seule
   source de verite : constantes LIENS_*. Le gabarit de colonnes et de
   rangees arrive deja calcule dans --liens-grille et --liens-rangees,
   car repeat(var(--n), ...) n'est pas fiable sur les navigateurs anciens.

   La grille reste dans la colonne de droite, simplement elargie : .fond
   impose une hauteur fixe d'un ecran avec overflow:hidden, donc rien ne
   peut vivre sous la premiere row. Les vignettes sont calees sur la
   hauteur des rangees et non sur leur largeur, pour remplir la colonne
   au lieu de se tasser en haut.
   ------------------------------------------------------------------ */

/* Ratio 16:9 : format natif des photos. L'ancien bandeau 3,31:1
   decapitait les sujets au recadrage. */
.type-accueil .images_card_accueil_wrapper .images_card_accueil .card,
.type-sous_accueil .images_card_accueil_wrapper .images_card_accueil .card {
  max-width: 340px;
  min-height: 0;
}
.type-accueil .images_card_accueil_wrapper .images_card_accueil .card img,
.type-sous_accueil .images_card_accueil_wrapper .images_card_accueil .card img {
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: none;
}

/* La row porte align-items:center, donc les colonnes ne s'etirent pas :
   sans cela la grille n'a pas de hauteur de reference. */
.colonne_liens_grille {
  align-self: stretch;
}

.type-accueil .images_card_accueil_wrapper--grille,
.type-sous_accueil .images_card_accueil_wrapper--grille {
  display: grid;
  grid-template-columns: var(--liens-grille, repeat(2, auto));
  grid-template-rows: var(--liens-rangees, repeat(2, auto));
  gap: var(--liens-gap, 32px);
  height: 100%;
  align-content: center;
  justify-content: end;
  justify-items: end;
}
/* .position-N decale une vignette dans la colonne etroite d'origine
   (.position-2 = margin-left: calc(25% - 100px)). En grille cette marge
   cassait le calage : 348 px ajoutes a chaque carte. */
.type-accueil .images_card_accueil_wrapper--grille .images_card_accueil,
.type-sous_accueil .images_card_accueil_wrapper--grille .images_card_accueil {
  margin: 0;
  min-width: 0;
  max-width: none;
  height: var(--liens-carte-h, auto);
  aspect-ratio: 16 / 9;
}
.type-accueil .images_card_accueil_wrapper--grille .images_card_accueil .card,
.type-sous_accueil .images_card_accueil_wrapper--grille .images_card_accueil .card {
  display: block;
  max-width: none;
  height: 100%;
}
.type-accueil .images_card_accueil_wrapper--grille .images_card_accueil .card img,
.type-sous_accueil .images_card_accueil_wrapper--grille .images_card_accueil .card img {
  aspect-ratio: auto;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .colonne_liens_grille {
    align-self: auto;
  }
  .type-accueil .images_card_accueil_wrapper--grille,
  .type-sous_accueil .images_card_accueil_wrapper--grille {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
  }
  .type-accueil .images_card_accueil_wrapper--grille .images_card_accueil,
  .type-sous_accueil .images_card_accueil_wrapper--grille .images_card_accueil {
    height: auto;
    max-height: none;
  }
  .type-accueil .images_card_accueil_wrapper .images_card_accueil .card,
  .type-sous_accueil .images_card_accueil_wrapper .images_card_accueil .card {
    max-height: none;
    min-height: 0;
  }
}

/* ------------------------------------------------------------------
   Fil d'Ariane : lisibilite du retour accueil
   ------------------------------------------------------------------
   Il etait en 10 px, dans une cible cliquable de 18 px de haut, alors
   que le bouton page suivante fait 201 x 34 px en 16 px : la sortie
   etait six fois plus petite que l'avancee. Sur une borne regardee
   debout a un ou deux metres, du 10 px est illisible.
   WCAG 2.5.5 recommande 44 px pour une cible tactile.
   Regle limitee a #fil_ariane : #fil_ariane_sticky est la barre mobile
   et conserve ses propres tailles.
   ------------------------------------------------------------------ */
#fil_ariane {
  font-size: 14px;
}
#fil_ariane a {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* ------------------------------------------------------------------
   Pages media et sous-accueil : aligner les deux colonnes en haut
   ------------------------------------------------------------------
   Les rangees de ces pages portent align-items:center (classe Bootstrap
   .align-items-center, ou regle sur .container_media_single) : chaque
   colonne etait centree independamment et, leurs hauteurs differant,
   leurs hauts ne coincidaient jamais. Mesure sur 1920x1080 : 196 px de
   decalage sur une page media a carrousel, 175 px sur une page media
   unique, 312 px sur un sous-accueil en grille. C'est ce decalage qui
   faisait "flotter" le bloc de texte, pas l'exces d'espace.

   On aligne les colonnes en haut et on recentre le bloc entier par des
   marges automatiques. Limite aux ecrans ou les colonnes sont cote a
   cote (>= 1200 px) et aux deux types concernes : classique, news et
   lien n'ont pas de rangee a deux colonnes.
   Les !important sont necessaires : .align-items-center et
   .container_media_* imposent deja align-items et margin en !important.
   ------------------------------------------------------------------ */
@media screen and (min-width: 1200px) {
  .fond.type-media > .container-fluid,
  .fond.type-sous_accueil > .container-fluid {
    display: flex;
    flex-direction: column;
  }
  .fond.type-media > .container-fluid > .row.align-items-center,
  .fond.type-media > .container-fluid > .container_media_single,
  .fond.type-sous_accueil > .container-fluid > .row.align-items-center {
    height: auto;
    align-items: flex-start !important;
    margin-top: auto !important;
    margin-bottom: auto !important;
  }
}

/* ------------------------------------------------------------------
   Pages media : compteur du carrousel centre sous l image
   ------------------------------------------------------------------
   Le compteur "01 03" etait colle a gauche (flex:1, texte aligne a
   gauche), alors que l image et sa legende sont centrees au-dessus :
   trois elements empiles sur trois axes differents. Grille a trois
   zones : gauche libre (reservee au futur bouton Speaker Text), compteur
   au centre, fleches a droite. 1fr auto 1fr garde le compteur au centre
   exact quelle que soit la largeur des cotes.
   Limite aux pages media (le carrousel des pages lien garde son compteur
   a droite) et au bloc desktop : .carousel-controls-mobile reste masque.
   ------------------------------------------------------------------ */
@media screen and (min-width: 769px) {
  .type-media .carousel-controls-desktop {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .type-media .carousel-controls-desktop #slideCounter {
    grid-column: 2;
    flex: none;
    text-align: center;
  }
  .type-media .carousel-controls-desktop .carousel-controls-buttons {
    grid-column: 3;
    justify-self: end;
  }
}

/* ------------------------------------------------------------------
   Groupe de navigation : Home, page precedente, page suivante
   ------------------------------------------------------------------
   En haut a droite, face au fil d Ariane a gauche : sur un grand ecran
   tactile d evenement on peut naviguer depuis les deux cotes. Les trois
   boutons reprennent le style du bouton suivant (.btn-next).
   Hauteur portee a 44 px (le bouton suivant faisait 34 px) : cible
   tactile recommandee par WCAG 2.5.5, comme pour le fil d Ariane.
   Les noms de page longs sont tronques, le nom complet reste en title.
   ------------------------------------------------------------------ */
.nav_topics {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.wrapper_btn_next_page .nav_topics .btn.btn-next {
  display: inline-flex !important;
  align-items: center;
  min-height: 44px;
  max-height: none !important;
}
.nav_topics .btn-next span {
  display: inline-block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ------------------------------------------------------------------
   Fleches des carrousels : pilule a deux segments, chevrons lisibles
   ------------------------------------------------------------------
   Les fleches etaient deux carres a angles vifs contenant un triangle
   fa-caret de 6 x 16 px, soit 12 % de la largeur du bouton : illisible,
   et en decalage avec les boutons pilules du haut de page (rayon 30 px,
   chevrons). Elles forment maintenant une seule pilule arrondie aux deux
   extremites, separee au milieu par le filet de 1 px deja existant, avec
   des chevrons de 20 px, le meme pictogramme que les boutons du haut.
   Composant commun aux carrousels des pages media, news et lien.
   ------------------------------------------------------------------ */
.carousel-controls .carousel-controls-buttons .carousel-control-prev {
  border-radius: 25px 0 0 25px;
}
.carousel-controls .carousel-controls-buttons .carousel-control-next {
  border-radius: 0 25px 25px 0;
}
.carousel-controls .carousel-controls-buttons .carousel-control-prev .fa,
.carousel-controls .carousel-controls-buttons .carousel-control-next .fa {
  font-size: 20px;
}

/* ------------------------------------------------------------------
   Boutons : relief lisible sur les deux fonds du pod
   ------------------------------------------------------------------
   Demande client : couleur #0071e2 et ombre portee "pour que les boutons
   se lisent comme des boutons sur fond sombre". Mesure : une ombre
   seule est invisible sur le fond bleu nuit (contraste 1,08:1) mais
   nette sur le fond gris (3,51:1), ou le bouton se fondait (1,81:1).
   D ou trois couches complementaires : l ombre porte le relief sur le
   gris, le reflet haut et le halo de 1 px dessinent le bouton sur le
   sombre (1,47:1).
   Boutons pleins uniquement : les boutons contour des pages lien
   (fond transparent, bord blanc) restent plats.
   ------------------------------------------------------------------ */
.niveau .btn,
.wrapper_btn_next_page .btn.btn-next {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.type-lien .wrapper_boutons_enfants .bouton_enfant .btn {
  box-shadow: none;
}
/* Pilule du carrousel : ombre et halo sur le groupe, sinon les ombres des
   deux segments se superposent dans le filet central. */
.carousel-controls .carousel-controls-buttons {
  border-radius: 25px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.carousel-controls .carousel-controls-buttons .carousel-control-prev,
.carousel-controls .carousel-controls-buttons .carousel-control-next {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* ------------------------------------------------------------------
   Bouton play : badge decoratif, non cliquable
   ------------------------------------------------------------------
   Le badge est un <span> pose au-dessus de l image, et c est l image qui
   porte le declencheur de la modale (.mediaModalTrigger / .carrouselModal).
   Dans le carrousel (medias.blade.php) aucun gestionnaire n etait attache
   au badge : il interceptait le clic et il ne se passait rien, alors que
   son cursor:pointer le donnait pour cliquable. On le rend transparent aux
   clics, qui atteignent l image en dessous dans les trois gabarits.
   ------------------------------------------------------------------ */
.carousel-play-video {
  pointer-events: none;
}
.mediaModalTrigger,
.carrouselModal {
  cursor: pointer;
}

/* ------------------------------------------------------------------
   Panneau de notes orateur (?speaker=1)
   ------------------------------------------------------------------
   Le commercial ouvre la meme page sur son telephone. Le panneau est
   masque par defaut et ne s affiche qu avec le parametre : sur l ecran
   du pod, rien ne change pour le visiteur.
   En surimpression et non dans le flux : une page de pod a une hauteur
   fixe d un ecran avec overflow:hidden, rien ne peut s ajouter dessous.
   ------------------------------------------------------------------ */
.speaker_panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  max-height: 65vh;
  overflow-y: auto;
  padding: 18px 22px 24px;
  background: rgba(3, 12, 30, 0.97);
  border-top: 3px solid #0071e2;
  color: #ffffff;
  -webkit-overflow-scrolling: touch;
}
.speaker_panel_entete {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.speaker_panel_badge {
  background: #0071e2;
  border-radius: 30px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.speaker_panel_page {
  font-size: 13px;
  opacity: 0.7;
}
.speaker_panel_texte {
  font-size: 17px;
  line-height: 1.55;
  max-width: 70ch;
}
@media screen and (max-width: 768px) {
  .speaker_panel {
    max-height: 80vh;
  }
  .speaker_panel_texte {
    font-size: 16px;
  }
}

/* Notes orateur : panneau repliable ---------------------------------
   Une note longue occupait 65 % de l ecran et masquait la page. Le
   panneau se limite desormais a une barre compacte, depliable d un
   geste, et l etat suit le commercial de page en page. */
.speaker_panel {
  padding: 0;
}
.speaker_panel_entete {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 12px 22px;
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  font: inherit;
}
.speaker_panel_chevron {
  margin-left: auto;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 8px solid #ffffff;
  opacity: 0.85;
  transition: transform 0.15s ease;
}
.speaker_panel.ouvert .speaker_panel_chevron {
  transform: rotate(180deg);
}
.speaker_panel_texte {
  display: none;
  padding: 0 22px 22px;
  max-height: 60vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.speaker_panel.ouvert .speaker_panel_texte {
  display: block;
}

/* Notes orateur : hauteur reglable a la poignee ----------------------
   Le panneau ouvert recoit une hauteur explicite (style inline) : il
   devient donc une colonne flex, entete figee et texte extensible qui
   defile. La poignee sert aussi de bouton replier/deplier ; on distingue
   le tapotement du glissement a 5 px pres, cote script.
   touch-action: none empeche la page de defiler pendant le glissement. */
.speaker_panel.ouvert {
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}
.speaker_panel_entete {
  position: relative;
  flex: 0 0 auto;
  padding-top: 16px;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
/* Specificite renforcee : bootstrap.min.css est charge apres main.css et
   pose [role="button"] { cursor: pointer }, qui gagnait a egalite. */
.speaker_panel .speaker_panel_entete {
  cursor: ns-resize;
}
.speaker_panel_poignee {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
}
.speaker_panel.ouvert .speaker_panel_texte {
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
}
