/* Fonts
---------------------------------------------------- */

/*@font-face {
	font-family: pretendard;
	src: url('fonts/pretendard/fonts/Pretendard-Medium.otf');
	font-weight: 500;
	font-style: normal;
}*/


@font-face {
  font-family: ABCOracle;
  src: url('fonts/ABCOracle-Medium.woff2');
  font-weight: 700;
  font-style: normal;
}


/* General
---------------------------------------------------- */
* {
  box-sizing: border-box;
}

:root {
  font-size: 4.0712vw;
  --Couleur-bouton-actif: #FF0000;
  --Couleur-bouton-hover: #0037FF;
  --Couleur-passee: #00000080;
  --Couleur-footer: #C3FFEB;
  --Couleur-header: #FFC4FA;
  --Couleur-banner: #06DEC4;

  --tags-gap: 1rem;

}

@media (min-width: 900px) {
  :root {
    font-size: 0.9259vw;
    /* viewport: 1728px */
  }
}

body {
  position: relative;
  margin: 0;

  /*font-family: "Inter", sans-serif;*/
  font-family: ABCOracle, Helvetica, Arial, sans-serif;

  font-weight: 600;
  font-size: 1.875rem;
  /* 30px */
  line-height: 1.2;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

}

a {
  color: inherit;
  text-decoration: inherit;
}

figure {
  margin: 0;
}

ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

strong {
  font-weight: inherit;
}

/*strong::after {
  content: " – ";
}*/

.hidden {
  display: none !important;
}

@media (min-width: 900px) {

  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .page-body {
    flex-grow: 1;
  }

}



/* Header
---------------------------------------------------- */

.site-header {
  position: relative;
  padding: 3.4375rem 0.75rem 4.3125rem 1.3125rem;
  background-color: var(--Couleur-header);
}

.logo {
  display: block;
  width: 100%;
}

.logo svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 900px) {
  .site-header {
    z-index: 10;
  }
}

@media (max-width: 899px) {
  .site-header {
    padding: 1.5312rem 0.625rem;
  }
}




/* Menu
---------------------------------------------------- */



.menu,
.submenu {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 0.675rem;
  margin: 0.625rem 0 0;
}

.menu-item {
  /*margin: 0 0 0.625rem;*/
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-start;
}

.menu-item.current>.button {
  background-color: var(--Couleur-bouton-actif);
}

/*.menu-item:not(:hover, .current) .menu {*/
.menu-item:not(.open, .current) .menu {
  display: none;
}

.menu .menu {
  margin-left: 2.5rem;
}






/* Page
---------------------------------------------------- */

.main-default a {
  text-decoration: underline;
}

.page-body .site-nav {
  padding: 0 1.5625rem 1rem;
}


.page-body .main-page {
  padding-bottom: 5rem;
}

@media (min-width: 900px) {
  .page-body {
    position: relative;
    display: flex;
  }

  .page-body .main-page {
    width: 62rem;
    flex-shrink: 0;
  }

  .page-body .site-nav {
    width: 23rem;
    flex-shrink: 0;
    margin-bottom: -10rem;
  }

  .side-nav-site-title {
    position: sticky;
    z-index: 2;
    top: 1rem;
    margin-top: -2rem;
  }

  .page-body .site-nav .menu-container {
    position: sticky;
    top: 4.1rem;
    margin-top: -1.6rem;
    z-index: 12;
  }

  .burger {
    display: none;
  }
}

