/* Horizon Bleu — page « Votre logement est ailleurs ? » (3.8.0)
   S'appuie sur dest.css (en-tête éditorial, boutons, bandeau final).
   Styles propres à la page : blocs .hb-e-* */
.hb-e-head, .hb-e-worlds, .hb-e-method, .hb-e-proof { --hbe-line: rgba(20,50,92,.14); --hbd-serif: var(--hb-font-display, "Fraunces", Georgia, serif); }

/* ---------- Emplacements photo provisoires ---------- */
.hb-e-ph.wp-block-group { position: relative; margin: 0 !important; overflow: hidden; border-radius: 26px;
  display: flex; align-items: flex-end; min-height: 0; aspect-ratio: 16 / 11; box-sizing: border-box;
  background:
    repeating-linear-gradient(135deg, rgba(20,50,92,.045) 0 1px, transparent 1px 14px),
    radial-gradient(120% 90% at 100% 0%, rgba(42,143,214,.22), transparent 60%),
    linear-gradient(160deg, #EAF1F6 0%, #F3EBDD 100%);
  box-shadow: inset 0 0 0 1px rgba(20,50,92,.12); }
.hb-e-ph--alps.wp-block-group { background:
    repeating-linear-gradient(135deg, rgba(20,50,92,.045) 0 1px, transparent 1px 14px),
    radial-gradient(110% 90% at 0% 0%, rgba(255,255,255,.9), transparent 55%),
    linear-gradient(170deg, #DCE6EF 0%, #EEF1F4 55%, #F6F3EE 100%); }
.hb-e-ph > .wp-block-group__inner-container { width: 100%; padding: 22px 24px; box-sizing: border-box; }
.hb-e-ph::before { content: ""; position: absolute; left: 50%; top: 44%; width: 54px; height: 54px; transform: translate(-50%, -50%); opacity: .55;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314325C' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='m21 16-5-5-8 8'/%3E%3C/svg%3E"); }
.hb-e-ph p { margin: 0 !important; }
.hb-e-ph .hb-e-ph-label { font-family: var(--hbd-serif) !important; font-weight: 600; font-size: 1.15rem !important; color: var(--hbd-navy) !important; }
.hb-e-ph .hb-e-ph-sub { font-size: .76rem !important; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--hbd-cta) !important; margin-top: 4px !important; }
.hb-e-head .hb-e-ph.wp-block-group { aspect-ratio: 16 / 10; box-shadow: inset 0 0 0 1px rgba(20,50,92,.12), 0 40px 80px -52px rgba(14,38,71,.6); }

/* ---------- Deux univers ---------- */
.hb-e-worlds.wp-block-group { background: #fff !important; }
.hb-e-worlds .hb-e-intro { max-width: 56ch; margin: 0 0 clamp(32px, 4vw, 52px) !important; font-size: 1.05rem; }
.hb-e-worlds-grid > .wp-block-group__inner-container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.hb-e-world.wp-block-group { margin: 0 !important; }
.hb-e-world .hb-e-ph.wp-block-group { aspect-ratio: 4 / 3.4; border-radius: 22px; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hb-e-world:hover .hb-e-ph.wp-block-group { transform: translateY(-4px); }
.hb-e-world-body > .wp-block-group__inner-container { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding: 22px 4px 0; }
.hb-e-world .hb-e-world-n { grid-row: span 2; margin: 2px 0 0 !important; font-family: var(--hbd-serif) !important; font-style: italic; font-size: 1.05rem !important;
  color: var(--hbd-gold) !important; line-height: 1; padding-top: 6px; border-top: 1px solid var(--hbd-gold); min-width: 26px; }
.hb-e-world h3 { margin: 0 0 6px !important; font-size: clamp(1.3rem, 1.8vw, 1.6rem) !important; }
.hb-e-world p:not([class]) { margin: 0 !important; max-width: 42ch; }
.hb-e-note { margin: clamp(32px, 4vw, 48px) 0 0 !important; padding: 4px 0 4px 18px; border-left: 2px solid var(--hbd-cta); max-width: 70ch; font-size: .98rem; }

/* ---------- Méthode en trois étapes ---------- */
.hb-e-method.wp-block-group { background: var(--hbd-ivory) !important; }
.hb-e-method h2 { margin-bottom: clamp(36px, 4.5vw, 60px) !important; }
.hb-e-steps > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hbe-line); }
.hb-e-step.wp-block-group { margin: 0 !important; padding: clamp(26px, 3vw, 40px) clamp(20px, 2.6vw, 36px) 8px 0; position: relative; }
.hb-e-step + .hb-e-step { padding-left: clamp(20px, 2.6vw, 36px); border-left: 1px solid var(--hbe-line); }
.hb-e-step::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--hbd-cta); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s cubic-bezier(.2,.7,.2,1) .15s; }
.hb-e-step + .hb-e-step::before { left: clamp(20px, 2.6vw, 36px); }
.hb-e-steps.is-on .hb-e-step::before, .hb-e-step:hover::before { transform: scaleX(1); }
.hb-e-num { margin: 0 0 18px !important; font-family: var(--hbd-serif) !important; font-weight: 300; font-size: clamp(2.6rem, 4vw, 3.4rem) !important; line-height: 1 !important;
  color: transparent !important; -webkit-text-stroke: 1px var(--hbd-navy); letter-spacing: -.02em; }
.hb-e-step h3 { font-size: clamp(1.2rem, 1.55vw, 1.4rem) !important; line-height: 1.25 !important; margin: 0 0 10px !important; max-width: 22ch; }
.hb-e-step p:not(.hb-e-num) { margin: 0 !important; font-size: .98rem; }

/* ---------- Notre expérience ---------- */
.hb-e-proof.wp-block-group { background: #fff !important; padding: clamp(64px, 7vw, 104px) 0 !important; }
.hb-e-proof-card > .wp-block-group__inner-container { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; max-width: 1060px; }
.hb-e-proof-img.wp-block-image { margin: 0 !important; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -56px rgba(14,38,71,.7); }
.hb-e-proof-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hb-e-proof h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem) !important; margin: 10px 0 14px !important; }
.hb-e-facts { list-style: none; padding: 0 !important; margin: 16px 0 22px !important; display: flex; flex-wrap: wrap; gap: 8px; }
.hb-e-facts li { margin: 0 !important; padding: 6px 14px; border-radius: 999px; background: var(--hbd-ivory); box-shadow: inset 0 0 0 1px var(--hbe-line); font-size: .86rem; color: var(--hbd-navy) !important; font-weight: 600; }
.hb-e-link { margin: 0 !important; }
.hb-e-link a { color: var(--hbd-navy) !important; font-weight: 700; text-decoration: none !important; border-bottom: 1.5px solid var(--hbd-cta); padding-bottom: 3px; }
.hb-e-link a::after { content: " →"; display: inline-block; transition: transform .3s ease; }
.hb-e-link a:hover::after { transform: translateX(4px); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hb-e-worlds-grid > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 36px; }
  .hb-e-steps > .wp-block-group__inner-container { grid-template-columns: 1fr; border-top: 0; }
  .hb-e-step.wp-block-group, .hb-e-step + .hb-e-step { padding: 24px 0 26px; border-left: 0; border-top: 1px solid var(--hbe-line);
    display: block; }
  .hb-e-step > .wp-block-group__inner-container { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; }
  .hb-e-step .hb-e-num { grid-row: span 2; font-size: 2.4rem !important; margin: 0 !important; }
  .hb-e-step + .hb-e-step::before { left: 0; }
  .hb-e-proof-card > .wp-block-group__inner-container { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hb-e-head .hb-e-ph.wp-block-group { aspect-ratio: 4 / 3; border-radius: 20px; }
  .hb-e-head h1 { font-size: clamp(1.85rem, 8vw, 2.3rem) !important; }
  .hb-e-world .hb-e-ph.wp-block-group { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .hb-e-step::before { transform: scaleX(1); transition: none; } }

/* 3.8.2 — photos réelles + espacements « Deux univers » resserrés (ordinateur) */
.hb-e-world-img.wp-block-image { margin: 0 !important; border-radius: 22px; overflow: hidden; box-shadow: 0 36px 70px -52px rgba(14,38,71,.7); }
.hb-e-world-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hb-e-world:hover .hb-e-world-img img { transform: scale(1.03); }
.hb-e-world .hb-e-ph.wp-block-group { aspect-ratio: 4 / 3; }
.hb-e-head-img img { object-position: 50% 55%; }
@media (min-width: 901px) {
  .hb-e-worlds.wp-block-group { padding-top: clamp(64px, 7vw, 104px) !important; padding-bottom: clamp(64px, 7vw, 104px) !important; }
  .hb-e-worlds h2 { margin-bottom: 14px !important; }
  .hb-e-worlds .hb-e-intro { margin-bottom: clamp(26px, 2.6vw, 36px) !important; }
  .hb-e-worlds-grid > .wp-block-group__inner-container { gap: clamp(24px, 2.6vw, 36px); }
  .hb-e-world-body > .wp-block-group__inner-container { padding: 16px 4px 0; column-gap: 14px; }
  .hb-e-world h3 { margin-bottom: 4px !important; }
  .hb-e-note { margin-top: clamp(28px, 3vw, 40px) !important; }
}
