/* ═══════════════════════════════════════════════════════════════════════════
   IMOVI+ — home.css · v3.0
   3 couleurs verrouillées · a11y AA · mobile-first · 14 sections
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --encre:      #1A1612;
  --ivoire:     #FAF6F0;
  --ocre:       #B87333;
  --ocre-clair: rgba(184, 115, 51, .12);
  --ocre-fonce: #8E561F;
  --rouge:      #B3261E;

  --surface:    #FFFFFF;
  --ligne:      rgba(26, 22, 18, .08);
  --ligne-claire: #EFEAE3;

  --texte:      #2B2620;
  --texte-2:    #6B6560;   /* 5,34:1 sur ivoire — conforme, inchangé */
  /* #A39B93 ne donnait que 2,54:1 sur ivoire et 2,74:1 sur blanc, alors que
     ce fichier se déclare « a11y AA ». Ses 7 usages vivants sont TOUS sur
     fond clair (vérifié dans le DOM), donc l'assombrir ne casse rien —
     mais voir le garde-fou .hp-section-dark plus bas, car ce même jeton
     deviendrait illisible si une section sombre venait à l'employer. */
  --texte-3:    #6F6960;   /* 5,05:1 sur ivoire · 5,43:1 sur blanc */

  --orange:        var(--ocre);
  --orange-clair:  var(--ocre);
  --orange-fonce:  var(--ocre-fonce);

  --hp-gap:         clamp(16px, 2vw, 24px);
  --hp-section-y:   clamp(56px, 8vw, 104px);
  --hp-section-y-sm: clamp(40px, 5vw, 64px);
  --hp-radius:      20px;
  --hp-radius-lg:   24px;
  --hp-shadow-soft: 0 12px 32px -18px rgba(26, 22, 18, .25);
  --hp-shadow-hover:0 28px 60px -24px rgba(26, 22, 18, .35);
  --hp-dark:        #1A1612;
  --hp-dark-2:      #262019;
  --hp-ease:        cubic-bezier(.22, .61, .36, 1);
}

*:focus { outline: none; }
*:focus-visible {
  outline: 3px solid var(--ocre);
  outline-offset: 3px;
  border-radius: 4px;
}

.hp-section { padding: var(--hp-section-y-sm) 0; }
.hp-section-alt { background: var(--ivoire); }
.hp-section-dark { background: var(--hp-dark); color: var(--ivoire); }
/* GARDE-FOU. --texte-3 est désormais une encre sombre, juste ce qu'il faut
   pour l'ivoire (5,05:1) mais illisible sur l'encre (3,31:1). Aucune section
   sombre ne l'emploie aujourd'hui ; si l'une le fait demain, elle héritera
   d'ici une valeur claire au lieu de disparaître dans le fond. */
.hp-section-dark { --texte-3: #A5A19C; }   /* 7,01:1 sur --hp-dark */
/* « .hp-section-head h2 » (plus bas, même priorité) repeignait ce titre en
   encre sur le fond encre : il était invisible. On vise donc les deux cas. */
.hp-section-dark h2,
.hp-section-dark .hp-section-head h2 { color: var(--ivoire); }

.hp-section-head { margin-bottom: clamp(28px, 3.5vw, 48px); max-width: 720px; }
.hp-section-head-flex { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: none; }
.hp-section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.hp-section-head h2 { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.15; letter-spacing: -.015em; margin: 8px 0 0; color: var(--encre); }
.hp-eyebrow { display: inline-block; font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ocre-fonce); }
/* « light » ne qualifie pas le fond : il qualifie le TEXTE. Ce surtitre vit
   dans .hp-section-dark, sur l'encre #1A1612 (vérifié dans le DOM) — c'est
   la variante claire du surtitre, pas une variante sur fond clair.
   Le cuivre clair y donne 4,74:1, conforme. L'assombrir le ferait tomber à
   3,00:1 : sur fond sombre, un accent se CLAIRCIT, il ne se fonce pas. */
.hp-eyebrow-light { color: var(--ocre); }

