/* Havre Cosy – fiches logement
   Palette tirée du logo : marine, bleu roi, bleu ciel, or champagne. */

.hc-fiche, .hc-cartes {
  --hc-marine: #16325c;
  --hc-roi: #1f4e9c;
  --hc-ciel: #82c4d8;
  --hc-or: #b89a5e;
  --hc-or-texte: #8a6f3c;
  --hc-texte: #2c3e57;
  --hc-doux: #6b7a90;
  --hc-fond-doux: #f4f7fb;
  --hc-bord: #e3e8ef;
  --hc-rayon: 14px;
  color: var(--hc-texte);
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
.hc-fiche *, .hc-cartes * { box-sizing: border-box; }
.hc-fiche h1, .hc-fiche h2, .hc-fiche h3, .hc-cartes h3 {
  font-family: Amiri, Georgia, serif; color: var(--hc-marine); font-weight: 700;
  line-height: 1.15; margin: 0; padding: 0; letter-spacing: 0; text-transform: none;
}
.hc-fiche a { color: var(--hc-roi); }
.hc-fiche p { margin: 0 0 1em; }

.hc-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px 80px; }

.hc-fil { font-size: 12.5px; color: var(--hc-doux); padding: 24px 0 14px; }
.hc-fil a { color: var(--hc-doux); text-decoration: none; }
.hc-fil a:hover { text-decoration: underline; }

/* Galerie */
.hc-galerie {
  display: grid; gap: 8px; border-radius: var(--hc-rayon); overflow: hidden; position: relative;
  grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px;
}
.hc-galerie img {
  width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; display: block;
  cursor: zoom-in; transition: filter .2s; border-radius: 0; margin: 0;
}
.hc-galerie img:hover { filter: brightness(.9); }
.hc-galerie img:first-child { grid-row: 1 / 3; }
.hc-galerie--1 { grid-template-columns: 1fr; grid-template-rows: 460px; }
.hc-galerie--2 { grid-template-columns: 2fr 1fr; }
.hc-galerie--2 img:nth-child(2) { grid-row: 1 / 3; }
.hc-galerie--3 { grid-template-columns: 2fr 1fr; }
.hc-galerie--4 { grid-template-columns: 2fr 1fr 1fr; }
.hc-galerie--4 img:nth-child(4) { grid-column: 2 / 4; }
.hc-voir-tout {
  position: absolute; right: 16px; bottom: 16px; background: #fff; border: 1px solid var(--hc-bord);
  border-radius: 10px; padding: 9px 14px; font: 600 13px Montserrat, sans-serif; color: var(--hc-marine);
  cursor: pointer; box-shadow: 0 4px 14px rgba(22, 50, 92, .12); text-transform: none; letter-spacing: 0; line-height: 1.4;
}
.hc-voir-tout:hover { background: var(--hc-fond-doux); }

/* Titre */
.hc-tete { padding: 28px 0 6px; }
.hc-tete h1 { font-size: 46px; margin-top: 10px; }
.hc-lieu { color: var(--hc-doux); font-size: 14px; margin-top: 6px !important; }
.hc-lieu a { font-weight: 600; }
.hc-note-voyageurs { color: var(--hc-or-texte); }

.hc-etiquette {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px; line-height: 1.4;
}
.hc-etiquette--direct { background: #faf6ee; color: var(--hc-or-texte); border: 1px solid var(--hc-or); }
.hc-etiquette--conciergerie { background: #eef6fa; color: var(--hc-roi); border: 1px solid var(--hc-ciel); }
.hc-etiquette--bientot { background: var(--hc-marine); color: #fff; border: 1px solid var(--hc-marine); }

.hc-grille { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }

/* Infos clés */
.hc-infos {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 34px; padding: 18px 20px;
  background: var(--hc-fond-doux); border: 1px solid var(--hc-bord); border-radius: var(--hc-rayon);
}
.hc-infos dt, .hc-regles dt {
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--hc-doux); font-weight: 500; margin: 0;
}
.hc-infos dd, .hc-regles dd { margin: 0; font-weight: 600; color: var(--hc-marine); }

/* Sections */
.hc-bloc { padding: 30px 0; border-top: 1px solid var(--hc-bord); }
.hc-contenu > .hc-bloc:first-of-type, .hc-liste .hc-bloc:first-of-type { border-top: 0; padding-top: 0; }
.hc-sur {
  font-size: 11px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--hc-or-texte);
  font-weight: 700; margin: 0 0 4px !important;
}
.hc-bloc h2 { font-size: 30px; margin-bottom: 18px; }
.hc-bloc h2::after { content: ""; display: block; width: 42px; height: 2px; background: var(--hc-or); margin-top: 10px; }
.hc-texte h3 { font-size: 21px; margin: 22px 0 6px; }

.hc-atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.hc-atouts div { background: var(--hc-fond-doux); border-radius: 12px; padding: 16px; font-size: 13.5px; }
.hc-atouts strong { display: block; color: var(--hc-marine); margin-bottom: 4px; }

.hc-equip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hc-equip h3 {
  font: 700 11px Montserrat, sans-serif !important; letter-spacing: .12em !important; text-transform: uppercase !important;
  color: var(--hc-doux) !important; margin-bottom: 8px !important;
}
.hc-equip ul, .hc-alentours { list-style: none; padding: 0; margin: 0; }
.hc-equip li { padding: 4px 0; margin: 0; }
.hc-equip li::before { content: "✓"; color: var(--hc-roi); font-weight: 700; margin-right: 8px; }

.hc-alentours li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; margin: 0; border-bottom: 1px dashed var(--hc-bord); }
.hc-alentours li span:last-child { color: var(--hc-doux); white-space: nowrap; }