@media (max-width:899px) {

  .page-body .site-nav {
    position: fixed;
    z-index: 9;
    top: 120%;
    width: 100%;
    height: 100%;
    background-color: white;

    display: flex;
    padding: 0 0 5rem;

    transition: top 200ms;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .page-body .site-nav {
    top: 0;
  }

  .page-body .site-nav .menu-container {
    flex-grow: 1;
    overflow: auto;
    padding: 5rem 2.25rem 0;

  }

  .side-nav-site-title {
    display: none;
  }

  .burger {
    position: fixed;
    z-index: 10;
    left: 10.5625rem;
    bottom: 1.25rem;
  }

  .burger svg {
    display: block;
    width: 3.5rem;
    height: 3.5rem;
  }




}



/* Home
---------------------------------------------------- */

.home .site-header {}

.home-cover {
  mix-blend-mode: multiply;
}

.home-cover img {
  mix-blend-mode: luminosity;
  width: 100%;
  height: auto;
  display: block;
}

.overlay {
  background-color: #eeff00;
  height: 29.3125rem;
  position: absolute;
  top: 0;
  width: 100%;
  pointer-events: none;
}

@media (max-width: 899px) {
  .home-cover {
    padding: 0 0.9375rem;
  }

  .overlay {
    height: 12.25rem;
  }
}


/* Home - Programme
---------------------------------------------------- */
.programme .title {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: inherit;
  margin: 1.875rem 0;
}

.programme-section {
  margin-top: 1.375rem;
}

.programme-section:not(:last-child) {
  border-bottom: 2px solid black;
}

.programme-section .permalink {
  display: block;
  padding-bottom: 3.125rem;
}

.programme-section a:hover {
  color: var(--Couleur-bouton-hover);
}

.programme-section a:hover .tag {
  border-color: var(--Couleur-bouton-hover);
}

.programme-section a:hover svg path {
  fill: var(--Couleur-bouton-hover);
}

.programme-section a:hover .picto.bitmap {
  background-color: var(--Couleur-bouton-hover);
}

.programme-section a:hover .picto img {
  mix-blend-mode: screen;
}

.programme .section-header {
  display: flex;
  align-items: center;
  gap: var(--tags-gap);
}

.programme .section-header ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.programme .section-header .spectacle-date {
  margin-right: 2rem;
}


.tags {
  display: flex;
  align-items: center;
  gap: var(--tags-gap);
}

.tag {
  font-size: 0.9375rem;
  line-height: 1.2;
  text-transform: uppercase;
  border-radius: 1rem;
  border: 1px solid black;
  padding: 0.125rem 0.625rem;
  white-space: nowrap;
}

.pictos {
  display: flex;
  align-items: center;
  gap: var(--tags-gap);
  position: relative;
}

.picto {
  position: relative;
}

.picto svg {
  display: block;
  height: 1.25rem;
  width: auto;
}

.picto img {
  display: block;
  height: 1.25rem;
  width: auto;
}

.row:hover .picto {
  background-color: var(--Couleur-bouton-hover)
}

.row:hover .picto img {
  mix-blend-mode: screen;
}

.picto .toolbox {
  position: absolute;
  top: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;

  opacity: 0;
}

.picto .toolbox-content {
  white-space: nowrap;
  background-color: black;
  color: white;
  border-radius: 0.4rem;
  padding: 0.25rem 0.5rem 0.3rem;
  font-size: 0.9375rem;
  line-height: 1;



}

.picto:hover .toolbox {
  opacity: 1;
  z-index: 100;
}

.tag.categorie-item {
  text-transform: inherit;
}

.programme .evenement h2 {
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

.programme-section.spectacle .title {
  font-size: 3.75rem;
  line-height: 1;
  margin: 0 0 0.5rem;
}


@media (max-width: 899px) {
  .programme {
    padding: 0 0.9375rem;
  }

  .programme .spectacle-salle,
  .programme .spectacle-accessibilites,
  .programme .spectacle-categorie {
    display: none;
  }

  .programme-section.spectacle .title {
    font-size: 3.125rem;

  }


}



/* Single
---------------------------------------------------- */

.main-single {
  padding-bottom: 5rem;
}

.single-section {
  padding: 2.5rem 0;
}



@media (min-width: 900px) {
  .main-single {
    width: 62rem;
  }

  .single-section {
    display: flex;
    gap: 2.5rem;
  }

  .single-section .single-column {
    width: 30rem;
  }
}

@media (max-width: 899px) {
  .single-section .single-column {
    padding: 0 0.9375rem;
  }
}


/* Single Spectacle
---------------------------------------------------- */

.spectacle-section .daterange,
.spectacle-section .auteur {
  font-size: 1.875rem;
  line-height: 1.1;
}

.spectacle-section .compagnie p,
.spectacle-section .auteur p {
  margin: 0;
}

.spectacle-section .title {
  font-weight: inherit;
  margin: 0;
  font-size: 3.75rem;
  line-height: 1;
}

.subtitle {
  /*font-size: 1.25rem;
  line-height: 1rem;*/
  margin: 0.5rem 0 1rem;
}

.spectacle-info {
  display: flex;
  align-items: baseline;
  margin: 0;
  padding: 0;
  list-style-type: none;
  gap: 0.5rem;
  font-size: 1.25rem;
  line-height: 1rem;
  margin: 0.5rem 0;
}

.spectacle-info-item {}

.spectacle-info-item:not(:first-child)::before {
  content: "|";
  margin-right: 0.5rem;
}


.spectacle-langue {
  font-size: 1.25rem;
  line-height: 1rem;
  margin: 0.5rem 0;
}

.spectacle-details {
  display: flex;
  align-items: center;
  gap: var(--tags-gap);
  margin: 0.5rem 0;
}

.spectacle-content {
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 1rem 0 2rem;
}

.spectacle-lieu {
  font-size: 1.25rem;
  line-height: 1.2;
}

/* Related Items
---------------------------------------------------- */
.related-title {
  font-family: inherit;
  font-weight: inherit;
  font-size: 1.25rem;
  line-height: 1rem;
  margin: 2rem 0;
}

.related-item {
  margin: 0 0 2rem;
  border-top: 2px solid black;
  padding-top: 1.375rem;
}

.related-item a {
  display: block;
}

.related-item a:hover {
  color: var(--Couleur-bouton-hover);
}

.related-item .date,
.related-item .auteur {
  font-size: 1.25rem;
  line-height: 1rem;
  margin: 0.5rem 0;
}

.related-item .title {
  font-family: inherit;
  font-weight: inherit;
  font-size: 1.875rem;
  line-height: 1;
  margin: 0;
}


/* Spectacle medias
---------------------------------------------------- */
.spectacle-image {
  margin: 2.5rem 0;
}

.spectacle-embed {
  margin: 2.5rem 0;
}

.spectacle-image img {
  width: 100%;
  height: auto;
  display: block;
}

.medias-column {
  user-select: none;
}


.medias-column .video {}

.medias-column .video iframe {
  /*display: block;
  width: 30rem;
  height: calc(30rem * var(--h) / var(--w));
  border: none;*/
}

.gallery {
  margin: 1rem 0;
  position: relative;
}

.medias-column .gallery {
  margin: 2.5rem 0;
}

.gallery .frames {
  pointer-events: none;
}


.gallery .controls .arrow {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  width: 5rem;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

}

.gallery .controls .arrow.left-arrow {
  left: 0;
}

.gallery .controls .arrow.right-arrow {
  right: 0;
}

.gallery .controls .arrow svg {
  display: block;
  width: 3.125rem;
  height: 3.125rem;
  pointer-events: none;

  filter: drop-shadow(0 0 4px black);
}



/* Horaires
---------------------------------------------------- */
.horaires {
  display: grid;
  /*grid-template-columns: 7.875rem auto;*/
  grid-template-columns: 10rem auto;

  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 2.5rem;
  gap: 0 1rem;
}

.horaires .row {
  display: grid;
  /*align-items: center;*/
  grid-column: 1 / 3;
  grid-template-columns: subgrid;
  /*grid-template-rows: 2.25rem;*/


}

.horaires .row.reservable:hover {
  color: var(--Couleur-bouton-hover);
}

.horaires .row.reservable:hover svg path {
  fill: var(--Couleur-bouton-hover);
}

.horaires .row.reservable:hover .tag {
  border-color: var(--Couleur-bouton-hover);
}

.horaires .row.complet:hover {
  color: var(--Couleur-bouton-actif);
}

.horaires .row.complet:hover svg path {
  fill: var(--Couleur-bouton-actif);
}

.horaires .row.complet:hover .tag {
  border-color: var(--Couleur-bouton-actif);
}

.horaires .row:not(.reservable):hover .picto {
  background-color: transparent;
}

.horaires .row .cell {
  padding: 0.4rem 0;
}

.horaires .row .cell.reservation {
  display: flex;
  justify-content: space-between;
  /*align-items: center;*/
  align-items: flex-start;
  border-bottom: 2px solid black;
}

.horaires .row:not(:hover) .cell .back,
.horaires .row:hover .cell .front {
  display: none;
}


.horaires .row .cell.more {
  flex-shrink: 0;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.horaires .row .heures {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.horaires .row .cell.more .horaire-text {
  align-self: baseline;
  opacity: 0;
}

.horaires .row:hover .cell.more .horaire-text {
  opacity: 1;
}





/* Page Programme Header
---------------------------------------------------- */
.programme-header {
  margin: 2.5rem 0;
}

.programme-header .title {
  font-size: 3.75rem;
  line-height: 1;
  font-weight: inherit;
  margin: 0;
}

.programme-header .edito-link {
  display: block;
}

.programme-header .edito-link:hover {
  color: var(--Couleur-bouton-hover);
}

@media (max-width: 899px) {
  .programme-header {
    padding: 0.9375rem;
  }
}



/* Page Programme Nav
---------------------------------------------------- */

.programme-nav {
  display: flex;
  gap: 1rem;
  margin: 3.75rem 0;
}

.button {
  font-size: 1.25rem;
  line-height: 1.2;
  padding: 0.2812rem 0.625rem 0.3438rem;
  background-color: black;
  color: white;
  border-radius: 1rem;
}

.button:hover {
  background-color: var(--Couleur-bouton-hover);
}

.button.current {
  background-color: var(--Couleur-bouton-actif);
}

@media (max-width: 899px) {
  .programme-nav {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 0.9375rem;
  }
}

/* Page Programme Passée
---------------------------------------------------- */

.programme.past {
  color: var(--Couleur-passee);
}

.programme.past .tag {
  border-color: var(--Couleur-passee);
}

.programme.past svg path {
  fill: var(--Couleur-passee);
}

.programme-passee-title {
  font-size: inherit;
  line-height: 1;
  font-weight: inherit;
  margin: 4rem 0 2rem;
}



/* Page Default
---------------------------------------------------- */

.layout {}

.layout .column {}

.layout.single .column {}

.layout.double .column {}

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

.video iframe {
  display: block;
  border: none;
}

.layout.double .video iframe.ready,
.medias-column .video iframe.ready {
  width: 30rem;
  height: calc(30rem * var(--height) / var(--width));
}

.layout.single .video iframe.ready {
  width: 62rem;
  height: calc(62rem * var(--height) / var(--width));
}

.layout .accordeon {
  margin: 1rem 0;
}


.gallery .frames {
  position: relative;
  width: 100%;
  height: 20rem;
  overflow: hidden;
  z-index: 1;
}

.gallery .frames .frame {
  position: absolute;
  width: 100%;
  height: 100%;
}

.gallery .frames .frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 900px) {
  .layout {
    display: flex;
    gap: 2rem;
  }

  .layout .column {
    flex-shrink: 0;
  }

  .layout.single .column {
    width: 62rem;
  }

  .layout.double .column {
    width: 30rem;
  }

  .gallery .frames {
    height: 20rem;
  }

  .layout.single .gallery .frames {
    height: 40rem;
  }
}

@media (max-width: 899px) {
  .layout {
    padding: 0 0.9375rem;
  }
}



/* Page Bureau des compagnies
---------------------------------------------------- */

.bureau-des-compagnies .page-title {
  font-size: 1.875rem;
  line-height: 1;
  font-weight: inherit;
  margin: 1em 0;
}

.bureau-des-compagnies .page-content {
  font-size: 1.25rem;
  line-height: 1.2;
}

.bureau-des-compagnies .page-content a {
  text-decoration: underline;
}



.bureau-des-compagnies .more {
  margin-top: 3.5rem;
}

.bureau-des-compagnies .evenement {
  margin: 1.375rem 0 0;
  /*padding: 0 0 3.125rem;*/
  padding: 0 0 2rem;
  display: block;
}


.bureau-des-compagnies .evenements-passes .evenement {
  color: var(--Couleur-passee);
}


.bureau-des-compagnies .evenement:not(:last-child) {
  border-bottom: 2px solid black;
}

.bureau-des-compagnies .evenements-title {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: inherit;
  margin: 1.75em 0;
}

.bureau-des-compagnies .evenement-title {
  font-size: 1.875rem;
  line-height: 1;
  font-weight: inherit;
  margin: 0;
}

.bureau-des-compagnies .evenement-date {
  font-size: 1.25rem;
  line-height: 1;
  margin: 0.4rem 0;
}


/* Page Edito
---------------------------------------------------- */
.edito .title {
  font-size: 3.75rem;
  line-height: 1;
  font-weight: inherit;
  margin: 0;
}

.edito .header-edito {
  margin: 2.5rem 0;
}


/* Accordeon
---------------------------------------------------- */

.accordeon {
  margin: 0 0 1rem;
}

.accordeon-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.675rem 0;
  cursor: pointer;
}

.accordeon-header .title {
  font-size: 1.875rem;
  line-height: 1;
  margin: 0;
  font-weight: inherit;
  /*flex-grow: 1;*/
}

.accordeon-body {
  font-size: 1.25rem;
  line-height: 1.2;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  height: 0;
}

.accordeon-body .accordeon-content a {
  text-decoration: underline;
}

.accordeon-header svg {
  display: block;
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 200ms;
}

.accordeon-section.open .accordeon-header svg {
  /*transform: rotate(180deg);*/
  transform: scaleY(-1);
}



/* Annonces
---------------------------------------------------- */
.annonces {
  width: 100%;

  font-size: 1.25rem;
  line-height: 1;

  background-color: var(--Couleur-banner);

  padding: 0.1875rem 0;
}

/*
.annonces .annonce {
  white-space: nowrap;
}*/


.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: scroll 45s linear infinite;
}

.marquee-item {
  display: inline-block;
  margin: 0 2.5rem;
}

a.marquee-item {
  text-decoration: none !important;
}

/* Animation */
@keyframes scroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}


