/* =========================================================
   AMO-TE OLHÃO – FICHE LOGEMENT
   HERO CTA + KEYFACTS (CSS COMPLET – ANNULE & REMPLACE)
   Robuste WP : fonctionne même si <p> / <span> wrap les liens
   Objectif : 2 CTA SUR 1 LIGNE + parfaitement alignés
   ========================================================= */

/* ---------- Tagline sous le H1 ---------- */
.listing-tagline{
  margin: 0.6rem 0 0.7rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #4b5563;
  max-width: 62ch;
}

/* =========================================================
   CTA BAR — FLEX (pas grid) + robuste aux wrappers WP
   ========================================================= */

.listing-hero .cta-bar{
  display: flex !important;
  align-items: stretch !important;   /* même hauteur */
  gap: 12px !important;
  flex-wrap: nowrap !important;      /* reste sur 1 ligne */
  width: 100% !important;
  max-width: 560px;
  margin: 0.55rem 0 0.3rem;
}

/* WP met parfois <p> autour des <a> : on neutralise */
.listing-hero .cta-bar > p{
  margin: 0 !important;
  padding: 0 !important;
  display: contents !important;      /* le <a> redevient "comme direct child" */
}

/* Boutons : cible large (peu importe le wrapper) */
.listing-hero .cta-bar a.cta-btn{
  flex: 1 1 0 !important;            /* mêmes largeurs */
  min-width: 0 !important;           /* évite bugs de flex */
  box-sizing: border-box !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;

  height: 46px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;

  font-size: 14.5px !important;
  font-weight: 650 !important;
  line-height: 1 !important;

  text-decoration: none !important;
  white-space: nowrap !important;

  transform: translateY(0) !important; /* évite un décalage “1px” selon thèmes */
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

/* Icônes : anti-décalage baseline + anti SVG géants */
.listing-hero .cta-bar .cta-ico{
  width: 16px !important;
  height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 16px !important;
}
.listing-hero .cta-bar .cta-ico svg{
  width: 16px !important;
  height: 16px !important;
  display: block !important;         /* clé : supprime l’alignement inline SVG */
}

/* Texte */
.listing-hero .cta-bar .cta-text{
  line-height: 1 !important;
  display: inline-block !important;
}

/* Couleurs (on garde ton bleu + ton vert) */
.listing-hero .cta-btn--primary{
  background: #006ff9 !important;
  color: #fff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 10px 24px rgba(0,111,249,.18) !important;
}
.listing-hero .cta-btn--primary:hover{
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 32px rgba(0,111,249,.24) !important;
}

.listing-hero .cta-btn--secondary{
  background: #ECFDF3 !important;
  color: #027A48 !important;
  border: 1px solid #ABEFC6 !important;
  box-shadow: 0 10px 22px rgba(2,122,72,.10) !important;
}
.listing-hero .cta-btn--secondary:hover{
  transform: translateY(-1px) !important;
  background: #D1FADF !important;
  border-color: #75E0A7 !important;
  box-shadow: 0 14px 30px rgba(2,122,72,.14) !important;
}
.listing-hero .cta-btn--secondary .cta-ico{ color: #027A48 !important; }
.listing-hero .cta-btn--primary .cta-ico{ color: #fff !important; }

/* Ligne d’aide */
.cta-sub{
  margin: 0.35rem 0 1rem;
  font-size: 12.5px;
  color: #667085;
  max-width: 70ch;
}
/* MOBILE : boutons en colonne */
@media (max-width: 520px) {
  .listing-hero .cta-bar {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  
  .listing-hero .cta-bar a.cta-btn {
    flex: 1 1 100% !important;
    width: 100% !important;
    height: 48px !important;
    font-size: 15px !important;
    padding: 0 20px !important;
  }
}

/* =========================================================
   KEY FACTS GRID (cards)
   ========================================================= */

.listing-keyfacts{
  margin: 1.05rem 0 1.35rem;
}

.keyfacts-grid{
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 14px;
}

.keyfacts-grid li{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  background: #f6f8fb;
  border: 1px solid #eef2f7;
  color: #111827;
  font-size: 0.92rem;
  min-height: 56px;
  box-sizing: border-box;
}

.kf-ico{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef2f7;
  color: #006ff9;
  flex: 0 0 auto;
}

.kf-ico svg{
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  stroke-width: 1.8;
}

.kf-label{
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 980px){
  .keyfacts-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px){
  .keyfacts-grid{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CTA ROW + TRUST (AL / délai réponse) — espace à droite
   ========================================================= */

.listing-hero .cta-row{
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

/* On conserve ton .cta-bar tel quel, mais dans une ligne */
.listing-hero .cta-row .cta-bar{
  margin: 0.55rem 0 0.3rem; /* garde ton spacing */
}

/* Bloc trust à droite */
.listing-hero .cta-trust{
  flex: 1 1 auto;
  min-width: 220px;
  max-width: 360px;
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.25;
  color: #475467;
}

.listing-hero .cta-trust .trust-line{
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-hero .cta-trust .trust-line + .trust-line{
  margin-top: 6px;
}

.listing-hero .cta-trust .trust-ico{
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  color: #006ff9;
  font-size: 14px;
  line-height: 1;
}

/* Responsive : si pas assez de place, le trust passe sous les boutons */
@media (max-width: 820px){
  .listing-hero .cta-row{
    flex-wrap: wrap;
  }
  .listing-hero .cta-trust{
    max-width: none;
    width: 100%;
    padding-top: 4px;
  }
  .listing-hero .cta-trust .trust-line{
    white-space: normal;
  }
}

/* =========================================================
   APERÇU — DESCRIPTION COURTE (JUSTIFICATION TEXTE)
   ========================================================= */

body.single-mphb_room_type .listing-shortdesc {
  text-align: justify;
  text-justify: inter-word;
}


/* ---------------------------------------------------------
   2) SECTION "DESCRIPTION DÉTAILLÉE" : 2 COLONNES
--------------------------------------------------------- */

/* Le conteneur 2 colonnes */
body.single-mphb_room_type .listing-page .amo-two-cols{
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  gap: 22px !important;
  align-items: start !important;
  margin: 18px 0 24px !important;
}

/* WordPress injecte des <p> parasites dans le bloc :
   on les neutralise pour que la grid ait bien 2 items (.amo-col) */
body.single-mphb_room_type .listing-page .amo-two-cols > p{
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Colonne */
body.single-mphb_room_type .listing-page .amo-col{
  background: #f8fafc;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-sizing: border-box;
}

/* Titres H3 dans les colonnes */
body.single-mphb_room_type .listing-page .amo-col > h3{
  margin: 0 0 10px !important;
  font-size: 26px;
  line-height: 1.15;
}

/* Liste avec “v” (check) */
body.single-mphb_room_type .listing-page .amo-checklist{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-mphb_room_type .listing-page .amo-checklist li{
  position: relative;
  padding-left: 26px;
  margin: 10px 0;
  line-height: 1.45;
}

body.single-mphb_room_type .listing-page .amo-checklist li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-weight: 700;
  color: #027A48; /* vert du CTA */
}

/* Mobile : repasser en 1 colonne */
@media (max-width: 820px){
  body.single-mphb_room_type .listing-page .amo-two-cols{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* ---------------------------------------------------------
   3) PETIT CONFORT VISUEL POUR LA PARTIE "Description détaillée"
--------------------------------------------------------- */
body.single-mphb_room_type .listing-page #description > h2{
  margin-bottom: 18px;
}

body.single-mphb_room_type .listing-page #description > h3{
  margin-top: 22px;
  margin-bottom: 6px;
}

/* Même hauteur pour les 2 encadrés */
body.single-mphb_room_type .listing-page .amo-two-cols{
  align-items: stretch !important; /* les items prennent la même hauteur */
}

body.single-mphb_room_type .listing-page .amo-col{
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* (optionnel) si tu veux que la liste “pousse” et occupe l’espace */
body.single-mphb_room_type .listing-page .amo-col .amo-checklist{
  margin-top: 6px !important;
  flex: 1 1 auto;
}

/* =========================================================
   AMO-TE OLHÃO — CAPACITÉ & CONFIG — VERSION FINALE
========================================================= */
body.single-mphb_room_type #capacite-configuration {
  margin-top: 32px;
}

body.single-mphb_room_type #capacite-configuration hr {
  margin: 8px 0 22px;
}

/* GRILLE */
body.single-mphb_room_type .amo-specs-icons {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 36px;
}

/* CHAQUE ITEM */
body.single-mphb_room_type .amo-specs-icons > li {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: auto !important;
  height: auto !important;
}

/* Neutralise les <br> injectés par WP */
body.single-mphb_room_type .amo-specs-icons li br {
  display: none !important;
}

/* ICÔNE */
body.single-mphb_room_type .spec-ico {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  color: #006ff9;
  margin-top: 0 !important;
}

body.single-mphb_room_type .spec-ico svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

/* TEXTE */
body.single-mphb_room_type .spec-text {
  display: block !important;
  flex: 1 !important;
  min-width: 0 !important;
  font-size: 14.5px;
  line-height: 1.4;
  color: #1f2937;
}

body.single-mphb_room_type .spec-text strong {
  display: block !important;
  font-weight: 600;
  font-size: 15px;
  line-height: 22px; /* même hauteur que l'icône */
  color: #0f172a;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-mphb_room_type .spec-text span {
  display: block !important;
  margin-top: 2px !important;
  font-size: 13.5px;
  line-height: 1.35;
  color: #64748b;
}

/* =========================================================
   MOBILE — ESPACEMENT UNIFORME
========================================================= */
@media (max-width: 820px) {
  body.single-mphb_room_type .amo-specs-icons {
    grid-template-columns: 1fr !important;
    gap: 16px !important; /* espacement uniforme entre chaque ligne */
  }
  
  body.single-mphb_room_type .amo-specs-icons > li {
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* =========================================================
   FIX MOBILE — NEUTRALISER LES <p> INJECTÉS PAR WORDPRESS
========================================================= */
body.single-mphb_room_type .amo-specs-icons p {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
}

/* Aussi cibler les <p> qui pourraient être entre les <li> */
body.single-mphb_room_type #capacite-configuration p:empty,
body.single-mphb_room_type #capacite-configuration ul + p,
body.single-mphb_room_type #capacite-configuration li + p {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* Reset agressif de tout élément parasite dans la liste */
body.single-mphb_room_type .amo-specs-icons > *:not(li) {
  display: none !important;
}

/* =========================================================
   CAPACITÉ & CONFIGURATION — 2 COLONNES AUSSI SUR MOBILE
========================================================= */
@media (max-width: 820px){
  body.single-mphb_room_type #capacite-configuration .amo-specs-icons{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 20px !important; /* vertical | horizontal */
  }
}

/* Sécurité : éviter les débordements de texte */
body.single-mphb_room_type #capacite-configuration .amo-specs-icons .spec-text{
  min-width: 0 !important;
}


/* =========================================================
   AMO-TE OLHÃO — VERSION FINALE TARIFS & PÉRIODES
========================================================= */

/* 1. TABLEAU DES PRIX (STYLE PREMIUM) */
body.single-mphb_room_type #tarifs table {
    width: 100%;
    border-collapse: collapse !important;
    margin-bottom: 25px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
}

body.single-mphb_room_type #tarifs table thead th {
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

body.single-mphb_room_type #tarifs table thead th:first-child { text-align: left; }

body.single-mphb_room_type #tarifs table tbody td {
    padding: 18px 16px;
    font-size: 15px;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}

body.single-mphb_room_type #tarifs table tbody td:first-child {
    text-align: left;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

/* Accents de couleur dans le tableau */
body.single-mphb_room_type #tarifs table tbody tr td:first-child::before {
    content: "";
    position: absolute;
    left: 0; top: 25%; height: 50%; width: 4px;
    border-radius: 0 4px 4px 0;
}
.row-low td:first-child::before { background: #006ff9; }
.row-mid td:first-child::before { background: #10b981; }
.row-high td:first-child::before { background: #f59e0b; }

/* =========================================================
   2. BLOC PÉRIODES — FIX PASTILLES ET ALIGNEMENT STRICT
========================================================= */

body.single-mphb_room_type #tarifs .amo-periods-list li {
    display: flex;
    align-items: center; /* Aligne verticalement la pastille et le texte */
    flex-wrap: nowrap !important;
    gap: 10px;
    padding: 4px 0;
}

/* La pastille et le Titre de saison */
body.single-mphb_room_type #tarifs .amo-badge {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Structure de la pastille */
body.single-mphb_room_type #tarifs .amo-badge::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    display: inline-block;
}

/* RÉINSERTION DES COULEURS (C'était l'élément manquant) */
.amo-badge--low::before { background-color: #006ff9 !important; }
.amo-badge--mid::before { background-color: #10b981 !important; }
.amo-badge--high::before { background-color: #f59e0b !important; }

/* Le texte des dates */
body.single-mphb_room_type #tarifs .amo-period-text {
    color: #64748b;
    font-size: 13.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Ajoute "..." si vraiment trop long sur petit écran */
}

/* 3. INFOS COMPLÉMENTAIRES */
.amo-extra-info {
    display: flex;
    gap: 40px;
    padding: 15px 5px;
}

.info-item strong { display: block; font-size: 13px; color: #64748b; margin-bottom: 2px; }
.info-item span { font-weight: 700; color: #0f172a; font-size: 15px; }

/* RESPONSIVE */
@media (max-width: 600px) {
    .amo-extra-info { flex-direction: column; gap: 15px; }
    body.single-mphb_room_type #tarifs table thead th { padding: 12px 8px; font-size: 10px; }
    
    /* Légère réduction de police sur mobile très étroit pour éviter le "..." */
    body.single-mphb_room_type #tarifs .amo-period-text,
    body.single-mphb_room_type #tarifs .amo-badge {
        font-size: 12px;
    }
}

/* =========================================================
   FIX — ALIGNER LES PUCES À GAUCHE (sous le titre)
========================================================= */
body.single-mphb_room_type #tarifs .amo-periods-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

body.single-mphb_room_type #tarifs .amo-periods-list li {
  display: flex;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 10px;
  padding: 4px 0;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* =========================================================
   INFORMATIONS COMPLÉMENTAIRES — STYLE COHÉRENT
========================================================= */
body.single-mphb_room_type #tarifs .amo-pricing-notes {
  margin-top: 2rem;
}

body.single-mphb_room_type #tarifs .amo-pricing-notes-title {
  margin-bottom: 0.8rem;
}

body.single-mphb_room_type #tarifs .amo-pricing-notes-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-mphb_room_type #tarifs .amo-pricing-notes-list li {
  padding-left: 16px;
  position: relative;
  margin: 6px 0;
  font-size: 14.5px;
  color: #344054;
  line-height: 1.5;
}

body.single-mphb_room_type #tarifs .amo-pricing-notes-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #006ff9;
  font-weight: bold;
}

body.single-mphb_room_type #tarifs .amo-pricing-notes-list li strong {
  color: #1e293b;
}

/* =========================================================
   DISPONIBILITÉS — LAYOUT CALENDRIER + LÉGENDE
========================================================= */

.amo-calendar-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px; /* espace entre calendrier et légende */
  flex-wrap: wrap;
}

/* Légende calendrier (version minimale) */
.amo-calendar-legend {
  padding-top: 18px;
}

.amo-calendar-legend ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.amo-calendar-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}

/* Pastille */
.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

.legend-available {
  background-color: #e0f1be;
}

.legend-unavailable {
  background-color: #ffbdbf;
}

/* MOBILE */
@media (max-width: 900px) {
  .amo-calendar-layout {
    flex-direction: column;
    gap: 24px;
  }

  .amo-calendar-legend {
    padding-top: 0;
  }
}

@media (max-width: 767px) {
    /* Réinitialiser notre conteneur personnalisé */
    .amo-calendar-layout .mphb-details-layout-column.last-column {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Le wrapper du shortcode */
    .mphb_sc_availability_calendar-wrapper {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    /* Le calendrier lui-même */
    .mphb-calendar.mphb-datepick {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Forcer le datepick */
    .datepick.datepick-multi {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Les mois en colonne */
    .datepick-month-row {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .datepick-month {
        width: 100% !important;
        float: none !important;
    }
    
    /* Cacher le 2ème mois OU le garder */
    /* .datepick-month.last { display: none !important; } */
    
    .datepick-month table {
        width: 100% !important;
    }
    
    /* Centrer le contenu du layout */
    .amo-calendar-layout {
        justify-content: center !important;
    }
}
/* =========================================================
   CTA — SECTION CONTACT PROPRIÉTAIRE
   Objectif : IDENTIQUE au CTA du HERO (mêmes tailles / couleurs / hover)
========================================================= */

/* BARRE CTA */
#contacter .cta-bar--contact{
  display: flex !important;
  align-items: stretch !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 560px;          /* identique au hero */
  margin: 1rem 0 0;          /* même logique que le haut */
}

/* WP peut injecter <p> autour des liens : on neutralise */
#contacter .cta-bar--contact > p{
  margin: 0 !important;
  padding: 0 !important;
  display: contents !important;
}

/* BOUTON */
#contacter .cta-bar--contact a.cta-btn{
  flex: 1 1 0 !important;
  min-width: 0 !important;
  box-sizing: border-box !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;

  height: 46px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;

  font-size: 14.5px !important;
  font-weight: 650 !important;
  line-height: 1 !important;

  text-decoration: none !important;
  white-space: nowrap !important;

  transform: translateY(0) !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

/* ICÔNE (c’est ça qui t’évite le “logo géant”) */
#contacter .cta-bar--contact .cta-ico{
  width: 16px !important;
  height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 16px !important;
}
#contacter .cta-bar--contact .cta-ico svg{
  width: 16px !important;
  height: 16px !important;
  display: block !important;
}

/* TEXTE */
#contacter .cta-bar--contact .cta-text{
  line-height: 1 !important;
  display: inline-block !important;
}

/* COULEUR = même vert que le hero */
#contacter .cta-btn--secondary{
  background: #ECFDF3 !important;
  color: #027A48 !important;
  border: 1px solid #ABEFC6 !important;
  box-shadow: 0 10px 22px rgba(2,122,72,.10) !important;
}
#contacter .cta-btn--secondary:hover{
  transform: translateY(-1px) !important;
  background: #D1FADF !important;
  border-color: #75E0A7 !important;
  box-shadow: 0 14px 30px rgba(2,122,72,.14) !important;
}
#contacter .cta-btn--secondary .cta-ico{
  color: #027A48 !important;
}

