/**************************************
******** PROJECT GENERAL STYLE ********
**************************************/

/* TEXTS */
html,
body {
  font-family: var(--font-main);
  font-size: var(--base);
  line-height: 1.4;
}

/*******************************************************************************************
/*******************************************************************************************
/*********************************** INTRO SECTION *****************************************
/*******************************************************************************************
/******************************************************************************************/


header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
}

main {
  position: relative;
  z-index: 100;
  background-color: var(--color-light);
  /* margin-bottom: var(--footer-height); */
}

.title,
.subtitle {
  font-weight: 700;
  color: var(--color-primary);
}

.title {
  font-size: var(--title-l);
  font-family: var(--font-title);
}

.subtitle {
  font-size: calc(var(--title-l) / 2);
}


li {
  margin-top: 5px;
}

button {}

/* STRUCTURE */
.container {}

.container--text {
  color: var(--color-primary);
}

.row {
  display: flex;
  position: relative;
}

.row--box {
  max-width: 80%;
  margin: auto;
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__text,
.row--full .text__content {
  max-width: 80%;
  margin: auto;
}

.faq__text,
.container--faq .row--full .text__content {
  max-width: 65%;
}

.faq__text,
.text__content {
  text-align: center;
  padding: 2rem;
  gap: calc(var(--gap-xs) * 2);
}

.container--faq .text__content {
  text-align: left;
}

/* Layout colonnes */
.col--2 {
  display: flex;
  align-items: center;
}

.row--full.col--2 {
  width: 100%;
  padding-left: 10%;
  padding-right: 10%;
}

.row--full.col--2 .text__content {
  max-width: none;
}

.col--2 .text__video,
.col--2 .text__content,
.col--2 .text__img {
  flex: 1 1 0;
  min-width: 0;
}

.col--2 .text__content {
  text-align: left;
  align-items: flex-start;
}

.col--2 .text__video,
.text__img {
  padding: 2rem;
}

.text__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.col--2 .text__video video {
  border-radius: var(--radius);
}

.btn {
  background-color: var(--color-secondary);
  color: var(--color-light);
  padding: var(--pad-base);
  border-radius: var(--radius-btn);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: calc(var(--base) + 2px);
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 10px;
  border: 2px solid transparent;
}

.btn::after {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background-color: currentColor;
  mask-image: url('../img/circle-chevron-right.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url('../img/circle-chevron-right.svg');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  transition: transform 0.3s ease;
}

.btn:hover::after {
  transform: translateX(3px);
}

.header__cta__btn .btn::after {
  mask-image: url('../img/shield-check.svg');
  -webkit-mask-image: url('../img/shield-check.svg');
}

.header__cta__btn .btn:hover::after {
  transform: scale(1.1);
}

.btn--top {
  margin-top: calc(var(--gap-xs) * 2);
}

.btn--inverted {
  background-color: transparent;
  color: var(--color-secondary);
  padding: 0 10px;
  margin-top: 0;
  position: relative;
  z-index: 1;
  font-size: inherit;
}

.btn--inverted::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-light);
  border-radius: var(--radius-btn);
  z-index: -1;
  transform: skewY(-3deg);
}

.intro__line-2 .btn--inverted::before {
  transform: skewY(3deg);
}

.btn--inverted::after {
  display: none;
}

.btn--xs {
  font-size: calc(var(--base) - 2px);
}

.btn:hover {
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--color-light);
}

.btn--xs:hover {
  color: var(--color-primary);
}

body .btn--inverted:hover {
  border-color: transparent;
  box-shadow: none;
}

body .btn--inverted:hover::after {
  transform: none;
}

/* COLORS */
.primary {
  color: var(--color-primary);
}

.secondary {
  color: var(--color-secondary);
}

.light {
  color: var(--color-light);
}

.dark {
  color: var(--color-dark);
}

.bg--primary {
  background-color: var(--color-primary);
  color: var(--color-light);
}

.bg--primary .faq__question-text span,
.bg--primary .title,
.bg--photo .title,
.bg--photo .subtitle,
.bg--primary .subtitle {
  color: var(--color-light);
}

.bg--secondary {
  background-color: var(--color-secondary);
}

.bg--lite {
  background-color: var(--color-light);
}