/* ── HERO ────────────────────────────────────────────────────────────── */
.hp-hero { padding: clamp(28px, 4vw, 56px) 0 0; position: relative; }
.hp-hero-grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 960px) { .hp-hero-grille { grid-template-columns: 1fr; gap: 32px; } }
.hp-hero-eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ocre-fonce); margin-bottom: 16px; }
.hp-hero-titre { font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 20px; color: var(--encre); text-wrap: balance; }
.hp-hero-sous { font-size: clamp(1rem, 1.15vw, 1.1rem); color: var(--texte-2); max-width: 52ch; line-height: 1.6; margin: 0 0 32px; }
.hp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hp-hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 20px; border-top: 1px solid var(--ligne); padding-top: 20px; }
.hp-hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--texte-2); }
.hp-hero-trust i { color: var(--ocre); font-size: 15px; }

.hp-hero-visuel { position: relative; border-radius: var(--hp-radius-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--ligne-claire); box-shadow: var(--hp-shadow-soft); }
@media (max-width: 960px) { .hp-hero-visuel { aspect-ratio: 16/12; } }
.hp-hero-visuel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--hp-ease); }
.hp-hero-visuel:hover img { transform: scale(1.03); }

.hp-hero-vedette { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border: 1px solid rgba(255, 255, 255, .6); border-radius: 16px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; text-decoration: none; color: inherit; box-shadow: 0 18px 40px -18px rgba(26, 22, 18, .4); transition: transform .3s var(--hp-ease); }
.hp-hero-vedette:hover { transform: translateY(-3px); }
.hp-hero-vedette-txt strong { font-family: var(--serif); font-size: 16px; color: var(--encre); display: block; line-height: 1.2; margin-bottom: 3px; }
.hp-hero-vedette-txt small { font-size: 12.5px; color: var(--texte-2); }
.hp-hero-vedette-prix { font-family: var(--serif); font-weight: 600; color: var(--ocre-fonce); white-space: nowrap; font-size: 15px; }

/* ── RECHERCHE ───────────────────────────────────────────────────────── */
.hp-recherche { margin-top: clamp(28px, 4vw, 48px); background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--hp-radius-lg); box-shadow: 0 24px 60px -28px rgba(26, 22, 18, .28); padding: clamp(18px, 2.4vw, 26px); position: relative; z-index: 20; }
.hp-rtabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 22px; padding: 0 0 14px; border-bottom: 1px solid var(--ligne); }
.hp-rtab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; min-height: 40px; background: transparent; border: 1px solid transparent; border-radius: 999px; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--texte-2); cursor: pointer; white-space: nowrap; transition: color .2s, background .2s, border-color .2s; -webkit-appearance: none; appearance: none; }
.hp-rtab i { font-size: 13px; color: currentColor; opacity: .85; }
.hp-rtab:hover { color: var(--encre); background: var(--ivoire); }
/* Onglet actif : blanc sur cuivre clair ne donnait que 3,79:1, et c'est le
   repère qui dit à l'utilisateur ce qu'il est en train de chercher. Le fond
   descend d'un cran dans la même famille — blanc sur cuivre foncé : 6,00:1. */