/* TEXTE D’INTRO SECTION CONTACT */
#contacter .cta-sub{
  margin: 0.75rem 0 0.25rem;
  font-size: 12.5px;
  color: #667085;
  max-width: 70ch;
}

/* STACK seulement si écran minuscule */
@media (max-width: 360px){
  #contacter .cta-bar--contact{
    flex-wrap: wrap !important;
  }
  #contacter .cta-bar--contact a.cta-btn{
    flex: 1 1 100% !important;
    height: 48px !important;
    font-size: 15px !important;
  }
}

/* =========================================================
   AMO-TE OLHÃO — ÉQUIPEMENTS
   - H3 "Essentiels" en icônes
   - 6 rubriques en accordéons (details/summary)
========================================================= */

body.single-mphb_room_type #equipements{
  margin-top: 32px;
}

body.single-mphb_room_type #equipements hr{
  margin: 8px 0 22px;
}

/* =========================================================
   AMO-TE OLHÃO — SECTION ÉQUIPEMENTS (FINAL)
   Objectif :
   1) "Essentiels" en icônes (grille propre, alignements OK)
   2) Rubriques en accordéon : H3 cliquable + chevron bleu
   3) Aucun encadré, aucun "Voir les équipements"
   4) Zéro effet de bord (scope strict #equipements)
========================================================= */