@media (min-width: 900px) {
  .annonces {
    position: fixed;
    z-index: 20;
    bottom: 0;
  }
}

@media (max-width: 899px) {
  .annonces {
    display: none;
  }
}

/* Footer
---------------------------------------------------- */
.site-footer {
  background-color: var(--Couleur-footer);
  font-size: 1.25rem;
  line-height: 1.2;
  padding: 1rem 0 2rem;
}

.site-footer .footer-columns {}

.site-footer .footer-column {}

.site-footer p {
  margin: 1.25rem 0;
}

.site-footer ul {
  margin: 1.25rem 0;
  padding: 0;
  list-style-type: none;
}

.site-footer a {
  text-decoration: underline;
}

.site-footer .newsletter-form {
  display: flex;
  gap: 0.675rem;
}

@media (min-width: 900px) {
  .site-footer {
    display: flex;
    justify-content: center;

  }

  .site-footer .footer-columns {
    width: 62rem;
    display: flex;
    gap: 2rem;
  }

  .site-footer .footer-column {
    width: 30rem;
  }

  .site-footer .newsletter-form {


    align-items: baseline;
  }
}

@media (max-width: 899px) {
  .site-footer {
    padding: 1rem 0 5rem;
  }

  .site-footer .newsletter-form {
    flex-direction: column;
  }

  .site-footer .footer-column {
    padding: 0 0.9375rem;
  }
}

