.nav-container,
.site-header { background: #5F4136; }

/* Logo texte */
.site-title { margin: 0; }
.site-title a {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
}

/* Icônes sociales */
.site-social { display: flex; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.site-social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: #634338;
}
.site-social svg { width: 24px; height: 24px; }

/* Menu burger lisible sur fond marron (mobile) */
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after { background-color: #fff; }

/* Desktop */
@media (min-width: 1000px) {
  .site-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2.5rem;
  }
  .site-branding { order: 1; }
  .main-navigation-wrapper { order: 2; margin: auto; }
  .site-social { order: 3; }
  .second-navigation-wrapper { order: 4; }

  .nav-primary .menu-items {
    display: flex;
    gap: 3rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .nav-primary .menu-items > li > a {
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
  }
  .nav-primary .menu-items > li > a:hover,
  .nav-primary .menu-items > .current-menu-item > a,
  .nav-primary .menu-items > .current_page_item > a {
    text-decoration: underline;
    text-underline-offset: 5px;
  }
}


/* FOOTER */
.site-footer {
  background: #634338;
  color: #fff;
  padding: 40px 30px 25px;
}

.site-footer .site-info {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Colonne entreprise */
.footer-company-name {
  margin: 0 0 16px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.footer-phone {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
}

.footer-opening-hours,
.footer-address {
  margin-bottom: 16px;
}

.footer-opening-hours p,
.footer-address p {
  margin: 0;
  line-height: 1.4;
}

/* Menus */
.footer-navigation ul,
.footer-legal ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-navigation a,
.footer-legal a {
  color: #fff;
  text-decoration: none;
  line-height: 1.4;
}

.footer-navigation a:hover,
.footer-legal a:hover {
  text-decoration: underline;
}

/* Copyright */
.theme-info {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
}

/* Mobile */
@media (max-width: 700px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .theme-info {
    line-height: 1.6;
  }
}

/* Structure générale du footer */
.site-footer .site-info {
  display: block;
  width: 100%;
  max-width: 100%;
}

/* Les trois colonnes */
.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 60px;
  width: 100%;
  color:#fff;
}

/* Copyright sur toute la largeur */
.site-footer .theme-info {
  display: block;
  width: 30%;
  grid-column: 1 / -1;
  box-sizing: border-box;
  clear: both;
  margin-top: 35px;
  text-align: center;
}

@media only screen and (min-width: 960px) {
  .site-footer, .site-footer p, .site-footer span {
    color:#fff;
  }
}


@media only screen and (min-width: 960px) {
  .site-info .company {
    text-align:center;
  }
}

.footer-columns .footer-legal{
  text-align:left;
}

/* Réduction de la hauteur du footer */
.site-footer {
  padding-top: 10px;
  padding-bottom: 1px;
}

/* Espacements dans la colonne entreprise */
.footer-company-name {
  margin-bottom: 2px;
}

.footer-phone {
  margin-bottom: 2px;
}

.footer-opening-hours,
.footer-address {
  margin-bottom: 2px;
}

/* Espacement des liens des menus */
@media only screen and (min-width: 960px) {
  .site-info .tree-site{
    line-height:1.9em;
  }
}


/* Espacement avant le copyright */
.site-footer .theme-info {
  margin-top: 5px;
}

@media only screen and (min-width: 960px) {
  .nav-container {
    position: relative;
  }
}

.en-tete{
  display:flex;
  align-items:center;
  justify-content: center;
  min-height: 420px;
  padding: 60px 20px 40px;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  background-image:  
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    url('https://www.menuiserielgh.fr/wp-content/uploads/2026/12/Image-header.webp');

}

.en-tete-card {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  align-items:center !important;
  padding: 30px 40px;
  width: 100%;
  text-align: center;
}

.en-tete-liste {
  list-style: none;
  padding: 0;
  margin: auto;
  text-align: start;
  font-size: 1.7rem;
}

.en-tete-liste li::before {
  content :"✔ " ; 
}

.en-tete > .wp-block-group__inner-container {
  width: 40%;
}

h1 {
  font-size:1.7em;
}

.en-tete-card p {
  font-size: 1.7rem;
}

.wp-block-buttons .wp-block-button__link{
  width: 100%;
  background: #5f4136;
  color: #fff;
  border-radius: 25px;
  padding: 8px 28px;
  font-weight: 600;
}

.en-tete-card .wp-block-button__link {
  background: #5f4136;
  color: #fff;
  border-radius: 25px;
  padding: 12px 28px;
  font-weight: 600;
}


.bandeau {
  background: #F6EFE5;
  padding-left: 10%;
  padding-right: 10%;
  padding-top: 2px;
  padding-bottom: 15px;
}

.bandeau h2 {
  text-align:center;
}

.bandeau img {
  width: 400px;
}

.bandeau .wp-block-group {
  align-items: center;
}

@media only screen and (min-width: 960px) {
  main > :not(.block-header-home) {
    padding: 0;
    margin-top: 0;
  }
}

.steps-section {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 80%;
  margin: auto;
  padding-top: 50px;
  padding-bottom: 50px;
}

.step-card {
  align-items: center;
  gap: 40px;
}

.step-card > * {
  flex : 1 1 0;
  min-width: 0;
}

.step-card img {
  width:600px;
  max-height: 350px;
  border-radius: 24px;
  object-fit: cover;
}

.step-card p, li {
  font-size: 1.7rem;
}
.steps-section > .step-card:nth-child(even) {
  flex-direction: row-reverse;
}

/* Mobile : on garde toujours texte puis photo */
@media (max-width: 781px) {
  .step-card,
  .steps-section > .step-card:nth-child(even) {
    flex-direction: column;
  }
}


.les-marques {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}

.les-marques p{
  margin:auto;
}

.les-marques img {
  width: 200px;
}

.les-marques .wp-block-group {
  align-items: center;
}

.les-marques .wp-block-buttons > .wp-block-button {
  margin:25px auto;
}

.bandeau-centre {
  background: #F6EFE5;
  padding: 30px 10%;
}

.wp-block-group.bandeau-centre  {
  align-items: center;
}