body.single-mphb_room_type #equipements{
  margin-top: 32px;
}

body.single-mphb_room_type #equipements hr{
  margin: 8px 0 22px;
}

/* ---------- H3 (Essentiels) ---------- */
body.single-mphb_room_type #equipements .amo-equip-h3{
  margin: 0 0 14px 0;
}

/* =========================================================
   1) ESSENTIELS — GRILLE D'ICÔNES
   (reprend l'esprit de "Capacité & configuration")
========================================================= */

/* Grille */
body.single-mphb_room_type #equipements .amo-equip-icons{
  list-style: none !important;
  margin: 0 0 26px 0 !important;
  padding: 0 !important;

  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 36px !important;
}

/* Item */
body.single-mphb_room_type #equipements .amo-equip-icons > li{
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;

  margin: 0 !important;
  padding: 0 !important;
}

/* Neutralise les <br> injectés par WP si un jour il y en a */
body.single-mphb_room_type #equipements .amo-equip-icons li br{
  display: none !important;
}

/* Icône */
body.single-mphb_room_type #equipements .amo-equip-icons .spec-ico{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;

  color: #006ff9;
  margin-top: 0 !important;
}

body.single-mphb_room_type #equipements .amo-equip-icons .spec-ico svg{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

/* Texte */
body.single-mphb_room_type #equipements .amo-equip-icons .spec-text{
  display: block !important;
  flex: 1 !important;
  min-width: 0 !important;

  font-size: 14.5px;
  line-height: 1.4;
  color: #1f2937;
}

