/**
 * @file
 * Styles rules
 *
 * Theme styles rules.
 */

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
html {
  height: 100%;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  line-height: 150%;
  scroll-padding-top: 150px !important;
}
html, body {
  position: relative;
  font-family: var(--font-text);
  color: var(--color-primary--1);
  background-color: var(--color-white);
  max-width: 1920px;
  margin: 0 auto;
}
body {
  overflow-x: hidden;
  height: 100%;
}


/*
MARK: Linebreak
Retour a la ligne uniquement sur desktop
*/
.nl_before{
  content: none;
}
@media all and (min-width: 1000px) {
  .nl_before{
    content: ' ';
    display: block;
  }
}
.secondary_color{
  color: var(--color-secondary--1);
}


/**
 * MARK: Image
 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/**
 * MARK: Text
 */

h1, h2, h3, h4 {
  position: relative;
  font-family: var(--font-title);
  font-weight: 700;
  margin: 0;
}
h1 {
  font-size: var(--heading-size-xl);
  line-height: 140%;
  font-weight: 700;
}
h2 {
  font-size: var(--heading-size-l);
  line-height: 140%;
  text-transform: uppercase;
  font-weight: 600;
}
h3 {
  font-size: var(--heading-size-s);
  line-height: 170%;
}
h4 {
  font-size: var(--heading-size-xs);
  line-height: 140%;
}
p {
  font-size: var(--content-size);
  line-height: 150%;
}
.section.section--primary_1 p,
.section.section--primary_1 h2,
.section.section--primary_1 h3,
.section.section--primary_2 p,
.section.section--primary_2 h2,
.section.section--primary_2 h3,
.section.section--primary_2 li {
  color: var(--color-white);
}
.large_text{
  font-size: 22px;
  line-height: 140%; /* 30.8px */
}
.monoton {
  font-family: Monoton;
}
::selection {
  background-color: var(--color-dark);
  color: var(--color-white);
}








/**
 * Links
 */

a {
  color: var(--color-brand--1);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/**
 * Toolbar Fixed Styles
 */

.toolbar a {
  font-family: "Source Sans Pro","Lucida Grande",Verdana,sans-serif;
  font-weight: normal;
}

/**
 * Table
 */

table {
  border-collapse: collapse;
  width: 100%;
}
table td,
table th {
  border: 1px solid #ddd;
  padding: 8px;
}
table tr:first-child td {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: var(--color-primary--2);
  color: var(--color-neutral--4);
  font-weight: 700;
}




/**
 * CTA
 */

.cta {
  margin: 0;
}
.cta a {
  display: flex;
  padding: 18px 32px 16px 16px;
  align-items: center;
  gap: 10px;
  border-radius: 0 60px 0 0;
  width: fit-content;
}
.cta--style-red a {
  color: var(--color-white);
  background-color: var(--color-primary--1);
}
.cta--style-red a:hover {
  background-color: var(--color-primary--2);
  text-decoration: none;
}
.cta--style-white a {
  color: var(--color-primary--1);
  background-color: var(--color-white);
}
.cta a::after {
  content: '';
  width: 27px;
  height: 27px;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
}
.cta--style-white a::after {
  background-image: url('../images/arrow_red.svg');
}
.cta--style-red a::after {
  background-image: url('../images/arrow_white.svg');
}



blockquote {
  display: flex;
  padding: 2rem;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  background: var(--color-primary--4);
  margin: 0;
}
blockquote p:first-of-type {
  margin: 0;
}
blockquote p:last-of-type {
  margin-bottom: 0;
}

/**
 * ANIMATE DETAILS TAGS
 */

@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }
  details::details-content {
    height: 0;
    overflow: clip;
    transition:
      height 0.3s ease,
      content-visibility 0.3s ease allow-discrete;
  }

  details[open]::details-content {
    height: auto;
    transition: ease all 150ms;
  }

}