.hp-rtab[aria-selected="true"] { color: #fff; background: var(--ocre-fonce); border-color: var(--ocre-fonce); }
.hp-rtab[aria-selected="true"] i { opacity: 1; color: #fff; }
.hp-rtab:focus-visible { outline: 3px solid var(--ocre); outline-offset: 2px; }

.hp-rform { display: none; animation: hpFade .25s var(--hp-ease); }
.hp-rform.actif { display: block; }
.hp-rform[hidden] { display: none !important; }
@keyframes hpFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.hp-rgrille { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.hp-rfield { flex: 1 1 150px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hp-rfield label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-3); }
.hp-rfield input,
.hp-rfield select { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--ligne); border-radius: 12px; background: var(--surface); font-family: var(--sans); font-size: 14px; color: var(--encre); outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; box-sizing: border-box; }
.hp-rfield select { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236B6560' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer; }
.hp-rfield input[type="date"] { padding-right: 14px; cursor: pointer; font-family: var(--sans); }
.hp-rfield input:focus,
.hp-rfield select:focus { border-color: var(--ocre); box-shadow: 0 0 0 3px var(--ocre-clair); }
.hp-rfield input::placeholder { color: var(--texte-3); }

.hp-rbtn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px; background: var(--ocre-fonce); color: #fff; border: none; border-radius: 12px; font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .02em; cursor: pointer; transition: background .2s, transform .15s; white-space: nowrap; -webkit-appearance: none; appearance: none; }
/* Blanc sur cuivre #B87333 = 3,79:1, sous le seuil. Le bouton passe au cuivre
   foncé (6,49:1) et son survol descend d'un cran. */
.hp-rbtn:hover { background: #74451A; }
.hp-rbtn:active { transform: scale(.98); }
.hp-rbtn:focus-visible { outline: 3px solid var(--ocre); outline-offset: 2px; }
.hp-rbtn i { font-size: 14px; }

.hp-rplus { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--ocre-fonce); text-decoration: none; transition: gap .2s; }
.hp-rplus:hover { gap: 10px; }
.hp-rplus i { font-size: 11px; }

@media (max-width: 900px) {
  .hp-rfield { flex: 1 1 calc(50% - 7px); }
  .hp-rbtn   { flex: 1 1 100%; }
}
@media (max-width: 560px) {
  .hp-rtabs { gap: 6px; padding-bottom: 12px; }
  .hp-rtab  { padding: 8px 12px; font-size: 12px; }
  .hp-rfield { flex: 1 1 100%; }
  .hp-rbtn { width: 100%; }
}
.hp-recherche.is-sticky { position: sticky; top: var(--header-height, 68px); z-index: 40; background: var(--surface); box-shadow: 0 18px 40px -20px rgba(26, 22, 18, .35); border-radius: 0 0 var(--hp-radius-lg) var(--hp-radius-lg); }

/* ── RECHERCHES POPULAIRES ───────────────────────────────────────────── */
.hp-recherches { padding: 24px 0; border-bottom: 1px solid var(--ligne); }
.hp-recherches-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hp-recherches-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ocre-fonce); flex-shrink: 0; }
.hp-recherches-label i { font-size: 13px; color: var(--ocre); }
.hp-recherches-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.hp-chip { display: inline-flex; align-items: center; padding: 8px 14px; background: var(--ivoire); border: 1px solid var(--ligne); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--encre); text-decoration: none; letter-spacing: -.005em; transition: all .2s var(--hp-ease); }
.hp-chip:hover { background: #FFF; border-color: var(--ocre); color: var(--ocre-fonce); transform: translateY(-1px); }

/* ── TUILES ──────────────────────────────────────────────────────────── */
.hp-tuiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--hp-gap); }
@media (max-width: 1180px) { .hp-tuiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .hp-tuiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .hp-tuiles { grid-template-columns: 1fr; } }

.hp-tuile { position: relative; display: block; aspect-ratio: 3/4; border-radius: var(--hp-radius); overflow: hidden; text-decoration: none; background: var(--encre); isolation: isolate; transition: transform .35s var(--hp-ease), box-shadow .35s var(--hp-ease); }
.hp-tuile:hover { transform: translateY(-6px); box-shadow: var(--hp-shadow-hover); }
.hp-tuile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--hp-ease); }
.hp-tuile:hover img { transform: scale(1.06); }
.hp-tuile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(20, 16, 12, .9) 100%); z-index: 1; }
.hp-tuile-content { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; display: flex; flex-direction: column; gap: 5px; pointer-events: none; }
.hp-tuile-content small { font-size: 11px; color: rgba(250, 246, 240, .85); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; line-height: 1; }
.hp-tuile-content b { font-family: var(--serif); font-size: clamp(17px, 1.4vw, 21px); font-weight: 400; color: var(--ivoire); line-height: 1.15; margin: 0; }
.hp-tuile-count { position: absolute; top: 16px; right: 16px; z-index: 2; background: rgba(255, 255, 255, .92); color: var(--encre); font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); }

/* ── PARTENAIRES PAIEMENT ────────────────────────────────────────────── */
.hp-paiement { padding: 40px 0; background: var(--ivoire); text-align: center; }
.hp-paiement-label { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-3); margin: 0 0 20px; }
.hp-paiement-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(20px, 4vw, 48px); }
.hp-pay { font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--texte-2); letter-spacing: -.005em; opacity: .75; transition: opacity .25s, color .25s; }
.hp-pay:hover { opacity: 1; color: var(--encre); }