body.single-mphb_room_type #equipements .amo-equip-icons .spec-text strong{
  display: block !important;
  font-weight: 600;
  font-size: 15px;
  line-height: 22px; /* même hauteur que l'icône */
  color: #0f172a;

  margin: 0 !important;
  padding: 0 !important;
}

/* Mobile : 1 colonne */
@media (max-width: 820px){
  body.single-mphb_room_type #equipements .amo-equip-icons{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* =========================================================
   2) ACCORDÉONS — H3 CLIQUABLE + CHEVRON
========================================================= */

body.single-mphb_room_type #equipements .amo-accordions{
  margin-top: 6px;
}

/* Details = conteneur neutre (pas d'encadré) */
body.single-mphb_room_type #equipements details.amo-accordion{
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 0 18px 0 !important;
}

/* Summary = zone cliquable */
body.single-mphb_room_type #equipements details.amo-accordion > summary{
  list-style: none;
  cursor: pointer;
  user-select: none;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 0 !important;
  margin: 0 !important;
}

/* Cache le marker natif */
body.single-mphb_room_type #equipements details.amo-accordion > summary::-webkit-details-marker{
  display: none;
}

/* H3 dans summary : propre */
body.single-mphb_room_type #equipements details.amo-accordion > summary h3{
  margin: 0 !important;
  padding: 0 !important;
}

