/* Horizon Bleu — pages vitrines par destination (3.0.0)
   Châteauneuf-les-Martigues / Côte Bleue et Sainte-Maxime.
   Styles actifs uniquement sur les blocs .hb-d-* */
:root { --hbd-navy: #14325C; --hbd-ink: #0E2647; --hbd-azur: #2A8FD6; --hbd-ivory: #FBF8F2; --hbd-sand: #F3EBDD; --hbd-gold: #B08A3A; --hbd-cta: #A14832; --hbd-copy: #44546B; }
.hb-d-hero, .hb-d-sec { --hbd-serif: var(--hb-font-display, "Fraunces", Georgia, serif); }
.entry-content > .hb-d-hero:first-child { margin-top: 0 !important; }

/* ---------- Héros ---------- */
.hb-d-hero.wp-block-cover { position: relative; min-height: min(88vh, 860px) !important; padding: 0 !important; overflow: hidden; align-items: flex-end; margin-bottom: 0 !important; }
.hb-d-hero .wp-block-cover__image-background { animation: hbdZoom 16s cubic-bezier(.2,.6,.2,1) both; }
@keyframes hbdZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hb-d-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,38,71,.28) 0%, rgba(14,38,71,0) 30%, rgba(14,38,71,.35) 62%, rgba(14,38,71,.86) 100%),
              linear-gradient(90deg, rgba(14,38,71,.55) 0%, rgba(14,38,71,0) 65%); }
