/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: EcloLINK
 Author URI: https://eclolink.com
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */
/*some default rules for la cloche*/
@font-face {
  font-family: 'Amore Signature';
  src: url('./assets/font/Amore-Signature.ttf') format('truetype');
}

.wp-singular #main-content,
.error404 #main-content {
  background-color: transparent;
}

img {
  user-drag: none;
  -webkit-user-drag: none;
}
html {
  scroll-behavior: smooth;
}

:focus-visible {
  outline: 1px solid #d3a65d;
  outline-offset: 2px;
}

.section-flex {
  display: flex;
}
.section-flex-bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ligne-hrzntl-align {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.gap-20 {
  gap: 20px;
}
.ligne-vrtcl-align {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ligne-flex {
  display: flex;
}
.full-height-img,
.full-height-img .et_pb_image_wrap,
.full-height-img .et_pb_image_wrap img {
  height: 100%;
}
.full-height-img .et_pb_image_wrap img {
  object-fit: cover;
}

@media screen and (max-width: 980px) {
  .ligne-hrzntl-align,
  .ligne-flex {
    display: flex;
    flex-direction: column;
  }

  .ligne-hrzntl-align.reverse {
    flex-direction: column-reverse;

    .et_pb_column_1_2 {
      margin-bottom: 0px;
    }
    .et_pb_column_1_2.et-last-child {
      margin-bottom: 30px;
    }
  }
}
@media screen and (max-width: 760px) {
  .half-mobile {
    width: 50% !important;
    margin-right: 0 !important;
  }
}

.et_button_no_icon a.btn-la-cloche:before {
  content: '';
  display: block;
  width: 100%;
  left: 1em;
  height: 0;
  bottom: 0;
  position: absolute;
  background-color: #b28959;
  opacity: 1;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}
.et_button_no_icon a.btn-la-cloche.black:before {
  background-color: #1d1c21;
}

.et_button_no_icon a.btn-la-cloche:hover:before {
  height: 100%;
}

.et_button_no_icon a.btn-la-cloche:hover {
  color: #fff;
  border-color: #b28959 !important;
}

.h1,
.h2,
h1,
h2 {
  font-family: 'Amore Signature', sans-serif;
}
.h3,
.h4,
.h5,
.h6,
h3,
h4,
h5,
h6 {
  font-family: 'Jost', sans-serif;
  padding-bottom: 0;
}
.h1 {
  font-size: clamp(3.375rem, 1.8816rem + 7.9646vw, 15.625rem);
}

.h2,
.et_pb_column_1_3 .h2,
.et_pb_column_1_4 .h2,
.et_pb_column_1_5 .h2,
.et_pb_column_1_6 .h2,
.et_pb_column_2_5 .h2 {
  font-size: clamp(2.5rem, 1.5874rem + 4.8673vw, 9.375rem);
}
.h3,
.et_pb_column_1_3 .h3,
.et_pb_column_1_4 .h3,
.et_pb_column_1_5 .h3,
.et_pb_column_1_6 .h3,
.et_pb_column_2_5 .h3 {
  text-transform: uppercase;
  font-size: clamp(1.875rem, 1.6261rem + 1.3274vw, 3.75rem);
  font-weight: 300;
}
.h4,
.et_pb_column_1_3 .h4,
.et_pb_column_1_4 .h4,
.et_pb_column_1_5 .h4,
.et_pb_column_1_6 .h4,
.et_pb_column_2_5 .h4 {
  text-transform: uppercase;
  font-size: clamp(1.25rem, 0.9606rem + 1.1574vw, 2.8125rem);
  font-weight: 400;
}
.h5,
.et_pb_column_1_3 .h5,
.et_pb_column_1_4 .h5,
.et_pb_column_1_5 .h5,
.et_pb_column_1_6 .h5,
.et_pb_column_2_5 .h5 {
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.0625rem, 0.5889rem + 0.6944vw, 2rem);
}
.h6,
.et_pb_column_1_3 .h6,
.et_pb_column_1_4 .h6,
.et_pb_column_1_5 .h6,
.et_pb_column_1_6 .h6,
.et_pb_column_2_5 .h6 {
  font-size: clamp(0.9375rem, 0.8493rem + 0.353vw, 1.414rem);
}

.pb-10 {
  padding-bottom: 10px !important;
}

.h1-subtext {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(2rem, 0.3235rem + 2.7059vw, 5.653rem);
  padding-left: 10%;
}
.h1-subtext-no-home {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  text-transform: uppercase;
  font-size: clamp(2rem, 0.3235rem + 2.7059vw, 5.653rem);
}

.subline.blue:after {
  content: '';
  display: block;
  background-image: url(/wp-content/uploads/subline-blue.svg);
  width: 100%;
  height: 36px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-top: 10px;
}
.subline.blue.left:after {
  background-position: left;
  max-width: 200px;
}

@media screen and (max-width: 760px) {
  .h1-subtext {
    padding-left: 0;
  }

  a.btn-la-cloche.bg-mb-white {
    background-color: #fff;
  }

  body a.btn-la-cloche {
    font-size: 16px;
  }

  .bg-mb-white .et_pb_image_wrap {
    background-color: #fff;
  }
}

/*deco parallax*/
.deco-parallax-wrapper {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
.deco-parallax-wrapper .et_pb_column {
  height: 100%;
  width: 100%;
}
.deco-parallax {
  width: fit-content;
  position: absolute;
}
.deco-parallax.top {
  top: 0;
}
.deco-parallax.middle {
  top: 50%;
  transform: translateY(-50%);
}
.deco-parallax.right {
  right: 0;
}
.deco-parallax.bottom {
  bottom: 0;
}
.deco-parallax.left {
  left: 0;
}

.deco-parallax.faq-deco {
  max-width: 15vw;
}

/*gestion des changement de couleur au scroll */
body #page-container .section.bg-black.inverted-color {
  transition: color 0.8s ease-in-out;
  .h2,
  .h3,
  .h4,
  .h5,
  .h6,
  p {
    color: #000 !important;
  }
  a.btn-la-cloche {
    color: #000 !important;
    border-color: #000 !important;
  }
}
body #page-container .section.bg-white.inverted-color {
  transition: color 0.8s ease-in-out;
  .h2.h3,
  .h4,
  .h5,
  .h6,
  p {
    color: #fff !important;
  }
  a.btn-la-cloche {
    color: #fff !important;
    border-color: #fff !important;
  }
}
/*effet de decalage au scroll sur les titres*/
.title-onscroll {
  width: fit-content;
  text-wrap-mode: nowrap;
}