/* ── DEALS ───────────────────────────────────────────────────────────── */
.hp-deals { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--hp-gap); }
@media (max-width: 1024px) { .hp-deals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .hp-deals { grid-template-columns: 1fr; } }
.hp-deal { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--hp-radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .3s var(--hp-ease), transform .3s var(--hp-ease), border-color .3s; }
.hp-deal:hover { transform: translateY(-4px); box-shadow: var(--hp-shadow-hover); border-color: rgba(184, 115, 51, .45); }
.hp-deal-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--ligne-claire); }
.hp-deal-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--hp-ease); }
.hp-deal:hover .hp-deal-media img { transform: scale(1.05); }
.hp-deal-badge { position: absolute; top: 12px; left: 12px; background: var(--ocre-fonce); color: #fff; font-size: 10.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 16px -4px rgba(184, 115, 51, .5); }
.hp-deal-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hp-deal-body h3 { font-family: var(--serif); font-size: 16.5px; font-weight: 400; margin: 0; color: var(--encre); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-deal-loc { font-size: 12.5px; color: var(--texte-3); }
.hp-deal-loc i { color: var(--ocre); margin-right: 3px; }
.hp-deal-prix { font-family: var(--serif); font-size: 18px; color: var(--ocre-fonce); font-weight: 600; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ligne); }

/* ── CARTE ANNONCE ───────────────────────────────────────────────────── */
.hp-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hp-gap); }
@media (max-width: 960px) { .hp-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hp-grid-3 { grid-template-columns: 1fr; } }

.card-annonce { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--hp-radius); overflow: hidden; transition: box-shadow .3s var(--hp-ease), transform .3s var(--hp-ease), border-color .3s; }
.card-annonce:hover { border-color: rgba(184, 115, 51, .45); box-shadow: var(--hp-shadow-hover); transform: translateY(-4px); }
.card-annonce .ivp-media { display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--ligne-claire); }
.card-annonce .ivp-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--hp-ease); }
.card-annonce:hover .ivp-media img { transform: scale(1.05); }

