/* Baobab VEFA — landing : bento sur plan, verre dépoli, cartes à ombre franche */

body.home [data-vertical-spacing],
body.home .ct-container-full { padding-top: 0 !important; padding-bottom: 0 !important; }
body.home .entry-content > * { margin-top: 0; margin-bottom: 0; }
body.home .hero-section { display: none !important; }

.bx { --bx-emerald: #1FD69B; --bx-amber: #FFB020; --bx-night: #131211; font-family: var(--bx-text); color: var(--bx-ink); font-size: 17px; line-height: 1.6; }
.bx h1, .bx h2, .bx h3, .bx .bx-display { font-family: var(--bx-display) !important; font-weight: 500; letter-spacing: -0.025em; color: var(--bx-ink); margin: 0; }
.bx p { margin: 0; }
.bx a { color: inherit; }
.bx-wrap { max-width: 1360px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 28px); box-sizing: border-box; }
.bx-muted { color: #5E5750; }

/* Drapeaux dessinés en CSS (les émojis drapeaux ne s'affichent pas sous Windows) */
.bx-flag { display: inline-block; width: 18px; height: 12px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(28,25,23,.18); }
.bx-flag--fr { background: linear-gradient(90deg, #1F3F8F 0 33.4%, #fff 33.4% 66.6%, #D8313A 66.6%); }
.bx-flag--es { background: linear-gradient(180deg, #C8102E 0 25%, #F6C400 25% 75%, #C8102E 75%); }

/* Boutons */
.bx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 15px/1 var(--bx-text); padding: 15px 22px; border-radius: 999px;
  border: 1.5px solid transparent; text-decoration: none !important; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.bx-btn svg { width: 18px; height: 18px; flex: none; }
.bx-btn--ink, .bx-btn--ink:focus, .bx-btn--ink:active { background: var(--bx-ink) !important; color: var(--bx-cream) !important; }
.bx-btn--ink:hover { background: var(--bx-ink) !important; transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--bx-pine); }
.bx-btn--glass { background: rgba(255,255,255,.55); border-color: rgba(28,25,23,.85); color: var(--bx-ink) !important; }
.bx-btn--glass:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--bx-ink); background: #fff; }
.bx-btn--cream { background: var(--bx-cream); color: var(--bx-ink) !important; }
.bx-btn--cream:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--bx-sage); }
.bx-btn--line { background: transparent; border-color: rgba(250,246,240,.55); color: var(--bx-cream) !important; }
.bx-btn--line:hover { border-color: var(--bx-cream); transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--bx-sage); }

/* ---------- Hero : champ de plan + bento ---------- */
.bx-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(18px, 3vw, 34px) 0 clamp(48px, 7vw, 88px);
  background:
    radial-gradient(900px 620px at 8% -8%, #C3DAD0 0%, rgba(195,218,208,0) 62%),
    radial-gradient(720px 560px at 100% 12%, #D4BEAE 0%, rgba(212,190,174,0) 60%),
    radial-gradient(760px 520px at 55% 115%, #C3DAD0 0%, rgba(195,218,208,0) 65%),
    var(--bx-cream);
}
.bx-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(57,105,85,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,105,85,.10) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 25%, transparent 85%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 25%, transparent 85%);
}

.bx-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: -1; background: linear-gradient(rgba(250,246,240,0), var(--bx-cream)); pointer-events: none; }
.bx-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bx-tile { border-radius: 28px; position: relative; min-width: 0; }
.bx-tile--main { grid-column: 1 / 9; grid-row: 1 / 3; padding: clamp(24px, 4vw, 52px); }
.bx-tile--charbel { grid-column: 9 / 13; grid-row: 1 / 3; min-height: 600px; }
.bx-tile--promise { grid-column: 9 / 13; grid-row: 3; padding: 26px 28px; background: var(--bx-pine); color: var(--bx-cream); display: flex; flex-direction: column; justify-content: space-between; gap: 14px; box-shadow: 0 40px 80px -52px rgba(28,25,23,.55); }
.bx-promise-title { font-family: var(--bx-display); font-size: clamp(1.25rem, 1rem + .8vw, 1.55rem); line-height: 1.15; letter-spacing: -0.02em; }
.bx-promise-text { font-size: 15px; line-height: 1.5; color: rgba(250,246,240,.85); }
.bx-tile--review { grid-column: 1 / 5; grid-row: 3; padding: 26px 28px; }
.bx-tile--countries { grid-column: 5 / 9; grid-row: 3; padding: 10px; }

.bx-glass {
  background: rgba(250,246,240,.52);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
          backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 40px 80px -52px rgba(28,25,23,.5);
}

/* Entrée orchestrée, une seule fois, au chargement */
@keyframes bx-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.bx-bento > .bx-tile { animation: bx-rise .75s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 90ms); }

