/*
Theme Name: Hellotherm
Author: Dominique
Version: 1.0
*/

@font-face {
  font-family: "SF Pro Display";
  src: url("./assets/fonts/sf-pro/SFProDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("./assets/fonts/sf-pro/SFProDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("./assets/fonts/sf-pro/SFProDisplay-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("./assets/fonts/sf-pro/SFProDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
html {
  margin-top: 0 !important;
}

body {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif !important;
  font-weight: 400;
  margin: 0;
  color: #1d2c48;
}

body:not(.elementor-page) main {
  max-width: 1400px;
  margin: 60px auto;
}

body.home main{
  /* margin-top: -75px; */
  margin-top: 0;
}
@media (max-width: 768px) {
  body:not(.elementor-page) main {
    margin: 60px 30px;
  }

  body.home main{
    margin-top: -30px;
  }
}

body.elementor-page h1.titre-page {
  display: none;
}

body main {
  margin-top: 60px;
}

.menu-blanc {
  background-color: black;
  color: #FFFFFF;
}

.menu-noir {
  background-color: white;
  color: #1d2c48;
}

.menu-noir a {
  color: 1d2c48;
}

.menu-blan#c a {
  color: #1d2c48;
}

.ombre {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.menu-principal {
  display: flex;
  gap: 20px;
  padding: 1rem;
  list-style: none;
  justify-content: center;
}

/* Général */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  padding: 0 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 75px;
  transition: background 0.3s ease;
}

.site-header.menu-blanc .container {
  /* margin-top: 70px; */
  max-width: 100%;
  margin-left: 33px;
  margin-right: 13px;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
}

.logo img {
  height: 26px;
}

/* Menu */
.main-nav {
  flex: 1;
  text-align: center;
}

.menu-principal ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}
.menu-principal li {
  position: relative;
}

.menu-principal li a {
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

.menu-principal li.current_page_item a {
  color: #ee7869;
}
/* Numéro de téléphone */
.phone {
  background-color: #fef8f6;
  border-radius: 10px 10px 10px 0;
  padding: 14px 10px;
  display: flex;
}
.phone a {
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}
.phone .icon {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("./assets/icons/icon_phone.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
  margin-top: 5px;
  vertical-align: middle;
}

.phone span {
  font-weight: 500;
  font-size: 8px;
  display: block;
}

/* Thèmes de couleur */
.menu-blanc {
  background-color: transparent;
  color: #1d2c48;
}

.menu-blanc .menu-principal li a{
  color: white;
  padding: 20px 0;
}


.menu-blanc .phone a{
  color: #1d2c48;
}

.menu-noir {
  background-color: white;
  color: #1d2c48;
}

.menu-noir .menu-principal li a,
.menu-noir .phone a {
  color: #1d2c48;
}

.menu-noir .menu-principal li a:hover {
  color: #ee7869;
}

.menu-noir .menu-principal li.current_page_item a,
.menu-noir .menu-principal li.current-menu-ancestor > a {
  color: #ee7869;
}

/* Ombre */
.ombre {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

/* Burger menu (mobile) */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.burger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 2px;
}

.main-nav .close-menu {
  display: none;
}

.menu-principal li ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  list-style: none;
  padding: 20px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  min-width: 270px;
  z-index: 1000;
  border-radius: 10px;
  /* margin-top: 5px; */
}

.menu-principal li:hover > ul.sub-menu {
  display: block;
}

.menu-principal li ul.sub-menu li {
  padding: 5px 30px;
  text-align: left;
  font-size: 16px;
}

.menu-principal li ul.sub-menu li a {
  color: #1d2c48;
  text-decoration: none;
}

.menu-principal li ul.sub-menu li a:hover {
  color: #ee7869;
}

.menu-principal li.menu-item-has-children {
  padding-right: 18px;
}
.menu-principal li.menu-item-has-children > a::after {
  /* content: ' ▼';
  font-size: 0.7em; */

   content: "";
  display: inline-block;
  width: 12px;
  height: 8px;
  margin-left: 5px;
  vertical-align: middle;
  background-image: url("./assets/icons/arrow-down-orange.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform .3s ease;
  position: absolute;
  right: 0;
  top: 7px; 
}

@media (max-width: 768px) {
  .my-d-none{
    display: none;
  }
  .burger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 30px;
    justify-content: center;
    position: absolute;
    left: 15px;
    top: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
  }

  .burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background: #1d2c48;
    border-radius: 2px;
  }

  .logo {
    margin: 0 auto;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 50px;
    left: 20px;
    right: 20px;
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    flex-direction: column;
    z-index: 1101;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav .close-menu {
    align-self: flex-end;
    background: none;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    margin-bottom: 1rem;
    color: #000;
    background-color: #efefef;
    border-radius: 50%;
    padding: 8px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    font-size: 25px;
    cursor: pointer;
    font-weight: 400;
    position: absolute;
    top: 10px;
    right: 13px;
  }

  .menu-principal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .menu-principal ul {
    flex-direction: column;
  }

  .menu-principal li {
    text-align: left;
  }

  .menu-principal li a {
    text-decoration: none;
    font-size: 18px;
    color: black;
  }

  .menu-principal li a:hover {
    color: #555;
  }

  .phone {
    display: none;
  }

  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  .mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  .menu-principal li ul.sub-menu {
    display: block;
    box-shadow: none;
    position: relative;
  }
  .menu-principal li.menu-item-has-children > a::after {
    display: none;
  }
}

/********************************** FOOTER  ****************************************/
/* .site-footer {
  padding: 40px 20px;
} */
.footer-faq {
  margin: 0 30px;
}

.footer-faq-title {
  font-size: 46px;
  text-align: center;
  margin-bottom: 32px;
  line-height: 50px;
  color: #1d2c48;
}

.footer-faq-title span {
  color: #ee7869;
}

.faq {
  max-width: 1000px;
  margin: 60px auto;
}

.faq-item {
  border: 1px solid #ddd;
  padding: 26px 32px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

.faq-question {
  background: none;
  border: none;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  width: 100%;
  text-align: left;
  cursor: pointer;
  position: relative;
  color: #1d2c48;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif !important;
}

.faq-question::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-image: url("./assets/icons/icon_right.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .footer-faq-title {
    font-size: 38px;
  }

  .faq-item {
    border: 1px solid #ddd;
    padding: 26px 32px 26px 20px;
  }

  .faq-question::after {
    right: -25px;
  }
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 15px;
  color: #1d2c48;
}

.faq-answer ul {
  list-style: none;
  padding-left: 1em;
}

.faq-answer ul li::before {
  content: "-";
  margin-right: 0.5em;
  color: inherit; /* ou une autre couleur si tu veux */
}


.faq-item.open .faq-answer {
  max-height: 200px;
}
.faq-item.open .faq-question::after {
  transform: translateY(-50%) rotate(90deg);
}

.footer-bottom {
  background-color: #1d2c48;
  color: white;
  padding: 60px 30px 30px;
  margin-top: 100px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
  justify-content: space-between;
}

.footer-left {
  flex: 4;
}

.footer-logo {
  margin: 0 0 12px 0;
  width: 280px;
  
}

.footer-question {
  font-size: 26px;
  margin: 40px 0 60px 0;
  font-weight: 600;
}

.footer-phone {
  display: flex;
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  color: #1d2c48;
  width: fit-content;
    padding-bottom: 25px;
}

.footer-phone .icon-phone {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  background-image: url("./assets/icons/icon_phone.svg");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}

.footer-phone-text {
  line-height: 15px;
}

.footer-phone-text a {
  font-weight: 600;
  color: #1d2c48;
  text-decoration: none;
  display: block;
      font-size: 25px;
    padding-bottom: 5px;
}

.footer-phone-text small {
  font-weight: 500;
      font-size: 11px;
}

.footer-right {
  flex: 6;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer-right-top {
  display: flex;
  justify-content: space-between;
}

.footer-cta-text {
  font-size: 26px;
  margin-bottom: 12px;
  font-weight: 600;
  margin-top: 0;
}

.footer-cta-button {
  background-color: #ee7869;
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

.footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-column h4 {
  font-size: 18px;
  margin: 30px 0 40px 0;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 20px;
}

.footer-column a {
  color: #cdd2e0;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials img {
  width: 24px;
  height: 24px;
}

.footer-bottom-bar {
  font-weight: 400;
  font-size: 14px;
  margin: 80px auto 20px auto;
  max-width: 1200px;
}

@media (max-width: 768px) {

  .footer-question {
    margin: 20px 0 40px 0;
  }


  .footer-right-top {
    flex-direction: column;
  }

  .footer-cta-text {
    margin-bottom: 30px;
  }
  .footer-column li {
    margin-bottom: 15px;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-bottom-bar {
    color:#61759B
  }
}

/**************** FIX ELEMENTOR ***************************/
.e-con.e-parent:nth-of-type(n + 3):not(.e-lazyloaded):not(.e-no-lazyload) * {
}

#ite_btn_devis {
  width: 100%;
}

.titre-section span {
  color: #ee7869;
}

/**************** WPFORM *********************************/
.wpforms-container input.wpforms-field-medium,
.wpforms-container .wpforms-field-row.wpforms-field-medium {
  max-width: 100% !important;
}

div.wpforms-container-full button[type="submit"] {
  background-color: #ee7869 !important;
  border-radius: 35px;
  width: 100%;
}

/* .wpform-inner-page
{
  width: 532px !important;
} */

.wpforms-field-label {
  color: #1d2c48 !important;
  font-weight: 500 !important;
  margin-bottom: 10px !important;
}
.wpforms-field-medium {
  border-radius: 7px !important;
  border: 1px solid #d6d6d6 !important;
}
.wpforms-field-name {
  padding-bottom: 5px !important;
}

/***** CONTENU ****/