/* Chevron bleu à gauche */
body.single-mphb_room_type #equipements details.amo-accordion > summary::before{
  content: "›";
  color: #006ff9;
  font-size: 18px;
  line-height: 1;

  display: inline-block;
  transform: rotate(0deg);
  transition: transform .15s ease;
}

/* Ouvert : chevron vers le bas */
body.single-mphb_room_type #equipements details.amo-accordion[open] > summary::before{
  transform: rotate(90deg);
}

/* Liste des équipements */
body.single-mphb_room_type #equipements .amo-equip-list{
  margin: 10px 0 0 0 !important;
  padding: 0 0 0 22px !important; /* aligné avec chevron */

  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}

body.single-mphb_room_type #equipements .amo-equip-list li{
  margin: 6px 0 !important;
}

/* Équipements — espacement H3 > contenu */
#equipements h3{
  margin-bottom: 10px;
}

/* =========================================================
   ÉQUIPEMENTS — PUCES BLEUES COHÉRENTES
========================================================= */
body.single-mphb_room_type #equipements .amo-equip-list {
  list-style: none !important;
  margin: 10px 0 0 0 !important;
  padding: 0 !important;
}

body.single-mphb_room_type #equipements .amo-equip-list li {
  padding-left: 16px;
  position: relative;
  margin: 6px 0 !important;
  font-size: 14px;
  color: #334155;
  line-height: 1.55;
}

