/*
 * AVBA — Page Rachat / refonte UX v2.8.0
 * Le plugin ne change pas le SEO technique : uniquement présentation + réorganisation progressive côté navigateur.
 */
:root {
  --avba-gold: #c6a15b;
  --avba-gold-light: #ead7a5;
  --avba-gold-dark: #967036;
  --avba-brown: #3b302a;
  --avba-brown-2: #59453a;
  --avba-brown-deep: #251d19;
  --avba-dark: #181310;
  --avba-dark-2: #0f0c0a;
  --avba-ivory: #f3ede2;
  --avba-paper: #fffdf8;
  --avba-paper-2: #faf6ee;
  --avba-taupe: #827064;
  --avba-text-soft: #5e534d;
  --avba-line: rgba(59, 48, 42, .17);
  --avba-line-gold: rgba(198, 161, 91, .33);
  --avba-shadow: 0 28px 80px rgba(24, 19, 16, .13);
}

body.avba-rachat-refonte-active {
  background: var(--avba-paper);
}

/* ---------- HERO : on conserve le contenu, on améliore seulement le rythme ---------- */
.avba-rachat-hero-refined {
  overflow: hidden;
}

.avba-rachat-hero-refined h1 {
  text-wrap: balance;
}

.avba-rachat-hero-refined p {
  text-wrap: pretty;
}

/* ---------- CE QUE NOUS ÉTUDIONS ---------- */
.avba-study-v3 {
  position: relative;
  isolation: isolate;
  padding: clamp(38px, 5.2vw, 68px) clamp(18px, 4vw, 44px) clamp(30px, 4.2vw, 52px);
  margin: 0;
  background:
    radial-gradient(circle at 92% 4%, rgba(198, 161, 91, .10), transparent 30%),
    linear-gradient(180deg, var(--avba-paper) 0%, var(--avba-paper-2) 100%);
  color: var(--avba-dark);
  overflow: hidden;
}

.avba-study-v3__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.avba-study-v3__eyebrow,
.avba-rachat-kicker {
  margin: 0 0 10px;
  font: 700 12px/1.2 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--avba-gold-dark);
}

.avba-study-v3__title {
  max-width: 840px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.025em;
  color: var(--avba-dark);
  text-wrap: balance;
}

.avba-study-v3__lead {
  max-width: 780px;
  margin: 16px 0 0;
  font: 400 clamp(15px, 1.6vw, 17px)/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--avba-text-soft);
}

.avba-study-v3__ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
  border-top: 1px solid var(--avba-line-gold);
  border-bottom: 1px solid var(--avba-line-gold);
}

.avba-study-v3__row {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  min-width: 0;
  padding: 22px 26px 20px 0;
  background: transparent;
}

.avba-study-v3__row:nth-child(odd) {
  padding-right: 30px;
  border-right: 1px solid var(--avba-line-gold);
}

.avba-study-v3__row:nth-child(even) {
  padding-left: 30px;
}

.avba-study-v3__row:nth-child(-n+2) {
  border-bottom: 1px solid var(--avba-line-gold);
}

.avba-study-v3__num {
  padding-top: 7px;
  font: 700 11px/1 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .15em;
  color: var(--avba-gold-dark);
}

.avba-study-v3__row h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 2.7vw, 35px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--avba-brown-deep);
  text-wrap: balance;
}

.avba-study-v3__row p {
  max-width: 49ch;
  margin: 8px 0 0;
  font: 400 15px/1.56 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--avba-text-soft);
}

.avba-study-v3__keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin-top: 13px;
  font: 450 10.8px/1.4 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--avba-taupe);
}

.avba-study-v3__keywords span:not(:last-child)::after {
  content: "·";
  margin-left: 9px;
  color: var(--avba-gold);
}

/* L'encart que l'utilisateur souhaite conserver */
.avba-study-v3__note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(198, 161, 91, .16);
  border-radius: 14px;
  background: rgba(243, 237, 226, .78);
  color: var(--avba-brown);
  font: 650 13px/1.45 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.avba-study-v3__note::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: .42em;
  border-radius: 50%;
  background: var(--avba-gold);
  box-shadow: 0 0 0 5px rgba(198, 161, 91, .12);
}

/* ---------- NOTRE APPROCHE : éditorial, compact, sans répétitions ---------- */
.avba-rachat-approach-refined {
  position: relative;
  padding-top: clamp(34px, 4.6vw, 54px) !important;
  padding-bottom: clamp(30px, 4vw, 48px) !important;
  background: var(--avba-ivory) !important;
  border-top: 1px solid rgba(198, 161, 91, .14);
}

.avba-rachat-approach-refined .avba-legacy-trust-hidden,
.avba-rachat-approach-refined .avba-refined-trust {
  display: none !important;
}

.avba-rachat-approach-refined h2 {
  max-width: 760px;
  margin-bottom: 14px !important;
  text-wrap: balance;
}

.avba-rachat-approach-refined .avba-refined-intro {
  max-width: 720px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  color: var(--avba-text-soft) !important;
  line-height: 1.62 !important;
  text-wrap: pretty;
}

.avba-rachat-approach-refined .avba-approach-signature {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 0;
  max-width: 860px;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--avba-line-gold);
  color: var(--avba-brown);
  font: 650 11.5px/1.35 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .015em;
}

.avba-rachat-approach-refined .avba-approach-signature span {
  display: inline-flex;
  align-items: center;
}

.avba-rachat-approach-refined .avba-approach-signature span:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 12px;
  border-radius: 50%;
  background: var(--avba-gold);
}

.avba-rachat-approach-refined .avba-refined-shop-image {
  display: block;
  width: 100%;
  max-height: 340px;
  margin-top: 18px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(24, 19, 16, .09);
}

/* ---------- DÉROULEMENT : timeline éditoriale au lieu de grosses cartes ---------- */
.avba-rachat-process-refined {
  background:
    linear-gradient(121deg, #15110e 0%, #33271f 59%, #17120f 100%) !important;
  color: var(--avba-paper);
}

.avba-rachat-process-refined .avba-refined-process-list {
  margin-top: 25px;
  border-top: 1px solid rgba(234, 215, 165, .22);
}

.avba-rachat-process-refined .avba-refined-step {
  display: grid;
  grid-template-columns: 48px minmax(150px, .55fr) minmax(0, 1.45fr);
  gap: 17px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(234, 215, 165, .18);
}

.avba-rachat-process-refined .avba-refined-step__num {
  padding-top: 5px;
  font: 700 11px/1 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .15em;
  color: var(--avba-gold);
}

.avba-rachat-process-refined .avba-refined-step h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(23px, 2.3vw, 30px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--avba-gold-light);
}

.avba-rachat-process-refined .avba-refined-step p {
  margin: 1px 0 0;
  font: 400 14px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: rgba(255, 253, 248, .78);
}

/* ---------- AVANT LA VENUE ---------- */
.avba-rachat-before-refined {
  background: var(--avba-paper-2) !important;
}

.avba-rachat-before-refined ul {
  margin-top: 20px !important;
}

.avba-rachat-before-refined li {
  position: relative;
  padding-top: 11px !important;
  padding-bottom: 11px !important;
}

.avba-rachat-goodtoknow-refined {
  background: var(--avba-paper-2) !important;
}

.avba-rachat-goodtoknow-refined.avba-collapsible-ready .avba-goodtoknow-toggle {
  display: block;
}

/* ---------- CONTACT / FORMULAIRE : CTA plus clair sans toucher au formulaire ---------- */
.avba-rachat-contact-refined {
  position: relative;
}

.avba-rachat-contact-refined .avba-contact-quickcta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 24px;
  padding: 15px 17px;
  border: 1px solid var(--avba-line-gold);
  border-radius: 14px;
  background: var(--avba-ivory);
}

.avba-contact-quickcta__text {
  font: 650 13px/1.4 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--avba-brown);
}

.avba-contact-quickcta__button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 10px 14px;
  border: 1px solid var(--avba-gold-dark);
  border-radius: 999px;
  background: var(--avba-dark);
  color: var(--avba-paper) !important;
  text-decoration: none !important;
  font: 750 10.5px/1 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- BARRE MOBILE : plus fine + auto-masquage pendant le scroll ---------- */
.avba-rachat-bottom-nav-refined {
  min-height: 58px !important;
  height: 58px !important;
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition: transform .2s ease, opacity .18s ease;
  will-change: transform, opacity;
}

.avba-rachat-bottom-nav-refined > * {
  min-height: 58px !important;
  height: 58px !important;
}

