/*Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/* Sticky footer (Hello Elementor + Elementor Theme Builder) */
html,
body {
  height: 100%;
}

html {
  scroll-padding-top: 150px;
}

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

/* Contenu principal prend l'espace restant */
#content {
  flex: 1 0 auto;
}

/* Footer reste en bas */
footer,
.site-footer {
  margin-top: auto;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  text-rendering: optimizeLegibility !important;
}

.elementor-widget-text-editor ul {
  padding-left: 25px;
  list-style-type: square;
}
.elementor-widget-text-editor ul li {
  padding-left: 5px;
}

/* Header */
.logo-sticky {
  transition: opacity 250ms ease-in-out;
  opacity: 0;
}

.logo-defaut {
  transition: all 250ms ease-in-out;
}

.scrolled .logo-defaut {
  transform: translateY(-100%);
  transition: all 250ms ease-in-out;
}

.scrolled .logo-sticky {
  transition-delay: 250s;
  transition: opacity 250ms ease-in-out;
  opacity: 1 !important;
}

@media screen and (min-with: 1024px) {
  .menuHeader::after {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
    content: url("images/menu/plus-blanc.svg") url("images/menu/moins-cuivre.svg") url("images/menu/plus-cuivre.svg");
  }
  .menuHeader .menu-item-has-children > a {
    padding: 0px 26px 6px 20px;
    position: relative;
  }
  .menuHeader .menu-item-has-children > a:after {
    content: "";
    display: inline-block;
    position: relative;
    width: 14px;
    height: 14px;
    top: 2px;
    margin-left: 6px;
    background-image: url("images/menu/plus-blanc.svg");
    background-position: center center;
    background-size: 100% auto;
    background-repeat: no-repeat;
  }
  .menuHeader .menu-item-has-children > a.ep-menu-nav-link[aria-expanded=true]:after {
    background-image: url("images/menu/moins-cuivre.svg");
  }
  .menuHeader.groupe .menu-item-has-children > a:after {
    background-image: url("images/menu/plus-bleu.svg");
  }
}
/* patch svg Elementor */
.elementor-widget-image a img[src$=".svg"] {
  width: auto !important;
}

/* menu */
.ep-megamenu.ep-megamenu-horizontal li .ep-menu-nav-link[aria-expanded=true] {
  color: #A6631B !important;
}

.ep-megamenu .ep-default-submenu-panel li a {
  padding: 8px 20px 10px;
  border-radius: 10px;
}

.ep-megamenu .ep-default-submenu-panel li a span {
  display: block;
  font-family: "SFTSchriftedSerifDisplay";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

@media screen and (max-width: 1024px) {
  .menuHeaderMobile .ep-megamenu .ep-megamenu-offcanvas .ep-megamenu-panel,
  .menuHeaderMobile .ep-megamenu .ep-megamenu-offcanvas .ep-default-submenu-panel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: static !important;
    transform: none !important;
  }
  .menuHeaderMobile .bdt-offcanvas .bdt-offcanvas-bar li .ep-menu-nav-link {
    font-weight: 700 !important;
  }
  .menuHeaderMobile .ep-offcanvas-nav .bdt-parent {
    overflow: visible !important;
  }
}
/* Page residence*/
.titreResidence span {
  display: block;
  font-family: "Instrument Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 44px;
}
@media screen and (max-width: 1024px) {
  .titreResidence span {
    font-size: 0.5em;
    line-height: 0.8em;
  }
}

/* footer */
@keyframes anim_lien {
  0% {
    right: 0%;
  }
  50% {
    right: 100%;
  }
  100% {
    right: 0%;
  }
}
.hoverLink a {
  position: relative;
}
.hoverLink a a {
  position: relative;
}
.hoverLink a a:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 2px;
  background-color: #A6631B;
}
.hoverLink a a:hover:after {
  animation-name: anim_lien;
  animation-duration: 450ms;
  animation-timing-function: ease-in;
  animation-fill-mode: forw ards;
}
.hoverLink a:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 2px;
  background-color: #A6631B;
}
.hoverLink a:hover:after {
  animation-name: anim_lien;
  animation-duration: 450ms;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
}

