/*
Theme Name: Child Theme
Template: dt-the7
Version: 14.0.0
*/

.branding a img, .branding img
{
  height:120px!important;
  width: auto;

}

/* ============================================
   NAVIGATION - BARRE DE MENU
   ============================================ */

nav.navigation {
  width: 100%;
  background-color: var(--blanc);
  box-shadow: 0px 2px 18px 0px rgba(0, 0, 0, 0.3);
}

/* Conteneur du menu */
ul#primary-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: var(--blanc);
}

ul#primary-menu li {
  display: inline-block;
  padding: 0;
  margin: 0;
}

ul#primary-menu li a {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  font-family: var(--font-principale);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--noir) !important;
  text-decoration: none;
  text-transform: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

ul#primary-menu li a:hover {
  color: var(--rose-moyen) !important;
  opacity: 1;
}

ul#primary-menu li.act a,
ul#primary-menu li.current-menu-item a {
  color: var(--rose-moyen) !important;
}

/* Masquer les icônes sociales dans la nav */
nav.navigation .mini-widgets {
  display: none !important;
}

/* Décoration underline personnalisée */
ul#primary-menu.underline-decoration li a:after {
  display: none;
}

ul#primary-menu li a .menu-item-text {
  position: relative;
}

ul#primary-menu li a .menu-item-text:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--rose-moyen);
  transition: width 0.3s ease;
}

ul#primary-menu li a:hover .menu-item-text:after,
ul#primary-menu li.act a .menu-item-text:after,
ul#primary-menu li.current-menu-item a .menu-item-text:after {
  width: 100%;
}

/* ============================================
   VARIABLES & BASE
   ============================================ */
:root {
  --rose-clair: #f7d2dc;
  --rose-moyen: #F780a0;
  --rose-pale-bg: rgba(247, 210, 220, 0.3);
  --noir: #000000;
  --blanc: #ffffff;
  --gris-texte: #333333;
  --font-principale: 'Ubuntu Condensed', Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--font-principale);
  color: var(--gris-texte);
  background-color: var(--blanc);
}

/* ============================================
   HEADER - LOGO
   ============================================ */


/* ============================================
   SECTION HERO - BANDEAU TITRE ROSE
   Généré en CSS pur (equivalent du fond rose de l'original)
   ============================================ */
   .page-title {
  background: transparent !important;
  padding: 0 !important;
}

.fancy-title-head, .page-title-head
{
  width: 100%!important;
}

.page-title .page-title-head h1 {
display: block;
width: 100%;
text-align: center;
font-family: var(--font-principale);
font-size: 40px;
font-weight: 700;
color: var(--blanc);

background-image: url('/wp-content/themes/child/images/titre.png');
background-size: cover;
background-repeat: no-repeat;
background-position: center center;

min-height: 200px;
padding: 0;
margin: 0;
line-height: 200px; /* Centre le texte verticalement sur 200px */

box-sizing: border-box;
}

.page-title {
background: transparent !important;
padding: 0 !important;
margin: 0 !important;
}

.page-title .wf-wrap {
padding: 0 !important;
}

.page-title .page-title-head {
margin: 0 !important;
padding: 0 !important;
}
/* ============================================
   CONTENU PRINCIPAL
   ============================================ */

#main {
  background-color: var(--blanc);
  margin-top: 30px;
}

.main-gradient {
  display: none;
}

#content {
  max-width: 65%;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Texte accroche */
#content p strong,
.entry-content p strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--noir);
  display: block;
  margin-bottom: 10px;
}

/* Séparateur rose */
.entry-content hr,
.entry-content .wp-block-separator {
  width: 20%;
  border: none;
  border-top: 4px solid var(--rose-clair);
  margin: 10px 0 20px 0;
}

#content p,
.entry-content p {
  font-size: 16px;
  color: var(--noir);
  line-height: 1.7;
  margin-bottom: 1em;
}

/* ============================================
   IMAGE DES MAISONS EN BAS DE PAGE
   (fond-en-maisons.png simulé si absent)
   ============================================ */