.ivp-cat { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px); color: var(--encre); font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; z-index: 2; }
.ivp-badge-new { position: absolute; top: 12px; right: 56px; background: var(--ocre-fonce); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; z-index: 2; }
.ivp-fav { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px); border: none; cursor: pointer; display: grid; place-items: center; z-index: 4; transition: transform .2s var(--hp-ease), background .2s; }
.ivp-fav:hover { transform: scale(1.1); background: #fff; }
.ivp-fav svg { width: 17px; height: 17px; fill: none; stroke: var(--encre); stroke-width: 1.8; }
.ivp-fav.actif svg { fill: var(--ocre); stroke: var(--ocre); }

.card-annonce .ivp-corps { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ivp-titre { font-family: var(--serif); font-size: 17.5px; font-weight: 400; color: var(--encre); margin: 0; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ivp-titre a { color: inherit; text-decoration: none; }
.ivp-titre a:hover { color: var(--ocre-fonce); }
.ivp-specs { font-size: 13px; color: var(--texte-2); margin: 0; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.ivp-tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 22px; }
.ivp-confiance-inline, .ivp-statut-inline { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; line-height: 1.3; white-space: nowrap; }
.ivp-confiance-inline i { font-size: 10px; }
.ivp-confiance-verifie { background: rgba(184, 115, 51, .10); color: var(--ocre-fonce); border: 1px solid rgba(184, 115, 51, .25); }
.ivp-confiance-or { background: linear-gradient(135deg, #FBF1E0 0%, #F4E2C4 100%); color: #6B3F0A; border: 1px solid rgba(184, 115, 51, .35); }
.ivp-confiance-react { background: rgba(184, 115, 51, .14); color: var(--ocre-fonce); border: 1px solid rgba(184, 115, 51, .3); }
.ivp-statut-attente { background: rgba(184, 115, 51, .15); color: var(--ocre-fonce); border: 1px solid rgba(184, 115, 51, .3); }
.ivp-statut-ko      { background: rgba(26, 22, 18, .1); color: var(--encre); border: 1px solid rgba(26, 22, 18, .2); }
.ivp-statut-inactif { background: rgba(163, 155, 147, .15); color: var(--texte-2); border: 1px solid rgba(163, 155, 147, .3); }

.card-annonce .ivp-pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ligne); }
.ivp-prix { font-family: var(--serif); font-size: 18px; color: var(--ocre-fonce); font-weight: 600; letter-spacing: -.005em; }
.ivp-prix-suffixe { font-size: 12px; color: var(--texte-3); font-family: var(--sans); font-weight: 500; }
.ivp-cta { font-size: 13px; font-weight: 600; color: var(--encre); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s, color .2s; }
.ivp-cta:hover { gap: 10px; color: var(--ocre-fonce); }
.ivp-cta i { font-size: 11px; }

/* ── RÉCEMMENT CONSULTÉS ─────────────────────────────────────────────── */
.hp-recents { padding: var(--hp-section-y-sm) 0; background: var(--surface); }
.hp-recents-clear { background: transparent; border: none; font-family: inherit; font-size: 13px; font-weight: 500; color: var(--texte-3); text-decoration: underline; cursor: pointer; padding: 6px 0; transition: color .2s; }
.hp-recents-clear:hover { color: var(--rouge); }
.hp-recents-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--hp-gap); }
@media (max-width: 960px) { .hp-recents-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hp-recents-grid { grid-template-columns: 1fr; } }

.hp-recent-card { display: flex; gap: 14px; padding: 12px; background: var(--surface); border: 1px solid var(--ligne); border-radius: 14px; text-decoration: none; color: inherit; transition: all .25s var(--hp-ease); }
.hp-recent-card:hover { border-color: rgba(184, 115, 51, .4); transform: translateY(-2px); box-shadow: var(--hp-shadow-soft); }
.hp-recent-card img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--ligne-claire); }
.hp-recent-card-info { min-width: 0; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.hp-recent-card-info strong { font-family: var(--serif); font-size: 14.5px; font-weight: 400; color: var(--encre); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-recent-card-info span { font-size: 12px; color: var(--texte-3); }
.hp-recent-card-info em { font-style: normal; font-family: var(--serif); font-size: 14px; font-weight: 600; color: var(--ocre-fonce); margin-top: auto; }

/* ── ÉTAPES ──────────────────────────────────────────────────────────── */
.hp-etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--hp-gap); }
@media (max-width: 760px) { .hp-etapes { grid-template-columns: 1fr; } }
.hp-etape { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--hp-radius); padding: 32px 28px; transition: border-color .3s, transform .3s var(--hp-ease); }
.hp-etape:hover { border-color: var(--ocre); transform: translateY(-3px); }
.hp-etape-num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--ocre); opacity: .2; display: block; margin-bottom: 14px; }
.hp-etape h3 { font-family: var(--serif); font-size: 21px; font-weight: 400; margin: 0 0 10px; color: var(--encre); }
.hp-etape p { color: var(--texte-2); font-size: 14.5px; margin: 0; line-height: 1.6; }

/* ── STAY ────────────────────────────────────────────────────────────── */
.hp-stay { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .hp-stay { grid-template-columns: 1fr; } }
.hp-stay-visuel { border-radius: var(--hp-radius-lg); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--hp-shadow-soft); }
.hp-stay-visuel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-stay-content h2 { font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -.015em; line-height: 1.15; margin: 8px 0 16px; color: var(--encre); }
.hp-stay-content p { color: var(--texte-2); font-size: 15.5px; line-height: 1.65; max-width: 52ch; margin: 0 0 22px; }
.hp-stay-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hp-stay-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--ivoire); border: 1px solid var(--ligne); padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--encre); font-weight: 500; }
.hp-stay-badge i { color: var(--ocre); }
.hp-stay-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── VILLES ──────────────────────────────────────────────────────────── */
.hp-villes { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--hp-gap); }
@media (max-width: 960px) { .hp-villes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .hp-villes { grid-template-columns: repeat(2, 1fr); } }
.hp-ville { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--ligne); background: var(--surface); text-decoration: none; transition: all .25s var(--hp-ease); }
.hp-ville:hover { border-color: var(--encre); background: var(--ivoire); transform: translateY(-2px); }
.hp-ville strong { font-family: var(--serif); font-size: 18px; color: var(--encre); font-weight: 400; }
.hp-ville span { font-size: 12.5px; color: var(--texte-3); }

