/* container principal */
.chp-header {
  position: relative;
  overflow: visible;
  background: #fff;
}

/* inner flex */
.chp-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
  position: relative;
  z-index: 10;
}

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

/* logo – seul le logo dépasse le carousel */
.chp-col--logo .chp-logo {
  margin-right: 1rem;
  position: relative;
  z-index: 20;            /* au‑dessus du carousel */
  margin-bottom: -50px;    /* ajuste la hauteur de dépassement */
}

/* branding (titre + sous‑titre) */
.chp-branding .chp-title {
  margin: 0;
  font-size: 1.5rem;
  color:var(--ast-global-color-3);
}

.chp-branding .chp-subtitle {
  margin: 0;
  font-size: 1rem;
  color: var(--ast-global-color-3);
}

/* contact */
.chp-col--contact-search .chp-contact {
  margin-right: 0.5rem;
  font-size: 1rem;
}

.chp-contact a {
  margin-left: 0rem;
  text-decoration: none;
  color: inherit;
}

/* zone de recherche */
.chp-search form {
  display: flex;
  align-items: center;
}

.chp-search-input {
  flex: 1 !important;
  border: 1px solid #ccc !important;
  margin-right: 0.2rem;
  padding: 0.5rem !important;
  font-size: 1rem !important;
  box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.3) !important;
}

.chp-search-btn {
  background: #000;
  border: none;
  padding: 0.7rem;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chp-search-btn i {
  line-height: 1;
}

/* carousel (sous le header) */
.chp-carousel {
  position: relative;
  z-index: 1;
}

/* mobile */
@media (max-width: 768px) {
  .chp-inner {
    flex-direction: column;
    text-align: center;
  }
  .chp-col {
    margin-bottom: 1rem;
  }

  .chp-col--contact-search {
    margin-top: 35px;
  }
}

/* si nécessaire : masquer le header d’origine du thème */
.site-header,
header.site-header {
  display: none !important;
}