.avba-rachat-bottom-nav-refined svg,
.avba-rachat-bottom-nav-refined img {
  max-height: 21px !important;
}

.avba-rachat-bottom-nav-refined.avba-nav-hidden {
  transform: translate3d(0, calc(100% + 10px), 0) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 760px) {
  .avba-study-v3 {
    padding: 32px 17px 22px;
  }

  .avba-study-v3__title {
    font-size: 35px;
    line-height: 1;
  }

  .avba-study-v3__lead {
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 1.55;
  }

  .avba-study-v3__ledger {
    display: block;
    margin-top: 20px;
  }

  .avba-study-v3__row,
  .avba-study-v3__row:nth-child(odd),
  .avba-study-v3__row:nth-child(even) {
    grid-template-columns: 37px minmax(0, 1fr);
    gap: 10px;
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--avba-line-gold);
  }

  .avba-study-v3__row:last-child {
    border-bottom: 0;
  }

  .avba-study-v3__num {
    padding-top: 5px;
  }

  .avba-study-v3__row h3 {
    font-size: 27px;
  }

  .avba-study-v3__row p {
    margin-top: 6px;
    max-width: 34ch;
    font-size: 13.5px;
    line-height: 1.48;
  }

  .avba-study-v3__keywords {
    margin-top: 9px;
    font-size: 10.8px;
  }

  .avba-study-v3__note {
    margin-top: 12px;
    padding: 12px 13px;
    font-size: 12.5px;
  }

  .avba-rachat-approach-refined {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .avba-rachat-approach-refined h2 {
    margin-bottom: 10px !important;
  }

  .avba-rachat-approach-refined .avba-refined-intro {
    font-size: 13.5px !important;
    line-height: 1.52 !important;
  }

  .avba-rachat-approach-refined .avba-approach-signature {
    gap: 6px 0;
    margin-top: 13px;
    padding-top: 11px;
    font-size: 10.7px;
  }

  .avba-rachat-approach-refined .avba-approach-signature span:not(:last-child)::after {
    margin: 0 8px;
  }

  .avba-rachat-approach-refined .avba-refined-shop-image {
    max-height: 205px;
    margin-top: 14px;
    border-radius: 12px;
  }

  .avba-rachat-process-refined .avba-refined-process-list {
    margin-top: 20px;
  }

  .avba-rachat-process-refined .avba-refined-step {
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 9px 11px;
    padding: 14px 0;
  }

  .avba-rachat-process-refined .avba-refined-step__num {
    grid-row: 1 / span 2;
    padding-top: 5px;
  }

  .avba-rachat-process-refined .avba-refined-step h3 {
    font-size: 24px;
  }

  .avba-rachat-process-refined .avba-refined-step p {
    font-size: 12.8px;
    line-height: 1.46;
  }

  .avba-rachat-contact-refined .avba-contact-quickcta {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 16px;
    padding: 13px 14px;
  }

  .avba-contact-quickcta__button {
    width: 100%;
    text-align: center;
  }

  /* Plus fine sur iPhone ; l’auto-masquage JS évite qu’elle flotte au-dessus du contenu pendant la descente. */
  .avba-rachat-bottom-nav-refined,
  .avba-rachat-bottom-nav-refined > * {
    min-height: 54px !important;
    height: 54px !important;
  }

  .avba-rachat-bottom-nav-refined svg,
  .avba-rachat-bottom-nav-refined img {
    max-height: 19px !important;
  }

  .avba-rachat-hero-refined h1 {
    font-size: clamp(38px, 11vw, 52px) !important;
    line-height: .94 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .avba-study-v3 *,
  .avba-rachat-refonte-active * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ========================================================================== */
/* v2.3.0 — copie boutique plus naturelle + barre mobile affinée + initialisation plus rapide */
/* ========================================================================== */

.avba-rachat-hero-refined .avba-hero-location-legacy {
  display: none !important;
}

.avba-rachat-hero-refined .avba-hero-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  width: 100%;
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(198, 161, 91, .30);
  color: rgba(255, 253, 248, .76);
  font: 650 11px/1.35 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.avba-rachat-hero-refined .avba-hero-facts span {
  display: inline-flex;
  align-items: center;
}

.avba-rachat-hero-refined .avba-hero-facts span:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 12px;
  border-radius: 50%;
  background: var(--avba-gold);
  opacity: .9;
}

/* ---------- APPROCHE v2.2 : un seul bloc éditorial utile ---------- */
.avba-rachat-approach-refined.avba-rachat-approach-v22 {
  padding: 0 !important;
  border-top: 0 !important;
  background: var(--avba-ivory) !important;
}

.avba-approach-v22__inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  align-items: stretch;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(42px, 5vw, 68px) 0;
}

.avba-approach-v22__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 14px clamp(34px, 5vw, 72px) 14px 0;
}

.avba-rachat-approach-v22 h2 {
  max-width: 560px;
  margin: 0 !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(37px, 4.1vw, 52px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.025em;
  color: var(--avba-dark);
  text-wrap: balance;
}

.avba-approach-v22__lead {
  max-width: 61ch;
  margin: 17px 0 0 !important;
  color: var(--avba-text-soft) !important;
  font: 400 15px/1.62 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  text-wrap: pretty;
}

.avba-approach-v22__proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 0;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--avba-line-gold);
  color: var(--avba-brown);
  font: 700 11px/1.35 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.avba-approach-v22__proofs span {
  display: inline-flex;
  align-items: center;
}

.avba-approach-v22__proofs span:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 11px;
  border-radius: 50%;
  background: var(--avba-gold);
}

.avba-approach-v22__visual {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--avba-brown-deep);
}

.avba-approach-v22__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: center;
}

.avba-approach-v22__visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(15, 12, 10, .62));
}

.avba-approach-v22__visual figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 15px;
  color: rgba(255, 253, 248, .90);
  font: 650 10.5px/1.35 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.avba-rachat-process-refined .avba-process-v22__lead {
  max-width: 620px;
  margin-bottom: 0 !important;
  color: rgba(255, 253, 248, .72) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* La barre mobile est volontairement plus discrète ; le JS v2.2 fiabilise le masquage iOS. */
.avba-rachat-bottom-nav-refined,
.avba-rachat-bottom-nav-refined > * {
  min-height: 52px !important;
  height: 52px !important;
}

.avba-rachat-bottom-nav-refined svg,
.avba-rachat-bottom-nav-refined img {
  max-height: 18px !important;
}

@media (max-width: 760px) {
  .avba-rachat-hero-refined .avba-hero-facts {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px 14px;
    margin-top: 14px;
    padding-top: 12px;
    font-size: 9.8px;
    letter-spacing: .045em;
  }

  .avba-rachat-hero-refined .avba-hero-facts span:first-child {
    grid-column: 1 / -1;
    color: rgba(255, 253, 248, .88);
  }

  .avba-rachat-hero-refined .avba-hero-facts span::after {
    display: none !important;
  }

  .avba-approach-v22__inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
  }

  .avba-approach-v22__copy {
    order: 2;
    padding: 24px 18px 26px;
  }

  .avba-approach-v22__visual {
    order: 1;
    min-height: 170px;
    height: 170px;
    border-radius: 0;
  }

  .avba-approach-v22__visual img {
    min-height: 170px;
    height: 170px;
  }

  .avba-approach-v22__visual figcaption {
    left: 17px;
    bottom: 12px;
    font-size: 9.4px;
  }

  .avba-rachat-approach-v22 h2 {
    max-width: 12.5em;
    font-size: 34px;
    line-height: .99;
  }

  .avba-approach-v22__lead {
    margin-top: 12px !important;
    font-size: 13.2px !important;
    line-height: 1.52 !important;
  }

  .avba-approach-v22__proofs {
    gap: 6px 0;
    margin-top: 14px;
    padding-top: 12px;
    font-size: 9.7px;
    letter-spacing: .025em;
  }

  .avba-approach-v22__proofs span:not(:last-child)::after {
    margin: 0 7px;
  }

  .avba-rachat-bottom-nav-refined,
  .avba-rachat-bottom-nav-refined > * {
    min-height: 50px !important;
    height: 50px !important;
  }

  .avba-rachat-bottom-nav-refined svg,
  .avba-rachat-bottom-nav-refined img {
    max-height: 17px !important;
  }
}


/* v2.3 — barre de conversion plus discrète sur petit écran.
 * 46 px reste au-dessus du minimum tactile usuel de 44 px. */