body.single-mphb_room_type #equipements .amo-equip-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #006ff9;
  font-weight: bold;
}

/* =========================================================
   ÉQUIPEMENTS — ESSENTIELS — 2 COLONNES AUSSI SUR MOBILE
========================================================= */
@media (max-width: 820px){
  body.single-mphb_room_type #equipements .amo-equip-icons{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 20px !important; /* ajuste si besoin */
  }
}

/* =========================================================
   LOCALISATION — TEXTE & DISTANCES
========================================================= */
#localisation .amo-location-intro {
  max-width: 100%;
  margin: 0 0 1.2rem;
  font-size: 14.5px;
  line-height: 1.55;
  color: #475467;
}

#localisation .amo-location-subtitle {
  margin-bottom: 0.8rem;
}

#localisation .amo-location-distances {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#localisation .amo-location-distances li {
  padding-left: 16px;
  position: relative;
  margin: 6px 0;
  font-size: 14.5px;
  color: #344054;
  line-height: 1.5;
}

#localisation .amo-location-distances li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #006ff9;
  font-weight: bold;
}


/* Masquer les flèches Flickity à l'INTÉRIEUR des vignettes (dans les liens <a>) */
.listing-photos .gallery-item a.gallery .flickity-prev-next-button {
    display: none !important;
}