.hc-carte-map { height: 300px; border-radius: var(--hc-rayon); overflow: hidden; border: 1px solid var(--hc-bord); }
.hc-carte-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.hc-regles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.hc-regles div { border: 1px solid var(--hc-bord); border-radius: 10px; padding: 10px 14px; }

.hc-faq { border-bottom: 1px solid var(--hc-bord); padding: 14px 0; }
.hc-faq summary { cursor: pointer; font-weight: 600; color: var(--hc-marine); }
.hc-faq p { margin: 10px 0 0; }

.hc-note { font-size: 12.5px; color: var(--hc-doux); margin-top: 10px !important; }
.hc-note--centre { text-align: center; }

/* Encadré de réservation */
.hc-resa {
  position: sticky; top: 24px; background: #fff; border: 1px solid var(--hc-bord); border-radius: 18px;
  box-shadow: 0 10px 30px rgba(22, 50, 92, .10); padding: 22px;
}
.admin-bar .hc-resa { top: 56px; }
.hc-badge {
  display: inline-block; background: #faf6ee; border: 1px solid var(--hc-or); color: var(--hc-or-texte);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px;
  border-radius: 99px; margin: 0 0 12px !important;
}
.hc-prix { font-size: 14px; color: var(--hc-doux); margin: 0 0 10px !important; }
.hc-prix strong { font: 700 28px Amiri, Georgia, serif; color: var(--hc-marine); }
.hc-resa__titre { font-weight: 600; color: var(--hc-marine); margin: 6px 0 14px !important; }
.hc-widget { min-height: 420px; }
.hc-ou { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--hc-doux); margin: 18px 0 12px !important; }
.hc-ou::before, .hc-ou::after { content: ""; flex: 1; height: 1px; background: var(--hc-bord); }
.hc-otas { display: grid; gap: 10px; }
.hc-ota {
  display: block; text-align: center; border-radius: 10px; padding: 13px; text-decoration: none !important;
  font-weight: 700; font-size: 14px; transition: transform .15s, box-shadow .15s; color: #fff !important;
}
.hc-ota:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }
.hc-ota--airbnb { background: #e0484e; }
.hc-ota--booking { background: #003b95; }

.hc-petits-plus {
  display: block; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #faf6ee;
  border: 1px solid var(--hc-or); text-decoration: none !important; text-align: center;
}
.hc-petits-plus span { display: block; font-weight: 700; color: var(--hc-marine); }
.hc-petits-plus small { display: block; color: var(--hc-or-texte); font-size: 12.5px; margin-top: 2px; }
.hc-petits-plus:hover { background: #f4ecdc; }

/* Barre mobile */
.hc-barre-mobile { display: none; }

/* Visionneuse */
.hc-lb {
  position: fixed; inset: 0; background: rgba(12, 22, 40, .95); display: flex; align-items: center;
  justify-content: center; z-index: 100000;
}
.hc-lb[hidden] { display: none; }
.hc-lb img { max-width: 90vw; max-height: 84vh; border-radius: 8px; }
.hc-lb button {
  position: absolute; background: none !important; border: 0; color: #fff; font-size: 44px; cursor: pointer;
  padding: 20px; line-height: 1; box-shadow: none;
}
.hc-lb__fermer { top: 10px; right: 14px; font-size: 30px !important; }
.hc-lb__prec { left: 10px; }
.hc-lb__suiv { right: 10px; }
.hc-lb__compteur { position: absolute; bottom: 18px; color: #fff; font-size: 13px; margin: 0; }

/* Liste « Nos logements » et shortcode */
.hc-liste__tete { padding: 40px 0 30px; text-align: center; }
.hc-liste__tete h1 { font-size: 50px; margin: 6px 0 10px; }
.hc-liste__intro { max-width: 620px; margin: 0 auto !important; color: var(--hc-doux); }

/* Recherche par dates */
.hc-recherche {
  display: grid; grid-template-columns: 1fr 1fr 150px auto; gap: 14px; align-items: end;
  background: #fff; border: 1px solid var(--hc-bord); border-radius: 18px; padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(22, 50, 92, .08); margin: 0 0 40px;
}
.hc-recherche__champ label {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--hc-doux); margin-bottom: 6px;
}
.hc-recherche input, .hc-recherche select {
  width: 100%; height: 48px; border: 1px solid var(--hc-bord) !important; border-radius: 10px !important;
  padding: 0 12px !important; font: 500 15px Montserrat, sans-serif; color: var(--hc-marine) !important;
  background: var(--hc-fond-doux) !important; box-shadow: none !important; margin: 0;
}
.hc-recherche__bouton {
  height: 48px; border: 0 !important; border-radius: 30px !important; padding: 0 26px !important;
  background: var(--hc-marine) !important; color: #fff !important; font: 700 13px Montserrat, sans-serif !important;
  letter-spacing: .08em !important; text-transform: uppercase; cursor: pointer; box-shadow: inset 0 -3px 0 var(--hc-or) !important;
}
.hc-recherche__bouton:hover { background: var(--hc-roi) !important; }
.hc-recherche--encours .hc-recherche__bouton { opacity: .6; }
.hc-recherche__message { grid-column: 1 / -1; margin: 0 !important; font-size: 13.5px; color: var(--hc-doux); }
.hc-recherche__message:empty { display: none; }

.hc-carte__dispo {
  position: absolute; left: 14px; bottom: 14px; font-size: 12px; font-weight: 700; padding: 6px 12px;
  border-radius: 99px; background: #fff; color: var(--hc-marine); box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}
.hc-carte__dispo--oui { background: #1e7a4c; color: #fff; }
.hc-carte__dispo--oui::before { content: "✓ "; }
.hc-carte__dispo--non { background: #fff; color: #9b2c2c; }
.hc-carte--indispo { opacity: .55; }
.hc-carte--indispo:hover { opacity: .8; }

.hc-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.hc-carte {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hc-bord); border-radius: 16px;
  overflow: hidden; text-decoration: none !important; color: inherit !important; transition: transform .2s, box-shadow .2s;
}
.hc-carte:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(22, 50, 92, .12); }
.hc-carte__photo { position: relative; aspect-ratio: 4 / 3; background: var(--hc-fond-doux); }
.hc-carte__photo img, .hc-carte__vide { width: 100% !important; height: 100% !important; object-fit: cover; display: block; margin: 0; }
.hc-carte__photo .hc-etiquette { position: absolute; top: 14px; left: 14px; background: #fff; }
.hc-carte__photo .hc-etiquette--bientot { background: var(--hc-marine); }
.hc-carte__corps { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.hc-carte__titre { font-size: 25px !important; }
.hc-carte__sous { color: var(--hc-texte); font-size: 13.5px; margin: 4px 0 0 !important; }
.hc-carte__resume { color: var(--hc-doux); font-size: 13px; margin: 6px 0 14px !important; }
.hc-carte__pied {
  margin: auto 0 0 !important; padding-top: 14px; border-top: 1px solid var(--hc-bord);
  display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; color: var(--hc-doux);
}
.hc-carte__pied strong { font: 700 20px Amiri, Georgia, serif; color: var(--hc-marine); }
.hc-carte__lien { color: var(--hc-roi); font-weight: 600; }

/* Responsive */
@media (max-width: 960px) {
  .hc-grille { grid-template-columns: 1fr; gap: 10px; }
  .hc-resa { position: static; }
  .hc-tete h1 { font-size: 36px; }
  .hc-galerie, .hc-galerie--2, .hc-galerie--3, .hc-galerie--4 { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
  .hc-galerie img:first-child { grid-column: 1 / 3; grid-row: auto; }
  .hc-galerie img:nth-child(2) { grid-row: auto; }
  .hc-galerie img:nth-child(n+4) { display: none; }
  .hc-galerie--1 { grid-template-rows: 260px; }
  .hc-galerie--2 img:first-child { grid-row: 1 / 3; grid-column: auto; }
  .hc-infos { grid-template-columns: repeat(2, 1fr); }
  .hc-atouts, .hc-equip { grid-template-columns: 1fr; }
  .hc-regles { grid-template-columns: repeat(2, 1fr); }
  .hc-barre-mobile {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: #fff;
    border-top: 1px solid var(--hc-bord); padding: 12px 16px; align-items: center; justify-content: space-between;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); font-size: 13px;
  }
  .hc-barre-mobile strong { font: 700 21px Amiri, Georgia, serif; color: var(--hc-marine); }
  .hc-barre-mobile a {
    background: var(--hc-marine); color: #fff !important; text-decoration: none; font-weight: 700;
    padding: 12px 22px; border-radius: 10px; box-shadow: inset 0 -2px 0 var(--hc-or);
  }
  .hc-fiche { padding-bottom: 70px; }
  .hc-recherche { grid-template-columns: 1fr 1fr; }
  .hc-recherche__champ--court, .hc-recherche__bouton { grid-column: 1 / -1; }
  .hc-liste__tete h1 { font-size: 38px; }
}
@media (max-width: 520px) {
  .hc-wrap { padding: 0 16px 60px; }
  .hc-cartes { grid-template-columns: 1fr; }
}