@media (max-width: 760px) {
  .avba-rachat-bottom-nav-refined,
  .avba-rachat-bottom-nav-refined > * {
    min-height: 46px !important;
    height: 46px !important;
  }

  .avba-rachat-bottom-nav-refined svg,
  .avba-rachat-bottom-nav-refined img {
    max-height: 15px !important;
  }
}


/* ========================================================================== */
/* v2.4.0 — antiquités + copie plus naturelle + vraie réduction barre mobile  */
/* ========================================================================== */

.avba-hero-intro-v24 {
  max-width: 66ch;
}

/* 5e famille : pleine largeur sur desktop, même rythme éditorial. */
.avba-study-v3__row--wide {
  grid-column: 1 / -1;
  border-right: 0 !important;
  border-top: 1px solid var(--avba-line-gold);
  padding-right: 0;
}

@media (min-width: 761px) {
  .avba-study-v3__row--wide > div {
    max-width: 760px;
  }
}

/* La réduction précédente ne touchait pas assez les paddings internes du thème.
   On contraint désormais aussi les liens/boutons et leur typographie. */
@media (max-width: 760px) {
  .avba-rachat-bottom-nav-refined {
    min-height: 50px !important;
    height: 50px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .avba-rachat-bottom-nav-refined > *,
  .avba-rachat-bottom-nav-refined a,
  .avba-rachat-bottom-nav-refined button {
    min-height: 50px !important;
    height: 50px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  .avba-rachat-bottom-nav-refined a,
  .avba-rachat-bottom-nav-refined button {
    font-size: 9.5px !important;
    line-height: 1.05 !important;
    letter-spacing: .035em !important;
  }

  .avba-rachat-bottom-nav-refined svg,
  .avba-rachat-bottom-nav-refined img {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    margin-bottom: 2px !important;
  }

  .avba-study-v3__row--wide {
    grid-column: auto;
    border-top: 0;
    padding-right: 0;
  }
}


/* ========================================================================== */
/* v2.5.0 — hero plus naturel + dock mobile de conversion compact             */
/* ========================================================================== */

/* Intro légèrement plus compacte dans le hero, sans réduire la richesse sémantique. */
.avba-rachat-hero-refined .avba-hero-intro-v24 {
  max-width: 61ch;
}

@media (max-width: 760px) {
  .avba-rachat-hero-refined .avba-hero-intro-v24 {
    font-size: 14px !important;
    line-height: 1.55 !important;
    max-width: 34ch;
  }

  /*
   * Dock de conversion : moins de masse visuelle qu'un bandeau pleine largeur.
   * 46 px de hauteur, marge extérieure, coins arrondis et CTA central doré.
   */
  .avba-rachat-bottom-nav-refined {
    left: 10px !important;
    right: 10px !important;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    min-height: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    border: 1px solid rgba(198, 161, 91, .28) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    background: #181310 !important;
    box-shadow: 0 10px 26px rgba(15, 12, 10, .24) !important;
  }

  /* Le thème peut avoir un wrapper interne pleine hauteur : on le neutralise sans casser sa grille. */
  .avba-rachat-bottom-nav-refined > * {
    min-height: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .avba-rachat-bottom-nav-refined .avba-nav-action,
  .avba-rachat-bottom-nav-refined a,
  .avba-rachat-bottom-nav-refined button {
    min-height: 46px !important;
    height: 46px !important;
    padding: 4px 8px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: .055em !important;
    font-weight: 750 !important;
    color: #f3ede2 !important;
    text-transform: uppercase !important;
  }

  .avba-rachat-bottom-nav-refined .avba-nav-action + .avba-nav-action,
  .avba-rachat-bottom-nav-refined a + a,
  .avba-rachat-bottom-nav-refined button + button {
    border-left: 1px solid rgba(198, 161, 91, .18) !important;
  }

  /* Estimation = action principale : couleur AVBA, davantage cliquable sans grossir le dock. */
  .avba-rachat-bottom-nav-refined .avba-nav-action--primary {
    background: #c6a15b !important;
    color: #181310 !important;
  }

  .avba-rachat-bottom-nav-refined .avba-nav-action--primary svg,
  .avba-rachat-bottom-nav-refined .avba-nav-action--primary svg *,
  .avba-rachat-bottom-nav-refined .avba-nav-action--primary img {
    color: #181310 !important;
    stroke: currentColor !important;
  }

  .avba-rachat-bottom-nav-refined svg,
  .avba-rachat-bottom-nav-refined img {
    width: 15px !important;
    height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
    margin: 0 0 2px !important;
  }

  /* On garde le masquage au scroll, mais le dock descend avec sa marge externe. */
  .avba-rachat-bottom-nav-refined.avba-nav-hidden {
    transform: translate3d(0, calc(100% + 24px + env(safe-area-inset-bottom, 0px)), 0) !important;
  }
}

/* ========================================================================== */
/* v2.6.0 — déroulement allégé : moins de traits, plus d'air utile            */
/* ========================================================================== */

/* Le hero est volontairement laissé inchangé : sa taille de titre et son
   paragraphe mobile sont désormais la référence visuelle à conserver. */

/* La timeline garde seulement les séparateurs nécessaires entre les étapes.
   On supprime l'effet "tableau quadrillé" produit par les traits haut/bas. */
.avba-rachat-process-refined .avba-refined-process-list {
  border-top: 0 !important;
  margin-top: 18px !important;
}

.avba-rachat-process-refined .avba-refined-step {
  border-bottom: 1px solid rgba(234, 215, 165, .10) !important;
}

.avba-rachat-process-refined .avba-refined-step:last-child {
  border-bottom: 0 !important;
}

/* Réduit la grande zone sombre vide après la dernière étape. */
.avba-rachat-process-refined {
  padding-bottom: clamp(34px, 4.5vw, 52px) !important;
}

@media (max-width: 760px) {
  .avba-rachat-process-refined .avba-refined-process-list {
    margin-top: 15px !important;
  }

  .avba-rachat-process-refined .avba-refined-step {
    padding: 13px 0 !important;
  }

  .avba-rachat-process-refined {
    padding-bottom: 28px !important;
  }
}

/* ========================================================================== */
/* v2.8.0 — micro-animations premium, sans surcharger la page                 */
/* ========================================================================== */

/*
 * Les CTA donnent un retour tactile/visuel discret sans animation décorative.
 * On ne change ni leur taille ni leur hiérarchie validée en v2.7.
 */
.avba-rachat-hero-refined a,
.avba-rachat-hero-refined button,
.avba-contact-quickcta__button,
.avba-rachat-bottom-nav-refined .avba-nav-action {
  -webkit-tap-highlight-color: transparent;
  transition:
    transform .16s ease,
    filter .18s ease,
    box-shadow .18s ease,
    background-color .18s ease,
    color .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .avba-rachat-hero-refined a:hover,
  .avba-rachat-hero-refined button:hover,
  .avba-contact-quickcta__button:hover {
    transform: translateY(-1px);
    filter: brightness(1.035);
  }

  .avba-study-v3__row:hover .avba-study-v3__num {
    color: var(--avba-gold);
  }

  .avba-study-v3__row:hover h3 {
    color: var(--avba-brown);
  }
}

.avba-rachat-hero-refined a:active,
.avba-rachat-hero-refined button:active,
.avba-contact-quickcta__button:active,
.avba-rachat-bottom-nav-refined .avba-nav-action:active {
  transform: translateY(1px) scale(.992);
}

.avba-study-v3__num,
.avba-study-v3__row h3 {
  transition: color .28s ease, transform .28s ease;
}

/*
 * Animation d'entrée : uniquement après activation explicite par le JS.
 * Sans JS, le contenu reste dans son état normal et immédiatement lisible.
 */
@media (prefers-reduced-motion: no-preference) {
  body.avba-motion-enabled .avba-reveal-target {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition:
      opacity .56s cubic-bezier(.22, .61, .36, 1) var(--avba-reveal-delay, 0ms),
      transform .56s cubic-bezier(.22, .61, .36, 1) var(--avba-reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  body.avba-motion-enabled .avba-reveal-target.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
  }

  /* La photo apparaît comme un tirage qui se pose, sans parallaxe. */
  body.avba-motion-enabled .avba-reveal-photo {
    transform: translate3d(0, 14px, 0) scale(.995);
  }

  body.avba-motion-enabled .avba-reveal-photo.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }

  /* Petit accent doré au moment où chaque catégorie devient visible. */
  body.avba-motion-enabled .avba-study-v3__row .avba-study-v3__num {
    transform: translate3d(-2px, 0, 0);
  }

  body.avba-motion-enabled .avba-study-v3__row.is-visible .avba-study-v3__num {
    transform: translate3d(0, 0, 0);
    color: var(--avba-gold-dark);
  }
}

/*
 * Mobile : les séparateurs des catégories se dessinent doucement de gauche à droite.
 * Le trait d'origine reste le fallback tant que le JS n'a pas activé les animations.
 */
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  body.avba-motion-enabled .avba-study-v3__row {
    border-bottom-color: transparent !important;
  }

  body.avba-motion-enabled .avba-study-v3__row:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(198, 161, 91, .46), rgba(198, 161, 91, .18));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .62s cubic-bezier(.22, .61, .36, 1) calc(var(--avba-reveal-delay, 0ms) + 120ms);
  }

  body.avba-motion-enabled .avba-study-v3__row.is-visible:not(:last-child)::after {
    transform: scaleX(1);
  }
}