/* Tuile principale */
.bx-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
  border-radius: 999px; background: rgba(255,255,255,.6); border: 1px solid rgba(28,25,23,.1);
  font-size: 14px; font-weight: 600; color: #3F3A35;
}
.bx-chip .bx-flag + .bx-flag { margin-left: -4px; }
.bx-h1 { font-size: clamp(1.95rem, 1.05rem + 2.6vw, 3.1rem); font-weight: 400 !important; line-height: 1.08; max-width: 18ch; margin-top: 22px !important; }
.bx-lead { font-size: clamp(16.5px, 1.3vw, 18.5px); max-width: 54ch; margin-top: 18px !important; color: #3F3A35; }

/* Recherche intelligente */
.bx-search { margin-top: 30px; display: grid; gap: 10px; }
.bx-bar {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 6px; padding: 6px; border-radius: 22px;
  background: rgba(255,255,255,.66); border: 1px solid rgba(28,25,23,.14);
  box-shadow: 0 22px 44px -30px rgba(28,25,23,.55);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bx-bar:focus-within { border-color: var(--bx-ink); box-shadow: 0 0 0 4px rgba(195,218,208,.9), 0 22px 44px -30px rgba(28,25,23,.55); }
.bx-seg { display: inline-flex; justify-self: start; padding: 4px; gap: 2px; border-radius: 14px; background: rgba(255,255,255,.5); border: 1px solid rgba(28,25,23,.1); }
.bx-seg button {
  display: flex; align-items: center; gap: 8px; border: 0; background: transparent; cursor: pointer;
  padding: 10px 16px; border-radius: 10px; font: 600 15px/1 var(--bx-text); color: #5E5750;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.bx-seg button[aria-checked="true"] { background: #fff; color: var(--bx-ink); box-shadow: 0 8px 16px -10px rgba(28,25,23,.5); }
.bx-field { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 9px 16px; border-radius: 16px; transition: background-color .15s ease; }
.bx-field:hover, .bx-field:focus-within { background: #fff; }
.bx-field label { font-size: 12.5px; font-weight: 600; color: #6B6459; }
.bx-field input, .bx-field select {
  appearance: none; -webkit-appearance: none; border: 0 !important; outline: none; background: transparent !important;
  padding: 0 !important; margin: 0; min-height: 0 !important; height: auto !important; box-shadow: none !important;
  font: 600 16px/1.35 var(--bx-text) !important; color: var(--bx-ink); width: 100%;
}
.bx-field input::placeholder { color: #9A928A; font-weight: 500; }
.bx-field select { cursor: pointer; padding-right: 18px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231C1917' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right center !important; }
.bx-field input:focus-visible, .bx-field select:focus-visible { outline: none; }
.bx-bar .bx-btn { border-radius: 16px; padding: 0 24px; min-height: 58px; }

.bx-suggest {
  position: absolute; z-index: 40; top: calc(100% + 12px); left: -6px; width: max(100%, 300px);
  margin: 0; padding: 6px; list-style: none; max-height: 312px; overflow: auto;
  background: rgba(250,246,240,.97); border: 1.5px solid var(--bx-ink); border-radius: 16px;
  box-shadow: 6px 6px 0 var(--bx-ink);
}
.bx-suggest[hidden] { display: none; }
.bx-suggest li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-weight: 600; }
.bx-suggest li span { color: #6B6459; font-weight: 500; font-size: 14.5px; white-space: nowrap; }
.bx-suggest li[aria-selected="true"], .bx-suggest li:hover { background: var(--bx-sage); }

.bx-fresh { margin-top: 12px !important; font-size: 13px; color: #6B6459; }

/* Tuile Charbel : la figure d'échelle posée sur le plan */
.bx-tile--charbel {
  overflow: hidden; border: 1px solid rgba(255,255,255,.8);
  background: linear-gradient(168deg, #DDEAE3 0%, #C3DAD0 46%, #9FC0B0 100%);
  box-shadow: 0 40px 80px -52px rgba(28,25,23,.55);
}
.bx-plan { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(57,105,85,.30); pointer-events: none; }
.bx-figure {
  position: absolute; left: 50%; bottom: 0; z-index: 1; transform: translateX(-50%);
  height: min(88%, 575px); width: auto; max-width: 94%; object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 26px 26px rgba(28,25,23,.28));
}
.bx-plate {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  padding: 18px; border-radius: 20px;
  background: rgba(250,246,240,.74); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,.85);
}
.bx-plate-name { font-family: var(--bx-display); font-size: 18px; letter-spacing: -0.01em; }
.bx-plate-role { font-size: 14px; line-height: 1.45; color: #4A443E; margin-top: 4px !important; }
.bx-plate-actions { display: flex; gap: 8px; margin-top: 14px; }
.bx-plate-actions .bx-btn { flex: 1; padding: 14px 16px; }

/* Tuile avis */
.bx-rating { display: flex; align-items: baseline; gap: 12px; }
.bx-rating-score { font-family: var(--bx-display); font-size: 44px; line-height: 1; letter-spacing: -0.03em; }
.bx-stars { display: inline-flex; gap: 3px; color: var(--bx-pine); }
.bx-stars svg { width: 17px; height: 17px; }
.bx-rating-count { font-size: 14px; color: #5E5750; }
.bx-quote { margin-top: 14px !important; font-size: 15.5px; line-height: 1.55; }
.bx-quote-by { margin-top: 10px !important; font-size: 13.5px; color: #6B6459; }
.bx-quote-by a { font-weight: 700; color: var(--bx-ink); text-underline-offset: 3px; }

/* Tuile pays */
.bx-countries { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: 100%; }
.bx-country {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 20px; border-radius: 20px; text-decoration: none !important; color: var(--bx-ink) !important;
  border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.bx-country--fr { background: rgba(195,218,208,.62); }
.bx-country--es { background: rgba(212,190,174,.6); }
.bx-country:hover, .bx-country:focus-visible { border-color: var(--bx-ink); transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--bx-ink); outline: none; }
.bx-country-name { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.bx-country-count { font-family: var(--bx-display); font-size: clamp(1.9rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1; letter-spacing: -0.03em; }
.bx-country-label { font-size: 14px; color: #4A443E; margin-top: 6px !important; }

/* ---------- Sections ---------- */
.bx-section { padding: clamp(60px, 8vw, 104px) 0; }
.bx-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 34px; }
.bx-h2 { font-size: clamp(1.6rem, 1rem + 2vw, 2.45rem); line-height: 1.1; max-width: 20ch; }
.bx-sub { margin-top: 12px !important; max-width: 58ch; color: #5E5750; }
.bx-note { font-size: 13.5px; color: #6B6459; max-width: 30ch; }

/* Bandeaux défilants */
.bx-band { padding: 0 0 clamp(32px, 4vw, 48px); }
.bx-band + .bx-section { padding-top: clamp(44px, 5vw, 68px); }
.bx-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.bx-track { display: flex; gap: 14px; width: max-content; animation: bx-scroll var(--bx-speed, 70s) linear infinite; padding: 8px 0 14px; }
.bx-marquee:hover .bx-track, .bx-marquee:focus-within .bx-track { animation-play-state: paused; }
@keyframes bx-scroll { to { transform: translateX(-50%); } }
.bx-pill { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid rgba(28,25,23,.12); font-weight: 700; font-size: 15px; white-space: nowrap; }
.bx-review {
  width: 320px; flex: none; display: flex; flex-direction: column; gap: 10px; padding: 22px;
  border-radius: 20px; background: rgba(255,255,255,.72); border: 1px solid rgba(28,25,23,.1);
  text-decoration: none !important; color: var(--bx-ink) !important; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.bx-review:hover, .bx-review:focus-visible { border-color: var(--bx-ink); transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--bx-ink); outline: none; }
.bx-review p { font-size: 15px; line-height: 1.55; }
.bx-review-name { font-weight: 700; font-size: 14px; }
.bx-review-time { font-size: 13px; color: #6B6459; }
.bx-reviews-bg { background: linear-gradient(180deg, var(--bx-cream), #EAF2EE); }

/* Appel final */
.bx-cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 32px;
  padding: clamp(32px, 6vw, 76px); background: var(--bx-ink); color: var(--bx-cream);
}
.bx-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(250,246,240,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(250,246,240,.06) 1px, transparent 1px);
  background-size: 44px 44px;
}
.bx-cta h2 { color: var(--bx-cream); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); max-width: 24ch; }
.bx-phone {
  display: inline-block; margin-top: 22px; font-family: var(--bx-display); font-weight: 500;
  font-size: clamp(2.3rem, 0.9rem + 6.2vw, 5.6rem); line-height: 1; letter-spacing: -0.035em;
  color: var(--bx-sage) !important; text-decoration: none !important; white-space: nowrap;
}
.bx-phone:hover { text-decoration: underline !important; text-decoration-thickness: 3px !important; text-underline-offset: 10px; }
.bx-cta-text { margin-top: 18px !important; color: rgba(250,246,240,.75); max-width: 52ch; }
.bx-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bx-tile--main { grid-column: 1 / -1; grid-row: auto; }
  .bx-tile--charbel { grid-column: 1; grid-row: 2 / 4; min-height: 560px; }
  .bx-tile--review { grid-column: 2; grid-row: 2; }
  .bx-tile--countries { grid-column: 2; grid-row: 3; }
  .bx-tile--promise { grid-column: 1 / -1; grid-row: 4; }
}
@media (max-width: 860px) {
  .bx-bar { grid-template-columns: 1fr 1fr; }
  .bx-bar .bx-btn { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .bx-bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bx-tile--main, .bx-tile--charbel, .bx-tile--review, .bx-tile--countries, .bx-tile--promise { grid-column: 1; grid-row: auto; }
  .bx-seg { justify-self: stretch; }
  .bx-seg button { flex: 1; justify-content: center; }
  .bx-tile--charbel { min-height: 540px; }
  .bx-bar { grid-template-columns: 1fr; }
  .bx-review { width: 270px; }
  .bx-tile { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .bx-bento > .bx-tile, .bx-dialog { animation: none; }
  .bx-track { animation: none; }
  .bx-marquee { overflow-x: auto; }
  .bx *, .bx *::before { transition: none !important; }
}
.bx-hero + .bx-section { padding-top: clamp(28px, 4vw, 52px); }


/* ---------- Carte des programmes ---------- */
.bx-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--bx-pine); margin-bottom: 12px !important; }
.bx-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bx-emerald); box-shadow: 0 0 0 4px rgba(31,214,155,.22), 0 0 14px var(--bx-emerald); animation: bx-pulse 2.2s ease-in-out infinite; }
@keyframes bx-pulse { 50% { box-shadow: 0 0 0 7px rgba(31,214,155,0), 0 0 18px var(--bx-emerald); } }

.bx-btn--vivid, .bx-btn--vivid:focus, .bx-btn--vivid:active { background: var(--bx-emerald) !important; color: #06231A !important; border-color: var(--bx-emerald); }
.bx-btn--vivid:hover { background: #3BE3AB !important; transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--bx-cream), 0 0 28px rgba(31,214,155,.45); }
.bx-btn--vivid[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

.bx-mapbox {
  position: relative; isolation: isolate; border-radius: 32px; overflow: hidden;
  background: var(--bx-night); border: 1px solid #2A2724;
  box-shadow: 0 50px 100px -60px rgba(28,25,23,.8), inset 0 1px 0 rgba(255,255,255,.06);
}
.bx-map { height: clamp(460px, 64vh, 640px); width: 100%; }
.bx-map .maplibregl-canvas { outline: none; }
.bx-mapbox::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 80px 10px rgba(19,18,17,.75); }

.bx-mapbar {
  position: absolute; z-index: 3; top: 16px; left: 16px; right: 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px;
  border-radius: 22px; background: rgba(28,25,23,.62);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(250,246,240,.14); box-shadow: 0 24px 50px -24px rgba(0,0,0,.7);
}
.bx-seg--dark { background: rgba(250,246,240,.06); border-color: rgba(250,246,240,.1); }
.bx-seg--dark button { color: rgba(250,246,240,.72); padding: 11px 14px; }
.bx-seg--dark button:hover { color: var(--bx-cream); }
.bx-seg--dark button[aria-checked="true"] { background: var(--bx-cream); color: var(--bx-ink); }
.bx-mapfield { position: relative; display: flex; align-items: center; min-height: 46px; border-radius: 14px; background: rgba(250,246,240,.06); border: 1px solid rgba(250,246,240,.1); transition: border-color .15s ease, background-color .15s ease; }
.bx-mapfield:hover, .bx-mapfield:focus-within { border-color: var(--bx-emerald); background: rgba(250,246,240,.1); }
.bx-mapfield--city { flex: 1 1 220px; }
.bx-mapfield > svg { width: 18px; height: 18px; margin-left: 14px; color: var(--bx-emerald); flex: none; }
.bx-mapfield input, .bx-mapfield select {
  appearance: none; -webkit-appearance: none; border: 0 !important; outline: none !important; box-shadow: none !important;
  background-color: transparent !important; color: var(--bx-cream) !important; width: 100%;
  font: 600 15px/1.2 var(--bx-text) !important; padding: 12px 14px !important; margin: 0; min-height: 0 !important; height: auto !important;
}
.bx-mapfield input::placeholder { color: rgba(250,246,240,.5); }
.bx-mapfield select { cursor: pointer; padding-right: 36px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23FAF6F0' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center !important; }
.bx-mapfield select option { color: var(--bx-ink); background: var(--bx-cream); }
.bx-suggest--map { top: calc(100% + 10px); left: 0; width: 100%; min-width: 280px; }
.bx-suggest--map li { justify-content: flex-start; align-items: center; }
.bx-suggest--map li b { flex: 1; }
.bx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bx-mapfoot {
  position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; padding: 10px 10px 10px 20px;
  border-radius: 22px; background: rgba(28,25,23,.62); color: var(--bx-cream);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(250,246,240,.14);
}
.bx-map-counter { font-size: 15px; color: rgba(250,246,240,.8); }
.bx-map-counter strong { font-family: var(--bx-display); font-weight: 500; font-size: 20px; color: var(--bx-emerald); letter-spacing: -0.02em; }
.bx-legend { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(250,246,240,.7); margin-right: auto !important; }
.bx-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.bx-dot + .bx-dot, .bx-legend .bx-dot:not(:first-child) { margin-left: 8px; }
.bx-dot--fr { background: var(--bx-emerald); box-shadow: 0 0 10px var(--bx-emerald); }
.bx-dot--es { background: var(--bx-amber); box-shadow: 0 0 10px var(--bx-amber); }
.bx-mapfoot .bx-btn { padding: 14px 20px; border-radius: 14px; }

.bx-map .maplibregl-ctrl-group { background: rgba(28,25,23,.7); border: 1px solid rgba(250,246,240,.14); border-radius: 12px; overflow: hidden; }
.bx-map .maplibregl-ctrl-group button + button { border-top-color: rgba(250,246,240,.14); }
.bx-map .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1); }
.bx-map .maplibregl-ctrl-bottom-right { bottom: 84px; right: 6px; }
.bx-map .maplibregl-ctrl-attrib { background: rgba(19,18,17,.6) !important; color: rgba(250,246,240,.6); font-size: 11px; }
.bx-map .maplibregl-ctrl-attrib a { color: rgba(250,246,240,.75); }
.bx-map .maplibregl-ctrl-bottom-left { bottom: 84px; }
.bx-map .maplibregl-cooperative-gesture-screen { font-family: var(--bx-text); background: rgba(19,18,17,.7); }

/* Bulle ville */
.bx-popup .maplibregl-popup-content {
  padding: 20px; border-radius: 20px; font-family: var(--bx-text); color: var(--bx-ink);
  background: var(--bx-cream); border: 1.5px solid var(--bx-ink); box-shadow: 6px 6px 0 var(--bx-emerald);
}
.bx-popup .maplibregl-popup-tip { border-top-color: var(--bx-ink) !important; }
.bx-popup .maplibregl-popup-close-button { font-size: 22px; width: 36px; height: 36px; right: 4px; top: 4px; border-radius: 10px; color: var(--bx-ink); }
.bx-popup .maplibregl-popup-close-button:hover { background: rgba(28,25,23,.07); }
.bx-pop-where { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #6B6459; }
.bx-pop-city { font-family: var(--bx-display); font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; margin-top: 6px !important; padding-right: 20px; }
.bx-pop-count { margin-top: 10px !important; font-size: 15px; }
.bx-pop-count strong { font-family: var(--bx-display); font-weight: 500; font-size: 34px; line-height: 1; letter-spacing: -0.03em; display: block; color: var(--bx-pine); }
.bx-pop-note { font-size: 13.5px; color: #5E5750; margin-top: 6px !important; }
.bx-popup .bx-btn { width: 100%; margin-top: 16px; border-radius: 14px; box-sizing: border-box; }
.bx-popup .bx-btn--vivid:hover { box-shadow: 3px 3px 0 var(--bx-ink); }
.bx-pop-call { display: block; text-align: center; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--bx-ink) !important; text-underline-offset: 3px; }

/* ---------- Formulaire de demande ---------- */
.bx-dialog {
  width: min(620px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); box-sizing: border-box;
  padding: clamp(24px, 4vw, 40px); border: 1.5px solid var(--bx-ink); border-radius: 28px;
  background: var(--bx-cream); color: var(--bx-ink); font-family: var(--bx-text);
  box-shadow: 10px 10px 0 var(--bx-emerald); overflow: auto;
}
.bx-dialog[open] { animation: bx-pop .32s cubic-bezier(.2,.8,.2,1) both; }
@keyframes bx-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.bx-dialog::backdrop { background: rgba(19,18,17,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bx-dialog-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 0; background: transparent; color: var(--bx-ink); cursor: pointer; padding: 0; }
.bx-dialog-x:hover { background: rgba(28,25,23,.07); }
.bx-dialog-x svg { width: 22px; height: 22px; }
.bx-dialog-title { font-size: clamp(1.35rem, 1rem + 1.2vw, 1.8rem) !important; line-height: 1.15; padding-right: 40px; }
.bx-dialog-intro { margin-top: 10px !important; color: #4A443E; font-size: 15.5px; }
.bx-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.bx-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.bx-f--full { grid-column: 1 / -1; }
.bx-f > label, .bx-f legend { font-size: 14px; font-weight: 700; padding: 0 !important; margin: 0 0 6px !important; }
.bx-f legend { float: left; width: 100%; }
.bx-f legend + * { clear: both; }
.bx-f input, .bx-f select {
  appearance: none; -webkit-appearance: none; width: 100%; box-sizing: border-box;
  min-height: 50px !important; height: auto !important; padding: 12px 14px !important; margin: 0;
  font: 500 16px/1.3 var(--bx-text) !important; color: var(--bx-ink) !important;
  background-color: #fff !important; border: 1.5px solid rgba(28,25,23,.22) !important; border-radius: 12px !important; box-shadow: none !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bx-f select { cursor: pointer; padding-right: 40px !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231C1917' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center !important; }
.bx-f input:focus, .bx-f select:focus { border-color: var(--bx-ink) !important; box-shadow: 0 0 0 4px rgba(31,214,155,.3) !important; outline: none; }
.bx-f input[aria-invalid="true"] { border-color: #B42318 !important; }
.bx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bx-chips label { position: relative; cursor: pointer; }
.bx-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bx-chips > label > span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(28,25,23,.22); background: #fff; font-weight: 600; font-size: 15px; transition: all .15s ease; }
.bx-chips label:hover > span { border-color: var(--bx-ink); }
.bx-chips input:checked + span { background: var(--bx-ink); color: var(--bx-cream); border-color: var(--bx-ink); box-shadow: 3px 3px 0 var(--bx-emerald); }
.bx-chips input:focus-visible + span { outline: 2px solid var(--bx-pine); outline-offset: 3px; }
.bx-field-err { font-size: 13.5px; font-weight: 600; color: #B42318; min-height: 0; }
.bx-field-err:empty { display: none; }
.bx-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bx-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 14px; line-height: 1.5; color: #4A443E; cursor: pointer; }
.bx-consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--bx-ink); cursor: pointer; }
.bx-form-error { margin-top: 14px !important; padding: 12px 14px; border-radius: 12px; background: #FDECEA; color: #7A1A12; font-weight: 600; font-size: 14.5px; }
.bx-dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.bx-dialog-actions .bx-btn { padding: 17px 26px; }
.bx-dialog .bx-btn--vivid:hover { box-shadow: 3px 3px 0 var(--bx-ink); }
.bx-dialog-call { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--bx-ink) !important; text-underline-offset: 3px; }
.bx-dialog-call svg { width: 18px; height: 18px; color: var(--bx-pine); }
.bx-btn--line-dark { background: transparent; border-color: var(--bx-ink); color: var(--bx-ink) !important; }
.bx-btn--line-dark:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--bx-ink); }
.bx-done-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bx-emerald); color: #06231A; margin-bottom: 18px; box-shadow: 0 0 30px rgba(31,214,155,.5); }
.bx-done-icon svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .bx-mapbar { flex-wrap: wrap; }
  .bx-mapbar .bx-seg { flex: 1 1 100%; }
  .bx-mapbar .bx-seg button { flex: 1; justify-content: center; }
  .bx-mapfield--city { flex: 1 1 100%; }
  .bx-mapfield:not(.bx-mapfield--city) { flex: 1 1 0; min-width: 0; }
  .bx-map { height: 640px; }
}
@media (max-width: 680px) {
  .bx-mapbox { border-radius: 24px; display: flex; flex-direction: column; }
  .bx-mapbox::after { display: none; }
  .bx-mapbar, .bx-mapfoot { position: static; margin: 8px; padding: 6px; gap: 6px; border-radius: 18px; -webkit-backdrop-filter: none; backdrop-filter: none; background: #1E1C1A; box-shadow: none; }
  .bx-mapfoot { padding: 12px; margin-top: 0; }
  .bx-mapfield select { font-size: 14px !important; padding-left: 12px !important; padding-right: 30px !important; background-position: right 10px center !important; }
  .bx-legend { display: none; }
  .bx-mapfoot .bx-btn { width: 100%; }
  .bx-map .maplibregl-ctrl-bottom-right, .bx-map .maplibregl-ctrl-bottom-left { bottom: 0; }
  .bx-map { height: 440px; }
  .bx-grid2 { grid-template-columns: 1fr; }
  .bx-dialog { border-radius: 22px; box-shadow: 6px 6px 0 var(--bx-emerald); }
  .bx-dialog-actions .bx-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .bx-kicker::before { animation: none; } }

/* ---------- Logos promoteurs : France | Espagne sur une même ligne, presque pleine largeur ---------- */
.bx-band { padding-top: clamp(56px, 7vw, 92px); }
.bx-wide { max-width: 1800px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 56px); box-sizing: border-box; }
.bx-logos {
  /* tout le bandeau (hauteur, étiquettes, logos) suit la largeur de l'écran */
  font-size: clamp(12px, 1.02vw, 19px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1em;
}
.bx-logos-side { display: flex; align-items: stretch; height: 6.2em; border-radius: 1.4em; overflow: hidden; background: #fff; border: 1.5px solid var(--bx-ink); }
.bx-logos-side--fr { box-shadow: .38em .38em 0 var(--bx-emerald); }
.bx-logos-side--es { box-shadow: .38em .38em 0 var(--bx-amber); }
.bx-logos-tag {
  flex: none; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .45em;
  padding: 0 1.2em; width: 8.4em; box-sizing: border-box; border-right: 1.5px solid var(--bx-ink);
  font-family: var(--bx-display); font-size: 1em; letter-spacing: -0.01em; position: relative; z-index: 1;
}
.bx-logos-tag .bx-flag { width: 1.9em; height: 1.27em; border-radius: .25em; box-shadow: 0 0 0 1.5px var(--bx-ink); }
.bx-logos-side--fr .bx-logos-tag { background: var(--bx-emerald); color: #06231A; }
.bx-logos-side--es .bx-logos-tag { background: var(--bx-amber); color: #2B1D05; }
.bx-marquee--logos { flex: 1; min-width: 0; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.bx-marquee--logos .bx-track { align-items: center; gap: 3em; padding: 0 1.5em; }
.bx-logo { flex: none; width: auto; max-width: none; object-fit: contain; transition: transform .25s ease; }
.bx-logo:hover { transform: scale(1.08); }
@media (max-width: 860px) {
  .bx-logos { grid-template-columns: minmax(0, 1fr); font-size: 13px; }
  .bx-logos-side { height: 6.6em; }
}
@media (max-width: 480px) {
  .bx-logos { font-size: 12px; }
  .bx-logos-tag { width: 8.2em; padding: 0 1em; }
}

/* ---------- Titres centrés, chiffres et badges ---------- */
.bx-head--center { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.bx-h2--line { max-width: none; white-space: nowrap; font-size: clamp(1.4rem, 0.2rem + 2.35vw, 2.3rem); }
@media (max-width: 860px) { .bx-h2--line { white-space: normal; max-width: 22ch; } }
.bx-stats { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 28px 0 0; padding: 0; }
.bx-stats li { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 180px; padding: 18px 28px; border-radius: 22px; background: #fff; border: 1.5px solid var(--bx-ink); box-sizing: border-box; }
.bx-stats li:nth-child(1) { box-shadow: 5px 5px 0 var(--bx-emerald); }
.bx-stats li:nth-child(2) { box-shadow: 5px 5px 0 var(--bx-amber); }
.bx-stats li:nth-child(3) { box-shadow: 5px 5px 0 var(--bx-pine); }
.bx-stats strong { font-family: var(--bx-display); font-weight: 500; font-size: clamp(2.1rem, 1.3rem + 2vw, 3.1rem); line-height: 1; letter-spacing: -0.035em; color: var(--bx-ink); }
.bx-stats span { font-size: 15px; font-weight: 700; color: #4A443E; }
.bx-stats-flags { display: flex; gap: 8px; align-items: center; height: 1em; }
.bx-stats-flags .bx-flag { width: 46px; height: 31px; border-radius: 5px; box-shadow: 0 0 0 1.5px var(--bx-ink); }
.bx-hint {
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px;
  margin-top: 24px !important; padding: 11px 20px; border-radius: 999px; background: var(--bx-ink); color: var(--bx-cream); font-size: 15.5px;
}
.bx-hint svg { width: 19px; height: 19px; color: var(--bx-emerald); flex: none; }
.bx-hint b { color: var(--bx-emerald); font-weight: 800; }
.bx-hint em { font-style: normal; font-size: 13px; color: rgba(250,246,240,.6); padding-left: 12px; border-left: 1px solid rgba(250,246,240,.25); }
.bx-hint--light { background: #fff; color: var(--bx-ink); border: 1.5px solid var(--bx-ink); }
.bx-hint--light svg { color: var(--bx-amber); }
.bx-hint--light b { color: var(--bx-ink); }
.bx-maphead { margin-bottom: 38px; }
.bx-gbadge {
  display: inline-flex; align-items: center; gap: 18px; margin-top: 26px; padding: 16px 28px 16px 24px;
  border-radius: 24px; background: #fff; border: 1.5px solid var(--bx-ink); box-shadow: 6px 6px 0 var(--bx-amber);
  text-decoration: none !important; color: var(--bx-ink) !important; transition: transform .15s ease, box-shadow .15s ease;
}
.bx-gbadge:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--bx-amber); }
.bx-gbadge-score { font-family: var(--bx-display); font-size: clamp(2.6rem, 2rem + 1.6vw, 3.4rem); line-height: 1; letter-spacing: -0.04em; }
.bx-gbadge-mid { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.bx-gbadge .bx-stars, .bx-review .bx-stars { color: var(--bx-amber); }
.bx-gbadge .bx-stars svg { width: 24px; height: 24px; }
.bx-gbadge-count { font-weight: 800; font-size: 17px; }
.bx-hint--light + * { margin-top: 0; }
@media (max-width: 680px) {
  .bx-stats { gap: 8px; flex-wrap: nowrap; width: 100%; }
  .bx-stats li { min-width: 0; flex: 1 1 0; padding: 12px 6px; border-radius: 16px; gap: 6px; }
  .bx-stats strong { font-size: 1.45rem; }
  .bx-stats span { font-size: 12.5px; line-height: 1.25; }
  .bx-stats-flags { gap: 4px; }
  .bx-stats-flags .bx-flag { width: 26px; height: 18px; border-radius: 3px; }
  .bx-hint { border-radius: 18px; }
  .bx-hint em { border-left: 0; padding-left: 0; flex-basis: 100%; }
}

/* ---------- Hero : badge métier, accroche, chiffres par pays ---------- */
.bx-chip--pro {
  gap: 12px; padding: 10px 20px 10px 12px; background: var(--bx-ink); color: var(--bx-cream);
  border: 1.5px solid var(--bx-ink); box-shadow: 4px 4px 0 var(--bx-emerald); font-size: 15px; font-weight: 500;
}
.bx-chip--pro b { font-weight: 800; color: var(--bx-emerald); }
.bx-chip-flags { display: inline-flex; gap: 4px; padding: 5px 6px; border-radius: 8px; background: rgba(250,246,240,.1); }
.bx-chip--pro .bx-flag { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(250,246,240,.5); }
.bx-chip--pro .bx-flag + .bx-flag { margin-left: 0; }
.bx-lead strong { display: block; color: var(--bx-ink); font-weight: 800; font-size: 1.08em; margin-bottom: 6px; }
.bx-country-lots { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(28,25,23,.85); color: var(--bx-cream); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.bx-tile--promise { justify-content: center; }
.bx-promise-title { font-size: clamp(1.2rem, 0.95rem + .8vw, 1.5rem); }
@media (max-width: 680px) {
  .bx-chip--pro { font-size: 13.5px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 18px; line-height: 1.35; }
  .bx-chip--pro b { display: block; }
}

/* ---------- Hero allégé (30/09) ---------- */
.bx-tile--charbel { grid-column: 9 / 13; grid-row: 1 / 4; }
.bx-tile--charbel .bx-figure { height: min(90%, 700px); }
.bx-h1-accent { display: table; color: var(--bx-pine); background: linear-gradient(transparent 64%, rgba(31,214,155,.42) 64%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.bx-h1 { max-width: 16ch; }
.bx-tile--review, .bx-tile--promise {
  grid-row: 3; display: flex; align-items: center; gap: 16px; padding: 22px 26px; min-height: 112px; box-sizing: border-box;
}
.bx-tile--review { grid-column: 1 / 5; text-decoration: none !important; color: var(--bx-ink) !important; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.bx-tile--review:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--bx-amber); border-color: var(--bx-ink); }
.bx-tile--review .bx-stars { color: var(--bx-amber); }
.bx-tile--review .bx-stars svg { width: 20px; height: 20px; }
.bx-proof-txt { display: flex; flex-direction: column; gap: 4px; }
.bx-proof-label { font-weight: 700; font-size: 15px; line-height: 1.35; }
.bx-tile--promise { grid-column: 5 / 9; background: var(--bx-ink); color: var(--bx-cream); justify-content: flex-start; flex-direction: row; box-shadow: 5px 5px 0 var(--bx-emerald); }
.bx-promise-big { font-family: var(--bx-display); font-size: clamp(2.4rem, 1.8rem + 1.6vw, 3.2rem); line-height: 1; letter-spacing: -0.04em; color: var(--bx-emerald); flex: none; }
.bx-tile--promise .bx-proof-label { color: rgba(250,246,240,.88); max-width: 24ch; }
@media (max-width: 1080px) {
  .bx-tile--charbel { grid-column: 1; grid-row: 2 / 4; }
  .bx-tile--review { grid-column: 2; grid-row: 2; }
  .bx-tile--promise { grid-column: 2; grid-row: 3; }
}
@media (max-width: 680px) {
  .bx-tile--charbel, .bx-tile--review, .bx-tile--promise { grid-column: 1; grid-row: auto; }
  .bx-tile--charbel .bx-figure { height: min(88%, 520px); }
}
.bx-phone { font-size: clamp(1.6rem, 7.4vw, 5.6rem); }
@media (max-width: 400px) {
  .bx-seg--dark button { padding: 10px 8px; font-size: 14px; gap: 6px; }
}

/* ---------- Accroche « 150 promoteurs → 1 seul interlocuteur » ---------- */
.bx-solo {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 28px;
  margin-top: 28px; padding: 22px 24px 22px 26px; max-width: 720px; box-sizing: border-box;
  background: #fff; border: 1px solid rgba(28,25,23,.14); border-radius: 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 48px -30px rgba(28,25,23,.45);
  position: relative; overflow: hidden;
}
.bx-solo::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--bx-emerald); }
.bx-solo-eq { display: flex; align-items: center; gap: 16px; margin: 0; }
.bx-solo-stat { display: flex; flex-direction: column; gap: 4px; }
.bx-solo-stat b { font-family: var(--bx-display); font-weight: 500; font-size: 2.3rem; line-height: .95; letter-spacing: -0.035em; color: var(--bx-ink); }
.bx-solo-stat small { font-size: 13.5px; font-weight: 700; color: #5E5750; white-space: nowrap; }
.bx-solo-stat--one b { color: var(--bx-pine); }
.bx-solo-stat--one small { color: var(--bx-ink); }
.bx-solo-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bx-ink); color: var(--bx-emerald); flex: none; margin-bottom: 18px; }
.bx-solo-arrow svg { width: 17px; height: 17px; }
.bx-solo-text { margin-top: 14px !important; padding-top: 14px; border-top: 1px dashed rgba(28,25,23,.16); font-size: 15px; line-height: 1.5; color: #4A443E; max-width: 46ch; }
.bx-solo-cta { padding: 16px 22px; border-radius: 14px; }
.bx-solo .bx-btn--vivid:hover { box-shadow: 3px 3px 0 var(--bx-ink); }
.bx-solo + .bx-search { margin-top: 24px; }
@media (max-width: 860px) {
  .bx-solo { grid-template-columns: minmax(0, 1fr); }
  .bx-solo-cta { width: 100%; box-sizing: border-box; }
}
@media (max-width: 420px) {
  .bx-solo { padding: 18px 18px 18px 22px; }
  .bx-solo-eq { gap: 10px; }
  .bx-solo-stat b { font-size: 1.9rem; }
  .bx-solo-stat small { font-size: 12.5px; }
  .bx-solo-arrow { width: 28px; height: 28px; }
}
@media (max-width: 480px) {
  .bx-solo-stat { min-width: 0; }
  .bx-solo-stat small { white-space: normal; line-height: 1.25; }
}
@media (max-width: 400px) { .bx-solo-cta { white-space: normal; text-align: center; line-height: 1.3; } }

/* ---------- Appel final plus compact (30/09) ---------- */
.bx-section:has(> .bx-wrap > .bx-cta) { padding: clamp(36px, 5vw, 64px) 0; }
.bx-cta {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 40px;
  padding: clamp(24px, 3.4vw, 40px) clamp(24px, 4vw, 48px); border-radius: 26px;
}
.bx-cta h2 { font-size: clamp(1.2rem, 0.9rem + 0.9vw, 1.6rem); max-width: none; grid-column: 1; }
.bx-cta .bx-phone { grid-column: 1; margin-top: 4px; font-size: clamp(1.6rem, 1rem + 2.6vw, 3.2rem); }
.bx-cta-text { grid-column: 1; margin-top: 2px !important; font-size: 15px; }
.bx-cta-actions { grid-column: 2; grid-row: 1 / 4; flex-direction: column; margin-top: 0; }
.bx-cta-actions .bx-btn { justify-content: flex-start; }
@media (max-width: 760px) {
  .bx-cta { grid-template-columns: minmax(0, 1fr); }
  .bx-cta-actions { grid-column: 1; grid-row: auto; flex-direction: row; flex-wrap: wrap; margin-top: 10px; }
  .bx-cta .bx-phone { font-size: clamp(1.6rem, 7.4vw, 2.6rem); }
}

/* Numéro au format international : +33 plus discret, icône d'appel */
.bx-cc { font-size: .58em; letter-spacing: -0.01em; color: var(--bx-emerald); margin-right: .08em; }
.bx-phone { display: inline-flex; align-items: center; gap: .16em; }
.bx-phone-ico { display: grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--bx-emerald); color: #06231A; flex: none; margin-right: .18em; transition: transform .2s ease; }
.bx-phone-ico svg { width: .6em; height: .6em; }
.bx-phone:hover .bx-phone-ico { transform: rotate(-12deg) scale(1.06); }
.bx-phone:hover { text-decoration: none !important; color: var(--bx-cream) !important; }

/* Numéro homogène : tout en vert vif + bouton WhatsApp */
.bx-phone-row { grid-column: 1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.bx-cta .bx-phone { margin-top: 0; color: var(--bx-emerald) !important; }
.bx-phone:hover { color: #5BF0BE !important; }
.bx-phone:focus-visible { outline: 2px solid var(--bx-emerald); outline-offset: 6px; border-radius: 14px; }
.bx-cc { color: inherit; opacity: .85; }
.bx-wa {
  display: grid; place-items: center; width: clamp(40px, 1.2rem + 2vw, 56px); height: clamp(40px, 1.2rem + 2vw, 56px);
  border-radius: 50%; background: #25D366; color: #fff !important; flex: none; transition: transform .2s ease, box-shadow .2s ease;
}
.bx-wa svg { width: 58%; height: 58%; }
.bx-wa:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 10px 24px -8px rgba(37,211,102,.7); }
.bx-wa:focus-visible { outline: 2px solid #25D366; outline-offset: 4px; }

/* Photo v3 (bureau, bras croisés, coupée à droite à la prise de vue) : calée sur le bord droit de la tuile */
.bx-tile--charbel .bx-figure[src*="silhouette-v3"] {
  left: auto; right: 0; transform: none;
  width: 100%; height: auto; max-width: none; max-height: 96%;
  object-fit: contain; object-position: right bottom;
}

/* Bloc final : logos téléphone + WhatsApp devant le numéro, même vert vif, numéro d'un seul tenant */
.bx-phone-row { gap: 10px; }
.bx-round {
  display: grid; place-items: center; width: clamp(42px, 1.3rem + 2vw, 58px); height: clamp(42px, 1.3rem + 2vw, 58px);
  border-radius: 50%; background: var(--bx-emerald); color: #06231A !important; flex: none; transition: transform .2s ease, box-shadow .2s ease;
}
.bx-round svg { width: 50%; height: 50%; }
.bx-round:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 10px 24px -8px rgba(31,214,155,.7); }
.bx-round:focus-visible { outline: 2px solid var(--bx-emerald); outline-offset: 4px; }
.bx-phone-row .bx-phone { margin-left: 6px; }
.bx-cc { font-size: 1em; opacity: 1; margin-right: 0; }
@media (max-width: 760px) {
  .bx-phone-row { gap: 8px; }
  .bx-round { width: 38px; height: 38px; }
  .bx-phone-row .bx-phone { margin-left: 2px; font-size: clamp(1.05rem, 5.4vw, 2rem); }
}

/* Parcours 1 Recherche → 2 Sélection → Remise des clés (dans l'encadré de l'accroche) */
.bx-journey { margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(28,25,23,.16); }
.bx-journey ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; position: relative; }
.bx-journey ol::before { content: ""; position: absolute; left: 17px; right: 17px; top: 16px; height: 2px; background: linear-gradient(90deg, var(--bx-ink), var(--bx-emerald)); }
.bx-journey li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; text-align: center; margin: 0; }
.bx-journey li:first-child { align-items: flex-start; text-align: left; }
.bx-journey li:last-child { align-items: flex-end; text-align: right; }
.bx-j-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--bx-ink); font: 500 14px/1 var(--bx-display); color: var(--bx-ink); box-sizing: border-box; }
.bx-journey li.is-key .bx-j-dot { background: var(--bx-emerald); border-color: var(--bx-emerald); color: #06231A; box-shadow: 0 0 0 5px rgba(31,214,155,.2); }
.bx-j-dot svg { width: 17px; height: 17px; }
.bx-j-lbl { font-size: 13.5px; font-weight: 800; color: var(--bx-ink); line-height: 1.25; }
.bx-journey li.is-key .bx-j-lbl { color: var(--bx-pine); }
.bx-j-cap { margin-top: 12px !important; font-size: 14.5px; color: #4A443E; line-height: 1.45; }
@media (max-width: 420px) { .bx-j-lbl { font-size: 12.5px; } }
@media (max-width: 360px) {
  .bx-solo-eq { gap: 8px; }
  .bx-solo-stat b { font-size: 1.6rem; }
  .bx-solo-stat small { font-size: 11.5px; overflow-wrap: normal; word-break: normal; hyphens: none; }
  .bx-solo-arrow { width: 24px; height: 24px; }
  .bx-j-lbl { font-size: 11.5px; }
  .bx-journey li:nth-child(2) .bx-j-lbl { padding: 0 4px; }
}

/* =========================================================
   Premier écran façon maquette V3 (03/10) : texte à gauche, arche + photo à droite
   ========================================================= */
.bx-hero--v3 { padding: clamp(28px, 4vw, 56px) 0 clamp(72px, 8vw, 110px); }
.bx-hv3 { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.bx-rise { animation: bx-rise .75s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 90ms); }
.bx-h1v3 { font-size: clamp(2.2rem, 1rem + 3.6vw, 4.1rem) !important; font-weight: 300 !important; line-height: 1.04; letter-spacing: -0.035em; margin: 26px 0 0 !important; }
.bx-hl { color: var(--bx-pine); background: linear-gradient(transparent 66%, rgba(31,214,155,.32) 66%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.bx-hero--v3 .bx-solo { margin-top: 30px; max-width: 700px; }
.bx-hero--v3 .bx-search { margin-top: 22px; max-width: 700px; padding: 10px; border-radius: 22px; background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 34px 80px -26px rgba(28,25,23,.42); gap: 6px; }
.bx-hero--v3 .bx-seg { margin: 4px 4px 4px; background: #F1ECE3; border-color: transparent; }
.bx-hero--v3 .bx-bar { background: transparent; border: 0; box-shadow: none; padding: 0; }
.bx-hero--v3 .bx-bar:focus-within { box-shadow: none; }
.bx-hero--v3 .bx-field label { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 800; }

.bx-hv3-visual { position: relative; height: clamp(520px, 46vw, 660px); }
.bx-arch {
  position: absolute; inset: 0 0 0 30px; border-radius: 340px 340px 28px 28px; overflow: hidden;
  background: linear-gradient(168deg, #DDEAE3 0%, var(--bx-sage) 46%, #9FC0B0 100%);
  border: 1px solid rgba(255,255,255,.8); box-shadow: 0 34px 80px -26px rgba(28,25,23,.42);
}
.bx-arch .bx-plan { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(57,105,85,.28); }
.bx-arch-img { position: absolute; right: 0; bottom: 0; width: 100%; height: auto; max-height: 94%; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 26px 26px rgba(28,25,23,.25)); }
.bx-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 20px;
  background: rgba(255,253,249,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.85); box-shadow: 0 34px 80px -26px rgba(28,25,23,.42);
  text-decoration: none !important; color: var(--bx-ink) !important;
}
.bx-float-big { font-family: var(--bx-display); font-size: 34px; line-height: 1; letter-spacing: -0.04em; }
.bx-float-small { display: block; font-size: 12.5px; font-weight: 600; color: #5E5750; margin-top: 3px; }
.bx-float-name { display: block; font-family: var(--bx-display); font-weight: 500; font-size: 15px; }
.bx-float .bx-stars { color: var(--bx-amber); display: flex; }
.bx-float .bx-stars svg { width: 15px; height: 15px; }
.bx-float--rev { left: -8px; top: 14%; animation: bx-bob 6s ease-in-out infinite; }
.bx-float--fee { right: -14px; top: 40%; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 220px; background: var(--bx-ink); border-color: var(--bx-ink); color: var(--bx-cream) !important; animation: bx-bob 7s ease-in-out infinite reverse; }
.bx-float--fee .bx-float-big { color: var(--bx-emerald); font-size: 38px; }
.bx-float-txt { font-size: 13px; line-height: 1.4; color: rgba(250,246,240,.82); }
.bx-float--agent { left: 12px; bottom: -22px; padding: 12px 14px 12px 18px; animation: bx-bob 8s ease-in-out infinite; }
.bx-float-acts { display: flex; gap: 8px; margin-left: 6px; }
.bx-float .bx-round { width: 44px; height: 44px; }
@keyframes bx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
a.bx-float--rev:hover { box-shadow: 6px 6px 0 var(--bx-amber); }

@media (max-width: 1080px) {
  .bx-hv3 { grid-template-columns: minmax(0, 1fr); }
  .bx-hv3-visual { height: 600px; max-width: 560px; width: 100%; margin: 24px auto 0; }
}
@media (max-width: 680px) {
  .bx-h1v3 { font-size: 2.15rem !important; }
  .bx-hv3-visual { height: 470px; }
  .bx-arch { inset: 0; border-radius: 240px 240px 22px 22px; }
  .bx-float { padding: 12px 14px; }
  .bx-float--rev { left: -4px; top: 9%; }
  .bx-float-big { font-size: 28px; }
  .bx-float--fee { right: -4px; top: 38%; max-width: 170px; }
  .bx-float--fee .bx-float-big { font-size: 30px; }
  .bx-float--agent { left: 8px; right: 8px; bottom: -18px; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .bx-rise, .bx-float { animation: none; } }

/* Police Plus Jakarta Sans (05/10) : titres en gras */
.bx-h1 { font-weight: 700 !important; letter-spacing: -.035em; }
