/*
Theme Name: RealHomes Child Theme
Theme URI: http://themeforest.net/item/real-homes-wordpress-real-estate-theme/5373914
Description: Child theme for Real Homes.
Author: Inspiry Themes
Author URI: https://www.inspirythemes.com/
Template: realhomes
Version: 1.4.2
*/

/* Import de la police Poppins avec plusieurs graisses */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Police par défaut pour tout le site */
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400; /* par défaut regular */
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600; /* semi-bold par défaut */
}

/* Exemple : tu peux personnaliser chaque niveau */
h1 { font-weight: 700; } /* bold */
h2 { font-weight: 600; } /* semi-bold */
h3 { font-weight: 500; } /* medium */
h4, h5, h6 { font-weight: 400; } /* regular */
/* Uniformiser la hauteur des cartes dans les grilles de propriétés */

p{
	font-size:1.1em;
}


.rh_prop_card {
  display: flex;
  flex-direction: column;
  height: 100% !important;
}

/* ===== Pellegrini — Newsletter Brevo ===== */

/* Police moderne */
.sib_signup_form,
.sib_signup_form * {
  font-family: "Poppins", "Rubik", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

/* Conteneur formulaire */
.sib_signup_form form {
  display: flex;
  flex-direction: column; /* RGPD dessous */
  gap: 10px;
}

/* Ligne email + bouton */
.sib_signup_form .sib-email-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Champ email */
.sib_signup_form input[type="email"] {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #cfd6dd;
  border-radius: 6px;
  background: #fff;
  color: #111;
  outline: none;
}
.sib_signup_form input[type="email"]::placeholder {
  color: #8a8f98;
}

/* Bouton */
.sib_signup_form .sib-default-btn,
.sib_signup_form input[type="submit"],
.sib_signup_form button[type="submit"] {
  background: #89b026;          /* normal */
  color: #fff;
  border: 0;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s ease;
  white-space: nowrap;
}
.sib_signup_form .sib-default-btn:hover,
.sib_signup_form input[type="submit"]:hover,
.sib_signup_form button[type="submit"]:hover {
  background: #c7d765;          /* hover */
  color: #111;
}

/* Texte RGPD */
.sib_signup_form .sib-rgpd-area,
.sib_signup_form .sib-rgpd-area label {
  color: #fff !important;
  font-size: 14px;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 640px) {
  .sib_signup_form .sib-email-area {
    flex-direction: column;
    align-items: stretch;
  }
  .sib_signup_form .sib-default-btn {
    width: 100%;
  }
}
/* Centrer le bouton d'inscription */
.sib_signup_form .sib-default-btn,
.sib_signup_form input[type="submit"],
.sib_signup_form button[type="submit"] {
  display: block;
  margin: 10px auto 0 auto; /* centre horizontalement */
  background: #89b026;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s ease;
}

.sib_signup_form .sib-default-btn:hover,
.sib_signup_form input[type="submit"]:hover,
.sib_signup_form button[type="submit"]:hover {
  background: #c7d765;
  color: #111;
}
/* Bloc avec coins arrondis */
.radius8 {
  border-radius: 8px;
  overflow: hidden; /* pour que le contenu suive l’arrondi */
}

.post-meta,
.entry-meta,
.rh_post_meta {
  display: none !important;
}
/* Supprimer le bouton Submit dans le header */
.rh_menu__user_submit {
    display: none !important;
}


/* ===== HEADER GLOBAL ===== */

/* Annuler le flex horizontal pour que le menu passe sous le logo */
.rh_header__wrap {
    display: block;
}

/* Menu en full width avec fond vert */
.rh_menu {
    width: 100%;
    display: block;
    clear: both;
    background-color: rgba(137, 176, 38, 0.85);
    margin-top: 10px; /* espace entre logo et menu */
    padding: 0 20px;  /* marge interne gauche/droite */ 
}

.rh_menu nav.main-menu ul {
    justify-content: center; /* centrer les items du menu */
}

/* ===== LOGO UNIQUEMENT SUR LA PAGE D'ACCUEIL ===== */
.home .rh_logo img {
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
}
/* Supprimer toute marge/padding au-dessus du header */
.rh_header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Supprimer le padding autour du conteneur du header */
.rh_header__wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Supprimer le padding/marge sur le bloc logo */
.rh_logo {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Supprimer le padding par défaut sur l'image logo */
.rh_logo img {
    display: block; /* évite le petit espace inline */
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Masquer la carte en haut de la page Appartements */
.tax-property-type.term-appartements .rh_map,
.tax-property-type.term-appartements .properties-map,
.tax-property-type.term-appartements .map-wrap {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* Masquer la carte en haut de la page Terrains à bâtir */
.tax-property-type.term-terrains-a-batir .rh_map,
.tax-property-type.term-terrains-a-batir .properties-map,
.tax-property-type.term-terrains-a-batir .map-wrap {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}
/* Liste de documents personnalisée avec icône PDF */
ul.wp-block-list li.docAdd {
  list-style: none; /* supprime les puces */
  background: url('../../uploads/2025/09/pdf.png') no-repeat left center;
  background-size: 35px 35px; /* largeur 35px, hauteur 35px */
  padding-left: 50px; /* espace pour le texte à droite de l'icône */
  margin-bottom: 10px; /* espace entre les lignes */
  line-height: 35px; /* texte aligné verticalement */
}

/* Couleur des liens */
ul.wp-block-list li.docAdd a {
  color: #89b026;
  text-decoration: none;
  font-weight: 500; /* normal */
}

/* Effet au survol : texte en gras */
ul.wp-block-list li.docAdd a:hover {
  font-weight: 700; /* passe en gras */
}
/* Encadré vert très clair, ajusté à la largeur du contenu */
ul.docBox {
  display: inline-block; 
  background-color: rgba(137, 176, 38, 0.15); /* vert clair */
  border-radius: 10px;
  padding: 15px 30px;
  margin: 20px 0;
  list-style: none;

  /* Ombre portée : plus foncée, plus grande, orientée vers le bas */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Items avec icône PDF */
ul.docBox li.docAdd {
  list-style: none;
  background: url('../../uploads/2025/09/pdf.png') no-repeat left center;
  background-size: 35px 35px;
  padding-left: 50px;
  margin-bottom: 10px;
  line-height: 35px;
}

ul.docBox li.docAdd:last-child {
  margin-bottom: 0;
}