/* Bon à savoir : supprime l'impression de cadre dans un cadre sur mobile. */
@media (max-width: 760px) {
  .avba-rachat-goodtoknow-refined.avba-collapsible-ready {
    box-shadow: none !important;
  }

  .avba-rachat-goodtoknow-refined.avba-collapsible-ready .avba-goodtoknow-toggle {
    margin-top: 10px !important;
    padding: 11px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(198, 161, 91, .22) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .avba-rachat-hero-refined a,
  .avba-rachat-hero-refined button,
  .avba-contact-quickcta__button,
  .avba-rachat-bottom-nav-refined .avba-nav-action,
  .avba-study-v3__num,
  .avba-study-v3__row h3 {
    transition: none !important;
    transform: none !important;
  }
}

/* ========================================================================== */
/* v2.9.0 — dernière passe : respiration du bloc Déroulement                  */
/* ========================================================================== */

/* Le bloc sombre restait visuellement trop éloigné de son kicker et la fin
   gardait trop de vide après « Proposition ». On resserre uniquement cette
   section, sans modifier le hero, la typographie validée ni les contenus SEO. */
.avba-rachat-process-refined {
  padding-top: clamp(38px, 4.2vw, 50px) !important;
  padding-bottom: clamp(24px, 3vw, 34px) !important;
}

.avba-rachat-process-refined .avba-refined-process-list {
  margin-top: 14px !important;
}

@media (max-width: 760px) {
  .avba-rachat-process-refined {
    padding-top: 26px !important;
    padding-bottom: 20px !important;
  }

  .avba-rachat-process-refined .avba-refined-process-list {
    margin-top: 10px !important;
  }

  .avba-rachat-process-refined .avba-refined-step {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
}

/* ========================================================================== */
/* v2.10.0 — finition finale du rythme vertical mobile                         */
/* ========================================================================== */

/* Le dernier item doit se terminer aussi proprement que le bloc commence. */
.avba-rachat-process-refined {
  min-height: 0 !important;
  height: auto !important;
}

.avba-rachat-process-refined .avba-refined-process-list {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}

.avba-rachat-process-refined .avba-refined-step:last-child,
.avba-rachat-process-refined .avba-refined-step:last-child p {
  margin-bottom: 0 !important;
}

/* Si l'ancien groupe d'étapes laisse un wrapper vide, il ne doit plus
   réserver de hauteur sous la nouvelle timeline. */
.avba-rachat-process-refined .avba-process-legacy-group {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

@media (max-width: 760px) {
  .avba-rachat-process-refined {
    padding-bottom: 12px !important;
  }

  .avba-rachat-process-refined .avba-refined-step:last-child {
    padding-bottom: 7px !important;
  }

  /* La zone claire suivante commençait trop bas : on conserve de la respiration,
     mais sans créer un deuxième grand vide après la section sombre. */
  .avba-rachat-before-refined {
    margin-top: 0 !important;
    padding-top: 24px !important;
  }

  .avba-rachat-before-refined > :first-child {
    margin-top: 0 !important;
  }
}

@media (min-width: 761px) {
  .avba-rachat-process-refined {
    padding-bottom: 26px !important;
  }
}

/* ========================================================================== */
/* v2.11.0 — fermeture définitive du bloc Déroulement                         */
/* ========================================================================== */
/*
 * Sur le gabarit mobile, le conteneur interne du bloc conserve encore son
 * padding inférieur d'origine. C'est lui — et non la dernière étape — qui
 * crée la bande sombre trop longue après « 04 — Proposition ».
 */
.avba-rachat-process-refined .avba-process-content-shell {
  min-height: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 760px) {
  .avba-rachat-process-refined {
    padding-bottom: 0 !important;
  }

  .avba-rachat-process-refined .avba-process-content-shell {
    padding-bottom: 16px !important;
  }

  .avba-rachat-process-refined .avba-refined-process-list {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .avba-rachat-process-refined .avba-refined-step:last-child {
    padding-bottom: 1px !important;
  }

  /* Même respiration visuelle à la sortie qu'à l'intérieur de la timeline. */
  .avba-rachat-before-refined {
    margin-top: 0 !important;
    padding-top: 18px !important;
  }
}

/* ========================================================================== */
/* v2.16.0 — « Bon à savoir » réellement intégré à « Avant votre venue »      */
/* ========================================================================== */

/* L'ancienne carte autonome reste dans le HTML source mais n'est plus rendue. */
.avba-goodtoknow-source-v216,
.avba-goodtoknow-source-node-v216 {
  display: none !important;
}

/* Dernier élément du même UL : donc même cadre + même accordéon. */
.avba-rachat-before-refined.avba-before-v216 .avba-goodtoknow-inline-v216 {
  list-style: none !important;
  position: relative !important;
  margin: 12px 0 0 !important;
  padding: 24px 0 4px !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.avba-rachat-before-refined.avba-before-v216 .avba-goodtoknow-inline-v216::before,
.avba-rachat-before-refined.avba-before-v216 .avba-goodtoknow-inline-v216::after,
.avba-rachat-before-refined.avba-before-v216 .avba-goodtoknow-inline-v216::marker {
  content: none !important;
  display: none !important;
}

.avba-goodtoknow-inline-v216__inner {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.avba-goodtoknow-inline-v216__label {
  margin: 0 0 12px !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(26px, 3vw, 34px) !important;
  font-style: italic !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: var(--avba-gold-dark) !important;
}

.avba-goodtoknow-inline-v216 h3 {
  margin: 0 0 13px !important;
  padding: 0 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(31px, 4.1vw, 46px) !important;
  font-weight: 500 !important;
  line-height: 1.03 !important;
  letter-spacing: -.018em !important;
  color: var(--avba-dark) !important;
}

.avba-goodtoknow-inline-v216__text {
  margin: 0 !important;
  padding: 0 !important;
  font: 400 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  color: var(--avba-text-soft) !important;
}

@media (max-width: 760px) {
  .avba-rachat-before-refined.avba-before-v216 .avba-goodtoknow-inline-v216 {
    margin-top: 8px !important;
    padding: 21px 0 5px !important;
  }

  .avba-goodtoknow-inline-v216__label {
    margin-bottom: 10px !important;
    font-size: 29px !important;
  }

  .avba-goodtoknow-inline-v216 h3 {
    margin-bottom: 12px !important;
    font-size: 34px !important;
    line-height: 1.02 !important;
  }

  .avba-goodtoknow-inline-v216__text {
    font-size: 16px !important;
    line-height: 1.58 !important;
  }
}


/* ========================================================================== */
/* v2.19.0 — micro-correctif hero : même hiérarchie textuelle qu’Expertise   */
/* Aucun autre bloc de la v2.17 validée n’est modifié.                        */
/* ========================================================================== */
@media (max-width: 760px) {
  .avba-rachat-hero-refined .avba-hero-facts {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
    margin-top: 14px !important;
    padding-top: 12px !important;
    font-size: 10px !important;
    letter-spacing: .05em !important;
  }

  .avba-rachat-hero-refined .avba-hero-facts span {
    display: block !important;
    width: 100% !important;
  }

  .avba-rachat-hero-refined .avba-hero-facts span:first-child {
    color: rgba(255, 253, 248, .82) !important;
  }

  .avba-rachat-hero-refined .avba-hero-facts span:last-child {
    font-size: 9.2px !important;
    font-weight: 500 !important;
    color: rgba(255, 253, 248, .52) !important;
  }

  .avba-rachat-hero-refined .avba-hero-facts span::after {
    display: none !important;
    content: none !important;
  }
}


/* ========================================================================== */
/* AVBA — Rachat compact mobile — 22/08/2026                                  */
/* Réduit la hauteur perçue du déroulement sans masquer de contenu SEO.       */
/* ========================================================================== */
@media (max-width: 760px) {
  .avba-rachat-process-refined {
    padding-top: 28px !important;
    padding-bottom: 0 !important;
  }

  .avba-rachat-process-refined h2 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 40px !important;
    line-height: .98 !important;
  }

  .avba-rachat-process-refined .avba-process-v22__lead {
    margin-top: 12px !important;
    font-size: 13.2px !important;
    line-height: 1.45 !important;
  }

  .avba-rachat-process-refined .avba-refined-process-list {
    margin-top: 14px !important;
  }

  .avba-rachat-process-refined .avba-refined-step {
    grid-template-columns: 31px minmax(0, 1fr) !important;
    gap: 5px 10px !important;
    padding: 10px 0 !important;
  }

  .avba-rachat-process-refined .avba-refined-step__num {
    padding-top: 4px !important;
  }

  .avba-rachat-process-refined .avba-refined-step h3 {
    font-size: 22px !important;
    line-height: 1.02 !important;
  }

  .avba-rachat-process-refined .avba-refined-step p {
    margin-top: 3px !important;
    font-size: 12.5px !important;
    line-height: 1.40 !important;
  }

  .avba-rachat-process-refined .avba-process-content-shell {
    padding-bottom: 10px !important;
  }
}

/* ========================================================================== */
/* AVBA — Rachat ultra-compact mobile — 22/08/2026                            */
/* Corrige le gap hérité du conteneur interne du Déroulement.                 */
/* ========================================================================== */
@media (max-width: 760px) {
  .avba-rachat-process-refined {
    padding-top: 22px !important;
    padding-bottom: 0 !important;
  }

  .avba-rachat-process-refined .avba-process-content-shell {
    display: block !important;
    gap: 0 !important;
    row-gap: 0 !important;
    column-gap: 0 !important;
    padding-bottom: 6px !important;
  }

  .avba-rachat-process-refined .avba-rachat-kicker {
    margin: 0 0 8px !important;
  }

  .avba-rachat-process-refined h2 {
    margin: 0 !important;
    font-size: 36px !important;
    line-height: .94 !important;
  }

  .avba-rachat-process-refined .avba-process-v22__lead {
    margin: 10px 0 0 !important;
    font-size: 12.7px !important;
    line-height: 1.38 !important;
  }

  .avba-rachat-process-refined .avba-refined-process-list {
    margin: 12px 0 0 !important;
  }

  .avba-rachat-process-refined .avba-refined-step {
    grid-template-columns: 29px minmax(0, 1fr) !important;
    gap: 3px 8px !important;
    padding: 8px 0 !important;
  }

  .avba-rachat-process-refined .avba-refined-step__num {
    padding-top: 3px !important;
  }

  .avba-rachat-process-refined .avba-refined-step h3 {
    font-size: 21px !important;
    line-height: 1 !important;
  }

  .avba-rachat-process-refined .avba-refined-step p {
    margin: 2px 0 0 !important;
    font-size: 12.2px !important;
    line-height: 1.35 !important;
  }

  .avba-rachat-process-refined .avba-refined-step:last-child {
    padding-bottom: 5px !important;
  }
}


/* ========================================================================== */
/* AVBA — Domaines de rachat compact mobile — 22/08/2026                     */
/* Resserre la section catégories sans masquer de contenu utile.              */
/* ========================================================================== */
@media (max-width: 760px) {
  .avba-study-v3 {
    padding: 24px 17px 14px !important;
  }

  .avba-study-v3__eyebrow {
    margin: 0 0 6px !important;
    font-size: 10.5px !important;
    line-height: 1.15 !important;
    letter-spacing: .15em !important;
  }

  .avba-study-v3__title {
    font-size: 31px !important;
    line-height: .96 !important;
  }

  .avba-study-v3__lead {
    margin: 8px 0 0 !important;
    font-size: 12.8px !important;
    line-height: 1.40 !important;
  }

  .avba-study-v3__ledger {
    margin-top: 14px !important;
  }

  .avba-study-v3__row,
  .avba-study-v3__row:nth-child(odd),
  .avba-study-v3__row:nth-child(even) {
    grid-template-columns: 31px minmax(0, 1fr) !important;
    gap: 7px !important;
    padding: 10px 0 !important;
  }

  .avba-study-v3__num {
    padding-top: 4px !important;
    font-size: 10px !important;
  }

  .avba-study-v3__row h3 {
    font-size: 23px !important;
    line-height: 1 !important;
  }

  .avba-study-v3__row p {
    margin: 3px 0 0 !important;
    max-width: 38ch !important;
    font-size: 12.2px !important;
    line-height: 1.34 !important;
  }

  .avba-study-v3__note {
    margin-top: 8px !important;
    padding: 10px 11px !important;
    font-size: 11.8px !important;
    line-height: 1.35 !important;
  }
}


/* ========================================================================== */
/* AVBA — Domaines de rachat scan mobile — 22/08/2026                       */
/* Suppression des descriptions répétitives : 5 catégories immédiatement lisibles. */
/* ========================================================================== */
@media (max-width: 760px) {
  .avba-study-v3 {
    padding: 20px 17px 12px !important;
  }

  .avba-study-v3__eyebrow {
    margin: 0 0 5px !important;
  }

  .avba-study-v3__title {
    margin: 0 !important;
    font-size: 27px !important;
    line-height: .98 !important;
    max-width: 100% !important;
  }

  .avba-study-v3__ledger {
    margin-top: 10px !important;
    border-top: 1px solid rgba(198, 161, 91, .24) !important;
  }

  .avba-study-v3__row,
  .avba-study-v3__row:nth-child(odd),
  .avba-study-v3__row:nth-child(even) {
    grid-template-columns: 31px minmax(0, 1fr) !important;
    gap: 7px !important;
    align-items: center !important;
    padding: 7px 0 !important;
    min-height: 0 !important;
  }

  .avba-study-v3__num {
    align-self: center !important;
    padding-top: 0 !important;
    font-size: 9.5px !important;
  }

  .avba-study-v3__row h3 {
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1.02 !important;
  }

  .avba-study-v3__row p {
    display: none !important;
  }

  .avba-study-v3__lead--after {
    margin: 9px 0 0 !important;
    font-size: 11.9px !important;
    line-height: 1.35 !important;
    max-width: none !important;
  }

  .avba-study-v3__note {
    margin-top: 8px !important;
    padding: 9px 10px !important;
    font-size: 11.4px !important;
    line-height: 1.30 !important;
  }
}


/* ========================================================================== */
/* AVBA — Domaines de rachat ultra-scan — 22/08/2026                         */
/* Version compacte : titre court + catégories en grille, sans numérotation. */
/* ========================================================================== */
.avba-study-v3__chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.avba-study-v3__chips span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(198, 161, 91, .22);
  border-radius: 10px;
  background: rgba(255, 253, 248, .62);
  font: 600 14px/1.25 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--avba-brown-deep);
}

@media (max-width: 760px) {
  .avba-study-v3 {
    padding: 16px 17px 14px !important;
  }

  .avba-study-v3__eyebrow {
    margin: 0 0 3px !important;
    font-size: 9.8px !important;
    letter-spacing: .14em !important;
  }

  .avba-study-v3__title {
    margin: 0 !important;
    font-size: 29px !important;
    line-height: 1 !important;
    max-width: none !important;
  }

  .avba-study-v3__ledger,
  .avba-study-v3__lead--after {
    display: none !important;
  }

  .avba-study-v3__chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }

  .avba-study-v3__chips span {
    min-height: 0;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 11.8px;
    line-height: 1.18;
  }

  .avba-study-v3__chips span:last-child {
    grid-column: 1 / -1;
  }

  .avba-study-v3__note {
    margin-top: 8px !important;
    padding: 8px 10px !important;
    font-size: 11.2px !important;
    line-height: 1.25 !important;
  }
}


/* ========================================================================== */
/* AVBA — Domaines de rachat : grille éditoriale équilibrée — 22/08/2026      */
/* Catégories sans effet "carte" afin de préserver l'encart "Un doute ?"      */
/* ========================================================================== */
.avba-study-v3__chips {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin-top: 14px !important;
  border-top: 1px solid rgba(198, 161, 91, .24);
  border-bottom: 1px solid rgba(198, 161, 91, .24);
}

.avba-study-v3__chips span {
  display: flex !important;
  align-items: center !important;
  min-height: 42px !important;
  padding: 9px 14px !important;
  border: 0 !important;
  border-right: 1px solid rgba(198, 161, 91, .18) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--avba-brown-deep) !important;
  font: 600 13.5px/1.2 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.avba-study-v3__chips span:nth-child(3n) {
  border-right: 0 !important;
}

.avba-study-v3__chips span:nth-child(-n+3) {
  border-bottom: 1px solid rgba(198, 161, 91, .18) !important;
}

@media (max-width: 760px) {
  .avba-study-v3 {
    padding: 14px 17px 13px !important;
  }

  .avba-study-v3__eyebrow {
    margin-bottom: 2px !important;
  }

  .avba-study-v3__title {
    font-size: 27px !important;
    line-height: 1 !important;
  }

  .avba-study-v3__chips {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-top: 7px !important;
  }

  .avba-study-v3__chips span {
    min-height: 36px !important;
    padding: 6px 8px !important;
    font-size: 11.7px !important;
    line-height: 1.15 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
  }

  .avba-study-v3__chips span:nth-child(odd) {
    padding-left: 0 !important;
    padding-right: 8px !important;
    border-right: 1px solid rgba(198, 161, 91, .18) !important;
  }

  .avba-study-v3__chips span:nth-child(even) {
    padding-left: 9px !important;
    padding-right: 0 !important;
  }

  .avba-study-v3__chips span:nth-child(-n+4) {
    border-bottom: 1px solid rgba(198, 161, 91, .18) !important;
  }

  .avba-study-v3__chips span:last-child {
    grid-column: auto !important;
  }

  /* L'encart conserve volontairement sa forme propre et son point doré. */
  .avba-study-v3__note {
    margin-top: 9px !important;
    padding: 9px 11px !important;
    border-radius: 14px !important;
    background: rgba(243, 237, 226, .82) !important;
    font-size: 11.2px !important;
    line-height: 1.24 !important;
  }
}


/* ========================================================================== */
/* AVBA — Domaines de rachat : lisibilité + micro-animation — 22/08/2026      */
/* Légère hausse typographique, sans regonfler la section.                     */
/* Animation progressive des catégories, respect de prefers-reduced-motion.    */
/* ========================================================================== */
@media (max-width: 760px) {
  .avba-study-v3__eyebrow {
    font-size: 10.4px !important;
    letter-spacing: .145em !important;
  }

  .avba-study-v3__title {
    font-size: 29px !important;
    line-height: 1.02 !important;
  }

  .avba-study-v3__chips span {
    min-height: 38px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    font-size: 13.2px !important;
    line-height: 1.18 !important;
  }

  .avba-study-v3__note {
    font-size: 12.2px !important;
    line-height: 1.28 !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  body.avba-study-chips-motion .avba-study-v3__chips span.avba-chip-reveal {
    opacity: 0;
    transform: translate3d(0, 7px, 0);
    transition:
      opacity .46s cubic-bezier(.22, .61, .36, 1) var(--avba-chip-delay, 0ms),
      transform .46s cubic-bezier(.22, .61, .36, 1) var(--avba-chip-delay, 0ms),
      color .28s ease;
    will-change: opacity, transform;
  }

  body.avba-study-chips-motion .avba-study-v3__chips span.avba-chip-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
  }

  body.avba-study-chips-motion .avba-study-v3__chips {
    position: relative;
  }
}

@media (hover: hover) and (pointer: fine) {
  .avba-study-v3__chips span {
    transition: color .24s ease, transform .24s ease;
  }

  .avba-study-v3__chips span:hover {
    color: var(--avba-gold-dark) !important;
    transform: translate3d(2px, 0, 0);
  }
}


/* ========================================================================== */
/* AVBA — Déroulement : animation sobre, sans modifier la mise en page        */
/* ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  body.avba-process-motion .avba-process-reveal {
    opacity: 0;
    transform: translate3d(0, 7px, 0);
    transition:
      opacity .46s cubic-bezier(.22, .61, .36, 1) var(--avba-process-delay, 0ms),
      transform .46s cubic-bezier(.22, .61, .36, 1) var(--avba-process-delay, 0ms);
    will-change: opacity, transform;
  }

  body.avba-process-motion .avba-process-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
  }

  body.avba-process-motion .avba-refined-step.avba-process-reveal-step {
    position: relative;
    border-bottom-color: transparent !important;
  }

  body.avba-process-motion .avba-refined-step.avba-process-reveal-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: rgba(234, 215, 165, .18);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .56s cubic-bezier(.22, .61, .36, 1) calc(var(--avba-process-delay, 0ms) + 90ms);
  }

  body.avba-process-motion .avba-refined-step.avba-process-reveal-step.is-visible:not(:last-child)::after {
    transform: scaleX(1);
  }

  body.avba-process-motion .avba-refined-step__num {
    transition: color .32s ease, transform .38s cubic-bezier(.22, .61, .36, 1);
  }

  body.avba-process-motion .avba-refined-step.is-visible .avba-refined-step__num {
    transform: translate3d(1px, 0, 0);
    color: var(--avba-gold-light) !important;
  }
}


/* ========================================================================== */
/* Animation « À la boutique AVBA » — même style que catégories/déroulement  */
/* ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  body.avba-approach-motion .avba-approach-reveal {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    transition:
      opacity .54s cubic-bezier(.22, .61, .36, 1) var(--avba-approach-delay, 0ms),
      transform .54s cubic-bezier(.22, .61, .36, 1) var(--avba-approach-delay, 0ms),
      color .28s ease;
    will-change: opacity, transform;
  }

  body.avba-approach-motion .avba-approach-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
  }

  body.avba-approach-motion .avba-approach-reveal-photo {
    transform: translate3d(0, 12px, 0) scale(.996);
  }

  body.avba-approach-motion .avba-approach-reveal-photo.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }

  body.avba-approach-motion .avba-approach-reveal-proof {
    transform: translate3d(-5px, 0, 0);
  }

  body.avba-approach-motion .avba-approach-reveal-proof.is-visible {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .avba-approach-reveal,
  .avba-approach-reveal-photo,
  .avba-approach-reveal-proof {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ========================================================================== */
/* AVBA — v2.30 / v2.2.11 : accordéon « Avant votre venue » plus compact     */
/* ========================================================================== */
@media (max-width: 760px) {
  .avba-rachat-before-refined {
    padding-top: 14px !important;
    padding-bottom: 16px !important;
  }

  .avba-rachat-before-refined .avba-preparation-grid {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .avba-rachat-before-refined .avba-preparation-grid > div.avba-reveal {
    min-height: 0 !important;
    height: auto !important;
    padding: 18px 54px 18px 20px !important;
  }

  .avba-rachat-before-refined .avba-preparation-grid > div.avba-reveal > :first-child {
    margin-top: 0 !important;
  }

  .avba-rachat-before-refined .avba-preparation-grid > div.avba-reveal h2 {
    margin-top: 26px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }

  .avba-rachat-before-refined .avba-preparation-grid > div.avba-reveal::after {
    top: 17px !important;
    right: 17px !important;
  }
}


/* ========================================================================== */
/* AVBA — v3.1 : accordéon « Avant votre venue » intégré                     */
/* ========================================================================== */
.avba-preparation-grid {
  display: block !important;
}

.avba-preparation-grid > div.avba-reveal {
  cursor: pointer;
  position: relative;
  margin: 0;
  padding: 28px 70px 28px 28px;
  border: 1px solid var(--avba-line-gold);
  background: var(--avba-paper-2);
}

.avba-preparation-grid > div.avba-reveal::after {
  content: '+';
  position: absolute;
  top: 26px;
  right: 24px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--avba-gold-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--avba-gold-dark);
}

.avba-preparation-grid.avba-prep-open > div.avba-reveal::after {
  content: '-';
}

.avba-preparation-grid > div.avba-reveal .avba-check-list {
  display: none;
}

.avba-preparation-grid.avba-prep-open > div.avba-reveal .avba-check-list {
  display: block;
  margin-top: 26px;
}

.avba-preparation-grid > .avba-note-card {
  display: none;
  margin-top: 24px;
}

.avba-preparation-grid.avba-prep-open > .avba-note-card {
  display: block;
}

@media (max-width: 760px) {
  .avba-preparation-grid > div.avba-reveal {
    padding: 22px 56px 22px 20px;
  }

  .avba-preparation-grid > div.avba-reveal::after {
    top: 20px;
    right: 18px;
    width: 26px;
    height: 26px;
  }
}
\n\n/* ==========================================================================
   AVBA — v3.2 : cartes de services marron intégrées
   Reprise fonctionnelle du micro-plugin AVBA — Rachat cartes marron 1.0.4.
   ========================================================================== */
body .avba-service-card-grid > article.avba-service-card,
body .avba-service-card-grid > article.avba-service-card:not(:hover),
body .avba-service-card-grid > article.avba-service-card:not(:focus-within) {
  background-color: #3b302a !important;
  background-image: linear-gradient(145deg, #4a3b33 0%, #3b302a 100%) !important;
  border-color: rgba(198,161,91,.42) !important;
  box-shadow: 0 18px 46px rgba(24,19,16,.16) !important;
  color-scheme: dark !important;
}
body .avba-service-card-grid > article.avba-service-card h3 {
  color: #e0bc6b !important;
  -webkit-text-fill-color: #e0bc6b !important;
}
body .avba-service-card-grid > article.avba-service-card p {
  color: #eee4d8 !important;
  -webkit-text-fill-color: #eee4d8 !important;
}
body .avba-service-card-grid > article.avba-service-card .avba-service-card__number {
  color: #d2ad62 !important;
  -webkit-text-fill-color: #d2ad62 !important;
}
body .avba-service-card-grid > article.avba-service-card::after {
  background: linear-gradient(90deg,#c6a15b,transparent) !important;
  opacity: .72 !important;
}
body .avba-service-card-grid > article.avba-service-card:hover,
body .avba-service-card-grid > article.avba-service-card:focus-within {
  background-color: #46362f !important;
  background-image: linear-gradient(145deg, #554238 0%, #46362f 100%) !important;
  border-color: rgba(198,161,91,.62) !important;
}


/* ========================================================================== */
/* AVBA — v3.4 : hero desktop compact, lisible et orienté conversion         */
/* Mobile validé inchangé : règles appliquées uniquement à partir de 1024 px. */
/* ========================================================================== */
@media (min-width: 1024px) {
  /* Le thème donne historiquement beaucoup de hauteur au hero. Sur desktop,
     on laisse désormais le contenu définir la hauteur réelle. */
  .avba-rachat-hero-refined {
    min-height: 0 !important;
    height: auto !important;
    padding-top: clamp(38px, 4.8vh, 58px) !important;
    padding-bottom: clamp(34px, 4.5vh, 54px) !important;
  }

  /* Titre toujours statutaire, mais moins massif sur écran d'ordinateur. */
  .avba-rachat-hero-refined h1 {
    max-width: 760px !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    font-size: clamp(56px, 5vw, 72px) !important;
    line-height: .92 !important;
    letter-spacing: -.025em !important;
    text-wrap: balance;
  }

  .avba-rachat-hero-refined .avba-hero-intro-v24 {
    max-width: 58ch !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    font-size: 16px !important;
    line-height: 1.52 !important;
  }

  /* CTA : on évite les gros blocs verticaux hérités du thème. */
  .avba-rachat-hero-refined a,
  .avba-rachat-hero-refined button {
    min-height: 44px !important;
  }

  /* Adresse + expérience : un vrai repère éditorial, plus une micro-légende. */
  .avba-rachat-hero-refined .avba-hero-facts {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 6px !important;
    width: min(320px, 100%) !important;
    margin: 0 !important;
    padding: 16px 0 15px !important;
    border-top: 1px solid rgba(198, 161, 91, .48) !important;
    border-bottom: 1px solid rgba(198, 161, 91, .18) !important;
    color: rgba(255, 253, 248, .78) !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
  }

  .avba-rachat-hero-refined .avba-hero-facts span {
    display: block !important;
    width: 100% !important;
  }

  .avba-rachat-hero-refined .avba-hero-facts span:first-child {
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 750 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
    color: rgba(255, 253, 248, .93) !important;
  }

  .avba-rachat-hero-refined .avba-hero-facts span:last-child {
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 520 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    color: rgba(234, 215, 165, .78) !important;
  }

  .avba-rachat-hero-refined .avba-hero-facts span::after {
    display: none !important;
    content: none !important;
  }
}

/* MacBook / laptop : priorité absolue aux CTA visibles au premier écran. */
@media (min-width: 1024px) and (max-height: 900px) {
  .avba-rachat-hero-refined {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .avba-rachat-hero-refined h1 {
    max-width: 730px !important;
    margin-bottom: 14px !important;
    font-size: clamp(52px, 4.7vw, 66px) !important;
    line-height: .91 !important;
  }

  .avba-rachat-hero-refined .avba-hero-intro-v24 {
    max-width: 56ch !important;
    margin-bottom: 16px !important;
    font-size: 15.5px !important;
    line-height: 1.48 !important;
  }

  .avba-rachat-hero-refined .avba-hero-facts {
    padding-top: 13px !important;
    padding-bottom: 13px !important;
  }
}

/* ========================================================================== */
/* AVBA — v3.4.1 : lisibilité desktop de la section « Nos domaines de rachat » */
/* Ajustement typographique uniquement. Mobile et hauteur générale inchangés.  */
/* ========================================================================== */
@media (min-width: 1024px) {
  .avba-study-v3__eyebrow {
    font-size: 14px !important;
    line-height: 1.2 !important;
    letter-spacing: .155em !important;
    margin-bottom: 9px !important;
  }

  .avba-study-v3__title {
    font-size: clamp(46px, 4.8vw, 58px) !important;
    line-height: .98 !important;
  }

  .avba-study-v3__chips span {
    min-height: 44px !important;
    padding: 9px 14px !important;
    font-size: 15.2px !important;
    line-height: 1.22 !important;
  }

  .avba-study-v3__note {
    font-size: 14.1px !important;
    line-height: 1.4 !important;
  }
}


/* ========================================================================== */
/* AVBA — v3.4.2 : équilibre desktop de la section « À la boutique AVBA »    */
/* Mobile inchangé. La photo reste présente mais ne domine plus la lecture.   */
/* ========================================================================== */
@media (min-width: 1024px) {
  .avba-approach-v22__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr) !important;
    align-items: center !important;
    width: min(1120px, calc(100% - 64px)) !important;
    padding: clamp(38px, 4vw, 52px) 0 !important;
    column-gap: clamp(34px, 4vw, 58px) !important;
  }

  .avba-approach-v22__copy {
    padding: 6px 0 !important;
  }

  .avba-rachat-approach-v22 h2 {
    max-width: 620px !important;
    font-size: clamp(39px, 3.55vw, 49px) !important;
    line-height: .98 !important;
  }

  .avba-approach-v22__lead {
    max-width: 59ch !important;
    margin-top: 15px !important;
    font-size: 15.5px !important;
    line-height: 1.55 !important;
  }

  .avba-approach-v22__proofs {
    margin-top: 17px !important;
    padding-top: 13px !important;
    font-size: 11.2px !important;
  }

  .avba-approach-v22__visual {
    width: 100% !important;
    min-height: 0 !important;
    height: clamp(340px, 30vw, 405px) !important;
    align-self: center !important;
    border-radius: 3px !important;
  }

  .avba-approach-v22__visual img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center 46% !important;
  }
}

@media (min-width: 1024px) and (max-height: 900px) {
  .avba-approach-v22__inner {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  .avba-approach-v22__visual {
    height: clamp(320px, 28vw, 365px) !important;
  }
}

/* ========================================================================== */
/* AVBA — v3.4.3 : rééquilibrage desktop de « Comment se passe le rachat ? »  */
/* Mobile inchangé. Desktop plus lisible, plus compact et mieux hiérarchisé.  */
/* ========================================================================== */
@media (min-width: 1024px) {
  .avba-rachat-process-refined {
    padding-top: clamp(46px, 4.8vw, 68px) !important;
    padding-bottom: clamp(34px, 3.8vw, 48px) !important;
  }

  .avba-rachat-process-refined .avba-process-content-shell {
    display: grid !important;
    grid-template-columns: minmax(320px, .92fr) minmax(470px, 1.08fr) !important;
    grid-template-areas:
      "title steps"
      "lead  steps" !important;
    align-items: start !important;
    column-gap: clamp(34px, 4.4vw, 62px) !important;
    row-gap: 14px !important;
    width: min(1120px, calc(100% - 64px)) !important;
    margin: 0 auto !important;
    padding-bottom: 0 !important;
  }

  .avba-rachat-process-refined h2 {
    grid-area: title !important;
    max-width: 7.6ch !important;
    margin: 0 !important;
    font-size: clamp(46px, 4.4vw, 68px) !important;
    line-height: .96 !important;
  }

  .avba-rachat-process-refined .avba-process-v22__lead {
    grid-area: lead !important;
    max-width: 31ch !important;
    margin: 2px 0 0 !important;
    font-size: 15.8px !important;
    line-height: 1.5 !important;
    color: rgba(255, 253, 248, .80) !important;
  }

  .avba-rachat-process-refined .avba-refined-process-list {
    grid-area: steps !important;
    margin: 0 !important;
    align-self: start !important;
  }

  .avba-rachat-process-refined .avba-refined-step {
    grid-template-columns: 36px minmax(164px, .82fr) minmax(0, 1fr) !important;
    gap: 14px 18px !important;
    padding: 16px 0 !important;
  }

  .avba-rachat-process-refined .avba-refined-step__num {
    padding-top: 6px !important;
    font-size: 12px !important;
  }

  .avba-rachat-process-refined .avba-refined-step h3 {
    font-size: clamp(21px, 2vw, 30px) !important;
    line-height: 1.03 !important;
  }

  .avba-rachat-process-refined .avba-refined-step p {
    margin: 0 !important;
    max-width: 34ch !important;
    font-size: 14.6px !important;
    line-height: 1.46 !important;
  }
}

@media (min-width: 1024px) and (max-width: 1240px) {
  .avba-rachat-process-refined .avba-process-content-shell {
    width: min(1080px, calc(100% - 48px)) !important;
    grid-template-columns: minmax(290px, .88fr) minmax(420px, 1.12fr) !important;
    column-gap: 28px !important;
  }

  .avba-rachat-process-refined h2 {
    font-size: clamp(42px, 4vw, 58px) !important;
  }

  .avba-rachat-process-refined .avba-process-v22__lead {
    font-size: 15px !important;
    max-width: 29ch !important;
  }

  .avba-rachat-process-refined .avba-refined-step {
    grid-template-columns: 34px minmax(150px, .78fr) minmax(0, 1fr) !important;
    gap: 12px 16px !important;
    padding: 14px 0 !important;
  }

  .avba-rachat-process-refined .avba-refined-step h3 {
    font-size: 19px !important;
  }

  .avba-rachat-process-refined .avba-refined-step p {
    font-size: 13.9px !important;
    line-height: 1.42 !important;
  }
}

/* ========================================================================== */
/* AVBA — v3.4.4 : accordéon « Avant votre venue » plus compact sur desktop  */
/* Mobile inchangé. Réduction du blanc extérieur et du padding replié.        */
/* ========================================================================== */
@media (min-width: 1024px) {
  .avba-rachat-before-refined {
    padding-top: clamp(30px, 3vw, 42px) !important;
    padding-bottom: clamp(30px, 3vw, 42px) !important;
  }

  .avba-rachat-before-refined .avba-preparation-grid {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .avba-rachat-before-refined .avba-preparation-grid > div.avba-reveal {
    min-height: 0 !important;
    height: auto !important;
    padding: 22px 68px 26px 28px !important;
  }

  .avba-rachat-before-refined .avba-preparation-grid > div.avba-reveal h2 {
    margin-top: 24px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }

  .avba-rachat-before-refined .avba-preparation-grid > div.avba-reveal::after {
    top: 20px !important;
    right: 22px !important;
  }
}

/* ========================================================================== */
/* AVBA — v3.4.5 : ponctuation du titre Process non orpheline sur desktop     */
/* « le rachat ? » reste solidaire, sans modifier la géométrie de la section. */
/* ========================================================================== */
@media (min-width: 1024px) {
  .avba-rachat-process-refined .avba-process-title-end {
    white-space: nowrap !important;
  }
}


/* ========================================================================== */
/* AVBA — v3.4.7 : intro Rachat sur 3 lignes, CTA alignés                    */
/* Correction issue de la comparaison visuelle Rachat / Expertise.            */
/* Le H1, le cartouche, la hauteur du hero et le mobile restent inchangés.    */
/* ========================================================================== */
@media (min-width: 1024px) {
  .avba-rachat-hero-refined .avba-hero-intro-v24 {
    width: min(760px, 100%) !important;
    max-width: 760px !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
    text-wrap: pretty !important;
  }
}

@media (min-width: 1024px) and (max-height: 900px) {
  .avba-rachat-hero-refined .avba-hero-intro-v24 {
    font-size: 17px !important;
    line-height: 1.50 !important;
    margin-bottom: 16px !important;
  }
}


/* ========================================================================== */
/* AVBA — v3.4.8 : alignement EXACT du lead + CTA Rachat sur Expertise 1.9.3 */
/* Cause corrigée : les versions 3.4.6/3.4.7 ciblaient une classe JS absente. */
/* On cible désormais les classes natives du thème, donc sans dépendre du JS. */
/* Desktop uniquement. H1, cartouche, hauteur du hero et mobile inchangés.    */
/* ========================================================================== */
@media (min-width: 1024px) {
  body.avba-rachat-refonte-active .avba-service-hero--rachat {
    box-sizing: border-box !important;
    min-height: clamp(460px, 63.2vh, 730px) !important;
    height: auto !important;
    max-height: none !important;
  }

  body.avba-rachat-refonte-active .avba-service-hero--rachat .avba-lead {
    max-width: 760px !important;
    margin-top: 0 !important;
    margin-bottom: 26px !important;
    font-size: clamp(19px, 1.15vw, 22px) !important;
    line-height: 1.58 !important;
  }

  body.avba-rachat-refonte-active .avba-service-hero--rachat .avba-actions {
    margin-top: clamp(72px, 8.5vh, 100px) !important;
    margin-bottom: 0 !important;
    gap: 12px !important;
  }
}

@media (min-width: 1024px) and (max-height: 900px) {
  body.avba-rachat-refonte-active .avba-service-hero--rachat {
    min-height: clamp(460px, 63.2vh, 570px) !important;
  }

  body.avba-rachat-refonte-active .avba-service-hero--rachat .avba-lead {
    max-width: 760px !important;
    margin-bottom: 22px !important;
    font-size: clamp(18px, 1.2vw, 20px) !important;
    line-height: 1.55 !important;
  }
}


/* ========================================================================== */
/* AVBA — v3.5.0 : harmonisation prudente du hero Rachat avec l'accueil       */
/* Visuel uniquement : aucun changement de contenu structurel, URL ou form.   */
/* ========================================================================== */
@media (min-width: 1024px) {
  body.avba-rachat-refonte-active .avba-service-hero--rachat {
    min-height: 0 !important;
    padding-top: clamp(72px, 7vw, 104px) !important;
    padding-bottom: clamp(72px, 7vw, 104px) !important;
  }

  body.avba-rachat-refonte-active .avba-service-hero--rachat .avba-lead {
    max-width: 760px !important;
    margin: 0 !important;
    font-size: clamp(19px, 1.15vw, 22px) !important;
    line-height: 1.58 !important;
  }

  body.avba-rachat-refonte-active .avba-service-hero--rachat .avba-actions,
  body.avba-rachat-refonte-active .avba-service-hero--rachat .avba-actions--spaced {
    margin-top: 22px !important;
    margin-bottom: 0 !important;
    gap: 12px !important;
  }

  body.avba-rachat-refonte-active .avba-service-hero--rachat .avba-button {
    min-height: 44px !important;
  }

  body.avba-rachat-refonte-active .avba-service-hero--rachat .avba-hero-facts {
    margin-top: 20px !important;
  }
}

@media (max-width: 760px) {
  body.avba-rachat-refonte-active .avba-service-hero--rachat .avba-actions,
  body.avba-rachat-refonte-active .avba-service-hero--rachat .avba-actions--spaced {
    margin-top: 20px !important;
    gap: 10px !important;
  }

  body.avba-rachat-refonte-active .avba-service-hero--rachat .avba-button {
    min-height: 48px !important;
  }
}

/* AVBA Rachat 3.5.3 — fond harmonisé, dimensions natives conservées */
body.avba-rachat-refonte-active .avba-service-hero--rachat {
  background:
    radial-gradient(circle at 76% 19%, rgba(198,161,91,.20), transparent 24%),
    radial-gradient(circle at 10% 90%, rgba(151,112,54,.13), transparent 25%),
    linear-gradient(121deg, #15110e 0%, #33271f 59%, #17120f 100%) !important;
  border-bottom:1px solid rgba(198,161,91,.30) !important;
}