/* ── PILIERS ─────────────────────────────────────────────────────────── */
.hp-piliers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--hp-gap); }
@media (max-width: 960px) { .hp-piliers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hp-piliers { grid-template-columns: 1fr; } }
.hp-pilier { border: 1px solid rgba(250, 246, 240, .14); border-radius: var(--hp-radius); padding: 30px 26px; transition: border-color .3s, background .3s; }
.hp-pilier:hover { border-color: rgba(184, 115, 51, .5); background: rgba(255, 255, 255, .03); }
.hp-pilier-num { font-family: var(--serif); font-size: 28px; color: var(--ocre); display: block; margin-bottom: 16px; line-height: 1; }
.hp-pilier h3 { font-family: var(--serif); color: var(--ivoire); font-size: 19px; font-weight: 400; margin: 0 0 10px; }
.hp-pilier p { color: rgba(250, 246, 240, .78); font-size: 14px; margin: 0; line-height: 1.6; }

/* ── PRESSE ──────────────────────────────────────────────────────────── */
.hp-presse { padding: 40px 0; border-top: 1px solid var(--ligne); }
.hp-presse-label { text-align: center; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-3); margin: 0 0 22px; }
.hp-presse-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(24px, 5vw, 64px); }
.hp-presse-item { font-family: var(--serif); font-size: 19px; font-weight: 400; color: var(--texte-3); letter-spacing: -.01em; opacity: .7; transition: opacity .25s, color .25s; cursor: default; }
.hp-presse-item:hover { opacity: 1; color: var(--encre); }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.hp-faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .hp-faq { grid-template-columns: 1fr; gap: 28px; } }
.hp-faq-intro h2 { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 8px 0 12px; color: var(--encre); }
.hp-faq-intro p { color: var(--texte-2); font-size: 15px; line-height: 1.6; margin: 0; max-width: 40ch; }

/* ── BOUTON RETOUR EN HAUT ───────────────────────────────────────────── */
.hp-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--encre); color: var(--ivoire); border: none; display: grid; place-items: center; cursor: pointer; z-index: 80; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, visibility .3s, transform .3s, background .2s; box-shadow: 0 12px 32px -8px rgba(26, 22, 18, .4); }
.hp-top.visible { opacity: 1; visibility: visible; transform: none; }
.hp-top:hover { background: var(--ocre-fonce); }
.hp-top i { font-size: 16px; }
@media (max-width: 520px) { .hp-top { bottom: 16px; right: 16px; width: 40px; height: 40px; } }

/* ── SKELETON ────────────────────────────────────────────────────────── */
.is-loading { background: linear-gradient(90deg, var(--ligne-claire) 25%, #F5F0E8 37%, var(--ligne-claire) 63%); background-size: 400% 100%; animation: hpShimmer 1.4s ease infinite; }
@keyframes hpShimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ── REDUCED MOTION ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hp-hero-visuel:hover img, .hp-tuile:hover img, .card-annonce:hover .ivp-media img { transform: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* ─────────────────────────────────────────────────────────────────────────
   RECHERCHE EN UNE PHRASE (accueil) — au-dessus des cinq onglets
   Le champ libre précède les filtres : on écrit d'abord, on affine ensuite.
   ───────────────────────────────────────────────────────────────────────── */
.hp-rlibre { max-width: 760px; margin: 0 auto 14px; }
.hp-rlibre-lbl {
  display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--texte-2); margin: 0 0 6px;
}
.hp-rlibre .rch-champ { height: 52px; border-radius: 10px; }
.hp-rlibre-aide { margin: 7px 2px 0; font-size: 12.5px; color: var(--texte-3); }
@media (max-width: 600px) {
  .hp-rlibre .rch-champ { height: 48px; }
  .hp-rlibre-aide { display: none; }
}

.hp-chip-n { margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: var(--ligne-claire); color: var(--orange-texte); font-size: 11.5px; font-weight: 700; }

/* ── Téléphone : les univers de recherche défilent d'un doigt sur UNE ligne (au lieu de s'empiler sur trois) ── */
@media (max-width: 640px) {
  .hp-rtabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: -4px; padding-inline: 4px;
    scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .hp-rtabs::-webkit-scrollbar { display: none; }
  .hp-rtab { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; }
}