/*bloc avec cercle animé au hover*/
.circle-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.animation-circle-item {
  position: absolute;
  height: 160%;
  overflow: visible;
}

.animation-circle-item {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  transition: 0.8s ease-in-out;
}

.circle-animation:hover .animation-circle-item {
  stroke-dashoffset: 0;
}

/*bloc agenda*/
.actu-container {
  display: flex;
  justify-content: center;
  gap: 2%;
  flex-wrap: wrap;
}
a.actu-item {
  width: 32%;
  background-color: #f5f5f5;

  .image-wrapper {
    display: flex;
  }

  img.actu-image {
    height: 25vh;
    max-height: 280px;
    width: 100%;
    object-fit: cover;
  }
  .actu-textes {
    padding: 7%;
  }
  .actu-category {
    font-size: 16px;
    text-transform: uppercase;
  }
  .actu-title {
    padding: 10px 0;
  }
  .actu-title .h5 {
    color: #000;
    font-weight: 800;
  }
  .actu-excerpt {
    color: #000;
  }
  .actu-more {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0 0 0;
  }
  .actu-more svg path {
    fill: transparent;
    transition: all 0.4s ease-in-out;
  }
}
a.actu-item:hover {
  .actu-more svg path {
    stroke: #f5f5f5;
    fill: #b28959;
  }
}

.btn-la-cloche.agenda {
  position: relative;
  padding: 0.8em 1.5em;
  display: flex;
  width: fit-content;
  border: 1px solid #b28959;
  text-transform: uppercase;
  font-size: 18px;
  margin: 20px auto auto;
}
.et_button_no_icon a.btn-la-cloche.agenda:before {
  left: 0;
}

