/* Page « Exit tax 2026 » — bespoke, charte BA FR (Quiet Luxury).
   Tokens : paper #fafaf9 · paper-card #f7f5ef · paper-2 #f3efe6 · ink #0a0a0a ·
   ink-soft #5a5a5a · taupe #8c8c8c · rule #e6e6e6 · bronze #8b6f47 · oxblood #6b1f24.
   Easing signature : cubic-bezier(.16,1,.3,1). */

.ba-xt { background: #fafaf9; color: #0a0a0a; font-family: 'Cormorant Garamond', Georgia, serif; overflow-x: hidden; }
.ba-xt-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 48px); }
.ba-xt-narrow { max-width: 780px; }
.ba-xt section { padding: clamp(56px, 8vw, 120px) 0; }

/* Eyebrow éditorial */
.ba-xt-eyebrow {
  font-style: italic; font-size: 14px; letter-spacing: .06em; color: #8b6f47;
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.ba-xt-eyebrow::before { content: ""; width: 42px; height: 1px; background: #8b6f47; flex: 0 0 auto; }

/* HERO */
.ba-xt-hero { padding-top: clamp(64px, 9vw, 140px); }
.ba-xt-hero h1 {
  font-weight: 300; font-size: clamp(40px, 6.2vw, 84px); line-height: 1.04;
  letter-spacing: -0.02em; margin: 0 0 26px; max-width: 1000px;
}
.ba-xt em, .ba-xt-hero h1 em { font-style: italic; color: #6b1f24; font-weight: inherit; }
.ba-xt-lede {
  font-style: italic; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55;
  color: #5a5a5a; max-width: 720px; margin: 0 0 18px;
}

/* Réponse directe (GEO) */
.ba-xt-answer {
  max-width: 780px; margin-top: 34px; padding: 24px 28px;
  background: #f7f5ef; border-left: 2px solid #8b6f47; border-radius: 0 8px 8px 0;
}
.ba-xt-answer-label {
  font-family: Inter, -apple-system, sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: #8c8c8c; margin-bottom: 10px;
}
.ba-xt-answer p { margin: 0; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; }

/* Corps de texte */
.ba-xt h2 {
  font-weight: 300; font-size: clamp(30px, 4vw, 54px); line-height: 1.1;
  letter-spacing: -0.015em; margin: 0 0 24px; max-width: 860px;
}
/* Divi impose Inter sur p : on ré-affirme le serif éditorial sur le corps */
.ba-xt p, .ba-xt-lede, .ba-xt td, .ba-xt-fallback li, .ba-xt-cap {
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.ba-xt p { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; margin: 0 0 20px; max-width: 760px; }
.ba-xt-intro { color: #5a5a5a; }

/* GLOBE */
.ba-xt-globe-section { background: #f3efe6; }
.ba-xt-geo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
#ba-exit-globe { position: relative; display: flex; justify-content: center; }
#ba-exit-globe canvas { border-radius: 50%; box-shadow: 0 24px 60px rgba(10,10,10,.08); }
.ba-xt-tip {
  position: absolute; transform: translate(-50%, calc(-100% - 14px)); pointer-events: none;
  background: #1a1a1a; color: #fafaf9; font-family: Inter, -apple-system, sans-serif;
  font-size: 12.5px; line-height: 1.45; padding: 9px 13px; border-radius: 6px;
  max-width: 240px; opacity: 0; transition: opacity .25s cubic-bezier(.16,1,.3,1);
  white-space: normal; z-index: 3;
}
.ba-xt-tip strong { font-weight: 600; }
.ba-xt-geo-meta .ba-xt-num {
  font-family: 'Libre Bodoni', 'Bodoni Moda', Georgia, serif;
  font-size: clamp(56px, 6vw, 92px); line-height: 1; color: #0a0a0a;
  font-variant-numeric: tabular-nums;
}
.ba-xt-geo-meta .ba-xt-cap { font-size: 18px; color: #5a5a5a; margin: 10px 0 26px; }
.ba-xt-geo-hint { font-family: Inter, -apple-system, sans-serif; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8c8c8c; }
/* Fallback sans JS (rendu via <noscript>) */
.ba-xt-fallback ul { list-style: none; margin: 22px 0 0; padding: 0; max-width: 760px; }
.ba-xt-fallback li { padding: 12px 0; border-bottom: 1px solid #e6e6e6; font-size: 16.5px; line-height: 1.55; }
.ba-xt-fallback li strong { font-weight: 600; }

/* Cartes chiffres (Henley) */
.ba-xt-scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin: 36px 0 8px; }
.ba-xt-score {
  background: #fafaf9; border: 1px solid #e6e6e6; border-radius: 8px; padding: 26px 24px;
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1), border-color .4s cubic-bezier(.16,1,.3,1);
}
.ba-xt-score:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(10,10,10,.08); border-color: #0a0a0a; }
.ba-xt-score .ba-xt-score-val {
  font-family: 'Libre Bodoni', 'Bodoni Moda', Georgia, serif;
  font-size: clamp(34px, 3vw, 46px); line-height: 1; font-variant-numeric: tabular-nums;
}
.ba-xt-score .ba-xt-score-pays { font-size: 17px; margin: 10px 0 4px; }
.ba-xt-score .ba-xt-score-cap { font-family: Inter, -apple-system, sans-serif; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #8c8c8c; }
.ba-xt-score--fr { background: #f7f5ef; }
.ba-xt-score--fr .ba-xt-score-val { color: #6b1f24; }

/* Stats en ligne */
.ba-xt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(20px, 3vw, 48px); margin: 40px 0 10px; }
.ba-xt-stat { border-top: 1px solid #0a0a0a; padding-top: 18px; }
.ba-xt-stat-val {
  font-family: 'Libre Bodoni', 'Bodoni Moda', Georgia, serif;
  font-size: clamp(30px, 2.8vw, 44px); line-height: 1.05; font-variant-numeric: tabular-nums;
}
.ba-xt-stat-cap { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 16.5px; color: #5a5a5a; line-height: 1.5; margin-top: 10px; }

/* Encadré de rigueur / notes méthode */
.ba-xt-note {
  max-width: 780px; margin: 44px 0 0; padding: 26px 30px;
  background: #fafaf9; border: 1px solid #e6e6e6; border-radius: 8px;
}
.ba-xt-globe-section .ba-xt-note, .ba-xt-signal .ba-xt-note { background: #fafaf9; }
.ba-xt-note-label {
  font-family: Inter, -apple-system, sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: #8b6f47; margin-bottom: 12px;
}
.ba-xt-note p { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 16.5px; line-height: 1.6; color: #5a5a5a; margin: 0 0 12px; }
.ba-xt-note p:last-child { margin-bottom: 0; }

/* Tableau DGFIP */
.ba-xt-table-wrap { overflow-x: auto; margin: 34px 0 8px; }
.ba-xt table { border-collapse: collapse; min-width: 460px; }
.ba-xt th, .ba-xt td { text-align: left; padding: 13px 26px 13px 0; border-bottom: 1px solid #e6e6e6; font-size: 16.5px; }
.ba-xt th { font-family: Inter, -apple-system, sans-serif; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8c8c8c; }
.ba-xt td.ba-xt-td-num { font-variant-numeric: tabular-nums; }

/* Section PLF (fond sombre discret) */
.ba-xt-plf { background: #f7f5ef; }
.ba-xt-plf-mecanisme { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 34px 0; }
.ba-xt-mec {
  background: #fafaf9; border: 1px solid #e6e6e6; border-radius: 8px; padding: 24px;
}
.ba-xt-mec-num { font-family: 'Libre Bodoni', 'Bodoni Moda', Georgia, serif; font-size: 19px; color: #8b6f47; margin-bottom: 12px; }
.ba-xt-mec p { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 16.5px; line-height: 1.55; margin: 0; }
.ba-xt-mec p strong { font-weight: 600; }

/* Chronologie LF 2026 — quatre temps, numéraux Bodoni */
.ba-xt-chrono { max-width: 860px; margin: 44px 0 0; }
.ba-xt-chrono-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px;
  padding: 30px 0; border-top: 1px solid #e6e6e6;
}
.ba-xt-chrono-item .ba-xt-mec-num { font-size: 30px; margin: 0; }
.ba-xt-chrono-titre {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400;
  font-size: clamp(21px, 2vw, 26px); line-height: 1.2; margin: 0 0 10px; color: #0a0a0a;
}
.ba-xt-chrono-item p { margin: 0; font-size: clamp(16px, 1.2vw, 18px); color: #5a5a5a; }
.ba-xt-chrono-item p a { color: #6b1f24; }
@media (max-width: 640px) {
  .ba-xt-chrono-item { grid-template-columns: 1fr; gap: 8px; }
}
.ba-xt-plf .ba-xt p a { color: #6b1f24; }

/* Leçon patrimoniale — set-piece sombre */
.ba-xt-lecon { background: #1a1a1a; color: #fafaf9; position: relative; overflow: hidden; }
.ba-xt-lecon .ba-xt-eyebrow { color: #c9a961; }
.ba-xt-lecon .ba-xt-eyebrow::before { background: #6b1f24; }
.ba-xt-lecon h2, .ba-xt-lecon p { color: #fafaf9; }
.ba-xt-lecon p { color: rgba(250,250,249,.78); }
.ba-xt-lecon em { color: #c9a961; }
.ba-xt-lecon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: 44px; }
.ba-xt-lecon-item { border-top: 1px solid rgba(250,250,249,.18); padding-top: 18px; }
.ba-xt-lecon-item .ba-xt-mec-num { color: #c9a961; }
.ba-xt-lecon-item p { font-size: 16.5px; }

/* CTA final */
.ba-xt-cta-final { text-align: center; }
.ba-xt-cta-final h2 { margin-left: auto; margin-right: auto; }
.ba-xt-cta-final .ba-xt-lede { margin-left: auto; margin-right: auto; }
.ba-xt-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.ba-xt .ba-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: Inter, -apple-system, sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: .01em; padding: 15px 30px; border-radius: 999px; text-decoration: none;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s cubic-bezier(.16,1,.3,1), background .25s cubic-bezier(.16,1,.3,1);
}
.ba-xt .ba-btn-primary { background: #0a0a0a; color: #fafaf9; border: 1px solid #0a0a0a; }
.ba-xt .ba-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10,10,10,.18); }
.ba-xt .ba-btn-ghost { background: transparent; color: #0a0a0a; border: 1px solid #0a0a0a; }
.ba-xt .ba-btn-ghost:hover { transform: translateY(-2px); }
.ba-xt .ba-arrow { transition: transform .25s cubic-bezier(.16,1,.3,1); }
.ba-xt .ba-btn:hover .ba-arrow { transform: translateX(3px); }

/* Lead capture : conteneur hérité (classes .ba-art-container utilisées par le bloc) */
.ba-xt .ba-art-container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 48px); }

/* Sources */
.ba-xt-sources { border-top: 1px solid #e6e6e6; padding-top: 40px !important; padding-bottom: clamp(56px, 7vw, 96px) !important; }
.ba-xt-sources h2 { font-size: 22px; }
.ba-xt-sources ul { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.ba-xt-sources li { font-size: 14.5px; color: #8c8c8c; line-height: 1.6; padding: 7px 0; border-bottom: 1px solid #f0ede4; }
.ba-xt-sources li a { color: #8b6f47; text-decoration: none; }
.ba-xt-sources li a:hover { color: #6b1f24; }

/* Reveal au scroll */
.ba-xt [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1); }
.ba-xt [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ba-xt [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .ba-xt-geo { grid-template-columns: 1fr; }
  .ba-xt-geo-meta { text-align: center; }
}
