@charset "UTF-8";
/* CSS Document */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none;
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 15px;
  line-height: 17px;
}
body ::selection {
  background: rgba(0, 0, 0, 0.99);
  /* WebKit/Blink Browsers */
  color: #fff;
  opacity: 1;
}
body ::-moz-selection {
  background: rgba(0, 0, 0, 0.99);
  /* Gecko Browsers */
  color: #fff;
  opacity: 1;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a, a:active, a:visited, a:hover {
  color: inherit;
  text-decoration: none;
  -moz-transition-property: all;
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -moz-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -moz-transition-timing-function: ease;
  -o-transition-timing-function: ease;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
}

b, strong {
  font-weight: 700;
}

header {
  position: fixed;
  top: 0px;
  right: 20px;
  width: calc(50svw - 30px);
  padding-top: 20px;
}
header .titre, header nav {
  width: auto;
  position: relative;
}
header .titre {
  font-weight: 700;
  float: left;
}
header nav {
  float: right;
}
header ul {
  padding: 0;
}
header ul li {
  list-style: none;
}

.home-layout {
  display: flex;
  height: 100%;
  width: 100%;
  margin-top: 0px;
  margin-left: 0px;
}

.swiper {
  width: calc(50% - 10px);
  margin-right: 10px;
  flex-shrink: 0;
  height: calc(100% - 0px);
}

.swiper-slide img, .swiper-slide video {
  width: calc(100% - 20px);
  height: calc(100% - 40px);
  margin: 20px;
  margin-right: 10px;
  object-fit: contain;
}

.swiper-slide.no-margin img, .swiper-slide.no-margin video {
  width: calc(100% - 0px);
  height: calc(100% - 0px);
  margin: 0;
}

.swiper-slide.crop img, .swiper-slide.crop video {
  object-fit: cover;
}

.pos-left img, .pos-left video {
  object-position: left;
}

.slide-caption {
  width: calc(50% - 30px);
  height: calc(100% - 40px);
  padding: 20px;
  padding-left: 10px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slide-counter {
  margin: auto 0;
  font-weight: 300;
}

.slide-caption-text {
  /* légende alignée en bas */
}

.slide-caption-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.slide-date {
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after, .swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
  content: '';
  display: none;
}

.swiper-button-prev {
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
}

.swiper-button-prev:hover {
  cursor: w-resize;
}

.swiper-button-next {
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
}

.swiper-button-next:hover {
  cursor: e-resize;
}

.mobile-slides {
  display: none;
}

.page-infos header .titre {
  font-weight: 500;
}
.page-infos header nav {
  font-weight: 700;
}
.page-infos main {
  display: flex;
  align-items: flex-end;
  width: calc(100svw - 40px);
  height: calc(100svh - 40px);
  margin-top: 20px;
  margin-left: 20px;
}
.page-infos main .image {
  width: calc(50% - 10px);
  height: 100%;
}
.page-infos main .image img {
  object-fit: contain;
  height: 100%;
  object-position: bottom;
}
.page-infos main .texte {
  font-weight: 700;
  width: calc(50% - 10px);
  margin-left: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.page-infos main .texte .texte_haut {
  margin-top: auto;
  margin-bottom: auto;
}
.page-infos main .texte .texte_bas p {
  margin-bottom: 17px;
}
.page-infos main .texte .texte_bas .deux-colonnes {
  column-count: 2;
  column-gap: 20px;
}
.page-infos main .texte .texte_bas .col-1 {
  break-after: column;
}

@media only screen and (max-width: 1024px) {
  .page-infos main .texte .texte_bas .deux-colonnes {
    column-count: 1;
  }
  .page-infos main .texte .texte_bas .col-1 {
    break-after: auto;
    margin-bottom: 17px;
  }
}
@media only screen and (max-width: 820px) {
  html, body {
    overflow: hidden;
    /* on bloque le scroll global */
    height: 100%;
  }

  header {
    width: calc(100% - 40px);
    background-color: #fff;
    padding: 20px;
    right: 0;
    z-index: 9999;
  }

  .home-layout {
    margin-top: 57px;
    flex-direction: column;
    height: calc(100svh - 57px);
    width: 100%;
    overflow-y: auto;
    /* masque la scrollbar tout en gardant le scroll fonctionnel */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge legacy */
  }
  .home-layout::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge moderne */
  }

  /* Swiper en pleine largeur, hauteur libre selon le contenu */
  .swiper {
    width: 100%;
    margin-right: 0;
    height: auto;
  }

  .swiper-wrapper {
    height: auto;
    /* nécessaire car Swiper force une hauteur en JS, voir note ci-dessous */
  }

  .swiper-slide {
    height: auto;
  }

  .swiper-slide img, .swiper-slide video,
  .swiper-slide.no-margin img,
  .swiper-slide.no-margin video,
  .swiper-slide.crop img,
  .swiper-slide.crop video {
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
  }

  /* Légende avec marge tournante de 20px, sous l'image */
  .slide-caption {
    width: calc(100% - 40px);
    height: auto;
    padding: 20px;
    flex-direction: row;
    align-items: flex-start;
  }

  .slide-caption-bottom {
    flex: 1;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .slide-counter {
    margin: 0;
    margin-right: 20px;
    flex-shrink: 0;
  }

  .swiper-button-next, .swiper-button-prev {
    display: none;
  }

  .page-infos main {
    margin-top: 57px;
    flex-direction: column-reverse;
    height: auto;
  }
  .page-infos main .image, .page-infos main .texte {
    width: 100%;
  }
  .page-infos main .texte .texte_haut {
    margin-bottom: 17px;
  }
}