/* Form
---------------------------------------------------- */
button {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: underline;
  background: none;
  border: none;
  appearance: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

input[type=text] {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  background: none;
  border: 1px solid black;
  appearance: none;
  padding: 0.1rem 0.4rem;
  margin: 0;
}

input[type=text]:focus {
  outline: none;
}

select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  background: none;
  border: 1px solid black;
  padding: 0.1rem 0.4rem;
  margin: 0;
  width: 10rem;
}

@media (max-width: 899px) {
  select {
    width: 100%;
  }
}


/* Page équipe
---------------------------------------------------- */

.main-equipe a {
  text-decoration: underline;
}

.page-title {
  margin: 1.5625rem 0;
  font-size: 1.875rem;
  line-height: 1;
}

.section-equipe {
  margin: 0 0 5rem;
}

.bio-grid {
  display: grid;
  grid-template-columns: 18.9375rem 18.9375rem 18.9375rem;
  column-gap: 2.5rem;
}

.bio-grid .figure {
  width: 100%;
  height: 28.4375rem;
}

.bio-grid .figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bio-caption {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.5625rem 0;
}

.bio-caption p {
  margin-top: 0;
}

.bio-columns {
  column-count: 3;
  column-width: auto;
  /* 18.9375rem; */
  column-gap: 2.5rem
}

.bio-columns .bio-cell {
  break-inside: avoid;
}


@media (max-width: 899px) {
  .section-equipe {
    padding: 0 0.9375rem;
  }

  .bio-grid {
    grid-template-columns: 100%;
  }

  .bio-columns {
    column-count: 1;
  }

}



/* Page équipe soutiens/partenaires
---------------------------------------------------- */

.partenaires-grid {
  display: grid;
  grid-template-columns: 29.625rem 29.625rem;
  justify-content: space-between;
}

.partenaires-cell {
  font-size: 1.25rem;
  line-height: 1;
}

.partenaires-cell .page-partenaires-title {
  margin: 1.5625rem 0;
  font-size: 1.875rem;
  line-height: 1;
}

@media (max-width: 899px) {
  .partenaires-grid {
    grid-template-columns: 100%;
  }
}


/* Page Diffusion
---------------------------------------------------- */

.diffusion-content {
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 500;
  padding: 3.125rem 0.9375rem 4rem;
}

.diffusions-grid {
  padding: 1rem 0.9375rem 1rem;
}

.section-diffusion .resume {
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 500;
}

.section-diffusion .resume p {
  margin-bottom: 0;
}