@media screen and (max-width: 760px) {
  .actu-container {
    gap: 20px;
  }
  .actu-container a.actu-item {
    width: 48%;
  }
}

@media screen and (max-width: 630px) {
  .actu-container {
    gap: 20px;
  }
  .actu-container a.actu-item {
    width: 100%;
  }
}

/*histoire*/
#timeline-histoire
  .dsm-content-timeline-items-wrapper.dsm-center
  .dsm-content-timeline-tree {
  top: -100px;
}
#timeline-histoire
  .dsm-content-timeline-items-wrapper.dsm-center
  .dsm-content-timeline-item-wrapper:nth-child(2n)
  .dsm-content-timeline-content-wrapper {
  position: relative;
  left: 0;
  top: 0;
  .dsm-image-wrapper,
  .dsm-icon-wrapper,
  .dsm-title,
  .dsm-description p,
  .et_pb_button_wrapper,
  .dsm-content-timeline-date.dsm-mobile .date,
  .dsm-description {
    text-align: right !important;
  }

  .dsm-description .h4 {
    color: #000;
    font-size: 35px;
    margin-bottom: 20px;
  }

  .dsm-title {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .dsm-title:after {
    content: '';
    display: block;
    background-image: url(/wp-content/uploads/subline-blue.svg);
    width: 100%;
    height: 36px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-top: 10px;
  }
  .dsm-title:after {
    background-position: left;
    max-width: 200px;
  }
}
#timeline-histoire
  .dsm-content-timeline-items-wrapper.dsm-center
  .dsm-content-timeline-item-wrapper:nth-child(2n + 1)
  .dsm-content-timeline-content-wrapper {
  position: relative;
  left: 55%;
  top: 0;

  .dsm-description .h4 {
    color: #000;
    font-size: 35px;
    margin-bottom: 20px;
  }
  .dsm-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .dsm-title:after {
    content: '';
    display: block;
    background-image: url(/wp-content/uploads/subline-blue-2.svg);
    width: 100%;
    height: 36px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-top: 10px;
  }
  .dsm-title:after {
    background-position: left;
    max-width: 200px;
  }
}

@media screen and (max-width: 960px) {
  #timeline-histoire
    .dsm_content_timeline_0
    .dsm-content-timeline-content-wrapper {
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
  }
  #timeline-histoire
    .dsm-content-timeline-items-wrapper.dsm-center
    .dsm-content-timeline-item-wrapper:nth-child(2n + 1)
    .dsm-content-timeline-content-wrapper {
    left: 0;
  }

  #timeline-histoire
    .dsm-content-timeline-items-wrapper.dsm-center
    .dsm-content-timeline-item-wrapper:nth-child(2n)
    .dsm-content-timeline-content-wrapper {
    position: relative;
    left: 0;
    top: 0;
    .dsm-image-wrapper,
    .dsm-icon-wrapper,
    .dsm-title,
    .dsm-description p,
    .et_pb_button_wrapper,
    .dsm-content-timeline-date.dsm-mobile .date,
    .dsm-description {
      text-align: left !important;
    }

    .dsm-title {
      align-items: flex-start;
    }
  }
}

@media screen and (max-width: 767px) {
  #timeline-histoire.dsm_content_timeline_0
    .dsm-center
    .dsm-content-timeline-item-wrapper
    .dsm-content-timeline-content-wrapper {
    margin-left: 20px !important;
  }
}

/*activités touristiques*/
.swiper-tourisme {
  width: 30%;
  position: relative;
  overflow: hidden;

  .swiper-button-next,
  .swiper-button-prev {
    background-color: #0252c6;
    background-image: none;
    width: 30px;
    height: 30px;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 25px;
    text-shadow: 0 0;
    font-family: ETmodules !important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    margin: 0 auto;
    color: white;
  }

  .swiper-button-next:after {
    content: '5';
  }
  .swiper-button-prev:after {
    content: '4';
  }
  .swiper-button-next {
    right: 0;
  }
  .swiper-button-prev {
    left: 0;
  }
}

.tourisme-text {
  width: 70%;
}

@media screen and (max-width: 980px) {
  .swiper-tourisme {
    width: 100%;
    max-width: 400px;
  }
  .tourisme-text {
    width: 100%;
  }
}

/*tooltip*/
.tooltip-trigger {
  margin: auto;
  width: fit-content;
  display: block;
}
.tooltip-info {
  display: none;
  position: absolute;
  transform: translateX(-50%);
  padding: 4px 10px;
  left: 50%;
  width: 100%;
  border: 1px solid #b28959;
  border-radius: 4px;
  color: white;
}
.tooltip-info.tooltip-show {
  display: block;
}

/*page grand hotel*/
.lien-grand-hotel svg {
  margin: auto;
  display: block;
}

.lien-grand-hotel .et_pb_column_1_3 {
  .more path {
    transition: all 0.4s ease-in-out;
    fill: transparent;
  }
}
.lien-grand-hotel .et_pb_column_1_3:hover {
  .more path {
    stroke: #f5f5f5;
    fill: #b28959;
  }
}
/*FAQ*/
.faq {
  border-image-slice: 1;
  border-width: 1px;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 1px solid;
  border-image-source: linear-gradient(to right, #d3a65d00, #d3a65d, #d3a65d00);
}

.faq .et_pb_toggle_title:before {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
}
.faq .et_pb_toggle_title:after {
  font-size: 25px;
  right: -10px;
  color: #d3a65d;
  font-family: ETmodules !important;
  font-weight: 400 !important;
  content: '' !important;
  border: 1px solid #d3a65d;
  position: absolute;
  width: 35px;
  height: 35px;
  transform: rotate(45deg) translate(-50%, -50%);
  top: calc(50% + 8px);
}

.rs-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  a {
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: #b28959;
  }
}

/*formulaire de contact*/
#form-la-cloche {
  .half-input-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
    label {
      width: 50%;
      display: flex;
      flex-direction: column;
      input {
        width: 100%;
        border: none;
        border-bottom: 1px solid #b28959;
        border-radius: 2px;
        background: transparent;
        padding: 10px;
      }
    }
  }
  .full-input-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 20px;

    label {
      width: 100%;
      display: flex;
      flex-direction: column;
      input,
      textarea {
        width: 100%;
        border: none;
        border-bottom: 1px solid #b28959;
        border-radius: 2px;
        background: transparent;
        padding: 10px;
      }
    }
  }
  .wpcf7-list-item {
    margin: 0;
  }
  input,
  textarea {
    font-size: 16px;
  }
  input::placeholder,
  textarea::placeholder {
    color: #bcc3c8;
  }
  .supp-text {
    color: #9fabb4;
    margin-bottom: 20px;
    margin-left: 24px;
  }
  .sumbit-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 980px) {
  #form-la-cloche .half-input-container {
    flex-direction: column;
    label {
      width: 100%;
    }
  }
}