.hb-d-hero .wp-block-cover__inner-container { position: relative; z-index: 2; width: 100% !important; max-width: 1240px !important; margin: 0 auto !important;
  padding: 0 clamp(20px, 4vw, 48px) clamp(48px, 8vh, 96px) !important; color: #fff; }
.hb-d-hero h1 { font-family: var(--hbd-serif) !important; font-weight: 600 !important; font-size: clamp(2.2rem, 4vw, 3.8rem) !important; line-height: 1.05 !important;
  letter-spacing: -.02em; max-width: 21ch; margin: 14px 0 20px !important; color: #fff !important; text-shadow: 0 2px 24px rgba(8,24,46,.35); }
.hb-d-hero .hb-d-kicker { color: #E7CD8A !important; }
.hb-d-hero .hb-d-lead { max-width: 56ch; font-size: clamp(1rem, 1.25vw, 1.18rem) !important; line-height: 1.65; color: rgba(255,255,255,.88) !important; margin: 0 0 28px !important; }
.hb-d-hero .hb-d-credit { position: absolute; right: clamp(20px, 4vw, 48px); bottom: 22px; margin: 0 !important; font-size: .72rem !important; font-style: italic; color: rgba(255,255,255,.62) !important; letter-spacing: .01em; }

/* ---------- Typo commune ---------- */
.hb-d-kicker { margin: 0 !important; font-size: .74rem !important; font-weight: 700 !important; letter-spacing: .22em; text-transform: uppercase; color: var(--hbd-gold) !important; }
.hb-d-sec h2 { font-family: var(--hbd-serif) !important; font-weight: 600 !important; font-size: clamp(2rem, 3.4vw, 3.05rem) !important; line-height: 1.08 !important;
  letter-spacing: -.015em; color: var(--hbd-navy) !important; max-width: 19ch; margin: 14px 0 22px !important; }
.hb-d-sec h3 { font-family: var(--hbd-serif) !important; font-weight: 600 !important; color: var(--hbd-navy) !important; }
.hb-d-sec p, .hb-d-sec li { color: var(--hbd-copy); line-height: 1.7; }
.hb-d-link a { font-weight: 600; color: var(--hbd-navy) !important; text-decoration: none; border-bottom: 1px solid rgba(20,50,92,.3); padding-bottom: 2px; transition: border-color .3s ease, color .3s ease; }
.hb-d-link a:hover { color: var(--hbd-azur) !important; border-color: var(--hbd-azur); }

/* Boutons */
.hb-d-btns { gap: 12px !important; }
.hb-d-btns .wp-block-button__link { border-radius: 999px !important; padding: 15px 28px !important; font-weight: 600 !important; font-size: .98rem !important; transition: transform .3s ease, background .3s ease, box-shadow .3s ease !important; }
.hb-d-btn-main .wp-block-button__link { background: var(--hbd-cta) !important; color: #fff !important; box-shadow: 0 14px 30px -14px rgba(161,72,50,.8); }
.hb-d-btn-main .wp-block-button__link:hover { transform: translateY(-2px); background: #8E3D2A !important; }
.hb-d-btn-ghost .wp-block-button__link { background: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7) !important; }
.hb-d-btn-ghost .wp-block-button__link:hover { background: rgba(255,255,255,.12) !important; }

/* ---------- Sections ---------- */
.hb-d-sec.wp-block-group { padding: clamp(76px, 9vw, 132px) 0 !important; margin: 0 !important; background: var(--hbd-ivory); }
.hb-d-sec > .wp-block-group__inner-container { max-width: none !important; }
.hb-d-wrap { width: 100%; max-width: 1240px !important; margin: 0 auto !important; padding: 0 clamp(20px, 4vw, 48px) !important; box-sizing: border-box; }
.hb-d-sec .wp-block-group__inner-container > * { max-width: none; }
.hb-d-sec .hb-d-wrap > .wp-block-group__inner-container > * { margin-left: 0 !important; }

/* Approche : texte + étapes / image */
.hb-d-split > .wp-block-group__inner-container { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 104px); align-items: center; }
.hb-d-split-text > .wp-block-group__inner-container > p { max-width: 54ch; }
.hb-d-steps > .wp-block-group__inner-container { display: grid; }
.hb-d-step > .wp-block-group__inner-container { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; padding: 26px 0; border-top: 1px solid rgba(20,50,92,.12); }
.hb-d-step:last-child > .wp-block-group__inner-container { border-bottom: 1px solid rgba(20,50,92,.12); }
.hb-d-step .hb-d-step-n { grid-row: span 2; margin: 0 !important; font-family: var(--hbd-serif); font-size: 2.1rem; line-height: 1; color: var(--hbd-gold) !important; }
.hb-d-step h3 { margin: 2px 0 6px !important; font-size: 1.3rem !important; }
.hb-d-step p:not(.hb-d-step-n) { margin: 0 !important; }
.hb-d-split--img > .wp-block-group__inner-container { grid-template-columns: 1fr 1fr; }
.hb-d-split-img.wp-block-image { margin: 0 !important; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -46px rgba(14,38,71,.65); }
.hb-d-split-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.hb-d-note { margin-top: clamp(48px, 6vw, 80px) !important; max-width: 780px; padding: 4px 0 4px 26px; border-left: 2px solid var(--hbd-gold); }
.hb-d-note h3 { font-size: 1.25rem !important; margin: 0 0 8px !important; }
.hb-d-note p { margin: 0 !important; }

/* Listes « faits » */
.hb-d-facts { list-style: none !important; padding: 0 !important; margin: 22px 0 !important; }
.hb-d-facts li { position: relative; padding-left: 22px; margin: 0 0 10px !important; }
.hb-d-facts li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 1.5px; background: var(--hbd-gold); }
.hb-d-facts strong { color: var(--hbd-navy); }

/* ---------- Univers local ---------- */
.hb-d-universe.wp-block-group { background: #fff; }
.hb-d-intro { max-width: 64ch; font-size: 1.06rem; }
.hb-d-gallery { margin-top: clamp(32px, 4vw, 56px) !important; }
.hb-d-gallery > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 300px 300px; gap: clamp(12px, 1.4vw, 20px); }
.hb-d-gallery .hb-d-g1 { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.hb-d-gallery .hb-d-g2 { grid-column: 8 / span 5; grid-row: 1; }
.hb-d-gallery .hb-d-g3 { grid-column: 8 / span 5; grid-row: 2; }
.hb-d-gallery .wp-block-image { position: relative; margin: 0 !important; border-radius: 22px; overflow: hidden; height: 100%; }
.hb-d-gallery .wp-block-image img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.hb-d-gallery .wp-block-image:hover img { transform: scale(1.04); }
.hb-d-gallery .wp-block-image::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(transparent, rgba(8,24,46,.5)); pointer-events: none; }
.hb-d-gallery figcaption.wp-element-caption { position: absolute; z-index: 1; left: 18px; bottom: 16px; margin: 0 !important; font-size: .82rem; font-weight: 600; color: #fff;
  letter-spacing: .01em; text-shadow: 0 1px 8px rgba(0,0,0,.35); text-align: left; }
.hb-d-slot { border-radius: 22px; background: repeating-linear-gradient(135deg, #F3EBDD 0 14px, #EFE5D3 14px 28px); display: grid; }
.hb-d-slot > .wp-block-group__inner-container { display: grid; place-items: center; height: 100%; }
.hb-d-slot-label { margin: 0 !important; font-size: .8rem !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9A8562 !important; }
.hb-d-fineprint { margin-top: 18px !important; font-size: .82rem !important; color: #7C889A !important; font-style: italic; }

/* ---------- Réalisations ---------- */
.hb-d-portfolio-sec.wp-block-group { background: var(--hbd-ivory); }
.hb-d-portfolio { margin-top: clamp(28px, 3.5vw, 48px) !important; }
.hb-d-portfolio:not(:has(.hb-d-item)) { display: none; }
.hb-d-portfolio:has(.hb-d-item) + .hb-d-empty { display: none; }
.hb-d-portfolio > .wp-block-group__inner-container { display: grid; gap: clamp(28px, 3vw, 44px); }
.hb-d-portfolio > .wp-block-group__inner-container:has(> .hb-d-item + .hb-d-item) { grid-template-columns: 1fr 1fr; }
/* Logement mis en avant (un seul logement : grand format éditorial) */
.hb-d-item > .wp-block-group__inner-container { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hb-d-portfolio > .wp-block-group__inner-container:has(> .hb-d-item + .hb-d-item) .hb-d-item > .wp-block-group__inner-container { grid-template-columns: 1fr; }
.hb-d-item-img.wp-block-image { margin: 0 !important; border-radius: 26px; overflow: hidden; box-shadow: 0 44px 90px -50px rgba(14,38,71,.7); }
.hb-d-item-img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; display: block; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.hb-d-item:hover .hb-d-item-img img { transform: scale(1.03); }
.hb-d-item-tag { margin: 0 !important; font-size: .74rem !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--hbd-azur) !important; }
.hb-d-item h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem) !important; line-height: 1.12 !important; margin: 10px 0 6px !important; }
.hb-d-item .hb-d-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 18px 0 22px !important; }
.hb-d-item .hb-d-facts li { padding: 0 16px; margin: 0 0 8px !important; color: var(--hbd-navy); font-weight: 600; font-size: .95rem; border-left: 1px solid rgba(20,50,92,.18); }
.hb-d-item .hb-d-facts li:first-child { padding-left: 0; border-left: 0; }
.hb-d-item .hb-d-facts li::before { display: none; }
.hb-d-item-thumbs { margin: 0 0 26px !important; }
.hb-d-item-thumbs > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hb-d-item-thumbs .wp-block-image { margin: 0 !important; border-radius: 12px; overflow: hidden; }
.hb-d-item-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
/* Aucun logement encore présenté */
.hb-d-empty { margin-top: clamp(28px, 3.5vw, 48px) !important; padding: clamp(32px, 4vw, 56px) !important; border-radius: 26px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(42,143,214,.10), transparent 55%), #fff; box-shadow: 0 30px 70px -50px rgba(14,38,71,.5); max-width: 900px; }
.hb-d-empty h3 { font-size: clamp(1.4rem, 2vw, 1.75rem) !important; margin: 0 0 10px !important; }
.hb-d-empty p { max-width: 60ch; }

/* ---------- Appel aux propriétaires ---------- */
.hb-d-cta.wp-block-group { background: radial-gradient(90% 120% at 85% 0%, rgba(42,143,214,.35), transparent 55%), linear-gradient(160deg, #183D6E, #0E2647) !important; text-align: center; }
.hb-d-cta h2 { color: #fff !important; margin: 0 auto 16px !important; max-width: 20ch; }
.hb-d-cta p { color: rgba(255,255,255,.82) !important; max-width: 56ch; margin: 0 auto 30px !important; }
.hb-d-cta .hb-d-btns { justify-content: center; }
.hb-pages-motion .entry-content .hb-d-cta h2.hb-r::after { left: 50%; margin-left: -32px; transform-origin: 50% 50%; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hb-d-split > .wp-block-group__inner-container, .hb-d-split--img > .wp-block-group__inner-container,
  .hb-d-item > .wp-block-group__inner-container { grid-template-columns: 1fr; }
  .hb-d-portfolio > .wp-block-group__inner-container:has(> .hb-d-item + .hb-d-item) { grid-template-columns: 1fr; }
  .hb-d-gallery > .wp-block-group__inner-container { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 170px; }
  .hb-d-gallery .hb-d-g1 { grid-column: 1 / span 2; grid-row: 1; }
  .hb-d-gallery .hb-d-g2 { grid-column: 1; grid-row: 2; }
  .hb-d-gallery .hb-d-g3 { grid-column: 2; grid-row: 2; }
  .hb-d-slot-label { font-size: .64rem !important; text-align: center; padding: 0 10px; }
}
@media (max-width: 767px) {
  .hb-d-hero.wp-block-cover { min-height: 84svh !important; }
  .hb-d-hero h1 { font-size: clamp(2rem, 8.4vw, 2.5rem) !important; }
  .hb-d-hero .hb-d-credit { position: static; margin-top: 22px !important; }
  .hb-d-hero .hb-d-btns .wp-block-button { width: 100%; }
  .hb-d-hero .hb-d-btns .wp-block-button__link { width: 100%; text-align: center; }
  .hb-d-sec h2 { font-size: clamp(1.8rem, 7.4vw, 2.2rem) !important; }
  .hb-d-split-img img { aspect-ratio: 4 / 3; }
  .hb-d-item .hb-d-facts li { padding: 0 12px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-d-hero .wp-block-cover__image-background { animation: none; }
}

/* ---------- FAQ locale + réglementation (3.3.0) ---------- */
.hb-d-faq.wp-block-group { background: #fff; }
.hb-d-faq-grid { margin-top: clamp(24px, 3vw, 40px) !important; }
.hb-d-faq-grid > .wp-block-group__inner-container { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.hb-d-faq-list > .wp-block-group__inner-container { display: grid; }
.hb-d-q.wp-block-details { margin: 0 !important; padding: 22px 0; border-top: 1px solid rgba(20,50,92,.12); }
.hb-d-q.wp-block-details:last-child { border-bottom: 1px solid rgba(20,50,92,.12); }
.hb-d-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--hbd-serif); font-weight: 600; font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--hbd-navy); }
.hb-d-q summary::-webkit-details-marker { display: none; }
.hb-d-q summary::after { content: "+"; flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: inherit; font-size: 1.2rem;
  color: var(--hbd-navy); box-shadow: inset 0 0 0 1px rgba(20,50,92,.2); transition: transform .35s ease, background .3s ease, color .3s ease; }
.hb-d-q[open] summary::after { transform: rotate(45deg); background: var(--hbd-navy); color: #fff; }
.hb-d-q p { margin: 12px 0 0 !important; max-width: 62ch; }
.hb-d-faq .hb-d-note { margin-top: 0 !important; padding: 26px 26px 26px 28px; border-left: 2px solid var(--hbd-gold); background: var(--hbd-ivory); border-radius: 0 18px 18px 0; }
.hb-d-portfolio-sec .hb-d-intro { max-width: 60ch; }
@media (max-width: 900px) {
  .hb-d-faq-grid > .wp-block-group__inner-container { grid-template-columns: 1fr; }
}

/* Preuve Sainte-Maxime en format compact (3.3.1) — page Côte Bleue */
.hb-d-proof.wp-block-group { padding: clamp(56px, 6vw, 88px) 0 !important; }
.hb-d-proof h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem) !important; }
.hb-d-proof .hb-d-portfolio { max-width: 980px; }
.hb-d-proof .hb-d-item > .wp-block-group__inner-container { grid-template-columns: 0.9fr 1fr; gap: clamp(24px, 3vw, 44px);
  background: #fff; border-radius: 22px; padding: 14px; box-shadow: 0 24px 60px -44px rgba(14,38,71,.55); }
.hb-d-proof .hb-d-item-img.wp-block-image { border-radius: 14px; box-shadow: none; }
.hb-d-proof .hb-d-item-img img { aspect-ratio: 4 / 3; }
.hb-d-proof .hb-d-item h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem) !important; }
.hb-d-proof .hb-d-item .hb-d-facts { margin: 12px 0 16px !important; }
.hb-d-proof .hb-d-item .hb-d-facts li { font-size: .88rem; }
@media (max-width: 900px) { .hb-d-proof .hb-d-item > .wp-block-group__inner-container { grid-template-columns: 1fr; } }

/* ---------- En-tête éditorial (remplace le héros plein écran) (3.4.0) ---------- */
.hb-d-head.wp-block-group { background: var(--hbd-ivory); padding: clamp(40px, 5vw, 76px) 0 clamp(48px, 6vw, 88px) !important; margin: 0 !important;
  --hbd-serif: var(--hb-font-display, "Fraunces", Georgia, serif); }
.hb-d-head > .wp-block-group__inner-container { max-width: none !important; }
.hb-d-head-grid > .wp-block-group__inner-container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hb-d-head h1 { font-family: var(--hbd-serif) !important; font-weight: 600 !important; color: var(--hbd-navy) !important;
  font-size: clamp(2rem, 2.9vw, 2.85rem) !important; line-height: 1.08 !important; letter-spacing: -.02em; margin: 14px 0 20px !important; text-wrap: balance; }
.hb-d-head .hb-d-head-lead { font-size: clamp(1.02rem, 1.25vw, 1.15rem) !important; line-height: 1.7; color: var(--hbd-copy) !important; max-width: 44ch; margin: 0 0 28px !important; }
.hb-d-head-img.wp-block-image { margin: 0 !important; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -52px rgba(14,38,71,.7); }
.hb-d-head-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 45%; }
.hb-d-btn-line .wp-block-button__link { background: transparent !important; color: var(--hbd-navy) !important; box-shadow: inset 0 0 0 1.5px rgba(20,50,92,.35) !important; }
.hb-d-btn-line .wp-block-button__link:hover { box-shadow: inset 0 0 0 1.5px var(--hbd-navy) !important; transform: translateY(-2px); }

@media (max-width: 1100px) {
  .hb-d-head-grid > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 32px; }
  .hb-d-head .hb-d-head-text { max-width: 760px; }
  .hb-d-head-img img { aspect-ratio: 21 / 9; }
}
@media (max-width: 767px) {
  .hb-d-head.wp-block-group { padding: 28px 0 40px !important; }
  .hb-d-head h1 { font-size: clamp(1.8rem, 7.6vw, 2.2rem) !important; margin: 10px 0 14px !important; }
  .hb-d-head .hb-d-head-lead { margin-bottom: 20px !important; }
  .hb-d-head .hb-d-btns .wp-block-button { width: 100%; }
  .hb-d-head .hb-d-btns .wp-block-button__link { width: 100%; text-align: center; }
  .hb-d-head-grid > .wp-block-group__inner-container { gap: 26px; }
  .hb-d-head-img.wp-block-image { border-radius: 20px; }
  .hb-d-head-img img { aspect-ratio: 4 / 3; object-position: 40% 40%; }
}

/* En-tête : sans les halos ni la vague des autres pages, fond ivoire net */
.hb-d-head.hb-page-hero { padding-bottom: clamp(48px, 6vw, 88px) !important; }
.hb-d-head .hb-orbs, .hb-d-head .hb-wave { display: none !important; }
@media (max-width: 767px) { .hb-d-head.hb-page-hero { padding-bottom: 40px !important; } }

/* ---------- Finitions page Côte Bleue (3.4.2) ---------- */
/* 1. H1 : « Châteauneuf-les-Martigues » ne se coupe plus au trait d'union sur ordinateur */
@media (min-width: 768px) {
  .hb-d-head h1 { text-wrap: pretty; }
  .hb-d-head h1 .hb-w { white-space: nowrap; }
}
/* 2. Moins de vide entre l'introduction et « Un interlocuteur proche » */
.hb-d-head.hb-page-hero { padding-bottom: clamp(24px, 3vw, 40px) !important; }
.hb-d-head + .hb-d-sec.wp-block-group { padding-top: clamp(36px, 4vw, 56px) !important; }

/* H1 mobile : « Châteauneuf-les-Martigues » tient sur une ligne (taille ajustée à l'écran) ; très petits écrans : coupure naturelle */
@media (max-width: 767px) {
  .hb-d-head h1 { font-size: clamp(1.5rem, calc((100vw - 44px) / 12.9), 2.1rem) !important; }
  .hb-d-head h1 .hb-w { white-space: nowrap; }
}
@media (max-width: 359px) { .hb-d-head h1 .hb-w { white-space: normal; } }

/* ---------- Sainte-Maxime : en-tête éditorial + pastille « réalisation » (3.6.0) ---------- */
.hb-d-head-media { position: relative; margin: 0 !important; }
.hb-d-head-media > .wp-block-group__inner-container { position: relative; }
.hb-d-head-chip { position: absolute; left: 18px; bottom: 18px; margin: 0 !important; z-index: 2; }
.hb-d-head-chip a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.94);
  color: var(--hbd-navy) !important; font-weight: 700; font-size: .86rem; text-decoration: none !important; box-shadow: 0 12px 28px -14px rgba(14,38,71,.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .3s ease; }
