/* Site V2 — raccords entre les sections V3 et les fonctions du site */
.v3 .form-ok:not([hidden]) { display: block; }
.v3 .ff textarea {
  width: 100%; box-sizing: border-box; min-height: 96px; border-radius: 12px; border: 1.5px solid rgba(28,25,23,.18);
  background: var(--paper); padding: 12px 16px; font: 500 15px/1.45 var(--sans); outline: none; resize: vertical;
}
.v3 .ff textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(31,214,155,.28); }
.v3 .ff input[aria-invalid="true"] { border-color: #B42318; }
.v3 .opt { font-weight: 500; color: var(--muted); }
.v3 .consent span { flex: 1; }
.v3 .bx-field-err { font-size: 13px; font-weight: 700; color: #B42318; }
.v3 .bx-field-err:empty { display: none; }
.v3 .bx-form-error { margin: 0 0 16px !important; padding: 12px 14px; border-radius: 12px; background: #FDECEA; color: #7A1A12; font-weight: 600; font-size: 14.5px; }
.v3 .bx-form-error[hidden] { display: none; }
.v3 .form .btn span { pointer-events: none; }
.v3 .acad-msg { font-size: 14px; font-weight: 700; margin: 0; }
.v3 .acad-msg.is-ok { color: var(--emerald); }
.v3 .acad-msg.is-err { color: #FF8A7A; }
.v3 .acad-join .btn[disabled] { opacity: .6; cursor: progress; }
.v3 .dest-counts { margin: -18px 0 26px; }
.v3 .bx-mapsec .bx-mapbox { margin-top: 0; }
.v3 .stats + .bx-band { padding-top: clamp(56px, 7vw, 92px); }
.v3 .round { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; background: var(--emerald); color: #06231A; transition: transform .2s; }
.v3 .round svg { width: 20px; height: 20px; }
.v3 .round:hover { transform: translateY(-2px); }
.v3 .btn { text-decoration: none !important; }
.v3 .btn-ink, .v3 .btn-ink:hover, .v3 .btn-ink:focus { color: var(--cream) !important; }
.v3 .btn-vivid, .v3 .btn-vivid:hover { color: #06231A !important; }
.v3 .btn-line { color: var(--ink) !important; }
.v3 .cside a, .v3 .c-lines a { color: rgba(250,246,240,.85); }
.v3 .phone-big { color: var(--emerald) !important; text-decoration: none !important; }
/* Raccords (03/10) */
.v3 .bx-hl, .v3 .hl { color: var(--emerald); background: none; }
.v3 .dest { background: var(--sand); }
.v3 .dest-counts .bx-flag { padding: 0; border: 0; border-radius: 3px; width: 20px; height: 14px; display: inline-block; box-shadow: 0 0 0 1px rgba(28,25,23,.18); }
.v3 .dest-counts .bx-flag--fr { background: linear-gradient(90deg, #1F3F8F 0 33.4%, #fff 33.4% 66.6%, #D8313A 66.6%); }
.v3 .dest-counts .bx-flag--es { background: linear-gradient(180deg, #C8102E 0 25%, #F6C400 25% 75%, #C8102E 75%); }
.v3 .dest-counts .dest-hint svg { width: 17px; height: 17px; color: var(--emerald); }
.v3 .rev blockquote { border: 0 !important; padding: 0 !important; margin: 16px 0 24px !important; font-style: normal; background: none; }
.v3 .quote { border: 0; padding: 0; }
.v3 .form, .v3 .form label, .v3 .form legend, .v3 .form input, .v3 .form select, .v3 .form textarea, .v3 .form button, .v3 .form p { font-family: var(--sans); }
.v3 .form h3 { font-family: var(--display); }
.v3 fieldset.ff { border: 0; padding: 0; margin: 0; min-width: 0; }
.v3 fieldset.ff legend { padding: 0; margin: 0 0 8px; float: left; width: 100%; }
.v3 fieldset.ff legend + * { clear: both; }
.v3 .pills .bx-flag { padding: 0; border: 0; min-height: 0; width: 20px; height: 14px; border-radius: 3px; display: inline-block; box-shadow: 0 0 0 1px rgba(28,25,23,.2); }
.v3 .pills .bx-flag--fr { background: linear-gradient(90deg, #1F3F8F 0 33.4%, #fff 33.4% 66.6%, #D8313A 66.6%); }
.v3 .pills .bx-flag--es { background: linear-gradient(180deg, #C8102E 0 25%, #F6C400 25% 75%, #C8102E 75%); }
.v3 .ff textarea { height: 110px !important; min-height: 0 !important; }
.v3 .ff input, .v3 .ff select { height: 52px !important; min-height: 0 !important; box-shadow: none; }
.v3 .consent input { height: 18px !important; }
/* Ancres du menu : défilement doux, titres non masqués par l'en-tête fixe */
html { scroll-behavior: smooth; }
.v3 section[id], .v3 .bx-anchor { scroll-margin-top: 90px; }
.v3 .bx-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.v3 .bx-mapsec { position: relative; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Encadré « 150 → 1 » : chiffres centrés au-dessus du parcours */
.bx-hero--v3 .bx-solo-eq { justify-content: center; gap: 22px; }
.bx-hero--v3 .bx-solo-stat { align-items: center; text-align: center; }

/* Liste des villes de la recherche : ne plus être coupée par la section suivante */
.bx-hero--v3 { overflow-x: clip; overflow-y: visible; position: relative; z-index: 5; }
.bx-hero--v3 .bx-search, .bx-hero--v3 .bx-field { position: relative; }
.bx-hero--v3 .bx-suggest { z-index: 60; }
.bx-hero--v3 .bx-hv3-text { position: relative; z-index: 4; }
.bx-hero--v3 .bx-hv3-visual { z-index: 1; }
.bx-hero--v3 .bx-suggest { background: #FAF6F0; }

/* ===== Vidéo des villes ===== */
.v3 .vid { position: relative; isolation: isolate; overflow: hidden; color: var(--cream); background: #131211 url("../../uploads/videos/villes-poster.jpg?v=746e629d24") center / cover no-repeat;
  min-height: clamp(460px, 68vh, 700px); display: flex; align-items: flex-end; }
.v3 .vid-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.v3 .vid-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(19,18,17,.55) 0%, rgba(19,18,17,.08) 34%, rgba(19,18,17,.25) 58%, rgba(19,18,17,.88) 100%); }
.v3 .vid-in { width: 100%; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 24px 40px; min-height: inherit; box-sizing: border-box; }
.v3 .vid-head { grid-column: 1 / -1; align-self: start; }
.v3 .vid .eyebrow { color: var(--emerald); }
.v3 .vid h2 { color: var(--cream); margin-top: 14px; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.v3 .vid-cities { list-style: none; margin: 0; padding: 0; grid-column: 1; align-self: end; position: relative; min-height: 190px; }
.v3 .vc { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.v3 .vc.on { opacity: 1; transform: none; }
.v3 .vc-where { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(250,246,240,.85); }
.v3 .vc-where .bx-flag { width: 22px; height: 15px; border-radius: 3px; display: inline-block; box-shadow: 0 0 0 1px rgba(250,246,240,.5); }
.v3 .vc-where .bx-flag--fr { background: linear-gradient(90deg, #1F3F8F 0 33.4%, #fff 33.4% 66.6%, #D8313A 66.6%); }
.v3 .vc-where .bx-flag--es { background: linear-gradient(180deg, #C8102E 0 25%, #F6C400 25% 75%, #C8102E 75%); }
.v3 .vc-city { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -.045em; margin-top: 10px; text-shadow: 0 4px 40px rgba(0,0,0,.45); }
.v3 .vc-pt { margin-top: 12px; font-size: clamp(15px, 1.3vw, 18px); font-weight: 600; color: rgba(250,246,240,.92); max-width: 36ch; }
.v3 .vc-n { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(19,18,17,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(250,246,240,.18); font-size: 14px; }
.v3 .vc-n b { font-family: var(--display); font-weight: 500; font-size: 18px; color: var(--emerald); }
.v3 .vid-foot { grid-column: 2; align-self: end; justify-self: end; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.v3 .vid-dots { display: flex; gap: 8px; }
.v3 .vd { width: 28px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(250,246,240,.35); cursor: pointer; transition: background .3s, width .3s; }
.v3 .vd.on { background: var(--emerald); width: 44px; }
.v3 .vd:focus-visible, .v3 .vid-pause:focus-visible { outline: 2px solid var(--emerald); outline-offset: 4px; }
.v3 .vid-pause { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(250,246,240,.35); background: rgba(19,18,17,.45); color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.v3 .vid-pause svg { width: 16px; height: 16px; }
.v3 .vid-pause .i-play { display: none; }
.v3 .vid-pause[aria-pressed="true"] .i-play { display: block; }
.v3 .vid-pause[aria-pressed="true"] .i-pause { display: none; }
.v3 .vid-credit { position: absolute; right: clamp(16px, 3vw, 32px); bottom: 8px; font-size: 10.5px; color: rgba(250,246,240,.5); margin: 0; }
@media (max-width: 760px) {
  .v3 .vid { min-height: 560px; }
  .v3 .vid-in { grid-template-columns: minmax(0, 1fr); }
  .v3 .vid-foot { grid-column: 1; justify-self: stretch; justify-content: space-between; }
  .v3 .vid-foot .btn { width: 100%; }
  .v3 .vid-cities { min-height: 210px; }
}
.v3 .vc { transition: opacity .3s ease, transform .3s ease; }
.v3 .vc.on { transition: opacity .6s ease .3s, transform .6s ease .3s; }
.v3 .vid .eyebrow { text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.v3 .vc-city--long { font-size: clamp(38px, 4.8vw, 72px); }
.v3 .vc-city small { display: block; font-size: .38em; letter-spacing: -.02em; margin-top: 8px; color: rgba(250,246,240,.9); }
.v3 .vc-n--ask { color: var(--emerald); font-weight: 700; }
.v3 .vid-cities { min-height: 230px; }
.v3 .vd { width: 20px; }
.v3 .vd.on { width: 36px; }
@media (max-width: 760px) { .v3 .vid-cities { min-height: 250px; } .v3 .vd { width: 14px; } .v3 .vd.on { width: 26px; } }

/* ---- Retouches du 4 octobre ---- */
/* Petits titres de section (« La méthode Baobab », « Simulateur »…) : plus grands, en pastille */
.v3 .eyebrow { font-size: clamp(14px, 1.05vw, 16px); letter-spacing: .13em; gap: 12px; padding: 9px 18px 9px 14px; border-radius: 999px; background: rgba(57,105,85,.1); line-height: 1.2; }
.v3 .eyebrow::before { width: 9px; height: 9px; }
.v3 .legal .eyebrow, .v3 .cside .eyebrow { background: rgba(31,214,155,.12); }
.v3 .vid .eyebrow { background: rgba(19,18,17,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.v3 .sec-head h2 { margin-top: 20px; }
@media (max-width: 720px) { .v3 .eyebrow { font-size: 13px; letter-spacing: .1em; padding: 8px 14px 8px 12px; } }

/* Pourquoi Baobab VEFA : cartes plus compactes, texte plus lisible */
.v3 .why-grid { gap: 16px; }
.v3 .why-card { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ic n" "h h" "p p"; align-content: start; padding: 24px 24px 26px; }
.v3 .why-card .n { grid-area: n; justify-self: end; align-self: start; }
.v3 .why-card .ic { grid-area: ic; width: 46px; height: 46px; border-radius: 13px; margin: 0 0 18px; }
.v3 .why-card .ic svg { width: 22px; height: 22px; }
.v3 .why-card h3 { grid-area: h; font-size: 18px; margin-bottom: 8px; }
.v3 .why-card p { grid-area: p; font-size: 15px; line-height: 1.6; color: #4F4943; }
.v3 .why-card.dark p { color: rgba(250,246,240,.8); }

/* Méthode : la ligne s'arrête sur la clé */
@media (min-width: 1101px) {
  .v3 .steps::before { left: 31px; right: calc(20% - 31px); }
  .v3 .steps .prog { left: 31px; }
  .v3 .steps.in .prog { width: 80%; }
}
@media (max-width: 1100px) {
  .v3 .steps::before, .v3 .steps .prog { top: 31px; }
  .v3 .steps.in .prog { height: calc(100% - 31px); }
  .v3 .step:last-child::before { content: ""; position: absolute; left: 28px; top: 62px; bottom: -4px; width: 6px; background: var(--cream); }
}

/* Votre interlocuteur : sans guillemet décoratif */
.v3 .quote::before { content: none; }

/* Académie : deux parcours en accès libre, guide PDF par pays */
.v3 .acad-grid--2 { grid-template-columns: 1fr 1fr; }
.v3 .track ol { padding: 0; margin: 0; }
.v3 .track li { padding: 14px 0; }
.v3 .track-pdf { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--sand); border: 1px dashed var(--line-c); }
.v3 .pdf-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--pine); flex: none; }
.v3 .pdf-ic svg { width: 22px; height: 22px; }
.v3 .track-pdf b { display: block; font-size: 15px; color: var(--ink); }
.v3 .track-pdf small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
@media (max-width: 720px) { .v3 .acad-grid--2 { grid-template-columns: 1fr; } }
.v3 a.track-pdf--on { text-decoration: none; color: inherit; background: var(--ink); border: 0; transition: transform .2s, box-shadow .2s; }
.v3 a.track-pdf--on b { color: var(--cream); }
.v3 a.track-pdf--on small { color: rgba(250,246,240,.65); }
.v3 a.track-pdf--on .pdf-ic { background: rgba(31,214,155,.15); color: var(--emerald); }
.v3 a.track-pdf--on > span:nth-child(2) { flex: 1; }
.v3 .pdf-go { flex: none; font-size: 13.5px; font-weight: 800; color: var(--ink); background: var(--emerald); border-radius: 999px; padding: 9px 16px; }
.v3 a.track-pdf--on:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--emerald); }
.v3 a.track-pdf--on:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }
@media (max-width: 400px) { .v3 .pdf-go { padding: 8px 12px; font-size: 12.5px; } }

/* Académie : rubriques cliquables et fenêtre de fiche */
.v3 .track li { padding: 0; }
.v3 .ch-link { display: flex; align-items: center; gap: 14px; padding: 14px 10px; margin: 0 -10px; border-radius: 12px; color: inherit; text-decoration: none; transition: background .2s; }
.v3 .ch-link:hover { background: var(--sage-soft); }
.v3 .ch-link:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }
.v3 .ch-go { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 13px; font-weight: 800; color: var(--pine); background: var(--sage-soft); border-radius: 999px; padding: 6px 12px; transition: background .2s, color .2s; }
.v3 .ch-go svg { width: 14px; height: 14px; }
.v3 .ch-link:hover .ch-go { background: var(--ink); color: var(--emerald); }
.fd-open { overflow: hidden; }
.fiche-dlg { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; }
.fiche-dlg::backdrop { background: rgba(19,18,17,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fiche-dlg[open] { display: grid; place-items: center; }
.fiche-dlg .fd-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px; }
.fiche-dlg .fd-img { display: block; width: auto; height: auto; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); max-width: calc(100vw - 32px); aspect-ratio: 4 / 5; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.45); background: #FAF6F0; }
.fiche-dlg .fd-nav { display: flex; align-items: center; gap: 18px; }
.fiche-dlg button { font: 700 20px/1 'Plus Jakarta Sans', sans-serif; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(250,246,240,.3); background: rgba(250,246,240,.1); color: #FAF6F0; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.fiche-dlg button:hover { background: #1FD69B; color: #1C1917; border-color: #1FD69B; }
.fiche-dlg button:focus-visible { outline: 2px solid #1FD69B; outline-offset: 3px; }
.fiche-dlg .fd-close { position: absolute; top: 30px; right: 30px; z-index: 2; width: 42px; height: 42px; padding: 0; background: #1C1917; border-color: #1C1917; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.fiche-dlg .fd-close svg { width: 18px; height: 18px; display: block; }
.fiche-dlg .fd-in:has(.fd-view:not([hidden])) .fd-close { top: -5px; right: -5px; }
.fiche-dlg .fd-count { color: #FAF6F0; font: 600 15px 'Plus Jakarta Sans', sans-serif; min-width: 54px; text-align: center; }
@media (max-width: 520px) { .v3 .ch-go { font-size: 0; padding: 7px; gap: 0; } .v3 .ch-go svg { width: 16px; height: 16px; } .fiche-dlg .fd-close { top: 26px; right: 26px; width: 40px; height: 40px; } .fiche-dlg .fd-in:has(.fd-view:not([hidden])) .fd-close { top: -4px; right: -4px; } }
.v3 .ch-link { flex: 1; min-width: 0; }
.v3 .ch-link .ch-t { flex: 1; }

/* ---- Retouches du 5 octobre ---- */
/* Bandeau des chiffres : plus compact, « 1 seul interlocuteur » mis en avant */
.v3 .stats { padding: 36px 0; }
.v3 .stats-grid { align-items: center; }
.v3 .stat .num { font-size: clamp(26px, 2.3vw, 36px); }
.v3 .stat p { margin-top: 8px; font-size: 13.5px; line-height: 1.4; }
.v3 .stat:last-child { background: var(--emerald); color: var(--ink); border-left: 0; border-radius: 20px; padding: 18px 22px; margin-left: 18px; box-shadow: 0 0 0 6px rgba(31,214,155,.18); }
.v3 .stat:last-child .num { color: var(--ink); font-weight: 500; font-size: clamp(32px, 2.9vw, 44px); }
.v3 .stat:last-child .num sup { color: var(--ink); font-size: .5em; font-weight: 600; }
.v3 .stat:last-child p { color: var(--ink); font-weight: 700; font-size: 14px; margin-top: 6px; }
@media (max-width: 720px) { .v3 .stats { padding: 30px 0; } .v3 .stat:last-child { margin-left: 0; } }

/* Pourquoi Baobab VEFA : cartes plus fines */
.v3 .why-grid { gap: 14px; }
.v3 .why-card { padding: 18px 20px 20px; border-radius: 20px; }
.v3 .why-card .ic { width: 38px; height: 38px; border-radius: 11px; margin: 0 0 12px; }
.v3 .why-card .ic svg { width: 19px; height: 19px; }
.v3 .why-card .n { font-size: 12px; }
.v3 .why-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.v3 .why-card p { font-size: 14.5px; line-height: 1.5; }
.v3 .why-card:hover { transform: translate(-3px,-3px); box-shadow: 4px 4px 0 var(--ink); }
.v3 .why-card.dark:hover { box-shadow: 4px 4px 0 var(--emerald); }
.v3 .stat:last-child { display: flex; align-items: center; gap: 14px; padding: 14px 20px; }
.v3 .stat:last-child .num { flex: none; }
.v3 .stat:last-child p { margin-top: 0; font-size: 13.5px; line-height: 1.35; }

/* Simulateur : frais de notaire souvent offerts */
.v3 .offert { display: flex; gap: 14px; align-items: center; margin-top: 12px; padding: 16px 18px; border-radius: 18px; background: rgba(31,214,155,.12); border: 1.5px dashed var(--emerald); }
.v3 .of-ic { flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--emerald); color: var(--ink); display: grid; place-items: center; }
.v3 .of-ic svg { width: 22px; height: 22px; }
.v3 .offert p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink); }
.v3 .offert .of-h { display: block; font-size: 15px; margin-bottom: 2px; }
.v3 .offert #fOffert { color: var(--pine); font-size: 15px; white-space: nowrap; }

/* Simulateur : drapeau France */
.v3 .eyebrow .bx-flag { width: 22px; height: 15px; border-radius: 3px; margin-left: 2px; box-shadow: 0 0 0 1px rgba(28,25,23,.08); }
.v3 .calc { position: relative; }
.v3 .calc-pays { position: absolute; top: 22px; right: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--sage-soft); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pine); }
.v3 .calc-pays .bx-flag { width: 24px; height: 16px; border-radius: 3px; }


/* ---- Police Plus Jakarta Sans (05/10) : une seule famille, graisses homogènes ---- */
.v3 { --display: 'Plus Jakarta Sans', system-ui, sans-serif; --sans: 'Plus Jakarta Sans', system-ui, sans-serif; }
.v3 h1,
.v3 h2,
.v3 h3,
.v3 .stat .num,
.v3 .why-card .n,
.v3 .step .dot,
.v3 .bar-row .lbl b,
.v3 .price-out,
.v3 .cmp b,
.v3 .saving b,
.v3 .portrait-tag b,
.v3 .rev-score,
.v3 .rev-author .av,
.v3 .faq-list summary,
.v3 .phone-big,
.v3 .dest-counts b,
.v3 .track-h,
.v3 .ch-n,
.bx h1,
.bx h2,
.bx h3,
.bx .bx-display,
.bx-promise-title,
.bx-plate-name,
.bx-rating-score,
.bx-country-count,
.bx-phone,
.bx-map-counter strong,
.bx-pop-city,
.bx-pop-count strong,
.bx-logos-tag,
.bx-stats strong,
.bx-gbadge-score,
.bx-promise-big,
.bx-solo-stat b,
.bx-j-dot,
.bx-float-big,
.bx-float-name,
.ct-header .site-title,
.ct-header .site-title a,
.ct-footer .widget-title,
.bx-footer-logo,
.bx-ct-call-num,
.bx-ct-score,
.bx-ct-steps li > span,
.v3 .form h3,
.v3 .vc-city,
.v3 .vc-n b { font-weight: 700; }
.v3 .quote { font-weight: 500; letter-spacing: -.02em; }
body, .v3 { font-weight: 500; }
html:root { --display: 'Plus Jakarta Sans', system-ui, sans-serif; --sans: 'Plus Jakarta Sans', system-ui, sans-serif; }
.bx-h1v3, .bx-h1v3 .bx-hl { font-weight: 700 !important; letter-spacing: -0.04em; }
.v3 { letter-spacing: .012em; }

/* Simulateur : onglets France / Espagne */
.v3 .calc-pays { display: none; }
.v3 .calc-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sand); margin-bottom: 22px; }
.v3 .calc-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; border-radius: 999px; padding: 9px 18px; font: 700 14.5px/1 var(--sans); color: var(--muted); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.v3 .calc-tabs button .bx-flag { width: 22px; height: 15px; border-radius: 3px; }
.v3 .calc-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(28,25,23,.1); }
.v3 .calc-tabs button:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }
.v3 .es-grid { grid-template-columns: 1fr 1fr; }
.v3 .es-grid .cmp b { font-size: 21px; }
.v3 #eAjd { font-size: 18px; }
.v3 .calc-intro[hidden] { display: none; }
@media (max-width: 420px) { .v3 .es-grid { grid-template-columns: 1fr; } .v3 .calc-tabs button { padding: 8px 14px; } }
.v3 .calc-tabs { display: flex; width: max-content; max-width: 100%; }
.v3 .calc > label { display: block; }
@media (max-width: 720px) {
  .v3 .es-grid { grid-template-columns: 1fr; gap: 8px; }
  .v3 .es-grid .cmp { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; }
  .v3 .es-grid .cmp b, .v3 #eAjd { margin: 0; font-size: 17px; white-space: nowrap; }
  .v3 [data-panel="es"] .saving { flex-direction: column; align-items: flex-start; gap: 6px; }
  .v3 [data-panel="es"] .saving b { font-size: 24px; }
}

/* Sécurité juridique : titre sur une seule ligne sur ordinateur */
@media (min-width: 1100px) {
  .v3 #v3-legal { max-width: none; white-space: nowrap; font-size: clamp(34px, 3vw, 42px); }
  .v3 #securite .sec-head > div:first-child { flex: 1 1 auto; min-width: 0; }
}

/* Académie : fiche en PDF contre coordonnées */
.fiche-dlg .fd-view { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fiche-dlg .fd-view[hidden], .fiche-dlg .fd-lead[hidden], .fiche-dlg .fd-form[hidden], .fiche-dlg .fd-done[hidden] { display: none; }
.fiche-dlg .fd-img { max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); }
.fiche-dlg .fd-nav { flex-wrap: wrap; justify-content: center; }
.fiche-dlg button.fd-cta { width: auto; height: 50px; border-radius: 999px; padding: 0 22px; gap: 10px; display: inline-flex; background: #1FD69B; color: #1C1917; border-color: #1FD69B; font-size: 15px; font-weight: 800; }
.fiche-dlg button.fd-cta svg { width: 20px; height: 20px; }
.fiche-dlg button.fd-cta:hover { background: #FAF6F0; border-color: #FAF6F0; }
.fiche-dlg .fd-lead { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow: auto; background: #FAF6F0; color: #1C1917; border-radius: 22px; padding: 30px 30px 26px; box-shadow: 0 30px 80px rgba(0,0,0,.45); font-family: 'Plus Jakarta Sans', sans-serif; }
.fiche-dlg .fd-k { margin: 0 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #396955; }
.fiche-dlg .fd-h { margin: 0 0 10px; font-size: 23px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
.fiche-dlg .fd-titre { color: #2C8A68; }
.fiche-dlg .fd-p { margin: 0 0 18px; font-size: 15px; line-height: 1.55; color: #5E5750; }
.fiche-dlg .fd-form label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 12px; }
.fiche-dlg .fd-form input:not([type=checkbox]) { display: block; width: 100%; margin-top: 6px; height: 48px; border: 1.5px solid #E4DDD2; border-radius: 12px; padding: 0 14px; font: 500 16px 'Plus Jakarta Sans', sans-serif; background: #fff; color: #1C1917; box-sizing: border-box; }
.fiche-dlg .fd-form input:focus { outline: none; border-color: #1FD69B; box-shadow: 0 0 0 3px rgba(31,214,155,.25); }
.fiche-dlg .fd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fiche-dlg label.fd-ok { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 13px; line-height: 1.45; color: #5E5750; margin: 4px 0 6px; }
.fiche-dlg label.fd-ok input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: #396955; }
.fiche-dlg .fd-err { display: block; color: #C0392B; font-size: 12.5px; font-weight: 700; margin-top: 4px; }
.fiche-dlg .fd-err:empty { display: none; }
.fiche-dlg .fd-msg { color: #C0392B; font-weight: 700; font-size: 14px; }
.fiche-dlg .fd-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.fiche-dlg .fd-actions button { width: auto; height: auto; border-radius: 999px; padding: 13px 20px; font-size: 14.5px; font-weight: 700; display: inline-flex; }
.fiche-dlg .fd-back { background: transparent; color: #1C1917; border: 1.5px solid #E4DDD2; }
.fiche-dlg .fd-back:hover { background: #F1ECE3; color: #1C1917; border-color: #E4DDD2; }
.fiche-dlg .fd-send { background: #1C1917; color: #FAF6F0; border-color: #1C1917; }
.fiche-dlg .fd-send:hover { background: #1FD69B; color: #1C1917; }
.fiche-dlg .fd-send[disabled] { opacity: .6; cursor: progress; }
.fiche-dlg .fd-dl a { display: inline-flex; padding: 12px 20px; border-radius: 999px; background: #1FD69B; color: #1C1917; font-weight: 800; text-decoration: none; }
.fiche-dlg .bx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .fiche-dlg .fd-row { grid-template-columns: 1fr; gap: 0; } .fiche-dlg .fd-lead { padding: 24px 18px 20px; } .fiche-dlg .fd-h { font-size: 20px; } .fiche-dlg .fd-img { max-height: calc(100dvh - 190px); } }
.fiche-dlg .fd-v-mail[hidden], .fiche-dlg .fd-v-dl[hidden] { display: none; }

/* Méthode : encadré « durée » à côté du titre */
.v3 .duree { display: flex; gap: 16px; align-items: center; max-width: 470px; align-self: flex-end; background: var(--ink); color: var(--cream); border-radius: 22px; padding: 20px 26px; box-shadow: 8px 8px 0 var(--emerald); }
.v3 .duree-ic { flex: none; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(31,214,155,.16); color: var(--emerald); }
.v3 .duree-ic svg { width: 26px; height: 26px; }
.v3 .duree p { margin: 0; font-size: 16px; line-height: 1.45; color: rgba(250,246,240,.8); }
.v3 .duree p b { display: block; color: var(--cream); font-size: 18px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 2px; }
@media (max-width: 720px) { .v3 .duree { max-width: none; width: 100%; padding: 18px 20px; margin-right: 8px; } .v3 .duree p { font-size: 15px; } .v3 .duree p b { font-size: 17px; } }

/* Animations au défilement : fondu en cascade (plus prioritaire que le fondu d'origine des titres) */
.js-rv .v3 .bx-ax { transition: opacity 2.5s cubic-bezier(.2,.7,.2,1), transform 2.5s cubic-bezier(.2,.7,.2,1); }
.js-rv .v3 .bx-ax:not(.bx-on) { opacity: 0; transform: translateY(40px); }
.js-rv .v3 .bx-ax.bx-on { opacity: 1; transform: none; }
@media (max-width: 760px) { .js-rv .v3 .bx-ax { transition-duration: 1.2s; } .js-rv .v3 .bx-ax:not(.bx-on) { transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) { .js-rv .v3 .bx-ax, .js-rv .v3 .bx-ax:not(.bx-on) { opacity: 1; transform: none; transition: none; } }

/* Pourquoi Baobab VEFA : bandeau en 3 points sous le titre */
.v3 .trio { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--sage-soft); border-radius: 22px; padding: 8px; margin: -18px 0 40px; }
.v3 .trio > div { display: flex; gap: 14px; align-items: center; padding: 14px 18px; }
.v3 .trio > div + div { border-left: 1px solid rgba(57,105,85,.18); }
.v3 .trio-ic { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: #fff; color: var(--pine); }
.v3 .trio-ic svg { width: 24px; height: 24px; }
.v3 .trio-us .trio-ic { background: var(--ink); color: var(--emerald); }
.v3 .trio p { margin: 0; }
.v3 .trio b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; color: var(--ink); }
.v3 .trio p span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
@media (max-width: 900px) { .v3 .trio { grid-template-columns: 1fr; margin-top: -8px; } .v3 .trio > div + div { border-left: 0; border-top: 1px solid rgba(57,105,85,.18); } }

/* Pourquoi : numéros 1 à 4 plus grands */
.v3 .why-card .n { font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.v3 .why-card .n { color: #13996C; }
.v3 .why-card.dark .n { color: var(--emerald); }

/* Votre interlocuteur : 4 cartes avec icônes au lieu des coches */
.v3 .creds--cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 0; padding-top: 0; }
.v3 .creds--cards > div { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; font-size: inherit; }
.v3 .creds--cards i { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--ink); color: var(--emerald); }
.v3 .creds--cards i svg { width: 22px; height: 22px; }
.v3 .creds--cards p { margin: 0; }
.v3 .creds--cards b { display: block; font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.v3 .creds--cards p span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
@media (max-width: 560px) { .v3 .creds--cards { grid-template-columns: 1fr; } }
.v3 .creds--cards i svg { color: var(--emerald); stroke: currentColor; flex: none; margin: 0; }

/* Académie : guide complet par pays, sous chaque parcours */
.v3 .track-guide { width: 100%; margin-top: 16px; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer; background: var(--ink); color: var(--cream); border: 0; border-radius: 16px; padding: 14px 16px; font: inherit; box-shadow: 5px 5px 0 var(--emerald); transition: transform .2s, box-shadow .2s; }
.v3 .track-guide:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--emerald); }
.v3 .track-guide:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }
.v3 .tg-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(31,214,155,.16); color: var(--emerald); }
.v3 .tg-ic svg { width: 22px; height: 22px; }
.v3 .tg-t { flex: 1; min-width: 0; }
.v3 .tg-t b { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.25; }
.v3 .tg-t small { display: block; font-size: 13px; color: rgba(250,246,240,.68); margin-top: 2px; }
.v3 .tg-go { flex: none; font-size: 13.5px; font-weight: 800; color: var(--ink); background: var(--emerald); border-radius: 999px; padding: 8px 14px; }
@media (max-width: 420px) { .v3 .tg-go { display: none; } }

/* Plans d'architecte en filigrane (élément graphique du designer de Baobab VEFA, grille retirée) : 4 sections, très discrets */
.v3 #methode, .v3 #charbel, .v3 #academie, .v3 #securite { position: relative; overflow: hidden; isolation: isolate; }
.v3 #methode::before, .v3 #charbel::before, .v3 #academie::before, .v3 #securite::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 600px; height: 1224px;
  background: url("plans/plan-immeuble-vert.webp") center / contain no-repeat; opacity: .21;
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent); mask-image: radial-gradient(closest-side, #000 50%, transparent);
}
.v3 #methode::before { right: -40px; top: -330px; }
.v3 #charbel::before { right: -80px; top: -240px; opacity: .21; }
.v3 #academie::before { left: -120px; top: -300px; transform: scaleX(-1); opacity: .21; }
.v3 #securite::before { background-image: url("plans/plan-immeuble-creme.webp"); right: -60px; top: -260px; opacity: .18; }
@media (max-width: 760px) {
  .v3 #methode::before, .v3 #charbel::before, .v3 #academie::before, .v3 #securite::before { width: 380px; height: 775px; }
  .v3 #methode::before { right: -140px; top: -200px; }
  .v3 #charbel::before { right: -150px; top: -160px; }
  .v3 #academie::before { left: -160px; top: -200px; }
  .v3 #securite::before { right: -150px; top: -180px; }
}

/* Photos de Charbel au bureau (08/10) : photo entière, plein cadre, dans l'arche du héros et la carte « Votre interlocuteur » */
.bx-arch .bx-arch-img--photo { inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 50% 18%; filter: none; }
.bx-arch:has(.bx-arch-img--photo) .bx-plan { display: none; }
.v3 .portrait img.portrait-photo { inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 860px) { .bx-arch .bx-arch-img--photo { object-position: 50% 0%; } }
@media (max-width: 860px) { .bx-hv3-visual:has(.bx-arch-img--photo) .bx-float--rev { top: 58%; } }
/* Carte « 5,0 Google » dans l'angle vide au-dessus de l'arche (ne recouvre plus le visage) - ordinateur */
@media (min-width: 861px) { .bx-hv3-visual:has(.bx-arch-img--photo) .bx-float--rev { top: -1%; left: -46px; } }
/* Pages légales : note discrète en bas de page (taux d'honoraires vendeur) */
.bx-legal .bx-legal-note { margin-top: 36px; font-size: 12px; line-height: 1.5; color: #8A827A; }
/* Grand titre du héros : apparaît sans fondu (glissement seul) pour être compté tout de suite comme affiché par Google (LCP) */
@keyframes bx-rise-t { from { transform: translateY(18px); } to { transform: none; } }
.bx-h1v3.bx-rise { animation-name: bx-rise-t; animation-delay: 0s; }
/* Téléphone : pas de fondu en cascade au défilement (contenu affiché directement, plus rapide) ; conservé sur ordinateur */
@media (max-width: 760px) {
  .js-rv .v3 .bx-ax, .js-rv .v3 .bx-ax:not(.bx-on), .js-rv .v3 .rv { opacity: 1; transform: none; transition: none; }
}
/* Vitesse : les sections sous la ligne de flottaison ne sont calculées par le navigateur qu'à l'approche (aucun effet visuel) */
.v3 #pourquoi, .v3 .vid, .v3 #methode, .v3 #securite, .v3 #frais, .v3 #charbel, .v3 #avis, .v3 #academie, .v3 #faq, .v3 #contact {
  content-visibility: auto; contain-intrinsic-size: auto 1200px;
}
/* Lien vers une section (menu, #ancre) : toute la page est calculée pour arriver au bon endroit (voir v3.js) */
html.bx-cv-off .v3 #pourquoi, html.bx-cv-off .v3 .vid, html.bx-cv-off .v3 #methode, html.bx-cv-off .v3 #securite, html.bx-cv-off .v3 #frais,
html.bx-cv-off .v3 #charbel, html.bx-cv-off .v3 #avis, html.bx-cv-off .v3 #academie, html.bx-cv-off .v3 #faq, html.bx-cv-off .v3 #contact { content-visibility: visible; }

/* ===== Accueil sur téléphone — maquette D validée le 20/10/2026 =====
   Parcours court : accueil, chiffres, logos, vidéo, méthode, Charbel, avis, puis « Pour aller plus loin »
   (6 sujets repliés, contenu toujours présent dans la page) et le formulaire. Ordinateur : inchangé. */
.mx-row, .mx-plus-head { display: none; }
@media (max-width: 760px) {
  .bx.v3 { display: flex; flex-direction: column; }
  .bx.v3 > * { order: 30; }
  .bx.v3 > .bx-hero { order: 1; } .bx.v3 > .stats { order: 2; } .bx.v3 > .bx-band { order: 3; } .bx.v3 > .vid { order: 4; }
  .bx.v3 > #methode { order: 5; } .bx.v3 > #charbel { order: 6; } .bx.v3 > #avis { order: 7; } .bx.v3 > .mx-plus-head { order: 8; }
  .bx.v3 > #bx-carte { order: 4; }   /* carte des programmes ouverte, juste après la vidéo */ .bx.v3 > #pourquoi { order: 10; } .bx.v3 > #securite { order: 11; } .bx.v3 > #frais { order: 12; }
  .bx.v3 > #academie { order: 13; } .bx.v3 > #faq { order: 14; } .bx.v3 > #contact { order: 15; }
  /* allègements */
  .bx.v3 .bx-float--agent, #methode .duree, #methode .step p, #charbel .creds, #contact .cside p { display: none !important; }
  .bx.v3 .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .bx.v3 .stats .stat p { font-size: 12px; }
  #charbel .portrait { width: 74%; margin-left: auto; margin-right: auto; }   /* photo entière, juste plus petite */
  .bx.v3 > .sec { padding-top: 40px !important; padding-bottom: 40px !important; }
  #pourquoi .why-grid, #securite .prot-grid, #academie .acad-grid { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; grid-template-columns: none !important; }
  #pourquoi .why-grid > *, #securite .prot-grid > *, #academie .acad-grid > * { flex: 0 0 82%; scroll-snap-align: start; }
  /* « Pour aller plus loin » */
  .mx-plus-head { display: block; background: #F6F1E8; padding: 36px 20px 16px; }
  .mx-plus-head h2 { font: 800 26px/1.15 var(--bx-text, "Plus Jakarta Sans", system-ui); letter-spacing: -.03em; margin: 0 0 4px; color: #1C1917; }
  .mx-plus-head p { margin: 0; color: #5E5750; font-size: 14px; }
  .bx.v3 > .mx-acc { background: #fff !important; color: #1C1917; margin: 0 16px 10px !important; border-radius: 16px; padding: 0 !important; overflow: hidden; box-shadow: 0 0 0 1px rgba(28,25,23,.06); }
  .bx.v3 > .mx-acc::before, .bx.v3 > .mx-acc::after { display: none !important; }
  .bx.v3 > .mx-acc { content-visibility: visible !important; contain-intrinsic-size: none !important; }   /* sujets repliés : pas de place réservée inutile */
  /* place réservée = hauteur réelle sur téléphone (la page ne « rallonge » pas au défilement) */
  .v3 .vid { contain-intrinsic-size: auto 570px; } .v3 #methode { contain-intrinsic-size: auto 680px; } .v3 #charbel { contain-intrinsic-size: auto 840px; }
  .v3 #avis { contain-intrinsic-size: auto 800px; } .v3 #contact { contain-intrinsic-size: auto 1840px; }
  .bx.v3 > .mx-acc:not(.mx-open) > *:not(.mx-row) { display: none !important; }
  .bx.v3 > .mx-acc.mx-open { padding-bottom: 20px !important; }
  .bx.v3 > .mx-acc.legal.mx-open { background: #1C1917 !important; color: #fff; }
  .bx.v3 > .mx-acc .sec-head .eyebrow, .bx.v3 > .mx-acc .faq-side > .eyebrow { display: none !important; }
  .bx.v3 > #faq.mx-acc { padding-top: 0 !important; }
  .bx.v3 > #contact { margin-top: 26px; }
  .mx-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: none; border: 0; padding: 16px; font: inherit; color: inherit; cursor: pointer; }
  .mx-row b { display: block; font: 700 16px/1.25 var(--bx-text, "Plus Jakarta Sans", system-ui); }
  .mx-row small { display: block; font: 500 12.5px/1.35 system-ui, sans-serif; opacity: .7; margin-top: 2px; }
  .mx-row i { margin-left: auto; flex: 0 0 30px; height: 30px; border-radius: 50%; background: #E3F3EC; color: #2C5343; font: 700 18px/30px system-ui; text-align: center; font-style: normal; transition: transform .2s; }
  .mx-open > .mx-row { border-bottom: 1px solid rgba(128,128,128,.18); margin-bottom: 8px; }
  .mx-open > .mx-row i { transform: rotate(45deg); }
}