/*articles single*/
#content-article .et_pb_section {
  background: transparent;
}

.infos-supp-actus {
  color: white;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/*Presse*/

@media screen and (max-width: 1380px) {
  body
    #page-container
    .et_pb_section
    .dsm_button_0
    .et_pb_button_two.et_pb_button.btn-la-cloche {
    margin-left: 0 !important;
    margin-top: 20px;
  }
}

/*bpns cadeaux*/
.boncadeau-frame iframe {
  width: 100%;
  min-height: 100vh;
}

.reservation-cta-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 50%;
  gap: 1.5rem;
  margin: auto;
  @media screen and (max-width: 960px) {
    width: 90%;
    align-items: center;
    text-align: center;
    margin-top: 30px;
    display: none;
  }
}

.btn-la-cloche-2 {
  padding: 0.3em 1em !important;
  display: flex;
  width: fit-content;
  border: 1px solid #fbfbfb;
  font-size: 18px;
  position: relative;
  color: #fbfbfb;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;

  &:hover {
    background: #b28959;
    border: 1px solid #b28959;
  }
}

.header-mobile {
  position: relative;

  &::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10%;
    background: linear-gradient(to top, #1d1c21, transparent);
    pointer-events: none;
    z-index: 1;
  }

  @media screen and (max-width: 961px) {
    display: flex !important;
    flex-direction: column !important;
  }
}