.hb-d-head-chip a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hbd-gold); box-shadow: 0 0 0 4px rgba(176,138,58,.18); }
.hb-d-head-chip a::after { content: "→"; transition: transform .3s ease; }
.hb-d-head-chip a:hover { transform: translateY(-2px); }
.hb-d-head-chip a:hover::after { transform: translateX(3px); }
/* Image de la section « organisation » : proportions harmonisées avec Châteauneuf */
.hb-d-split--img .hb-d-split-img img { aspect-ratio: 1 / 1; }
@media (max-width: 767px) {
  .hb-d-head--sm h1 { font-size: clamp(1.85rem, 7.8vw, 2.25rem) !important; }
  .hb-d-head--sm h1 .hb-w { white-space: normal; }
  .hb-d-head-chip { left: 12px; bottom: 12px; }
  .hb-d-head-chip a { font-size: .78rem; padding: 8px 13px; }
  .hb-d-split--img .hb-d-split-img img { aspect-ratio: 4 / 3; }
}

/* Sainte-Maxime : moins de vide entre « Une organisation pensée pour la distance » et « Nos réalisations » (3.6.1) */
body.page-id-1648 .hb-d-approach.wp-block-group:has(+ .hb-d-portfolio-sec) { padding-bottom: clamp(32px, 4vw, 56px) !important; }
body.page-id-1648 .hb-d-approach + .hb-d-portfolio-sec.wp-block-group { padding-top: clamp(32px, 4vw, 56px) !important; }
