/* ============================
   HEADER + BANDEAU CONTACT
============================ */

/* Bandeau contact (mobile par défaut) */
#header-contact-banner {
  background-color: #e06c2f;
  color: #000000;
  border-bottom: 2px solid black;
  padding: 12px 10px;
  display: flex;
  flex-direction: column; /* empilé sur mobile */
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 1px;
  z-index: 20;
}
#header-contact-banner .contact-item {
  display: flex;
  gap: 6px;
}
#header-contact-banner i {
  color: black;
}

/* Header collé dans la bannière (transparent) */
#site-header {
  position: absolute !important;
  top: 128px;
  left: 0;
  width: 100%;
  background: transparent !important;
  z-index: 2000;
}
#site-header .header-inner,
#site-header .section-inner,
#site-header .header-titles-wrapper,
#site-header .header-navigation-wrapper,
#site-header .primary-menu-wrapper {
  position: relative !important;
  background: transparent !important;
  padding: 0 !important;
}

/* Lisibilité menu/logo */
#site-header a,
#site-header .primary-menu a {
  color: #fff;
  font-weight: 600;
}
#site-header .primary-menu a:hover {
  color: #fcd54c !important;
}
.site-logo img {
  margin-left: 10px !important;
  margin-top: 10px !important;
}

/* Bannière image de fond */
.singular .entry-header {
  display: flex;
  align-items: center;
  position: relative;
  background-image: url(/wp-content/themes/twentytwenty-child/images/maison4.png);
  background-position: center;
  background-repeat: no-repeat;
  height: 24em;
  background-size: cover;
}
.singular .entry-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 102, 0, 0.8) 0%,
    rgba(252, 201, 69, 0.8) 90%
  );
  z-index: 1;
}
.singular .entry-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}
.entry-header h1 {::after
  z-index: 2;
  color: white;
  font-size: 22px;
  font-weight: 600;
  padding: 50px 70px;
  letter-spacing: 1px;
  text-align: center;
}
.singular .entry-header h1 .subtitle {
  font-size: 12px;
  font-weight: 400;
}
.entry-header .entry-header-inner {
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body:not(.overlay-header) .primary-menu > li > ul::after{
  border-bottom-color: #e06c2f !important;
}

/* 🌍 Mobile par défaut : colonne 
    display: flex;et images fluides */
.galerie {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin: 34px auto;
  width: 100%;
}

.galerie img {
  width: 29%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Maison plus grande (mobile aussi) */
#Maison {
  width: 50%;
  max-width: 300px;
}

#Intérieur,
#Intérieur2 {
  display: none;
}
svg,
img,
embed,
object {
  display: inline;
}

/* ============================
   TABLETTE ≥768px
============================ */
@media (min-width: 768px) {
  #header-contact-banner {
    flex-direction: row;
    justify-content: space-around;
    font-size: 14px;
    padding: 10px 20px;
  }
  #site-header {
    top: 73px; /* bandeau plus petit en tablette */
  }
  .singular .entry-header {
    height: 40em;
  }
  .entry-header h1 {
    font-size: 32px;
  }
  .singular .entry-header h1 .subtitle {
    font-size: 18px;
  }

  .galerie {
    flex-direction: row; /* côte à côte */
    justify-content: center;
    gap: 40px;
  }

  .galerie img {
    width: auto; /* fixe en desktop */
  }

  #Maison {
    width: auto;
  }
  #Intérieur,
  #Intérieur2 {
    display: block;
  }
  .picture {
    display: flex;
    align-items: baseline;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }
}

/* ============================
   DESKTOP ≥1024px
============================ */
@media (min-width: 1024px) {
  #header-contact-banner {
    justify-content: space-between;
    gap: 30px;
    font-size: 15px;
    padding: 10px 40px;
  }

  #site-header {
    position: absolute !important;
    top: 74px;
    left: 0;
    width: 100%;
    background: transparent !important;
    z-index: 200000000;
  }

  #site-header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
  }

  .singular .entry-header {
    height: 45em;
  }
  .entry-header h1 {
    font-size: 45px;
    font-weight: 500;
  }
  .singular .entry-header h1 .subtitle {
    font-size: 20px;
    font-weight: 400;
  }

  .galerie {
    flex-direction: row; /* côte à côte */
    justify-content: center;
    gap: 40px;
  }

  .galerie img {
    width: auto; /* fixe en desktop */
  }

  #Maison {
    height: auto;
  }
  #Intérieur,
  #Intérieur2 {
    display: block;
  }
  .picture {
    display: flex;
    align-items: baseline;
    flex-direction: row;
    justify-content: center;
    gap: 80px;
  }
}