.elementor-widget-text-editor a:not(.footerLink, .baseLink) {
  display: inline-block;
  position: relative;
  font-weight: 600;
  padding-bottom: 6px;
}
.elementor-widget-text-editor a:not(.footerLink, .baseLink):after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 2px;
  background-color: #A6631B;
}
.elementor-widget-text-editor a:not(.footerLink, .baseLink):hover:after {
  animation-name: anim_lien;
  animation-duration: 450ms;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
}

.footerLink,
.baseLink {
  font-size: inherit !important;
  font-weight: inherit !important;
}

/* Style formulaire Gravity form */
.gform-theme--framework {
  /*.gfield_description:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {

    color: #fff !important;
    background-color: #DC4437;
    padding: 2px 5px;
    display: inline-block !important;

  }*/
}
.gform-theme--framework .gform_validation_errors {
  background-color: #DC4437 !important;
  border: 0px !important;
}
.gform-theme--framework .gform_validation_errors:focus {
  outline: none !important;
  outline-offset: 0px !important;
}
.gform-theme--framework .gform_validation_errors .gform-icon,
.gform-theme--framework .gform_validation_errors .gform_submission_error {
  color: #fff !important;
}
.gform-theme--framework .gform_validation_errors .gform-icon {
  border-color: #fff !important;
}
.gform-theme--framework input[type=text],
.gform-theme--framework input[type=password],
.gform-theme--framework input[type=date],
.gform-theme--framework input[type=datetime],
.gform-theme--framework input[type=datetime-local],
.gform-theme--framework input[type=month],
.gform-theme--framework input[type=week],
.gform-theme--framework input[type=email],
.gform-theme--framework input[type=number],
.gform-theme--framework input[type=search],
.gform-theme--framework input[type=tel],
.gform-theme--framework input[type=time],
.gform-theme--framework input[type=url],
.gform-theme--framework textarea,
.gform-theme--framework select {
  color: #fff !important;
  -webkit-appearance: none !important;
     -moz-appearance: none !important;
          appearance: none !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: normal !important;
  background-color: #001489 !important;
  border-top: 0px !important;
  border-left: 0px !important;
  border-right: 0px !important;
  border-bottom: 1px solid #fff !important;
  border-radius: 0px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  box-shadow: none !important;
}
.gform-theme--framework .gfield--type-choice .gchoice,
.gform-theme--framework .gfield--type-choice .ginput_container_consent {
  align-items: center;
}
.gform-theme--framework select {
  padding-top: 10px !important;
  padding-bottom: 5px !important;
}
.gform-theme--framework .gform-field-label {
  color: #fff !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  line-height: 100% !important;
  letter-spacing: 0% !important;
  margin-bottom: 0px !important;
  opacity: 0.5;
}
.gform-theme--framework .gfield_required {
  color: #fff !important;
  font-weight: 500 !important;
}
.gform-theme--framework .gform_fields {
  row-gap: 30px;
}
.gform-theme--framework .gform_footer input[type=submit],
.gform-theme--framework .gform_footer .gform_button {
  border-radius: 25px !important;
  background: #A6631B !important;
  color: #F2EBE0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 22px !important;
}
.gform-theme--framework .gform_footer input[type=submit]:hover,
.gform-theme--framework .gform_footer .gform_button:hover {
  color: #A6631B !important;
  background: #F2EBE0 !important;
}
.gform-theme--framework .gform_footer input[type=submit]:focus,
.gform-theme--framework .gform_footer .gform_button:focus {
  outline-width: 0px !important;
  outline-color: transparent;
  outline-offset: 0px !important;
  outline-style: none !important;
}
.gform-theme--framework .gfield_select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.292893 0.292893C0.683417 -0.097631 1.31658 -0.097631 1.70711 0.292893L5 3.58579L8.29289 0.292893C8.68342 -0.0976311 9.31658 -0.0976311 9.70711 0.292893C10.0976 0.683417 10.0976 1.31658 9.70711 1.70711L5.70711 5.70711C5.31658 6.09763 4.68342 6.09763 4.29289 5.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683418 0.292893 0.292893Z' fill='%23FFFFFF'/%3E%3C/svg%3E") !important;
}
.gform-theme--framework .gform_required_legend {
  display: none !important;
}
.gform-theme--framework .gform_confirmation_message {
  color: #ffffff !important;
}
.gform-theme--framework .frm_bleu .gform_fileupload_multifile {
  background-color: transparent !important;
}
.gform-theme--framework .frm_bleu .gfield:where(.gfield--type-fileupload, .gfield--input-type-fileupload, .gfield--type-post_image) .gform_drop_area::before,
.gform-theme--framework .frm_bleu .gform-theme--framework .gfield:where(.gfield--type-fileupload, .gfield--input-type-fileupload, .gfield--type-post_image) .gform_drop_instructions {
  color: #122840 !important;
}
.gform-theme--framework .frm_bleu .gform_button_select_files {
  background-color: #122840 !important;
}
.gform-theme--framework .frm_bleu .h6_display {
  color: #122840;
  font-family: "Instrument Sans";
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px;
}
.gform-theme--framework .frm_bleu input[type=text],
.gform-theme--framework .frm_bleu input[type=password],
.gform-theme--framework .frm_bleu input[type=date],
.gform-theme--framework .frm_bleu input[type=datetime],
.gform-theme--framework .frm_bleu input[type=datetime-local],
.gform-theme--framework .frm_bleu input[type=month],
.gform-theme--framework .frm_bleu input[type=week],
.gform-theme--framework .frm_bleu input[type=email],
.gform-theme--framework .frm_bleu input[type=number],
.gform-theme--framework .frm_bleu input[type=search],
.gform-theme--framework .frm_bleu input[type=tel],
.gform-theme--framework .frm_bleu input[type=time],
.gform-theme--framework .frm_bleu input[type=url],
.gform-theme--framework .frm_bleu textarea,
.gform-theme--framework .frm_bleu select {
  color: #122840 !important;
  border-bottom: 1px solid #122840 !important;
  background-color: transparent !important;
}
.gform-theme--framework .frm_bleu .gfield--type-fileupload .gform-field-label,
.gform-theme--framework .frm_bleu .gfield--input-type-textarea .gform-field-label,
.gform-theme--framework .frm_bleu .gfield--type-checkbox legend.gform-field-label {
  color: var(--LR-Bleu_Fonce, #122840);
  font-size: 22px !important;
  font-style: normal;
  font-weight: 500 !important;
  line-height: 26px !important;
  color: #122840 !important;
  margin-bottom: 20px !important;
  opacity: 1 !important;
}
.gform-theme--framework .frm_bleu .gfield--type-checkbox .gchoice .gform-field-label {
  opacity: 1 !important;
}
.gform-theme--framework .frm_bleu .gform-field-label {
  color: #122840 !important;
}
.gform-theme--framework .frm_bleu .gform_confirmation_message {
  color: #122840 !important;
}
.gform-theme--framework .frm_bleu .gform-field-label .gfield_required {
  color: #122840 !important;
}
.gform-theme--framework .frm_bleu .gform_fields {
  row-gap: 30px;
}
.gform-theme--framework .frm_bleu .gform_page_footer {
  justify-content: end !important;
}
.gform-theme--framework .frm_bleu .gform_footer input[type=submit] {
  border-radius: 25px !important;
  background: #A6631B !important;
  color: #F2EBE0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 22px !important;
}
.gform-theme--framework .frm_bleu .gform_footer input[type=submit]:hover {
  color: #A6631B !important;
  background: #F2EBE0 !important;
}
.gform-theme--framework .frm_bleu .gform_footer input[type=submit]:focus {
  outline-width: 0px !important;
  outline-color: transparent;
  outline-offset: 0px !important;
  outline-style: none !important;
}

.site-header.groupe .wpmlBtn .wpml-elementor-ls {
  border: 2px solid #122840;
  border-radius: 10px;
}

.site-header.groupe .wpmlBtn .wpml-ls-legacy-list-horizontal a {
  color: #122840 !important;
}

.wpmlBtn .wpml-elementor-ls {
  border: 2px solid #fff;
  border-radius: 10px;
}

.wpmlBtn .wpml-ls-legacy-list-horizontal {
  padding: 0px;
}

.wpmlBtn .wpml-ls-legacy-list-horizontal a {
  padding: 9px 8px 10px;
  font-size: 11px;
  line-height: 12px;
}

/* Filet de sécurité : si le scroll vers une ancre est déclenché nativement
   (hors JS custom), on garde quand même 150px de marge au-dessus de la cible. */
html {
  scroll-padding-top: 150px;
}