/* Désactiver les liens sur l'image principale de la galerie shortcode */
.listing-photos .mphb-room-type-images ul.slides.gallery .gallery-icon > a[href*="/location-vacances/"] {
    pointer-events: none;
}

/* =========================================================
   APERÇU — Galerie photos
   Espace entre le titre H3 et la galerie MotoPress
   ========================================================= */

.listing-photos h3 {
  margin-bottom: 12px; /* ajuste si besoin : 8px / 16px */
}

/* =========================================================
   AMO-TE OLHÃO — RÈGLEMENT INTÉRIEUR — FIX FINAL
========================================================= */

/* NEUTRALISER TOUS LES <br> INJECTÉS PAR WORDPRESS */
body.single-mphb_room_type #reglement-interieur .amo-rule-item br,
body.single-mphb_room_type #reglement-interieur .amo-rule-ico br,
body.single-mphb_room_type #reglement-interieur .amo-rule-text br {
  display: none !important;
}

body.single-mphb_room_type #reglement-interieur .amo-rules-list {
  list-style: none !important;
  margin: 10px 0 18px !important;
  padding: 0 !important;
  display: grid !important;
  gap: 12px !important;
}

/* Item — forcer le flex horizontal */
body.single-mphb_room_type #reglement-interieur .amo-rule-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Icône */
body.single-mphb_room_type #reglement-interieur .amo-rule-ico {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
  color: #006ff9;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.single-mphb_room_type #reglement-interieur .amo-rule-ico svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* Texte */
body.single-mphb_room_type #reglement-interieur .amo-rule-text {
  flex: 1 !important;
  color: #1f2937;
  font-size: 14.5px;
  line-height: 1.4;
}

body.single-mphb_room_type #reglement-interieur .amo-rule-text strong {
  font-weight: 700;
  color: #0f172a;
}





/* =========================================================
   TEXTE EXPANDABLE — LIRE LA SUITE
========================================================= */
.amo-expandable-text {
  position: relative;
}

.amo-expandable-content {
  max-height: 200px; /* environ 10 lignes */
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* Dégradé qui s'estompe */
.amo-expandable-fade {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Bouton Lire la suite */
.amo-expandable-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 0;
  background: none;
  border: none;
  color: #006ff9;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.amo-expandable-toggle:hover {
  color: #0055cc;
}

.amo-expandable-toggle .toggle-icon {
  transition: transform 0.3s ease;
}

/* État OUVERT */
.amo-expandable-text.is-expanded .amo-expandable-content {
  max-height: 2000px; /* suffisamment grand */
}

.amo-expandable-text.is-expanded .amo-expandable-fade {
  opacity: 0;
}

.amo-expandable-text.is-expanded .toggle-icon {
  transform: rotate(180deg);
}