/* Zone avant le footer */
#main::after {
  content: '';
  display: block;
  height: 95px;
  background-image: url('/wp-content/themes/child/images/footer.png');
  background-size: cover;
  background-repeat: repeat;
  background-position: bottom center;
  margin-top: 50px;
}

/* ============================================
   FOOTER
   ============================================ */

#footer {
  background-color: var(--blanc) !important;
  border-top: none;
  padding: 30px 0 10px;
}

#footer .wf-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Widget texte footer */
#footer .widget.widget_custom_html,
#footer .widget_text {
  text-align: center;
  width: 100%;
}

#footer .textwidget,
#footer .custom-html-widget {
  text-align: center;
  color: var(--noir);
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-line;
}

#footer .textwidget strong,
#footer .custom-html-widget strong {
  font-weight: 700;
}

/* Liens footer */
#footer a {
  color: var(--noir) !important;
  text-decoration: none;
}

#footer a:hover {
  color: var(--rose-moyen) !important;
}

/* ============================================
   BOTTOM BAR
   ============================================ */

#bottom-bar {
  background-color: transparent;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 10px 0;
}

#bottom-bar .wf-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Texte bottom bar */
#bottom-bar p,
#bottom-bar span {
  font-size: 12px;
  color: var(--gris-texte);
  text-align: center;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */

a.scroll-top {
  background-color: rgba(247, 210, 220, 0.7);
  border-radius: 5px 0 0 5px;
  padding: 8px;
  bottom: 80px;
  right: 0;
}

a.scroll-top svg path {
  fill: var(--blanc);
}

a.scroll-top:hover {
  background-color: var(--rose-moyen);
}

/* ============================================
   MOBILE MENU
   ============================================ */

.dt-mobile-header {
  background-color: var(--blanc);
}

.dt-mobile-header ul.mobile-main-nav li a {
  font-family: var(--font-principale);
  font-size: 16px;
  color: var(--noir);
  padding: 12px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background-color: transparent;
}

.dt-mobile-header ul.mobile-main-nav li.act > a,
.dt-mobile-header ul.mobile-main-nav li.current-menu-item > a {
  color: var(--rose-moyen) !important;
  font-weight: 700;
}

/* Hamburger */
.dt-close-mobile-menu-icon .close-line {
  background-color: var(--rose-clair);
}

/* ============================================
   STICKY HEADER
   ============================================ */

.phantom-sticky .masthead.fixed-header {
  background-color: var(--blanc) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.phantom-sticky .masthead.fixed-header nav.navigation {
  box-shadow: none !important;
}

/* ============================================
   LOADER
   ============================================ */

#load {
  background: var(--blanc) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
  .branding a img {
    width: 90%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
  }

  #main::before {
    font-size: 28px;
    padding: 25px 15px 30px;
  }

  #content {
    max-width: 89%;
  }
}

@media (max-width: 778px) {
  .branding a img {
    width: 90%;
    max-width: 320px;
    display: block;
    margin: 0 auto;
  }

  #main::before {
    font-size: 22px;
    padding: 20px 15px 25px;
  }

  #content {
    max-width: 95%;
    padding: 20px 15px;
  }

  #content p strong,
  .entry-content p strong {
    font-size: 18px;
  }

  #main::after {
    height: 80px;
    margin-top: 30px;
  }
}

/* ============================================
   LIENS GLOBAUX
   ============================================ */

a {
  color: var(--rose-clair);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--rose-moyen);
}

/* ============================================
   CORRECTIONS SPECIFIQUES THE7
   ============================================ */

/* Supprimer les mini-contacts indésirables */
.mini-contacts.clock,
.mini-contacts.phone,
.mini-contacts.email {
  display: none !important;
}

/* Supprimer la mini-search */
.mini-search {
  display: none !important;
}

/* Forcer la couleur des liens nav */
.main-nav.underline-decoration > li > a {
  color: var(--noir) !important;
}

.main-nav > li > a:before,
.main-nav > li > a:after {
  background-color: var(--rose-moyen) !important;
}

/* Wf-container footer centré */
.wf-container-footer .wf-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.wf-container-footer .wf-cell {
  text-align: center;
}