.bg--dark {
  background-color: var(--color-dark);
}

.bg--grey {
  background-color: var(--color-grey);
}

.bg--back {
  background-color: var(--color-back);
}

.bg--photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-light);
}

.row--box .bg--photo {
  border-radius: var(--radius);
  overflow: hidden;
}

.bg--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #1D1F54;
  opacity: 0.7;
  z-index: 0;
}

.bg--photo>* {
  position: relative;
  z-index: 1;
}

/* LENIS */
html.lenis,
html.lenis body {
  height: auto
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain
}

.lenis.lenis-smooth iframe {
  pointer-events: none
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete
}

/* ACCORDION */
.accordion {
  cursor: pointer;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active:before {
  transform: rotate(90deg);
}

.panel {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  margin-bottom: 2rem;
}

/* GF AJAX SPINNER */
body img.gform_ajax_spinner {
  width: initial;
}

/* GF CHECKBOX */
.gfield_consent_label {
  cursor: pointer;
  position: relative;
}

.gform_legacy_markup_wrapper .gfield_checkbox li input[type="checkbox"],
.ginput_container_consent input[type="checkbox"] {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  cursor: pointer;
  opacity: 0;
  position: absolute;
}

.ginput_container_checkbox label::before,
.gfield_consent_label::before {
  background-color: var(--color-light);
  content: "";
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05),
    inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
  padding: 8px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
  border: 0.5px solid #2768AD33;
  border-radius: 6px;
}

.ginput_container_checkbox label::before,
.ginput_container_checkbox label::before {
  display: none;
}

.gform_legacy_markup_wrapper .gfield_checkbox li input[type="checkbox"]:checked+label::after,
.ginput_container_consent input[type="checkbox"]:checked+.gfield_consent_label::after {
  color: var(--color-secondary);
  content: "\2713";
  display: block;
  position: absolute;
  font-weight: 700;
  font-size: 20px;
  color: var(--color-secondary);
  left: 1px;
  width: 16px;
  height: 17px;
}

.gform_legacy_markup_wrapper .gfield_checkbox li input[type="checkbox"]:checked+label::after {
  top: -3px;
}

.ginput_container_consent input[type="checkbox"]:checked+.gfield_consent_label::after {
  top: 0px;
}

input,
textarea,
select {
  background-color: #F6F6F6;
  border-radius: var(--radius);
  border: 1px solid #efefef;
}

.gfield_consent_label,
body .gform_wrapper.gravity-theme .gfield_label {
  color: rgba(0, 0, 0, .5);
  font-size: calc(var(--base) - 2px);
  font-weight: 400;
}

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1rem;
  background: var(--color-secondary);
  color: var(--color-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease-in-out;
  z-index: 100;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.05);
  background: linear-gradient(135deg, var(--color-light) 0%, #f8f9fa 100%);
  color: var(--color-secondary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover svg path {
  fill: currentColor;
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--btn {
  opacity: 0;
  transition: opacity 0.7s ease-out;
  transition-delay: .8s;
}

.reveal--btn.is-visible {
  opacity: 1;
}

/* PROGRESS BAR */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.progress-bar-fill {
  height: 100%;
  width: 100%;
  /* background: linear-gradient(90deg, #667eea 0%, #764ba2 100%); */
  background: linear-gradient(90deg, #45bdcf 0%, #2a8ba3 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.1s ease-out;
}

/******************************
******** MEDIA QUERIES ********
******************************/
@media screen and (min-width: 480px) {}

@media screen and (min-width: 600px) {}

@media screen and (max-width: 767px) {

  .container--news .text__content,
  .row--box {
    max-width: 90%;
  }

  .row--full.col--2 {
    padding-left: 5%;
    padding-right: 5%;
  }

  body .container--news .text__content {
    width: 90%;
    padding: 2rem 0;
  }

  .row--full .text__content {

    max-width: 90%;
  }

  .text__content {
    padding: 2rem 0;
  }
}

@media screen and (min-width: 768px) {}

@media screen and (max-width: 991px) {}

@media screen and (min-width: 992px) {}

@media screen and (max-width: 1023px) {
  .col--2 {
    flex-direction: column;
  }
}

@media screen and (min-width: 1024px) {}

@media screen and (min-width: 1280px) {}