/* ============================================================
   W-IBO CONSULT — DESIGN SYSTEM
   Version 2.0 | 2026 — Refonte complète
   ============================================================ */

/* ----------------------------------------------------------
   1. VARIABLES & RESET
   ---------------------------------------------------------- */
:root {
  --navy:       #1B3060;
  --gold:       #B5924C;
  --gold-light: #C9A85C;
  --gold-pale:  #F5E8CC;
  --cream:      #F5F3EE;
  --white:      #FFFFFF;
  --text:       #2C2C2C;
  --muted:      #6B7280;
  --border:     rgba(181, 146, 76, 0.25);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Montserrat', sans-serif;

  --nav-h: 64px;
  --section-pad: 110px;
  --max-w: 1260px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

/* ----------------------------------------------------------
   2. TYPOGRAPHY
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }

p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.85;
}

.label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
}

/* ----------------------------------------------------------
   3. LAYOUT UTILITIES
   ---------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.section--cream  { background: var(--cream); }
.section--white  { background: var(--white); }
.section--navy   { background: var(--navy); }

.section__header {
  max-width: 680px;
  margin-bottom: 70px;
}

.section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__header .label { margin-bottom: 14px; display: block; }
.section__header h2     { margin-bottom: 20px; }
.section__header p      { font-size: 1rem; }

/* ----------------------------------------------------------
   4. GOLD LINE DIVIDER
   ---------------------------------------------------------- */
.gold-line {
  display: block;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 32px 0;
  transition: width 1.2s var(--ease-out);
}

.gold-line--center {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-left: auto;
  margin-right: auto;
}

.gold-line.is-visible { width: 120px; }
.gold-line--full.is-visible { width: 100%; }

/* Section separator — thin gold line between sections */
.section-sep {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gold);
  opacity: 0.2;
}

/* ----------------------------------------------------------
   5. DOT GRID DECORATION
   ---------------------------------------------------------- */
.dot-grid {
  position: absolute;
  width: 100px;
  height: 160px;
  background-image: radial-gradient(circle, rgba(181,146,76,0.3) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  pointer-events: none;
  z-index: 0;
}

.dot-grid--tl { top: 40px; left: 40px; }
.dot-grid--tr { top: 40px; right: 40px; }
.dot-grid--bl { bottom: 40px; left: 40px; }
.dot-grid--br { bottom: 40px; right: 40px; }

/* ----------------------------------------------------------
   6. NAVIGATION — sticky, fond navy, 64px
   ---------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--navy);
  display: flex;
  align-items: center;
  box-shadow: 0 1px 0 rgba(181,146,76,0.15);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.nav__logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.nav__logo:hover img { opacity: 0.85; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__link {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav__link:hover { color: var(--gold); }
.nav__link:hover::after { width: 100%; }
.nav__link.active { color: var(--gold); }
.nav__link.active::after { width: 100%; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.35s, opacity 0.35s;
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu — full screen navy */
.nav__mobile {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile .nav__link {
  font-size: 1rem;
  letter-spacing: 1px;
}

/* ----------------------------------------------------------
   7. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.12);
  transition: left 0.4s var(--ease);
}

.btn:hover::before { left: 0; }

.btn--gold,
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  padding: 16px 36px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  transition: all 0.35s var(--ease);
}

.btn--gold:hover,
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(181,146,76,0.3);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold);
  padding: 14px 34px;
  border: 1px solid var(--gold);
  border-radius: 2px;
}

.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  padding: 14px 34px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 2px;
}

.btn--outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn__arrow {
  transition: transform 0.35s var(--ease);
}

.btn:hover .btn__arrow { transform: translateX(4px); }

/* SVG icons in buttons */
.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----------------------------------------------------------
   8. HERO — Homepage
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0D1E3D 0%, #1B3060 50%, #243D78 100%);
  z-index: 0;
}

.hero__bg-texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(181,146,76,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(181,146,76,0.05) 0%, transparent 40%);
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,48,96,0.7) 0%, rgba(13,30,61,0.9) 100%);
  z-index: 1;
}

.hero__watermark {
  position: absolute;
  bottom: -80px;
  right: -40px;
  font-family: var(--font-serif);
  font-size: clamp(160px, 22vw, 280px);
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  user-select: none;
  letter-spacing: -0.04em;
  z-index: 1;
}

.hero__dot-tl {
  position: absolute;
  top: 120px; left: 60px;
  width: 100px; height: 160px;
  background-image: radial-gradient(circle, rgba(181,146,76,0.25) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  z-index: 2;
}

.hero__dot-br {
  position: absolute;
  bottom: 80px; right: 60px;
  width: 100px; height: 160px;
  background-image: radial-gradient(circle, rgba(181,146,76,0.2) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 60px) 40px 100px;
  width: 100%;
  text-align: center;
}

.hero__logo {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  margin: 0 auto 40px;
}

.hero__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.3s forwards;
}

.hero__label-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero__label span {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__title {
  color: var(--white);
  max-width: 900px;
  margin: 0 auto 28px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
  color: rgba(255,255,255,0.6);
  margin-bottom: 52px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.75s forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.95s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.4s forwards;
}

.hero__scroll-text {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollLine 2s ease infinite;
}

/* Hero crystal image — bottom left */
.hero__crystal {
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(220px, 28vw, 400px);
  height: clamp(200px, 26vw, 360px);
  z-index: 2;
  overflow: hidden;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out) 1s forwards;
  pointer-events: none;
}
.hero__crystal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.6) contrast(1.1) saturate(0.4);
  mix-blend-mode: lighten;
}

/* ----------------------------------------------------------
   9. STATS / COUNTERS
   ---------------------------------------------------------- */
.stats {
  padding: 0;
  background: var(--white);
  position: relative;
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--navy);
}

.stat {
  padding: 56px 40px;
  border-right: 1px solid rgba(27,48,96,0.08);
  position: relative;
  transition: background 0.35s;
}

.stat:last-child { border-right: none; }

.stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--gold);
  transition: width 0.8s var(--ease-out);
}

.stat.is-visible::before { width: 100%; }

.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat__suffix {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
}

.stat__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

/* ----------------------------------------------------------
   10. APPROACH TEASER (HOMEPAGE)
   ---------------------------------------------------------- */
.approach-teaser { position: relative; }

.approach-teaser__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.approach-teaser__visual { position: relative; }

.approach-teaser__frame {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy) 0%, #243D78 100%);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.approach-teaser__frame-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(181,146,76,0.15) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

.approach-teaser__frame-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: 120px;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  letter-spacing: -0.05em;
}

.approach-teaser__accent {
  position: absolute;
  bottom: -20px; left: -20px;
  width: 120px; height: 120px;
  background: var(--gold-pale);
  z-index: -1;
}

.approach-teaser__content .label { margin-bottom: 14px; }
.approach-teaser__content h2 { margin-bottom: 20px; }
.approach-teaser__content p { margin-bottom: 32px; }

/* SVG Schema — Marché → W-ibo → Objectifs */
.schema-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 0;
}

.schema-flow__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.schema-flow__circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.schema-flow__circle--outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.schema-flow__circle--gold {
  background: var(--gold);
  color: var(--white);
}

.schema-flow__circle--fill {
  background: var(--navy);
  color: var(--white);
}

.schema-flow__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
}

.schema-flow__arrow {
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.5;
}

/* ─── 11b. Approche Motion Design ─── */
.approche-motion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 60px 0 40px;
  position: relative;
}

/* Sources (left column) */
.approche-motion__sources {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 130px;
}

.approche-motion__src {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .6s ease var(--delay, 0s), transform .6s ease var(--delay, 0s);
}
.is-visible .approche-motion__src,
.approche-motion.is-visible .approche-motion__src {
  opacity: 1;
  transform: translateX(0);
}
.approche-motion__src-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid rgba(27,48,96,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: rgba(27,48,96,0.04);
  flex-shrink: 0;
}
.approche-motion__src span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  opacity: 0.7;
}

/* Flow lines */
.approche-motion__flow {
  width: 80px;
  height: 260px;
  flex-shrink: 0;
}
.approche-motion__flow svg {
  width: 100%;
  height: 100%;
}
.approche-motion__flowline {
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  opacity: 0.2;
  animation: flowDashApproche 3s linear infinite;
  animation-delay: var(--d, 0s);
}
.approche-motion__flowline--gold {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 8 4;
  opacity: 0.6;
}
@keyframes flowDashApproche {
  to { stroke-dashoffset: -40; }
}

/* Hub central */
.approche-motion__hub {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.approche-motion__hub-ring--outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(181,146,76,0.25);
  animation: hubSpin 20s linear infinite;
}
.approche-motion__hub-ring--inner {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(181,146,76,0.4);
  animation: hubSpin 15s linear infinite reverse;
}
.approche-motion__hub-core {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #D4AF6A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(181,146,76,0.3);
}
.approche-motion__hub-label {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  white-space: nowrap;
}
.approche-motion__hub-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  opacity: 0;
  animation: hubPulseAnim 3s ease-out infinite;
}
@keyframes hubSpin {
  to { transform: rotate(360deg); }
}
@keyframes hubPulseAnim {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Result (right column) */
.approche-motion__result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 140px;
  position: relative;
}
.approche-motion__result-ring {
  position: absolute;
  top: -8px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(27,48,96,0.1);
  animation: breathe 4s ease-in-out infinite;
}
.approche-motion__result-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  box-shadow: 0 6px 24px rgba(27,48,96,0.2);
}
.approche-motion__result-label {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
}
.approche-motion__result-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.approche-motion__tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(181,146,76,0.08);
  border: 1px solid rgba(181,146,76,0.2);
  padding: 4px 12px;
  border-radius: 20px;
  opacity: 0;
  transform: translateX(15px);
  transition: opacity .5s ease var(--d, 0s), transform .5s ease var(--d, 0s);
  text-align: center;
}
.is-visible .approche-motion__tag,
.approche-motion.is-visible .approche-motion__tag {
  opacity: 1;
  transform: translateX(0);
}

/* Approach steps */
.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}

.approach-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.approach-step:last-child { border-bottom: none; }

.approach-step__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: rgba(181,146,76,0.25);
  line-height: 1;
  min-width: 36px;
}

.approach-step__body h4 {
  font-size: 0.9rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}

.approach-step__body p { font-size: 0.875rem; }

/* ----------------------------------------------------------
   11. PILLAR CARDS (4 pillars on navy)
   ---------------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.pillar-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(181,146,76,0.2);
  padding: 48px 32px;
  text-align: center;
  transition: background 0.4s, border-color 0.4s, transform 0.4s;
}

.pillar-card:hover {
  background: rgba(181,146,76,0.08);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.pillar-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 24px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.pillar-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   12. ATOUTS (numbered items in gold)
   ---------------------------------------------------------- */
.atouts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.atout-card {
  background: var(--white);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s;
}

.atout-card:hover {
  box-shadow: 0 12px 40px rgba(27,48,96,0.08);
}

.atout-card__num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: rgba(181,146,76,0.12);
  line-height: 1;
}

.atout-card h3 { margin-bottom: 12px; }
.atout-card p { font-size: 0.875rem; }

.atout-icons {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.atout-icons__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gold);
}

.atout-icons__item span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ─── 12b. Global Hub — Orbital Domaines ─── */
.global-hub {
  position: relative;
  width: 480px;
  height: 480px;
  margin: 40px auto 20px;
}

/* Orbites */
.global-hub__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(181,146,76,0.12);
}
.global-hub__orbit--1 { inset: 60px; border-style: dashed; animation: hubSpin 30s linear infinite; }
.global-hub__orbit--2 { inset: 30px; border-color: rgba(27,48,96,0.06); animation: hubSpin 25s linear infinite reverse; }
.global-hub__orbit--3 { inset: 0; border-style: dotted; border-color: rgba(181,146,76,0.06); animation: hubSpin 35s linear infinite; }

/* Radar sweep */
.global-hub__radar {
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(181,146,76,0.06) 45deg, transparent 90deg);
  animation: hubSpin 8s linear infinite;
}

/* SVG connexion lines */
.global-hub__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.global-hub__line {
  stroke: var(--gold);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  opacity: 0;
  animation: lineReveal 0.6s ease forwards, flowDashApproche 3s linear infinite;
  animation-delay: var(--d, 0s), var(--d, 0s);
}
.is-visible .global-hub__line {
  opacity: 0.15;
}
@keyframes lineReveal {
  from { opacity: 0; }
  to { opacity: 0.15; }
}

/* Core central */
.global-hub__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}
.global-hub__core-inner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #D4AF6A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 10px 40px rgba(181,146,76,0.3);
  position: relative;
  z-index: 2;
}
.global-hub__core-pulse {
  position: absolute;
  width: 80px;
  height: 80px;
  top: 0;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: hubPulseAnim 3s ease-out infinite;
  z-index: 1;
}
.global-hub__core-label {
  margin-top: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* Nodes — positions circulaires (7 items) */
.global-hub__node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.6s ease var(--d, 0s), transform 0.6s ease var(--d, 0s);
  z-index: 4;
}
.is-visible .global-hub__node {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Positions for 7 nodes evenly around a circle — center 240,240 radius 200 */
/* Each node uses left/top to mark its center, then translate(-50%,-50%) to align */
.global-hub__node--0 { left: 50%;   top: 8.3%;  }  /* 0° top */
.global-hub__node--1 { left: 82.5%; top: 24%;   }  /* 51.4° */
.global-hub__node--2 { left: 90.6%; top: 59.2%; }  /* 102.9° */
.global-hub__node--3 { left: 68.1%; top: 87.5%; }  /* 154.3° */
.global-hub__node--4 { left: 31.9%; top: 87.5%; }  /* 205.7° */
.global-hub__node--5 { left: 9.4%;  top: 59.2%; }  /* 257.1° */
.global-hub__node--6 { left: 17.5%; top: 24%;   }  /* 308.6° */

.is-visible .global-hub__node--0 { transform: translate(-50%, -50%) scale(1); }
.is-visible .global-hub__node--1 { transform: translate(-50%, -50%) scale(1); }
.is-visible .global-hub__node--2 { transform: translate(-50%, -50%) scale(1); }
.is-visible .global-hub__node--3 { transform: translate(-50%, -50%) scale(1); }
.is-visible .global-hub__node--4 { transform: translate(-50%, -50%) scale(1); }
.is-visible .global-hub__node--5 { transform: translate(-50%, -50%) scale(1); }
.is-visible .global-hub__node--6 { transform: translate(-50%, -50%) scale(1); }

.global-hub__node-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(181,146,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  box-shadow: 0 4px 20px rgba(27,48,96,0.08);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.global-hub__node:hover .global-hub__node-icon {
  border-color: var(--gold);
  box-shadow: 0 6px 28px rgba(181,146,76,0.2);
  transform: scale(1.1);
}
.global-hub__node-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}

/* ─── 12c. Service Cards Row ─── */
.services-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(181,146,76,0.1);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  opacity: 0;
  transform: translateY(20px);
}
.service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--d, 0s);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(27,48,96,0.1);
}
.service-card__icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(181,146,76,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  position: relative;
  overflow: hidden;
}
.service-card__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(181,146,76,0.15) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}
.service-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--navy);
}
.service-card p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(27,48,96,0.6);
}

/* ----------------------------------------------------------
   13. RECOMMANDATION SECTION
   ---------------------------------------------------------- */
.recommandation {
  text-align: center;
  padding: 100px 0;
}

.recommandation h2 {
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 20px;
  font-variant-numeric: lining-nums;
}

.recommandation p {
  color: var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
}

.recommandation__stars {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.recommandation__stars span {
  font-size: 1.5rem;
  color: var(--gold);
}

/* ----------------------------------------------------------
   14. PARTNER TICKER
   ---------------------------------------------------------- */
.ticker {
  background: var(--white);
  padding: 48px 0;
  overflow: hidden;
  border-top: 1px solid rgba(181,146,76,0.15);
  border-bottom: 1px solid rgba(181,146,76,0.15);
  position: relative;
}

.ticker__label {
  text-align: center;
  margin-bottom: 20px;
}

.ticker__track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  margin-bottom: 12px;
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: ticker 60s linear infinite;
}

.ticker__track--reverse {
  animation-direction: reverse;
}

.ticker__track:hover { animation-play-state: paused; }

.ticker__item {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.4;
  white-space: nowrap;
  transition: opacity 0.3s, color 0.3s;
  padding: 0 10px;
}

.ticker__item:hover { opacity: 0.9; color: var(--gold); }

.ticker__sep {
  color: var(--gold);
  opacity: 0.5;
  font-size: 0.5rem;
}

/* ----------------------------------------------------------
   15. QUOTE / CITATION
   ---------------------------------------------------------- */
.quote-section {
  background: var(--navy);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-section__bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(181,146,76,0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.quote-section blockquote {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 40px;
}

.quote-section__mark {
  font-family: var(--font-serif);
  font-size: 120px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.3;
  display: block;
  margin-bottom: 20px;
}

.quote-section blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 32px;
  font-weight: 500;
}

.quote-section blockquote cite {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ----------------------------------------------------------
   16. SERVICE CARDS
   ---------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--white);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease-out);
}

.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(27,48,96,0.1); }
.service-card:hover::before { width: 100%; }

.service-card__num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 600;
  color: rgba(27,48,96,0.06);
  line-height: 1;
  margin-bottom: 20px;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
  transition: background 0.3s, color 0.3s;
}

.service-card:hover .service-card__icon { background: var(--gold); color: var(--white); }

.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { font-size: 0.875rem; }

/* ----------------------------------------------------------
   17. TESTIMONIAL CARDS
   ---------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  padding: 44px 36px;
  position: relative;
  border: 1px solid rgba(181,146,76,0.12);
  transition: box-shadow 0.4s, transform 0.4s;
}

/* On navy background */
.section--navy .testimonial-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(181,146,76,0.2);
}

.section--navy .testimonial-card__text { color: var(--white); }
.section--navy .testimonial-card__name { color: var(--white); }
.section--navy .testimonial-card__detail { color: rgba(255,255,255,0.5); }
.section--navy .testimonial-card__author { border-top-color: rgba(255,255,255,0.1); }

.testimonial-card:hover {
  box-shadow: 0 16px 50px rgba(27,48,96,0.08);
  transform: translateY(-4px);
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.star {
  color: var(--gold);
  font-size: 1rem;
}

.testimonial-card__text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--navy);
  margin-bottom: 28px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #243D78);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
  font-style: italic;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
}

.testimonial-card__detail {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ----------------------------------------------------------
   17b. NOS BUREAUX
   ---------------------------------------------------------- */
.bureaux-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.bureau-card {
  background: var(--white);
  border: 1px solid rgba(27,48,96,0.08);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
.bureau-card:hover {
  transform: translateY(-6px);
  border-color: rgba(181,146,76,0.3);
  box-shadow: 0 16px 48px rgba(27,48,96,0.1);
}
.bureau-card__pin {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(181,146,76,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  transition: transform 0.3s;
}
.bureau-card:hover .bureau-card__pin {
  transform: scale(1.1);
}
.bureau-card__city {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.bureau-card__region {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(27,48,96,0.4);
}
.bureau-card__line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.bureau-card:hover .bureau-card__line {
  width: 60%;
}

/* ----------------------------------------------------------
   18. TEAM SECTION
   ---------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.team-card__photo {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--navy) 0%, #243D78 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__initials {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.6;
}

.team-card__info { padding: 24px 0 0; }

.team-card__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ----------------------------------------------------------
   19. ETAPES DU SUIVI (flow)
   ---------------------------------------------------------- */
.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.flow-step__circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  transition: background 0.3s;
}

.flow-step__circle--active {
  background: var(--gold);
  color: var(--navy);
}

.flow-step__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.flow-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 28px;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: rgba(181,146,76,0.1);
  border: 1px solid rgba(181,146,76,0.25);
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  transition: background 0.3s, border-color 0.3s;
}

.tag:hover { background: rgba(181,146,76,0.2); border-color: var(--gold); }

/* ----------------------------------------------------------
   20. CONTACT FORM & INFO
   ---------------------------------------------------------- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
}

.contact-info-side {
  background: var(--navy);
  padding: calc(var(--nav-h) + 80px) 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-side .nav__logo-img {
  width: 72px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 32px;
}

.contact-info-side h2 {
  color: var(--white);
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-item:first-of-type { border-top: 1px solid rgba(255,255,255,0.08); }

.contact-item__icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-item__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-item__val {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
}

.contact-form-side {
  background: var(--navy);
  padding: calc(var(--nav-h) + 80px) 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(181,146,76,0.3);
  border-radius: 2px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(181,146,76,0.15);
}

.field textarea { resize: vertical; min-height: 130px; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23B5924C' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Contact tabs */
.contact-tabs {
  display: flex; gap: 0; margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-tabs__btn {
  flex: 1; padding: 14px 16px;
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); background: none; border: none;
  cursor: pointer; position: relative; transition: color 0.3s;
  text-align: center;
}
.contact-tabs__btn::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 2px; background: var(--gold); transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}
.contact-tabs__btn.is-active { color: var(--gold); }
.contact-tabs__btn.is-active::after { transform: scaleX(1); }
.contact-tabs__btn:hover:not(.is-active) { color: rgba(255,255,255,0.6); }

.contact-form-panel { display: none; }
.contact-form-panel.is-active { display: block; }

/* File upload field */
.field-upload {
  display: flex; flex-direction: column; gap: 8px;
}
.field-upload label {
  font-family: var(--font-sans); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.field-upload__drop {
  border: 1.5px dashed rgba(181,146,76,0.3); border-radius: 2px;
  padding: 20px; text-align: center; cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.field-upload__drop:hover {
  border-color: var(--gold); background: rgba(181,146,76,0.04);
}
.field-upload__drop svg { color: var(--gold); margin-bottom: 6px; }
.field-upload__text {
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
}
.field-upload__text strong { color: var(--gold); }
.field-upload input[type="file"] { display: none; }

.contact-success {
  text-align: center;
  padding: 40px;
}

.contact-success h3 { color: var(--white); margin-bottom: 12px; }
.contact-success p { color: rgba(255,255,255,0.6); }

/* ----------------------------------------------------------
   21. INTERACTIVE TOOLS — Common styles
   ---------------------------------------------------------- */
.tool-section {
  background: var(--white);
  padding: var(--section-pad) 0;
  position: relative;
}

.tool-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: var(--max-w);
  height: 1px;
  background: var(--gold);
  opacity: 0.2;
}

.tool-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: var(--max-w);
  height: 1px;
  background: var(--gold);
  opacity: 0.2;
}

.tool-header {
  text-align: center;
  margin-bottom: 48px;
}

.tool-header h2 { margin-bottom: 12px; }
.tool-header p { max-width: 600px; margin: 0 auto; }

.tool-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.tool-inputs,
.tool-results {
  padding: 40px;
  border-radius: 2px;
}

.tool-inputs {
  background: var(--cream);
  border: 1px solid rgba(181,146,76,0.15);
}

.tool-results {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.tool-inputs h3,
.tool-results h3 {
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.tool-results h3 { color: var(--white); }

/* Input groups */
.input-group {
  margin-bottom: 24px;
}

.input-group label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}

.input-group label .value-display {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  border-bottom: 1px dashed transparent;
  transition: border-color 0.2s;
}
.input-group label .value-display:hover {
  border-bottom-color: var(--gold);
}
.value-display__input {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(181,146,76,0.08);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 2px 8px;
  width: 120px;
  text-align: right;
  outline: none;
}

/* Sliders */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(181,146,76,0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
}

/* Select / radio in tools */
.tool-select {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 10px 14px;
  outline: none;
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23B5924C' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.tool-select:focus {
  box-shadow: 0 0 0 3px rgba(181,146,76,0.15);
}

/* Radio group for tool calculators */
.tool-radio-group {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px;
}
.tool-radio {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 4px; cursor: pointer;
  border: 1.5px solid rgba(181,146,76,0.2);
  background: var(--white);
  font-size: 0.8rem; font-weight: 500; color: var(--navy);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.tool-radio:hover {
  border-color: rgba(181,146,76,0.4);
}
.tool-radio input[type="radio"],
.tool-radio input[type="checkbox"] {
  accent-color: var(--gold); margin: 0; width: 14px; height: 14px;
}
.tool-radio:has(input:checked) {
  border-color: var(--gold);
  background: rgba(181,146,76,0.06);
  box-shadow: 0 0 0 3px rgba(181,146,76,0.1);
}

.tool-input {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 10px 14px;
  outline: none;
  width: 100%;
}

.tool-input:focus {
  box-shadow: 0 0 0 3px rgba(181,146,76,0.15);
}

/* Radio group */
.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  padding: 8px 16px;
  border: 1px solid rgba(181,146,76,0.25);
  border-radius: 2px;
  transition: all 0.2s;
  text-transform: none;
  letter-spacing: 0;
}

.radio-group label:has(input:checked) {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 600;
}

.radio-group input[type="radio"] {
  display: none;
}

/* Toggle switch */
.toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.toggle__track {
  width: 44px;
  height: 24px;
  background: rgba(181,146,76,0.2);
  border-radius: 12px;
  position: relative;
  transition: background 0.3s;
}

.toggle__track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.toggle input:checked + .toggle__track {
  background: var(--gold);
}

.toggle input:checked + .toggle__track::after {
  transform: translateX(20px);
}

.toggle input { display: none; }

.toggle__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
}

/* Result items */
.result-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.result-item:last-child { border-bottom: none; }

.result-item__label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}

.result-item__value {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
}

.result-item--highlight {
  background: rgba(181,146,76,0.1);
  border: 1px solid rgba(181,146,76,0.3);
  border-radius: 2px;
  padding: 20px;
  margin: 16px 0;
}

.result-item--highlight .result-item__label { color: var(--gold); font-weight: 600; }
.result-item--highlight .result-item__value { color: var(--gold); font-size: 1.6rem; }

/* Status colors */
.status-ok    { color: #4CAF50 !important; }
.status-warn  { color: #FF9800 !important; }
.status-bad   { color: #F44336 !important; }

.verdict {
  text-align: center;
  padding: 20px;
  margin-top: 16px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.verdict--ok   { background: rgba(76,175,80,0.1); color: #4CAF50; border: 1px solid rgba(76,175,80,0.3); }
.verdict--warn { background: rgba(255,152,0,0.1); color: #FF9800; border: 1px solid rgba(255,152,0,0.3); }
.verdict--bad  { background: rgba(244,67,54,0.1); color: #F44336; border: 1px solid rgba(244,67,54,0.3); }

/* Badge */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
}

.badge--red { background: rgba(244,67,54,0.1); color: #F44336; border: 1px solid rgba(244,67,54,0.3); }
.badge--gold { background: rgba(181,146,76,0.1); color: var(--gold); border: 1px solid rgba(181,146,76,0.3); }

/* ----------------------------------------------------------
   22. DATA TABLES
   ---------------------------------------------------------- */
.data-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.data-table th {
  padding: 14px 20px;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 2px solid var(--gold);
}

.data-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Navy background variant */
.section--navy .data-table th { color: var(--gold); border-bottom-color: rgba(181,146,76,0.3); }
.section--navy .data-table td { color: rgba(255,255,255,0.8); }
.section--navy .data-table tr:hover td { background: rgba(255,255,255,0.03); }

/* Cream background variant */
.section--cream .data-table th { color: var(--navy); }
.section--cream .data-table td { color: var(--text); border-bottom-color: rgba(27,48,96,0.08); }
.section--cream .data-table tr:hover td { background: rgba(181,146,76,0.04); }

/* ----------------------------------------------------------
   23. DISCLAIMER
   ---------------------------------------------------------- */
.disclaimer {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.7;
  padding: 20px 24px;
  margin-top: 32px;
  background: rgba(181,146,76,0.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 2px 2px 0;
}

.section--navy .disclaimer {
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.5);
}

/* ----------------------------------------------------------
   24. CTA FINAL — common to all thematic pages
   ---------------------------------------------------------- */
.cta-final {
  background: var(--navy);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(181,146,76,0.07) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

.cta-final .container { position: relative; z-index: 1; }

.cta-pre {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.cta-final h2 {
  color: var(--white);
  max-width: 650px;
  margin: 0 auto 36px;
}

/* ----------------------------------------------------------
   25. PAGE HERO — thematic pages
   ---------------------------------------------------------- */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0D1E3D, #1B3060);
}

.page-hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(181,146,76,0.06) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero .label { margin-bottom: 14px; display: block; }

.page-hero h1 {
  color: var(--white);
  max-width: 700px;
  margin-bottom: 20px;
}

.page-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.8;
}

/* Hero stats row */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 40px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat__value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.hero-stat__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ----------------------------------------------------------
   26. EXPLANATION SECTION (thematic pages)
   ---------------------------------------------------------- */
.explain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.explain-points {
  list-style: none;
  padding: 0;
}

.explain-points li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.7;
  border-bottom: 1px solid rgba(181,146,76,0.12);
}

.explain-points li:last-child { border-bottom: none; }

.explain-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* ----------------------------------------------------------
   27. CHECKLIST (assurance doublons)
   ---------------------------------------------------------- */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.checklist-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  cursor: pointer;
  transition: color 0.2s;
}

.checklist-item:hover { color: var(--gold); }

.checklist-item input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s;
}

.checklist-item input[type="checkbox"]:checked {
  background: var(--gold);
}

.checklist-item input[type="checkbox"]:checked::after {
  content: '\2713';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}

.checklist-item span {
  font-size: 0.875rem;
  color: var(--text);
}

/* Diagnostic results */
.diagnostic-results {
  padding: 32px;
  background: var(--cream);
  border: 1px solid rgba(181,146,76,0.2);
  border-radius: 2px;
  margin-top: 32px;
}

.diagnostic-results h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.diagnostic-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(181,146,76,0.1);
  font-size: 0.875rem;
}

.diagnostic-item:last-child { border-bottom: none; }

.diagnostic-item--warn { color: #FF9800; }
.diagnostic-item--bad  { color: #F44336; }
.diagnostic-item--ok   { color: #4CAF50; }

/* ----------------------------------------------------------
   28. COMPARISON TABLE (garantie-loyer)
   ---------------------------------------------------------- */
.compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: rgba(181,146,76,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.compare-table__header {
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-table__cell {
  background: var(--white);
  padding: 16px 24px;
  font-size: 0.875rem;
  color: var(--text);
  display: flex;
  align-items: center;
}

.compare-table__cell--highlight {
  background: rgba(181,146,76,0.05);
  font-weight: 600;
  color: var(--gold);
}

/* ----------------------------------------------------------
   29. SVG CHART (investissement)
   ---------------------------------------------------------- */
.chart-container {
  position: relative;
  width: 100%;
  padding: 20px 0;
}

.chart-container svg {
  width: 100%;
  height: auto;
}

.chart-tooltip {
  position: absolute;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 2px;
  font-size: 0.75rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.chart-tooltip.visible { opacity: 1; }

/* ----------------------------------------------------------
   30. AMORTIZATION TABLE (credit-prive)
   ---------------------------------------------------------- */
.amort-table-wrap {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid rgba(181,146,76,0.2);
  border-radius: 2px;
  margin-top: 20px;
}

.amort-table-wrap::-webkit-scrollbar { width: 6px; }
.amort-table-wrap::-webkit-scrollbar-track { background: var(--cream); }
.amort-table-wrap::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ----------------------------------------------------------
   31. DONUT CHART (fiscalite)
   ---------------------------------------------------------- */
.donut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 24px 0;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.donut-legend__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
}

.donut-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   32. FOOTER
   ---------------------------------------------------------- */
.footer {
  background: #0D1828;
  color: rgba(255,255,255,0.55);
  padding: 70px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer__brand-logo img {
  height: 36px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer__brand-desc {
  font-size: 0.8125rem;
  line-height: 1.9;
  max-width: 300px;
}

.footer__brand-legal {
  margin-top: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(181,146,76,0.7);
}

.footer__col-title {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav .footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.footer__link {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.3s;
}

.footer__link:hover { color: var(--gold); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 0.75rem;
}

.footer__url {
  color: var(--gold);
  opacity: 0.7;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ----------------------------------------------------------
   33. ANIMATIONS & KEYFRAMES
   ---------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════
   SCROLL BUILD — Smooth Glide-Down Construction
   ═══════════════════════════════════════════════════════════ */

/* Smooth decel curve — no overshoot, no bounce */

/* ── Base reveal: glides down from above + blur clears ── */
.reveal {
  opacity: 0;
  transform: translateY(-80px);
  filter: blur(6px);
  transition:
    opacity 0.7s cubic-bezier(0.0, 0.0, 0.2, 1),
    transform 1s cubic-bezier(0.0, 0.0, 0.2, 1),
    filter 0.8s cubic-bezier(0.0, 0.0, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ── Cards: glide down + scale into place ── */
.reveal-scale {
  opacity: 0;
  transform: translateY(-70px) scale(0.94);
  filter: blur(5px);
  transition:
    opacity 0.6s cubic-bezier(0.0, 0.0, 0.2, 1),
    transform 1s cubic-bezier(0.0, 0.0, 0.2, 1),
    filter 0.7s cubic-bezier(0.0, 0.0, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ── From left ── */
.reveal-left {
  opacity: 0;
  transform: translateX(-80px) translateY(-30px);
  filter: blur(4px);
  transition:
    opacity 0.7s cubic-bezier(0.0, 0.0, 0.2, 1),
    transform 1s cubic-bezier(0.0, 0.0, 0.2, 1),
    filter 0.8s cubic-bezier(0.0, 0.0, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
  filter: blur(0);
}

/* ── From right ── */
.reveal-right {
  opacity: 0;
  transform: translateX(80px) translateY(-30px);
  filter: blur(4px);
  transition:
    opacity 0.7s cubic-bezier(0.0, 0.0, 0.2, 1),
    transform 1s cubic-bezier(0.0, 0.0, 0.2, 1),
    filter 0.8s cubic-bezier(0.0, 0.0, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
  filter: blur(0);
}

/* ── Clip reveal ── */
.reveal-clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s cubic-bezier(0.0, 0.0, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal-clip.is-visible {
  clip-path: inset(0 0 0 0);
}

/* ── Delays ── */
.reveal-delay-1 { --d: 0.1s; }
.reveal-delay-2 { --d: 0.2s; }
.reveal-delay-3 { --d: 0.3s; }
.reveal-delay-4 { --d: 0.4s; }
.reveal-delay-5 { --d: 0.5s; }

/* ── Stagger: each child arrives slightly after the previous ── */
.stagger > *:nth-child(1) { --d: 0s; }
.stagger > *:nth-child(2) { --d: 0.12s; }
.stagger > *:nth-child(3) { --d: 0.24s; }
.stagger > *:nth-child(4) { --d: 0.36s; }
.stagger > *:nth-child(5) { --d: 0.48s; }
.stagger > *:nth-child(6) { --d: 0.60s; }
.stagger > *:nth-child(7) { --d: 0.72s; }

/* ── Dot grids ── */
.dot-grid {
  opacity: 0;
  transition: opacity 1.2s ease 0.3s;
}
.section.is-visible .dot-grid,
.hero .dot-grid {
  opacity: 1;
}

/* ── Section headers: smooth cascade from above ── */
.section__header .label {
  opacity: 0;
  transform: translateY(-25px);
  filter: blur(3px);
  transition:
    opacity 0.5s cubic-bezier(0.0, 0.0, 0.2, 1),
    transform 0.7s cubic-bezier(0.0, 0.0, 0.2, 1),
    filter 0.6s cubic-bezier(0.0, 0.0, 0.2, 1);
}
.section__header.is-visible .label {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.section__header h2 {
  opacity: 0;
  transform: translateY(-40px);
  filter: blur(4px);
  transition:
    opacity 0.6s cubic-bezier(0.0, 0.0, 0.2, 1) 0.08s,
    transform 0.85s cubic-bezier(0.0, 0.0, 0.2, 1) 0.08s,
    filter 0.7s cubic-bezier(0.0, 0.0, 0.2, 1) 0.08s;
}
.section__header.is-visible h2 {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.section__header p {
  opacity: 0;
  transform: translateY(-25px);
  filter: blur(3px);
  transition:
    opacity 0.6s cubic-bezier(0.0, 0.0, 0.2, 1) 0.18s,
    transform 0.8s cubic-bezier(0.0, 0.0, 0.2, 1) 0.18s,
    filter 0.7s cubic-bezier(0.0, 0.0, 0.2, 1) 0.18s;
}
.section__header.is-visible p {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ── Gold line: grows smoothly after title arrives ── */
.gold-line {
  transition: width 0.8s cubic-bezier(0.0, 0.0, 0.2, 1) 0.2s;
}

/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-clip,
  .section__header .label, .section__header h2, .section__header p,
  .dot-grid {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

/* ----------------------------------------------------------
   34. INVESTISSEMENT — MOTION DESIGN EDUCATIF
   ---------------------------------------------------------- */
.invest-motion { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px; max-width: 1080px; margin: 0 auto; }
.invest-motion__card { background: var(--white); border-radius: 4px; padding: 40px 36px 36px; border: 1px solid rgba(27,48,96,0.06); box-shadow: 0 8px 40px rgba(27,48,96,0.04); }
.invest-motion__visual { position: relative; height: 280px; margin-bottom: 28px; }
.invest-motion__card h4 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--navy); margin-bottom: 10px; }
.invest-motion__card p { font-size: 0.875rem; color: var(--text); line-height: 1.8; opacity: 0.65; }

/* --- Schema 1 : Courbe exponentielle animée avec traceur --- */
.anim-curve { width: 100%; height: 100%; }
.anim-curve svg { width: 100%; height: 100%; display: block; }

/* Courbe qui se dessine */
.anim-curve__path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: none;
}
.is-visible .anim-curve__path {
  animation: drawCurve 3s var(--ease-out) forwards;
}
@keyframes drawCurve { to { stroke-dashoffset: 0; } }

/* Zone remplie qui monte */
.anim-curve__fill { opacity: 0; }
.is-visible .anim-curve__fill {
  animation: fadeIn 1.5s ease 1s forwards;
}

/* Ligne droite épargne */
.anim-curve__flat {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}
.is-visible .anim-curve__flat {
  animation: drawCurve 2.5s ease 0.3s forwards;
}

/* Point traceur qui suit la courbe */
.anim-curve__tracer {
  opacity: 0;
  offset-path: path("M30,195 C80,190 140,170 190,130 Q230,90 270,35");
  offset-distance: 0%;
}
.is-visible .anim-curve__tracer {
  opacity: 1;
  animation: followCurve 3s var(--ease-out) forwards;
}
@keyframes followCurve {
  from { offset-distance: 0%; opacity: 0; }
  5%   { opacity: 1; }
  to   { offset-distance: 100%; opacity: 1; }
}

/* Halo pulsant autour du traceur */
.anim-curve__halo {
  opacity: 0;
}
.is-visible .anim-curve__halo {
  offset-path: path("M30,195 C80,190 140,170 190,130 Q230,90 270,35");
  offset-distance: 0%;
  animation: followCurve 3s var(--ease-out) forwards, pulse 1.5s ease-in-out 2.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.8); }
}

/* Particules dorées qui s'envolent */
.anim-curve__particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.anim-particle {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); opacity: 0;
}
.is-visible .anim-particle {
  animation: particleUp var(--dur, 2.5s) ease var(--delay, 2s) infinite;
}
@keyframes particleUp {
  0%   { opacity: 0; transform: translateY(0) scale(0.5); }
  15%  { opacity: 0.9; transform: translateY(-8px) scale(1); }
  100% { opacity: 0; transform: translateY(-60px) scale(0); }
}

/* Compteur animé */
.anim-curve__counter {
  position: absolute; top: 12px; left: 16px;
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600;
  color: var(--gold); opacity: 0; transition: opacity 0.5s ease 2.5s;
}
.is-visible .anim-curve__counter { opacity: 1; }

/* Labels axes */
.anim-curve__label {
  font-family: var(--font-sans); font-size: 0.6rem; fill: rgba(27,48,96,0.3);
  font-weight: 600; letter-spacing: 0.04em;
}
.anim-curve__label--gold { fill: var(--gold); font-weight: 700; }

/* --- Schema 2 : Comparaison côte-à-côte animée --- */
.anim-compare { display: flex; gap: 24px; height: 100%; align-items: flex-end; }
.anim-compare__col {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; height: 100%; position: relative;
}
.anim-compare__bar-wrap {
  width: 80px; position: relative; border-radius: 4px 4px 0 0; overflow: hidden;
  transform-origin: bottom;
}
.anim-compare__bar-wrap--epargne {
  height: 35%; background: rgba(27,48,96,0.08);
}
.anim-compare__bar-wrap--invest {
  height: 0%; background: linear-gradient(180deg, var(--gold), #c9a84e);
  box-shadow: 0 -4px 30px rgba(181,146,76,0.25);
}
.is-visible .anim-compare__bar-wrap--epargne {
  animation: growBar 1.5s var(--ease-out) 0.5s forwards;
  height: 0%;
}
.is-visible .anim-compare__bar-wrap--invest {
  animation: growBarTall 2.5s var(--ease-out) 0.5s forwards;
}
@keyframes growBar { from { height: 0%; } to { height: 35%; } }
@keyframes growBarTall { from { height: 0%; } to { height: 92%; } }

/* Shimmer sur la barre investissement */
.anim-compare__bar-wrap--invest::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 50%, transparent 100%);
  opacity: 0;
}
.is-visible .anim-compare__bar-wrap--invest::after {
  animation: shimmer 2.5s ease 2s infinite;
}
@keyframes shimmer {
  0%   { opacity: 0; transform: translateY(100%); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-100%); }
}

/* Montant au dessus de la barre */
.anim-compare__amount {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem;
  margin-bottom: 8px; opacity: 0; transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-compare__amount--navy { color: rgba(27,48,96,0.35); }
.anim-compare__amount--gold { color: var(--gold); }
.is-visible .anim-compare__amount {
  opacity: 1; transform: translateY(0);
  transition-delay: 2.5s;
}

/* Labels sous les barres */
.anim-compare__label {
  margin-top: 14px; font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: rgba(27,48,96,0.4);
}
.anim-compare__label--gold { color: var(--gold); }

/* Séparateur central "VS" */
.anim-compare__vs {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-serif); font-size: 0.85rem; font-weight: 600;
  color: rgba(27,48,96,0.15); letter-spacing: 0.1em;
}

/* Flèche de différence */
.anim-compare__diff {
  position: absolute; right: -8px; top: 10%;
  font-size: 0.7rem; font-weight: 700; color: var(--gold);
  opacity: 0; writing-mode: vertical-rl;
}
.is-visible .anim-compare__diff {
  animation: fadeSlideIn 0.6s ease 3s forwards;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- Schema 3 : Orbites diversification --- */
.anim-orbits {
  width: 100%; height: 100%; position: relative;
  display: flex; align-items: center; justify-content: center;
}

/* Centre hub */
.anim-orbits__hub {
  width: 56px; height: 56px; border-radius: 50%; position: absolute;
  background: radial-gradient(circle at 38% 38%, #dabb73, var(--gold));
  box-shadow: 0 0 30px rgba(181,146,76,0.3), 0 0 60px rgba(181,146,76,0.1);
  z-index: 3; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0);
  transition: opacity 0.6s ease, transform 0.8s var(--ease-out);
}
.is-visible .anim-orbits__hub { opacity: 1; transform: scale(1); transition-delay: 0.2s; }
.anim-orbits__hub-icon {
  font-size: 1.2rem; color: white; font-weight: 700; font-family: var(--font-serif);
}

/* Anneaux orbitaux */
.anim-orbits__ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(181,146,76,0.1);
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-out);
}
.is-visible .anim-orbits__ring { opacity: 1; transform: scale(1); }
.anim-orbits__ring--1 { width: 130px; height: 130px; transition-delay: 0.4s; }
.anim-orbits__ring--2 { width: 200px; height: 200px; border-style: dashed; transition-delay: 0.6s; }
.anim-orbits__ring--3 { width: 260px; height: 260px; transition-delay: 0.8s; }

/* Nodes orbitaux */
.anim-orbits__node {
  position: absolute; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.5rem; font-weight: 700; color: white; letter-spacing: 0.02em;
  opacity: 0; z-index: 2;
  box-shadow: 0 3px 16px rgba(0,0,0,0.15);
}
.is-visible .anim-orbits__node { opacity: 1; }

/* Orbite continue : chaque node tourne autour du centre */
.anim-orbits__orbit {
  position: absolute; width: 0; height: 0;
  top: 50%; left: 50%;
}
.is-visible .anim-orbits__orbit {
  animation: orbitSpin var(--speed) linear var(--delay, 1s) infinite;
}
@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Positions des nodes sur leur orbite (offset depuis le centre) */
.anim-orbits__node--actions   { width: 42px; height: 42px; background: var(--gold); top: -21px; left: calc(var(--radius) - 21px); }
.anim-orbits__node--oblig     { width: 36px; height: 36px; background: var(--navy); top: -18px; left: calc(var(--radius) - 18px); }
.anim-orbits__node--immo      { width: 34px; height: 34px; background: #4a6fa5; top: -17px; left: calc(var(--radius) - 17px); }
.anim-orbits__node--liq       { width: 28px; height: 28px; background: #8faabe; top: -14px; left: calc(var(--radius) - 14px); }
.anim-orbits__node--alt       { width: 28px; height: 28px; background: #c9a84e; top: -14px; left: calc(var(--radius) - 14px); }

/* Contre-rotation pour garder le texte lisible */
.anim-orbits__node-inner {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.is-visible .anim-orbits__node-inner {
  animation: orbitSpinReverse var(--speed) linear var(--delay, 1s) infinite;
}
@keyframes orbitSpinReverse { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

/* Légende en bas */
.anim-orbits__legend {
  position: absolute; bottom: -4px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.anim-orbits__legend-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.6rem; font-weight: 600; color: rgba(27,48,96,0.5);
  opacity: 0; transition: opacity 0.4s ease;
}
.anim-orbits__legend-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.is-visible .anim-orbits__legend-item { opacity: 1; }
.is-visible .anim-orbits__legend-item:nth-child(1) { transition-delay: 1.2s; }
.is-visible .anim-orbits__legend-item:nth-child(2) { transition-delay: 1.4s; }
.is-visible .anim-orbits__legend-item:nth-child(3) { transition-delay: 1.6s; }
.is-visible .anim-orbits__legend-item:nth-child(4) { transition-delay: 1.8s; }
.is-visible .anim-orbits__legend-item:nth-child(5) { transition-delay: 2.0s; }

/* Lignes de connexion pulsantes (cosmétique) */
.anim-orbits__pulse {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(181,146,76,0.2);
  opacity: 0; z-index: 1;
}
.is-visible .anim-orbits__pulse {
  animation: radarPulse 4s ease-out 1.5s infinite;
}
@keyframes radarPulse {
  0%  { width: 56px; height: 56px; opacity: 0.6; }
  100% { width: 280px; height: 280px; opacity: 0; }
}

/* --- Schema 4 : Risque — Deux sphères contrastées --- */
.anim-spheres {
  width: 100%; height: 100%; position: relative;
  display: flex; align-items: center; justify-content: center; gap: 60px;
}

.anim-sphere {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  opacity: 0; transition: opacity 0.8s ease;
}
.is-visible .anim-sphere { opacity: 1; }
.is-visible .anim-sphere--volatile { transition-delay: 0.5s; }
.is-visible .anim-sphere--stable { transition-delay: 1.2s; }

.anim-sphere__orb {
  width: 90px; height: 90px; border-radius: 50%; position: relative;
}

/* Sphère volatile : rouge, secoue */
.anim-sphere__orb--volatile {
  background: radial-gradient(circle at 35% 35%, #e8798e, #c23a52);
  box-shadow: 0 0 0 0 rgba(194,58,82,0.2);
}
.is-visible .anim-sphere__orb--volatile {
  animation: shake 0.4s ease-in-out 1s infinite alternate, volatileGlow 2s ease 1s infinite;
}
@keyframes shake {
  0%   { transform: translate(0, 0) rotate(0deg); }
  20%  { transform: translate(-5px, 3px) rotate(-2deg); }
  40%  { transform: translate(4px, -4px) rotate(1.5deg); }
  60%  { transform: translate(-3px, -2px) rotate(-1deg); }
  80%  { transform: translate(5px, 2px) rotate(2deg); }
  100% { transform: translate(-2px, -3px) rotate(-1.5deg); }
}
@keyframes volatileGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(194,58,82,0.15); }
  50% { box-shadow: 0 0 40px rgba(194,58,82,0.35); }
}

/* Sphère stable : or, respire doucement */
.anim-sphere__orb--stable {
  background: radial-gradient(circle at 35% 35%, #dabb73, var(--gold));
  box-shadow: 0 0 20px rgba(181,146,76,0.2);
}
.is-visible .anim-sphere__orb--stable {
  animation: breathe 3.5s ease-in-out 1.5s infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(181,146,76,0.15); }
  50% { transform: scale(1.08); box-shadow: 0 0 40px rgba(181,146,76,0.35); }
}

/* Icône intérieur de la sphère */
.anim-sphere__icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: rgba(255,255,255,0.9);
}

/* Labels sous les sphères */
.anim-sphere__label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em;
}
.anim-sphere__label--red { color: #c23a52; }
.anim-sphere__label--gold { color: var(--gold); }
.anim-sphere__sublabel {
  font-size: 0.65rem; color: rgba(27,48,96,0.4); margin-top: 2px;
}

/* Séparateur central */
.anim-spheres__divider {
  width: 1px; height: 120px; position: relative;
  background: linear-gradient(180deg, transparent, rgba(27,48,96,0.1), transparent);
  opacity: 0; transition: opacity 0.6s ease 1.5s;
}
.is-visible .anim-spheres__divider { opacity: 1; }
.anim-spheres__divider-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--white); padding: 6px 0;
  font-size: 0.6rem; font-weight: 700; color: rgba(27,48,96,0.2);
  letter-spacing: 0.15em;
}

/* Mini-barre de risque sous chaque sphère */
.anim-sphere__risk-bar {
  width: 80px; height: 4px; border-radius: 2px; background: rgba(27,48,96,0.06);
  overflow: hidden; margin-top: 6px;
}
.anim-sphere__risk-fill {
  height: 100%; border-radius: 2px;
  transform-origin: left; transform: scaleX(0);
  transition: transform 1.2s var(--ease-out);
}
.anim-sphere__risk-fill--high { background: #c23a52; }
.anim-sphere__risk-fill--low { background: var(--gold); }
.is-visible .anim-sphere__risk-fill--high { transform: scaleX(0.9); transition-delay: 1.5s; }
.is-visible .anim-sphere__risk-fill--low { transform: scaleX(0.25); transition-delay: 2s; }

@media (max-width: 900px) {
  .invest-motion { grid-template-columns: 1fr; gap: 40px; max-width: 500px; }
  .invest-motion__visual { height: 260px; }
  .invest-motion__card { padding: 28px 24px 28px; }
  .anim-spheres { gap: 32px; }
  .anim-sphere__orb { width: 72px; height: 72px; }
  .anim-orbits__ring--3 { width: 220px; height: 220px; }
}

/* ----------------------------------------------------------
   35. PRÉVOYANCE — MOTION DESIGN EDUCATIF
   ---------------------------------------------------------- */

/* --- Card 1 : 3 Piliers animés --- */
.anim-pillars { display: flex; align-items: flex-end; justify-content: center; gap: 20px; height: 100%; padding: 0 10px 0; position: relative; }

.anim-pillar {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  flex: 1; max-width: 120px;
}
/* Fixer la hauteur des labels pour aligner les barres */
.anim-pillar__bottom { height: 48px; display: flex; align-items: flex-start; justify-content: center; }
.anim-pillar__bar {
  width: 100%; border-radius: 6px 6px 0 0; position: relative;
  transform-origin: bottom; transform: scaleY(0);
  transition: transform 1.2s var(--ease-out);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.is-visible .anim-pillar__bar { transform: scaleY(1); }
.is-visible .anim-pillar:nth-child(1) .anim-pillar__bar { transition-delay: 0.3s; }
.is-visible .anim-pillar:nth-child(2) .anim-pillar__bar { transition-delay: 0.7s; }
.is-visible .anim-pillar:nth-child(3) .anim-pillar__bar { transition-delay: 1.1s; }

.anim-pillar__bar--1 { height: 80px; background: linear-gradient(180deg, #8faabe, #b3cad9); }
.anim-pillar__bar--2 { height: 120px; background: linear-gradient(180deg, var(--navy), #2a4a7a); }
.anim-pillar__bar--3 { height: 180px; background: linear-gradient(180deg, var(--gold), #c9a84e); }

/* Shimmer sur le 3ème pilier */
.anim-pillar__bar--3::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 50%);
  opacity: 0;
}
.is-visible .anim-pillar__bar--3::after {
  animation: shimmer 3s ease 2s infinite;
}

/* Numéro dans la barre */
.anim-pillar__num {
  font-family: var(--font-serif); font-weight: 700; color: rgba(255,255,255,0.9);
  font-size: 1.4rem; position: relative; z-index: 1;
  opacity: 0; transition: opacity 0.4s ease;
}
.is-visible .anim-pillar__num { opacity: 1; }
.is-visible .anim-pillar:nth-child(1) .anim-pillar__num { transition-delay: 1s; }
.is-visible .anim-pillar:nth-child(2) .anim-pillar__num { transition-delay: 1.4s; }
.is-visible .anim-pillar:nth-child(3) .anim-pillar__num { transition-delay: 1.8s; }

/* Label sous la barre */
.anim-pillar__label {
  margin-top: 10px; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(27,48,96,0.5); text-align: center; line-height: 1.4;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.is-visible .anim-pillar__label { opacity: 1; transform: translateY(0); }
.is-visible .anim-pillar:nth-child(1) .anim-pillar__label { transition-delay: 1.2s; }
.is-visible .anim-pillar:nth-child(2) .anim-pillar__label { transition-delay: 1.6s; }
.is-visible .anim-pillar:nth-child(3) .anim-pillar__label { transition-delay: 2s; }

/* Ligne 60% */
.anim-pillars__line {
  position: absolute; left: 6%; right: 6%; border-top: 2px dashed rgba(211,51,85,0.25);
  opacity: 0; transition: opacity 0.5s ease 2.2s;
}
.is-visible .anim-pillars__line { opacity: 1; }
.anim-pillars__line-label {
  position: absolute; right: 0; top: -18px;
  font-size: 0.6rem; font-weight: 700; color: rgba(211,51,85,0.6);
  letter-spacing: 0.05em;
}

/* --- Card 2 : Gap 40% — jauge animée --- */
.anim-gauge { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }

.anim-gauge__track {
  width: 85%; height: 32px; border-radius: 20px;
  background: rgba(27,48,96,0.05); position: relative; overflow: hidden;
}
.anim-gauge__fill-covered {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: linear-gradient(90deg, #8faabe, var(--navy));
  border-radius: 20px 0 0 20px;
  transition: width 2s var(--ease-out) 0.5s;
}
.is-visible .anim-gauge__fill-covered { width: 60%; }

.anim-gauge__fill-gap {
  position: absolute; left: 60%; top: 0; bottom: 0; width: 0%;
  border-radius: 0 20px 20px 0;
  opacity: 0;
}
.is-visible .anim-gauge__fill-gap {
  width: 40%;
  animation: gapAppear 0.8s ease 2.5s forwards, gapPulse 2s ease 3.3s infinite;
}
@keyframes gapAppear {
  from { opacity: 0; background: rgba(181,146,76,0.15); }
  to   { opacity: 1; background: rgba(181,146,76,0.15); }
}
@keyframes gapPulse {
  0%, 100% { background: rgba(181,146,76,0.12); }
  50% { background: rgba(181,146,76,0.3); }
}

/* Marqueur 3a qui comble le gap */
.anim-gauge__fill-3a {
  position: absolute; left: 60%; top: 0; bottom: 0; width: 0%;
  background: linear-gradient(90deg, var(--gold), #dabb73);
  border-radius: 0 20px 20px 0;
  box-shadow: 0 0 20px rgba(181,146,76,0.3);
}
.is-visible .anim-gauge__fill-3a {
  animation: fill3a 1.5s var(--ease-out) 3.5s forwards;
}
@keyframes fill3a { from { width: 0%; } to { width: 40%; } }

/* Labels de la jauge */
.anim-gauge__labels { display: flex; width: 85%; justify-content: space-between; }
.anim-gauge__label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em;
  opacity: 0; transition: opacity 0.4s ease;
}
.anim-gauge__label--covered { color: var(--navy); }
.anim-gauge__label--gap { color: var(--gold); }
.is-visible .anim-gauge__label--covered { opacity: 0.6; transition-delay: 2.2s; }
.is-visible .anim-gauge__label--gap { opacity: 1; transition-delay: 3.8s; }

/* Texte central animé */
.anim-gauge__text {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 600;
  color: var(--gold); opacity: 0;
  transition: opacity 0.5s ease 3.5s;
}
.is-visible .anim-gauge__text { opacity: 1; }

/* Flèche 3a */
.anim-gauge__arrow {
  font-size: 0.7rem; font-weight: 700; color: var(--gold);
  opacity: 0; display: flex; align-items: center; gap: 6px;
  transition: opacity 0.5s ease 4.5s;
}
.is-visible .anim-gauge__arrow { opacity: 1; }
.anim-gauge__arrow-icon { animation: arrowBounce 1.5s ease infinite; }
@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* --- Card 3 : Économie fiscale — boucle animée --- */
.anim-taxloop {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.anim-taxloop svg { width: 240px; height: 240px; }

/* Cercle de flux */
.anim-taxloop__arc {
  fill: none; stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 200; stroke-dashoffset: 200;
}
.is-visible .anim-taxloop__arc {
  animation: drawCurve 2s var(--ease-out) 0.5s forwards;
}

/* Dash animé en continu (flux d'énergie) */
.anim-taxloop__flow {
  fill: none; stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 8 16;
}
.is-visible .anim-taxloop__flow {
  animation: flowDash 2s linear 2s infinite;
}
@keyframes flowDash { to { stroke-dashoffset: -48; } }

/* Nodes du loop */
.anim-taxloop__node {
  opacity: 0; transform: scale(0);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}
.is-visible .anim-taxloop__node--1 { opacity: 1; transform: scale(1); transition-delay: 0.3s; }
.is-visible .anim-taxloop__node--2 { opacity: 1; transform: scale(1); transition-delay: 1.5s; }
.is-visible .anim-taxloop__node--3 { opacity: 1; transform: scale(1); transition-delay: 2.2s; }

/* Labels */
.anim-taxloop__label {
  font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.04em;
}

/* Montant animé central */
.anim-taxloop__amount {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600;
  color: var(--gold); opacity: 0; white-space: nowrap;
  transition: opacity 0.5s ease 2.5s;
}
.is-visible .anim-taxloop__amount { opacity: 1; }

/* --- Card 4 : Commencer tôt — deux timelines --- */
.anim-timeline { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 16px 20px; }

.anim-tl-row {
  display: flex; align-items: center; gap: 14px;
  opacity: 0; transform: translateX(-15px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}
.is-visible .anim-tl-row:nth-child(1) { opacity: 1; transform: translateX(0); transition-delay: 0.4s; }
.is-visible .anim-tl-row:nth-child(2) { opacity: 1; transform: translateX(0); transition-delay: 1.2s; }

.anim-tl-row__age {
  min-width: 56px; font-family: var(--font-serif); font-size: 1.1rem;
  font-weight: 600; color: var(--navy); text-align: right;
}
.anim-tl-row__bar-wrap {
  flex: 1; height: 28px; border-radius: 14px;
  background: rgba(27,48,96,0.04); position: relative; overflow: hidden;
}
.anim-tl-row__bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  border-radius: 14px; width: 0%;
}
.anim-tl-row__bar--early {
  background: linear-gradient(90deg, var(--gold), #dabb73);
  box-shadow: 0 0 16px rgba(181,146,76,0.2);
}
.anim-tl-row__bar--late {
  background: linear-gradient(90deg, rgba(27,48,96,0.25), rgba(27,48,96,0.15));
}
.is-visible .anim-tl-row__bar--early { animation: tlBarGrow 2s var(--ease-out) 0.8s forwards; }
.is-visible .anim-tl-row__bar--late { animation: tlBarGrowShort 1.5s var(--ease-out) 1.6s forwards; }
@keyframes tlBarGrow { to { width: 92%; } }
@keyframes tlBarGrowShort { to { width: 38%; } }

/* Montant au bout de la barre */
.anim-tl-row__amount {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-serif); font-size: 0.8rem; font-weight: 700;
  opacity: 0; transition: opacity 0.4s ease;
}
.anim-tl-row__amount--gold { color: var(--gold); }
.anim-tl-row__amount--muted { color: rgba(27,48,96,0.4); }
.is-visible .anim-tl-row__amount { opacity: 1; }
.is-visible .anim-tl-row:nth-child(1) .anim-tl-row__amount { transition-delay: 2.5s; }
.is-visible .anim-tl-row:nth-child(2) .anim-tl-row__amount { transition-delay: 2.8s; }

/* Label de la ligne */
.anim-tl-row__label {
  min-width: 44px; font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.anim-tl-row__label--gold { color: var(--gold); }
.anim-tl-row__label--muted { color: rgba(27,48,96,0.3); }

/* Différence entre les deux */
.anim-tl-diff {
  text-align: center; font-family: var(--font-serif);
  font-size: 1rem; font-weight: 600; color: var(--gold);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.is-visible .anim-tl-diff { opacity: 1; transform: translateY(0); transition-delay: 3.2s; }
.anim-tl-diff span { font-size: 1.4rem; }

/* --- Prévoyance responsive --- */
@media (max-width: 900px) {
  .anim-pillars { gap: 14px; padding: 0 0 28px; }
  .anim-pillar__bar--1 { height: 60px; }
  .anim-pillar__bar--2 { height: 90px; }
  .anim-pillar__bar--3 { height: 140px; }
  .anim-gauge__text { font-size: 1.6rem; }
}

/* ----------------------------------------------------------
   35b. FISCALITÉ — MOTION DESIGN EDUCATIF
   ---------------------------------------------------------- */

/* Card 1 : Barre d'impôt descendante (déductions qui réduisent) */
.anim-taxbar {
  position: relative; height: 100%; display: flex; align-items: flex-end;
  justify-content: center; gap: 32px; padding-bottom: 20px;
}
.anim-taxbar__col {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 80px;
}
.anim-taxbar__bar {
  width: 100%; border-radius: 6px 6px 0 0; position: relative;
  overflow: hidden; min-height: 20px;
}
.anim-taxbar__bar--before {
  background: linear-gradient(180deg, #d64545, #e87070);
  height: 200px;
  animation: taxBarPulse 3s ease-in-out infinite;
}
.anim-taxbar__bar--after {
  background: linear-gradient(180deg, var(--gold), #d4b366);
  height: 120px;
  animation: taxBarPulse 3s ease-in-out infinite 0.5s;
}
@keyframes taxBarPulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}
/* Shimmer overlay */
.anim-taxbar__bar::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: taxBarShimmer 3s ease-in-out infinite;
}
@keyframes taxBarShimmer {
  0% { top: -100%; }
  100% { top: 100%; }
}
.anim-taxbar__val {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: white;
  white-space: nowrap; text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.anim-taxbar__label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--navy); opacity: 0.5; text-align: center;
}
/* Arrow animé entre les barres */
.anim-taxbar__arrow {
  position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%);
  color: var(--gold); font-size: 1.4rem; font-weight: 700;
  animation: arrowBounce 1.5s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%, 100% { transform: translate(-50%, -50%) translateX(0); }
  50% { transform: translate(-50%, -50%) translateX(6px); }
}

/* Card 2 : Comparaison cantonale — barres horizontales animées */
.anim-cantons {
  position: relative; height: 100%; display: flex; flex-direction: column;
  justify-content: center; gap: 14px; padding: 10px 0;
}
.anim-canton {
  display: grid; grid-template-columns: 54px 1fr 44px; align-items: center; gap: 10px;
}
.anim-canton__name {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--navy); text-align: right;
}
.anim-canton__track {
  height: 20px; border-radius: 10px; background: rgba(27,48,96,0.05);
  overflow: hidden; position: relative;
}
.anim-canton__fill {
  height: 100%; border-radius: 10px; position: relative; overflow: hidden;
  transition: width 1.5s var(--ease-out);
  width: 0%;
}
.is-visible .anim-canton__fill { width: var(--w); }
.anim-canton__fill--gold { background: linear-gradient(90deg, var(--gold), #d4b366); }
.anim-canton__fill--navy { background: linear-gradient(90deg, var(--navy), #2a4a7f); }
.anim-canton__fill--blue { background: linear-gradient(90deg, #4a6fa5, #6a8fc5); }
.anim-canton__fill--red  { background: linear-gradient(90deg, #c95e5e, #e07070); }
/* Scanning light */
.anim-canton__fill::after {
  content: ''; position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: cantonScan 2.5s ease-in-out infinite;
}
@keyframes cantonScan { 0% { left: -40%; } 100% { left: 100%; } }
.anim-canton__pct {
  font-family: var(--font-serif); font-size: 0.85rem; font-weight: 700;
  color: var(--navy);
}
/* Stagger */
.is-visible .anim-canton:nth-child(1) .anim-canton__fill { transition-delay: 0.3s; }
.is-visible .anim-canton:nth-child(2) .anim-canton__fill { transition-delay: 0.5s; }
.is-visible .anim-canton:nth-child(3) .anim-canton__fill { transition-delay: 0.7s; }
.is-visible .anim-canton:nth-child(4) .anim-canton__fill { transition-delay: 0.9s; }
.is-visible .anim-canton:nth-child(5) .anim-canton__fill { transition-delay: 1.1s; }

/* Card 3 : Flux circulaire déductions → économies */
.anim-taxflow {
  position: relative; height: 100%; display: flex; align-items: center; justify-content: center;
}
.anim-taxflow svg { width: 260px; height: 260px; }
.anim-taxflow__ring {
  fill: none; stroke: rgba(27,48,96,0.08); stroke-width: 3;
}
.anim-taxflow__dash {
  fill: none; stroke: var(--gold); stroke-width: 3;
  stroke-dasharray: 12 8;
  animation: flowDash 4s linear infinite;
}
.anim-taxflow__node {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  position: absolute;
}
.anim-taxflow__node-circle {
  width: 48px; height: 48px; border-radius: 50; display: flex;
  align-items: center; justify-content: center; font-size: 1.2rem;
  border: 2px solid rgba(181,146,76,0.3);
  animation: breathe 3s ease-in-out infinite;
}
.anim-taxflow__node-circle--gold { background: rgba(181,146,76,0.1); color: var(--gold); }
.anim-taxflow__node-circle--navy { background: rgba(27,48,96,0.06); color: var(--navy); }
.anim-taxflow__node-circle--green { background: rgba(34,197,94,0.08); color: #22c55e; border-color: rgba(34,197,94,0.3); }
.anim-taxflow__node-label {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--navy); opacity: 0.6;
}
/* Positions pour les 3 nodes */
.anim-taxflow__node--top    { top: 8px; left: 50%; transform: translateX(-50%); }
.anim-taxflow__node--left   { bottom: 30px; left: 8px; }
.anim-taxflow__node--right  { bottom: 30px; right: 8px; }
/* Node breathe stagger */
.anim-taxflow__node:nth-child(3) .anim-taxflow__node-circle { animation-delay: 0.5s; }
.anim-taxflow__node:nth-child(4) .anim-taxflow__node-circle { animation-delay: 1s; }

/* Card 4 : Compteur économies animé + particules */
.anim-savings {
  position: relative; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; overflow: hidden;
}
.anim-savings__amount {
  font-family: var(--font-serif); font-size: 2.8rem; font-weight: 700;
  color: var(--gold); position: relative; z-index: 1;
  text-shadow: 0 0 40px rgba(181,146,76,0.15);
}
.anim-savings__sub {
  font-family: var(--font-sans); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy);
  opacity: 0.4; margin-top: 6px;
}
/* Cercle de fond pulsant */
.anim-savings__pulse {
  position: absolute; width: 180px; height: 180px; border-radius: 50%;
  border: 2px solid rgba(181,146,76,0.1);
  animation: savingsPulse 3s ease-in-out infinite;
}
.anim-savings__pulse:nth-child(2) {
  width: 240px; height: 240px; animation-delay: 0.8s;
  border-color: rgba(181,146,76,0.06);
}
@keyframes savingsPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}
/* Sparkles */
.anim-savings__spark {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); opacity: 0;
  animation: sparkFloat 3s ease-in-out infinite;
}
@keyframes sparkFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0.5); }
  30%  { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(-80px) scale(0); }
}

/* ----------------------------------------------------------
   35c. ASSURANCE — MOTION DESIGN EDUCATIF
   ---------------------------------------------------------- */

/* Card 1 : LAMal — double colonne comparative animée */
.anim-lamal {
  position: relative; height: 100%; display: flex; align-items: flex-end;
  justify-content: center; gap: 32px; padding: 24px 20px 16px;
}
.anim-lamal__col {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  flex: 1; max-width: 120px;
}
.anim-lamal__bar-wrap {
  width: 52px; height: 160px; border-radius: 26px;
  background: rgba(27,48,96,0.04); position: relative; overflow: hidden;
}
.anim-lamal__bar-fill {
  position: absolute; bottom: 0; left: 0; right: 0; border-radius: 26px;
  transition: height 1.5s var(--ease-out);
  height: 0;
}
.is-visible .anim-lamal__bar-fill--lamal { height: 85%; background: linear-gradient(to top, var(--navy), #4a6fa5); }
.is-visible .anim-lamal__bar-fill--lca   { height: 35%; background: linear-gradient(to top, var(--gold), #d4b86a); }
/* Animated arrow sliding down on LAMal bar */
.anim-lamal__arrow {
  position: absolute; right: -22px; top: 20%;
  color: #22c55e; font-size: 1.1rem; opacity: 0;
}
.is-visible .anim-lamal__arrow {
  animation: lamalArrow 3s ease-in-out 1.5s infinite;
}
@keyframes lamalArrow {
  0%   { top: 20%; opacity: 0; }
  20%  { opacity: 1; }
  80%  { top: 55%; opacity: 1; }
  100% { top: 55%; opacity: 0; }
}
.anim-lamal__tag {
  font-size: 0.52rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 10px;
  white-space: nowrap;
}
.anim-lamal__tag--lamal {
  color: var(--navy); background: rgba(27,48,96,0.06);
}
.anim-lamal__tag--lca {
  color: var(--gold); background: rgba(181,146,76,0.08);
}
.anim-lamal__col-label {
  font-family: var(--font-serif); font-size: 0.95rem; font-weight: 600;
  color: var(--navy); margin-top: 16px;
}
/* Central equal sign */
.anim-lamal__equal {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  font-size: 0.48rem; font-weight: 700; color: var(--navy); opacity: 0.35;
  letter-spacing: 0.04em; text-transform: uppercase; text-align: center;
  padding: 3px 10px; border-radius: 10px; background: rgba(27,48,96,0.03);
  white-space: nowrap;
}
/* Shimmer on bars */
.anim-lamal__bar-fill::after {
  content: ''; position: absolute; inset: 0; border-radius: 26px;
  background: linear-gradient(to top, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  animation: lamalShimmer 3s ease-in-out infinite;
}
@keyframes lamalShimmer {
  0%, 100% { transform: translateY(20%); }
  50% { transform: translateY(-20%); }
}

/* Card 2 : Véhicule — pyramide 3 niveaux */
.anim-casco {
  position: relative; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; padding: 28px 16px 16px;
}
.anim-casco__tier {
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; font-weight: 700; font-size: 0.62rem;
  letter-spacing: 0.05em; text-transform: uppercase; position: relative;
  height: 44px; opacity: 0; transform: scaleX(0);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}
.is-visible .anim-casco__tier {
  opacity: 1; transform: scaleX(1);
}
.anim-casco__tier--cc {
  width: 70%; background: linear-gradient(135deg, var(--gold), #d4b86a);
  color: #fff; transition-delay: 0s;
}
.anim-casco__tier--cp {
  width: 82%; background: linear-gradient(135deg, #4a6fa5, #6b8fc5);
  color: #fff; transition-delay: 0.25s;
}
.anim-casco__tier--rc {
  width: 94%; background: linear-gradient(135deg, var(--navy), #2a4a80);
  color: #fff; transition-delay: 0.5s;
}
.is-visible .anim-casco__tier--cp { transition-delay: 0.25s; }
.is-visible .anim-casco__tier--cc { transition-delay: 0s; }
.is-visible .anim-casco__tier--rc { transition-delay: 0.5s; }
/* Shimmer glow across each tier — same style as maladie bars */
.anim-casco__tier::after {
  content: ''; position: absolute; inset: 0; border-radius: 12px;
  background: linear-gradient(90deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  animation: cascoShimmer 3s ease-in-out infinite;
}
.anim-casco__tier--cp::after { animation-delay: 0.4s; }
.anim-casco__tier--cc::after { animation-delay: 0.8s; }
@keyframes cascoShimmer {
  0%, 100% { transform: translateX(20%); }
  50% { transform: translateX(-20%); }
}
/* Keep cascoSweep for other pages reusing it */
@keyframes cascoSweep {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
/* Small icon next to label */
.anim-casco__tier svg {
  width: 16px; height: 16px; margin-right: 6px; flex-shrink: 0;
}
/* Subtle connector lines between tiers */
.anim-casco__connector {
  width: 2px; height: 6px; background: rgba(27,48,96,0.1); border-radius: 1px;
}
/* Bottom arrow label */
.anim-casco__arrow-label {
  font-size: 0.48rem; font-weight: 600; color: var(--navy); opacity: 0.4;
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px;
  display: flex; align-items: center; gap: 6px;
}
.anim-casco__arrow-label::before,
.anim-casco__arrow-label::after {
  content: ''; width: 20px; height: 1px; background: rgba(27,48,96,0.15);
}

/* Card 3 : Protection juridique — balance de justice animée */
.anim-juridique {
  position: relative; height: 100%; display: flex; align-items: center;
  justify-content: center;
}
.anim-juridique__scale {
  position: relative; width: 260px; height: 230px;
}
/* Gavel icon at top — sits above beam */
.anim-juridique__gavel {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #d4b86a);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(181,146,76,0.3);
  z-index: 3;
}
.anim-juridique__gavel svg { width: 18px; height: 18px; color: white; }
/* Pillar — from base up to gavel */
.anim-juridique__pillar {
  position: absolute; left: 50%; bottom: 8px; width: 3px; height: 150px;
  background: linear-gradient(180deg, var(--gold), rgba(181,146,76,0.15));
  transform: translateX(-50%); border-radius: 2px;
}
/* Base */
.anim-juridique__base {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 70px; height: 7px; border-radius: 4px;
  background: linear-gradient(90deg, rgba(181,146,76,0.15), var(--gold), rgba(181,146,76,0.15));
}
/* Beam — elegant bar with rounded ends */
.anim-juridique__beam {
  position: absolute; top: 52px; left: 50%; width: 230px;
  height: 4px; transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(181,146,76,0.4), var(--gold) 20%, var(--gold) 80%, rgba(181,146,76,0.4));
  border-radius: 3px;
  transform-origin: center;
  animation: scaleRock 4s ease-in-out infinite;
}
.anim-juridique__beam::before,
.anim-juridique__beam::after {
  content: ''; position: absolute; top: -3px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
}
.anim-juridique__beam::before { left: -2px; }
.anim-juridique__beam::after { right: -2px; }
@keyframes scaleRock {
  0%, 100% { transform: translateX(-50%) rotate(-4deg); }
  50% { transform: translateX(-50%) rotate(4deg); }
}
/* Plates */
.anim-juridique__plate {
  position: absolute; width: 76px; display: flex; flex-direction: column;
  align-items: center;
}
.anim-juridique__plate--left { top: 14px; left: -4px; animation: plateBobL 4s ease-in-out infinite; }
.anim-juridique__plate--right { top: 14px; right: -4px; animation: plateBobR 4s ease-in-out infinite; }
@keyframes plateBobL {
  0%, 100% { transform: translateY(8px); }
  50% { transform: translateY(-8px); }
}
@keyframes plateBobR {
  0%, 100% { transform: translateY(-8px); }
  50% { transform: translateY(8px); }
}
/* Chain (dashed line) */
.anim-juridique__chain {
  width: 2px; height: 30px; color: var(--gold); opacity: 0.5;
}
/* Dish SVG */
.anim-juridique__dish {
  width: 72px; height: 28px; color: var(--gold);
}
.anim-juridique__plate-label {
  font-size: 0.55rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--navy); opacity: 0.5;
  margin-top: 6px;
}

/* Card 4 : RC Privée / Ménage — orbital system (shield center + 2 orbiting nodes) */
/* Card 4 : RC & Ménage — split shield design */
.anim-rc2 {
  position: relative; height: 100%; display: flex;
  align-items: stretch; justify-content: center; gap: 0;
  padding: 20px 12px 16px;
}
.anim-rc2__side {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  gap: 6px; padding: 12px 8px; position: relative; overflow: hidden;
  border-radius: 16px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}
.is-visible .anim-rc2__side { opacity: 1; transform: translateY(0); }
.is-visible .anim-rc2__side--menage { transition-delay: 0.2s; }
.anim-rc2__side--rc { background: rgba(27,48,96,0.04); }
.anim-rc2__side--menage { background: rgba(181,146,76,0.04); }
/* Pulse ring behind icon */
.anim-rc2__pulse {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px;
  transform: translate(-50%, -70%); border-radius: 50%;
  animation: rc2Pulse 3s ease-in-out infinite;
}
.anim-rc2__side--rc .anim-rc2__pulse {
  background: rgba(27,48,96,0.06);
}
.anim-rc2__side--menage .anim-rc2__pulse {
  background: rgba(181,146,76,0.06);
  animation-delay: 1.5s;
}
@keyframes rc2Pulse {
  0%, 100% { transform: translate(-50%, -70%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -70%) scale(1.6); opacity: 0; }
}
/* Icon circle */
.anim-rc2__icon {
  width: 44px; height: 44px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.anim-rc2__icon svg { width: 22px; height: 22px; }
.anim-rc2__side--rc .anim-rc2__icon {
  background: var(--white); border: 2px solid rgba(27,48,96,0.12); color: var(--navy);
}
.anim-rc2__side--menage .anim-rc2__icon {
  background: var(--white); border: 2px solid rgba(181,146,76,0.15); color: var(--gold);
}
.anim-rc2__label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.anim-rc2__side--rc .anim-rc2__label { color: var(--navy); }
.anim-rc2__side--menage .anim-rc2__label { color: var(--gold); }
.anim-rc2__desc {
  font-size: 0.6rem; color: rgba(27,48,96,0.45); font-weight: 500;
  margin-bottom: 4px;
}
/* Items list */
.anim-rc2__items {
  display: flex; flex-direction: column; gap: 4px; width: 100%;
}
.anim-rc2__item {
  font-size: 0.55rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 5px 8px; border-radius: 8px; text-align: center;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.is-visible .anim-rc2__item { opacity: 1; transform: translateY(0); }
.is-visible .anim-rc2__item:nth-child(1) { transition-delay: 0.4s; }
.is-visible .anim-rc2__item:nth-child(2) { transition-delay: 0.55s; }
.is-visible .anim-rc2__item:nth-child(3) { transition-delay: 0.7s; }
.anim-rc2__side--rc .anim-rc2__item {
  background: rgba(27,48,96,0.06); color: var(--navy);
}
.anim-rc2__side--menage .anim-rc2__item {
  background: rgba(181,146,76,0.08); color: #8a7340;
}
/* Center badge */
.anim-rc2__center {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 6px; padding: 0 6px;
  z-index: 2; position: relative;
}
.anim-rc2__shield {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #2a4a80);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); box-shadow: 0 4px 20px rgba(27,48,96,0.2);
  animation: rc2ShieldGlow 3s ease-in-out infinite;
}
.anim-rc2__shield svg { width: 20px; height: 20px; }
@keyframes rc2ShieldGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(27,48,96,0.2); }
  50% { box-shadow: 0 4px 28px rgba(181,146,76,0.35); }
}
.anim-rc2__badge {
  font-size: 0.48rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gold); white-space: nowrap;
  opacity: 0; transform: scale(0.8);
  transition: opacity 0.5s ease 0.8s, transform 0.5s ease 0.8s;
}
.is-visible .anim-rc2__badge { opacity: 1; transform: scale(1); }

/* ----------------------------------------------------------
   35d. ENTREPRISE — MOTION DESIGN EDUCATIF
   ---------------------------------------------------------- */

/* Card 1 : SA/Sàrl — barre split salaire vs dividende */
.anim-sasarl {
  position: relative; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; padding: 24px 20px;
}
.anim-sasarl__title {
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600;
  color: var(--navy); letter-spacing: -0.01em;
}
.anim-sasarl__bar-track {
  width: 90%; height: 36px; border-radius: 18px; background: rgba(27,48,96,0.04);
  position: relative; overflow: hidden; display: flex;
}
.anim-sasarl__bar-sal {
  height: 100%; border-radius: 18px 0 0 18px;
  background: linear-gradient(90deg, var(--navy), #2a4a80);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; font-weight: 700; color: #fff; letter-spacing: 0.04em;
  text-transform: uppercase; white-space: nowrap;
  width: 0; transition: width 1.5s var(--ease-out);
}
.is-visible .anim-sasarl__bar-sal { width: 55%; }
.anim-sasarl__bar-div {
  height: 100%; border-radius: 0 18px 18px 0; flex: 1;
  background: linear-gradient(90deg, #c4a35a, var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; font-weight: 700; color: #fff; letter-spacing: 0.04em;
  text-transform: uppercase; white-space: nowrap;
  opacity: 0; transition: opacity 0.8s ease 1.2s;
}
.is-visible .anim-sasarl__bar-div { opacity: 1; }
/* Animated slider marker */
.anim-sasarl__marker {
  position: absolute; top: -6px; bottom: -6px; width: 3px; left: 55%;
  background: var(--gold); border-radius: 2px; z-index: 2;
  animation: sasarlSlide 4s ease-in-out infinite;
}
@keyframes sasarlSlide {
  0%, 100% { left: 55%; }
  30% { left: 40%; }
  70% { left: 65%; }
}
.anim-sasarl__bar-track::after {
  content: ''; position: absolute; inset: 0; border-radius: 18px;
  background: linear-gradient(90deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  background-size: 200% 100%; animation: cascoSweep 3s ease-in-out infinite;
}
/* Labels */
.anim-sasarl__labels {
  display: flex; justify-content: space-between; width: 90%;
}
.anim-sasarl__lbl {
  font-size: 0.5rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 10px;
}
.anim-sasarl__lbl--sal { color: var(--navy); background: rgba(27,48,96,0.06); }
.anim-sasarl__lbl--div { color: var(--gold); background: rgba(181,146,76,0.08); }
/* Optimisation tag */
.anim-sasarl__optim {
  font-size: 0.48rem; font-weight: 600; color: #22c55e; opacity: 0.7;
  letter-spacing: 0.04em; text-transform: uppercase;
  animation: breathe 3s ease-in-out infinite;
}

/* Card 2 : Holding — organigramme hiérarchique */
.anim-holding {
  position: relative; height: 100%; display: flex; align-items: center;
  justify-content: center; padding: 20px;
}
.anim-holding__tree {
  position: relative; width: 240px; height: 200px;
}
.anim-holding__node {
  position: absolute; display: flex; flex-direction: column; align-items: center;
  gap: 4px;
}
.anim-holding__circle {
  width: 48px; height: 48px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  border: 2px solid; background: #fff;
}
.anim-holding__circle svg { width: 20px; height: 20px; }
.anim-holding__node--parent {
  top: 0; left: 50%; transform: translateX(-50%);
}
.anim-holding__node--parent .anim-holding__circle {
  border-color: var(--gold); color: var(--gold); width: 56px; height: 56px;
  box-shadow: 0 0 0 6px rgba(181,146,76,0.08);
  animation: breathe 3s ease-in-out infinite;
}
.anim-holding__node--parent .anim-holding__circle svg { width: 24px; height: 24px; }
.anim-holding__node--child1 { bottom: 20px; left: 8px; }
.anim-holding__node--child2 { bottom: 20px; left: 50%; transform: translateX(-50%); }
.anim-holding__node--child3 { bottom: 20px; right: 8px; }
.anim-holding__node--child1 .anim-holding__circle,
.anim-holding__node--child2 .anim-holding__circle,
.anim-holding__node--child3 .anim-holding__circle {
  border-color: var(--navy); color: var(--navy);
}
.anim-holding__node-label {
  font-size: 0.5rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--navy); white-space: nowrap;
}
.anim-holding__node--parent .anim-holding__node-label { color: var(--gold); }
/* Connecting lines SVG */
.anim-holding__lines {
  position: absolute; inset: 0; pointer-events: none;
}
.anim-holding__lines svg { width: 100%; height: 100%; }
.anim-holding__line {
  fill: none; stroke: rgba(181,146,76,0.25); stroke-width: 1.5;
  stroke-dasharray: 6 4;
}
.anim-holding__flow {
  fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 12 200; stroke-dashoffset: 0;
  animation: holdingFlow 3s ease-in-out infinite;
  opacity: 0.6;
}
.anim-holding__flow--2 { animation-delay: 1s; }
.anim-holding__flow--3 { animation-delay: 2s; }
@keyframes holdingFlow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -80; }
}
/* Tax badge */
.anim-holding__badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 0.45rem; font-weight: 700; color: #22c55e; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 8px;
  background: rgba(34,197,94,0.06); animation: breathe 3s ease-in-out infinite 0.5s;
  white-space: nowrap;
}

/* Card 3 : Coopérative — cercle de membres */
.anim-coop {
  position: relative; height: 100%; display: flex; align-items: center;
  justify-content: center; padding: 20px;
}
.anim-coop__ring {
  position: relative; width: 200px; height: 200px;
}
/* Central hub */
.anim-coop__hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #d4b86a);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(181,146,76,0.1), 0 0 0 16px rgba(181,146,76,0.04);
  z-index: 2;
}
.anim-coop__hub svg { width: 22px; height: 22px; color: #fff; }
/* Orbit ring */
.anim-coop__orbit {
  position: absolute; inset: 0; border: 1.5px dashed rgba(27,48,96,0.12);
  border-radius: 50%; animation: orbitSpin 20s linear infinite;
}
/* Member nodes positioned around the circle */
.anim-coop__member {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.anim-coop__member-dot {
  width: 32px; height: 32px; border-radius: 50%; background: #fff;
  border: 2px solid var(--navy); display: flex; align-items: center;
  justify-content: center; color: var(--navy);
}
.anim-coop__member-dot svg { width: 14px; height: 14px; }
.anim-coop__member-label {
  font-size: 0.42rem; font-weight: 700; color: var(--navy);
  letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap;
}
/* Position 6 members around circle */
.anim-coop__member--1 { top: -8px; left: 50%; transform: translateX(-50%); }
.anim-coop__member--2 { top: 22%; right: -12px; }
.anim-coop__member--3 { bottom: 22%; right: -12px; }
.anim-coop__member--4 { bottom: -8px; left: 50%; transform: translateX(-50%); }
.anim-coop__member--5 { bottom: 22%; left: -12px; }
.anim-coop__member--6 { top: 22%; left: -12px; }
/* Pulse animation on each member */
.anim-coop__member-dot { animation: dotPulse 3s ease-in-out infinite; }
.anim-coop__member--2 .anim-coop__member-dot { animation-delay: 0.5s; }
.anim-coop__member--3 .anim-coop__member-dot { animation-delay: 1s; }
.anim-coop__member--4 .anim-coop__member-dot { animation-delay: 1.5s; }
.anim-coop__member--5 .anim-coop__member-dot { animation-delay: 2s; }
.anim-coop__member--6 .anim-coop__member-dot { animation-delay: 2.5s; }
/* Connecting lines from hub to members */
.anim-coop__lines {
  position: absolute; inset: 0; pointer-events: none;
}
.anim-coop__lines svg { width: 100%; height: 100%; }
.anim-coop__link {
  fill: none; stroke: rgba(27,48,96,0.08); stroke-width: 1;
  stroke-dasharray: 4 4; animation: flowDash 3s linear infinite;
}

/* Card 4 : Indépendant — 3 piliers protection dirigeant */
.anim-ri {
  position: relative; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; padding: 20px 16px;
}
.anim-ri__person {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #2a4a80);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px rgba(27,48,96,0.08);
  margin-bottom: 4px;
}
.anim-ri__person svg { width: 18px; height: 18px; color: #fff; }
.anim-ri__pillars {
  display: flex; align-items: flex-end; gap: 10px; width: 85%;
}
.anim-ri__pillar {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.anim-ri__bar {
  width: 100%; border-radius: 8px 8px 4px 4px; position: relative;
  overflow: hidden; height: 0;
  transition: height 1.2s var(--ease-out);
}
.anim-ri__bar--avs { background: linear-gradient(to top, var(--navy), #3a5a90); }
.anim-ri__bar--lpp { background: linear-gradient(to top, #4a6fa5, #6b8fc5); }
.anim-ri__bar--3a  { background: linear-gradient(to top, var(--gold), #d4b86a); }
.is-visible .anim-ri__bar--avs { height: 60px; transition-delay: 0s; }
.is-visible .anim-ri__bar--lpp { height: 90px; transition-delay: 0.25s; }
.is-visible .anim-ri__bar--3a  { height: 70px; transition-delay: 0.5s; }
/* Shimmer on bars */
.anim-ri__bar::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(to top, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
  animation: lamalShimmer 3s ease-in-out infinite;
}
.anim-ri__bar--lpp::after { animation-delay: 0.4s; }
.anim-ri__bar--3a::after  { animation-delay: 0.8s; }
/* Bar value labels */
.anim-ri__bar-val {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  font-size: 0.6rem; font-weight: 700; color: rgba(255,255,255,0.9);
  white-space: nowrap;
}
.anim-ri__pillar-label {
  font-size: 0.5rem; font-weight: 700; color: var(--navy);
  letter-spacing: 0.04em; text-transform: uppercase; text-align: center;
}
/* Foundation base bar */
.anim-ri__base {
  width: 85%; height: 4px; border-radius: 2px;
  background: rgba(27,48,96,0.08); margin-top: 2px;
}

/* ----------------------------------------------------------
   35e. CRÉDIT PRIVÉ — MOTION DESIGN EDUCATIF
   ---------------------------------------------------------- */

/* 2-card single row layout */
.credit-motion {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  margin-top: 48px;
}
@media (max-width: 700px) { .credit-motion { grid-template-columns: 1fr; } }
.credit-motion .invest-motion__card { /* reuse card styles */ }

/* Card 1 : Cadre LCC — 3 règles clés */
.anim-lcc {
  position: relative; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; padding: 24px 16px;
}
.anim-lcc__rule {
  display: flex; align-items: center; gap: 14px; width: 90%;
  opacity: 0; transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}
.is-visible .anim-lcc__rule { opacity: 1; transform: translateX(0); }
.is-visible .anim-lcc__rule:nth-child(2) { transition-delay: 0.2s; }
.is-visible .anim-lcc__rule:nth-child(3) { transition-delay: 0.4s; }
.anim-lcc__icon {
  width: 44px; height: 44px; min-width: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid; animation: breathe 3s ease-in-out infinite;
}
.anim-lcc__rule:nth-child(1) .anim-lcc__icon { border-color: var(--navy); color: var(--navy); }
.anim-lcc__rule:nth-child(2) .anim-lcc__icon { border-color: var(--gold); color: var(--gold); animation-delay: 0.5s; }
.anim-lcc__rule:nth-child(3) .anim-lcc__icon { border-color: #22c55e; color: #22c55e; animation-delay: 1s; }
.anim-lcc__icon svg { width: 18px; height: 18px; }
.anim-lcc__text {
  display: flex; flex-direction: column; gap: 2px;
}
.anim-lcc__value {
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600;
  line-height: 1.2;
}
.anim-lcc__rule:nth-child(1) .anim-lcc__value { color: var(--navy); }
.anim-lcc__rule:nth-child(2) .anim-lcc__value { color: var(--gold); }
.anim-lcc__rule:nth-child(3) .anim-lcc__value { color: #22c55e; }
.anim-lcc__desc {
  font-size: 0.52rem; font-weight: 600; color: var(--navy); opacity: 0.45;
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* Card 2 : Amortissement — barres dégressives */
.anim-amort {
  position: relative; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; gap: 0;
  padding: 20px 20px 16px;
}
.anim-amort__bars {
  display: flex; align-items: flex-end; gap: 5px; width: 90%; height: 150px;
}
.anim-amort__bar {
  flex: 1; border-radius: 4px 4px 0 0; position: relative;
  height: 0; transition: height 1s var(--ease-out);
  overflow: hidden;
}
/* 8 bars, descending heights */
.is-visible .anim-amort__bar:nth-child(1) { height: 100%; transition-delay: 0s; }
.is-visible .anim-amort__bar:nth-child(2) { height: 88%; transition-delay: 0.08s; }
.is-visible .anim-amort__bar:nth-child(3) { height: 75%; transition-delay: 0.16s; }
.is-visible .anim-amort__bar:nth-child(4) { height: 62%; transition-delay: 0.24s; }
.is-visible .anim-amort__bar:nth-child(5) { height: 48%; transition-delay: 0.32s; }
.is-visible .anim-amort__bar:nth-child(6) { height: 34%; transition-delay: 0.40s; }
.is-visible .anim-amort__bar:nth-child(7) { height: 18%; transition-delay: 0.48s; }
.is-visible .anim-amort__bar:nth-child(8) { height: 4%; transition-delay: 0.56s; }
/* Color gradient from navy to gold */
.anim-amort__bar:nth-child(1) { background: var(--navy); }
.anim-amort__bar:nth-child(2) { background: #1e3a6e; }
.anim-amort__bar:nth-child(3) { background: #2a4a80; }
.anim-amort__bar:nth-child(4) { background: #3d5f96; }
.anim-amort__bar:nth-child(5) { background: #5a7aaa; }
.anim-amort__bar:nth-child(6) { background: #8a7e6a; }
.anim-amort__bar:nth-child(7) { background: #a99358; }
.anim-amort__bar:nth-child(8) { background: var(--gold); }
/* Shimmer */
.anim-amort__bar::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(to top, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  animation: lamalShimmer 3s ease-in-out infinite;
}
.anim-amort__bar:nth-child(2)::after { animation-delay: 0.15s; }
.anim-amort__bar:nth-child(3)::after { animation-delay: 0.3s; }
.anim-amort__bar:nth-child(4)::after { animation-delay: 0.45s; }
.anim-amort__bar:nth-child(5)::after { animation-delay: 0.6s; }
.anim-amort__bar:nth-child(6)::after { animation-delay: 0.75s; }
.anim-amort__bar:nth-child(7)::after { animation-delay: 0.9s; }
.anim-amort__bar:nth-child(8)::after { animation-delay: 1.05s; }
/* Baseline */
.anim-amort__baseline {
  width: 90%; height: 2px; background: rgba(27,48,96,0.08);
  border-radius: 1px;
}
/* Labels */
.anim-amort__labels {
  display: flex; justify-content: space-between; width: 90%; margin-top: 8px;
}
.anim-amort__lbl {
  font-size: 0.48rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; opacity: 0.4; color: var(--navy);
}
/* Descending arrow indicator */
.anim-amort__trend {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.48rem; font-weight: 700; color: #22c55e;
  letter-spacing: 0.04em; text-transform: uppercase;
  display: flex; align-items: center; gap: 4px;
  animation: breathe 3s ease-in-out infinite;
}
.anim-amort__trend svg { width: 14px; height: 14px; }

/* ----------------------------------------------------------
   35f. GARANTIE DE LOYER — MOTION DESIGN EDUCATIF
   ---------------------------------------------------------- */

/* Card 1 : Dépôt vs Assurance — comparaison visuelle */
.anim-glcomp {
  position: relative; height: 100%; display: flex; align-items: center;
  justify-content: center; gap: 20px; padding: 24px 16px;
}
.anim-glcomp__option {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 10px; max-width: 130px;
}
.anim-glcomp__icon-wrap {
  width: 64px; height: 64px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; position: relative;
}
.anim-glcomp__icon-wrap svg { width: 26px; height: 26px; }
.anim-glcomp__option--depot .anim-glcomp__icon-wrap {
  background: rgba(27,48,96,0.06); color: var(--navy);
  border: 2px solid rgba(27,48,96,0.15);
}
.anim-glcomp__option--assur .anim-glcomp__icon-wrap {
  background: rgba(181,146,76,0.08); color: var(--gold);
  border: 2px solid rgba(181,146,76,0.2);
  animation: breathe 3s ease-in-out infinite;
}
/* Lock pulse on depot */
.anim-glcomp__option--depot .anim-glcomp__icon-wrap::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(27,48,96,0.08);
  animation: glLockPulse 3s ease-in-out infinite;
}
@keyframes glLockPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0; }
}
/* Green glow on assurance */
.anim-glcomp__option--assur .anim-glcomp__icon-wrap::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(34,197,94,0.15);
  animation: glFreePulse 3s ease-in-out infinite;
}
@keyframes glFreePulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.2); opacity: 0; }
}
.anim-glcomp__label {
  font-family: var(--font-serif); font-size: 0.95rem; font-weight: 600;
  text-align: center;
}
.anim-glcomp__option--depot .anim-glcomp__label { color: var(--navy); }
.anim-glcomp__option--assur .anim-glcomp__label { color: var(--gold); }
.anim-glcomp__tag {
  font-size: 0.48rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 10px;
  text-align: center;
}
.anim-glcomp__option--depot .anim-glcomp__tag {
  color: #e06060; background: rgba(224,96,96,0.06);
}
.anim-glcomp__option--assur .anim-glcomp__tag {
  color: #22c55e; background: rgba(34,197,94,0.06);
}
/* VS separator */
.anim-glcomp__vs {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700;
  color: var(--navy); opacity: 0.15;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}

/* Card 2 : Cadre bail — 3 blocs mois + règles */
.anim-glrules {
  position: relative; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; padding: 24px 16px;
}
.anim-glrules__months {
  display: flex; gap: 10px;
}
.anim-glrules__month {
  width: 60px; height: 60px; border-radius: 12px; display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}
.is-visible .anim-glrules__month { opacity: 1; transform: translateY(0); }
.is-visible .anim-glrules__month:nth-child(2) { transition-delay: 0.15s; }
.is-visible .anim-glrules__month:nth-child(3) { transition-delay: 0.3s; }
.anim-glrules__month:nth-child(1) { background: linear-gradient(135deg, var(--navy), #2a4a80); }
.anim-glrules__month:nth-child(2) { background: linear-gradient(135deg, #3d5f96, #5a7aaa); }
.anim-glrules__month:nth-child(3) { background: linear-gradient(135deg, var(--gold), #d4b86a); }
.anim-glrules__month-num {
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700;
  color: #fff; line-height: 1;
}
.anim-glrules__month-label {
  font-size: 0.4rem; font-weight: 700; color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em; text-transform: uppercase;
}
/* Shimmer on blocks */
.anim-glrules__month::after {
  content: ''; position: absolute; inset: 0; border-radius: 12px;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
  background-size: 200% 200%;
  animation: cascoSweep 3s ease-in-out infinite;
}
.anim-glrules__month:nth-child(2)::after { animation-delay: 0.3s; }
.anim-glrules__month:nth-child(3)::after { animation-delay: 0.6s; }
.anim-glrules__month { position: relative; overflow: hidden; }
/* Max label */
.anim-glrules__max {
  font-size: 0.52rem; font-weight: 700; color: var(--navy); opacity: 0.4;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 12px; border-radius: 10px; background: rgba(27,48,96,0.03);
}
/* Rules list */
.anim-glrules__list {
  display: flex; flex-direction: column; gap: 6px; width: 85%;
}
.anim-glrules__item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.52rem; font-weight: 600; color: var(--navy); opacity: 0.55;
  letter-spacing: 0.03em;
}
.anim-glrules__dot {
  width: 6px; height: 6px; min-width: 6px; border-radius: 50%;
  background: var(--gold); animation: dotPulse 3s ease-in-out infinite;
}
.anim-glrules__item:nth-child(2) .anim-glrules__dot { animation-delay: 0.5s; }
.anim-glrules__item:nth-child(3) .anim-glrules__dot { animation-delay: 1s; }

/* ----------------------------------------------------------
   35g. ACCUEIL — 3 ÉTAPES MOTION DESIGN
   ---------------------------------------------------------- */
.steps-motion {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; margin-top: 48px;
}
.steps-motion__step {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; max-width: 220px; text-align: center;
}
.steps-motion__circle {
  position: relative; width: 90px; height: 90px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(181,146,76,0.3);
  transition: border-color 0.3s;
}
.steps-motion__circle--1 { animation: stepPulse 4s ease-in-out infinite; }
.steps-motion__circle--2 { animation: stepPulse 4s ease-in-out infinite 1.3s; }
.steps-motion__circle--3 { animation: stepPulse 4s ease-in-out infinite 2.6s; }
@keyframes stepPulse {
  0%, 100% { border-color: rgba(181,146,76,0.3); box-shadow: 0 0 0 0 rgba(181,146,76,0); }
  50% { border-color: var(--gold); box-shadow: 0 0 0 12px rgba(181,146,76,0); }
}
/* Number */
.steps-motion__num {
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700;
  color: var(--gold); z-index: 2;
}
/* Icon positioned top-right */
.steps-motion__icon {
  position: absolute; top: -4px; right: -4px; width: 28px; height: 28px;
  color: var(--gold); background: var(--navy); border-radius: 50%;
  padding: 4px; border: 1.5px solid rgba(181,146,76,0.3);
}
/* Animated ring */
.steps-motion__ring {
  position: absolute; inset: -8px; border-radius: 50%;
  border: 1.5px dashed rgba(181,146,76,0.12);
  animation: orbitSpin 12s linear infinite;
}
.steps-motion__circle--2 .steps-motion__ring { animation-direction: reverse; }
/* Title */
.steps-motion__title {
  font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600;
  color: var(--white);
}
/* Description */
.steps-motion__desc {
  font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6;
}
/* Connector */
.steps-motion__connector {
  width: 80px; min-width: 60px; display: flex; align-items: center;
  padding-top: 36px;
}
.steps-motion__connector svg { width: 100%; height: 8px; }
.steps-motion__dash {
  stroke: rgba(181,146,76,0.2); stroke-width: 2;
  stroke-dasharray: 8 6; stroke-linecap: round;
  animation: flowDash 3s linear infinite;
}
@media (max-width: 700px) {
  .steps-motion { flex-direction: column; align-items: center; gap: 24px; }
  .steps-motion__connector { width: 8px; height: 40px; min-width: auto; padding-top: 0; }
  .steps-motion__connector svg { width: 8px; height: 100%; }
  .steps-motion__dash { x1: 4; y1: 0; x2: 4; y2: 40; }
}

/* ----------------------------------------------------------
   36. IMMOBILIER — BLUEPRINT FINANCIER (hub + spokes)
   ---------------------------------------------------------- */
.immo-bp {
  background: linear-gradient(160deg, #0e1e3d 0%, var(--navy) 40%, #162b54 100%);
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative; overflow: hidden;
}
/* Grille de fond blueprint */
.immo-bp::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(181,146,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181,146,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: bpGridDrift 20s linear infinite;
}
@keyframes bpGridDrift {
  to { background-position: 60px 60px; }
}
/* Particules flottantes */
.immo-bp__particles {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.immo-bp__particle {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: rgba(181,146,76,0.35);
  animation: bpFloat linear infinite;
}
@keyframes bpFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-600px) scale(0.3); opacity: 0; }
}

.immo-bp__inner {
  max-width: 1000px; margin: 0 auto; position: relative; z-index: 1;
  padding: 0 24px;
}

/* ── 3 types de biens ── */
.immo-types {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 780px; margin: 0 auto 56px;
}
.immo-types__card {
  background: var(--white); border-radius: 12px;
  padding: 32px 24px; text-align: center;
  border: 1px solid rgba(27,48,96,0.08);
  box-shadow: 0 4px 20px rgba(27,48,96,0.05);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.immo-types__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27,48,96,0.1);
}
.immo-types__icon {
  color: var(--gold); margin-bottom: 14px;
}
.immo-types__title {
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600;
  color: var(--navy); margin-bottom: 8px;
}
.immo-types__desc {
  font-size: 0.72rem; color: rgba(27,48,96,0.5); line-height: 1.6;
}
@media (max-width: 600px) {
  .immo-types { grid-template-columns: 1fr; max-width: 320px; }
}

/* ── Hub central ── */
.immo-hub {
  position: relative; width: 100%; display: flex; justify-content: center;
  align-items: center; min-height: 520px;
}

/* SVG lignes de connexion */
.immo-hub__lines {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.immo-hub__spoke {
  stroke: rgba(181,146,76,0.25); stroke-width: 1.5;
  stroke-dasharray: 8 6; stroke-dashoffset: 0;
  animation: bpSpokeFlow 3s linear infinite;
}
@keyframes bpSpokeFlow { to { stroke-dashoffset: -28; } }

/* Cercle central */
.immo-hub__center {
  position: relative; width: 160px; height: 160px; flex-shrink: 0;
}
.immo-hub__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(181,146,76,0.3);
  animation: breathe 4s ease-in-out infinite;
}
.immo-hub__ring--outer {
  inset: -20px; border-color: rgba(181,146,76,0.1);
  animation-delay: 0.5s;
}
.immo-hub__ring--inner {
  inset: 12px; border-color: rgba(181,146,76,0.15);
  animation-delay: 1s;
}
.immo-hub__core {
  position: absolute; inset: 0; border-radius: 50;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle, rgba(181,146,76,0.12) 0%, transparent 70%);
}
.immo-hub__icon {
  width: 56px; height: 56px; color: var(--gold);
}
.immo-hub__icon svg { width: 100%; height: 100%; }
.immo-hub__label {
  font-family: var(--font-sans); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  margin-top: 8px; opacity: 0.7;
}
/* Radar sweep */
.immo-hub__radar {
  position: absolute; inset: -20px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(181,146,76,0.08) 40deg, transparent 80deg);
  animation: orbitSpin 6s linear infinite;
}

/* ── Nodes (6 cartes) ── */
.immo-node {
  position: absolute; opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
  transform: scale(0.85);
}
.is-visible .immo-node { opacity: 1; transform: scale(1); }

.immo-node__card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(181,146,76,0.15);
  border-radius: 12px; padding: 20px 22px;
  width: 200px; position: relative; overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.immo-node__card:hover {
  border-color: rgba(181,146,76,0.4);
  box-shadow: 0 0 30px rgba(181,146,76,0.08);
}
/* Shimmer top border */
.immo-node__card::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: shimmer 4s ease-in-out infinite;
}
.immo-node__val {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
  color: var(--gold); line-height: 1.2; margin-bottom: 4px;
}
.immo-node__title {
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}
.immo-node__desc {
  font-family: var(--font-sans); font-size: 0.68rem; color: rgba(255,255,255,0.4);
  line-height: 1.6;
}
/* Dot on card edge toward center */
.immo-node__dot {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 12px rgba(181,146,76,0.5);
}
.immo-node__dot--right { top: 50%; right: -5px; transform: translateY(-50%); }
.immo-node__dot--left  { top: 50%; left: -5px; transform: translateY(-50%); }
.immo-node__dot--bottom { bottom: -5px; left: 50%; transform: translateX(-50%); }
.immo-node__dot--top    { top: -5px; left: 50%; transform: translateX(-50%); }
.is-visible .immo-node__dot { animation: dotPulse 2.5s ease infinite; }

/* Stagger reveal */
.is-visible .immo-node:nth-child(1) { transition-delay: 0.3s; }
.is-visible .immo-node:nth-child(2) { transition-delay: 0.6s; }
.is-visible .immo-node:nth-child(3) { transition-delay: 0.9s; }
.is-visible .immo-node:nth-child(4) { transition-delay: 1.2s; }
.is-visible .immo-node:nth-child(5) { transition-delay: 1.5s; }
.is-visible .immo-node:nth-child(6) { transition-delay: 1.8s; }

/* Shimmer delays per card */
.immo-node:nth-child(2) .immo-node__card::before { animation-delay: 0.6s; }
.immo-node:nth-child(3) .immo-node__card::before { animation-delay: 1.2s; }
.immo-node:nth-child(4) .immo-node__card::before { animation-delay: 1.8s; }
.immo-node:nth-child(5) .immo-node__card::before { animation-delay: 2.4s; }
.immo-node:nth-child(6) .immo-node__card::before { animation-delay: 3.0s; }

/* ── Barre financement ── */
.immo-bp__bar {
  max-width: 680px; margin: 80px auto 0; position: relative; z-index: 1;
}
.immo-bp__bar-title {
  font-family: var(--font-sans); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(181,146,76,0.5); text-align: center; margin-bottom: 16px;
}
.immo-bp__bar-track {
  height: 32px; border-radius: 16px; display: flex; overflow: hidden;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(181,146,76,0.1);
}
.immo-bp__bar-seg {
  height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; color: white; letter-spacing: 0.05em;
  width: 0%; transition: width 1.8s var(--ease-out);
}
.immo-bp__bar-seg--fp { background: linear-gradient(135deg, #c9a84c, var(--gold)); border-radius: 16px 0 0 16px; }
.immo-bp__bar-seg--r2 { background: linear-gradient(135deg, var(--navy), #2a4a7f); }
.immo-bp__bar-seg--r1 { background: linear-gradient(135deg, #3d6298, #5a82b8); border-radius: 0 16px 16px 0; }
.is-visible .immo-bp__bar-seg--fp { width: 20%; transition-delay: 2.2s; }
.is-visible .immo-bp__bar-seg--r2 { width: 15%; transition-delay: 2.5s; }
.is-visible .immo-bp__bar-seg--r1 { width: 65%; transition-delay: 2.8s; }

.immo-bp__bar-labels {
  display: flex; justify-content: space-between; margin-top: 12px;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.05em;
}
.immo-bp__bar-label { opacity: 0; transition: opacity 0.5s ease; }
.immo-bp__bar-label--gold { color: var(--gold); }
.immo-bp__bar-label--navy { color: rgba(255,255,255,0.5); }
.immo-bp__bar-label--blue { color: #5a82b8; }
.is-visible .immo-bp__bar-label { opacity: 1; }
.is-visible .immo-bp__bar-label:nth-child(1) { transition-delay: 2.6s; }
.is-visible .immo-bp__bar-label:nth-child(2) { transition-delay: 2.9s; }
.is-visible .immo-bp__bar-label:nth-child(3) { transition-delay: 3.2s; }

/* ── Node positioning (desktop) ── */
/* Top row: 3 nodes */
.immo-node--tl { top: 0; left: 0; }
.immo-node--tc { top: -20px; left: 50%; transform: translateX(-50%) scale(0.85); }
.is-visible .immo-node--tc { transform: translateX(-50%) scale(1); }
.immo-node--tr { top: 0; right: 0; }
/* Bottom row: 3 nodes */
.immo-node--bl { bottom: 0; left: 0; }
.immo-node--bc { bottom: -20px; left: 50%; transform: translateX(-50%) scale(0.85); }
.is-visible .immo-node--bc { transform: translateX(-50%) scale(1); }
.immo-node--br { bottom: 0; right: 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .immo-hub { flex-direction: column; min-height: auto; gap: 24px; padding: 20px 0; }
  .immo-hub__lines { display: none; }
  .immo-hub__center { width: 120px; height: 120px; }
  .immo-hub__ring--outer { inset: -14px; }
  .immo-hub__ring--inner { inset: 8px; }
  .immo-hub__icon { width: 40px; height: 40px; }
  .immo-node { position: relative !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; transform: none !important; }
  .immo-node__card { width: 100%; }
  .immo-node__dot { display: none; }
  .immo-hub { display: grid; grid-template-columns: 1fr; gap: 16px; justify-items: center; }
  .immo-hub__center { order: -1; }
}

/* ----------------------------------------------------------
   37. RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 1100px) {
  :root { --section-pad: 80px; }

  .stats__inner          { grid-template-columns: repeat(2, 1fr); }
  .stat                  { border-bottom: 1px solid rgba(27,48,96,0.08); }
  .stat:nth-child(2)     { border-right: none; }
  .cards-grid            { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid          { grid-template-columns: repeat(2, 1fr); }
  .footer__top           { grid-template-columns: 1fr 1fr; gap: 40px; }
  .testimonials-grid     { grid-template-columns: repeat(2, 1fr); }
  .tool-layout           { grid-template-columns: 1fr; }
  .tool-results          { position: static; }
  .explain-grid          { grid-template-columns: 1fr; gap: 40px; }
  .checklist-grid        { grid-template-columns: repeat(2, 1fr); }
  .hero-stats            { gap: 32px; flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .approach-teaser__grid { grid-template-columns: 1fr; gap: 48px; }
  .approach-teaser__visual { display: none; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-info-side { padding: calc(var(--nav-h) + 40px) 40px 40px; }
  .contact-form-side { padding: 40px; }
  .atouts-grid { grid-template-columns: 1fr; }
  .bureaux-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-table { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root {
    --section-pad: 64px;
    --nav-h: 60px;
  }

  .container { padding: 0 20px; }

  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stat { padding: 36px 20px; }

  .cards-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .checklist-grid { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .hero__actions { flex-direction: column; align-items: center; }
  .hero__scroll { display: none; }
  .hero__crystal { display: none; }
  .hero-stats { flex-direction: column; gap: 20px; }

  .flow-steps { flex-direction: column; gap: 16px; }
  .flow-arrow { transform: rotate(90deg); margin: 0; }

  .schema-flow { flex-direction: column; }
  .schema-flow__arrow { transform: rotate(90deg); }

  /* Global hub mobile */
  .global-hub {
    width: 320px;
    height: 320px;
  }
  .global-hub__node-icon { width: 42px; height: 42px; }
  .global-hub__node-icon svg { width: 16px; height: 16px; }
  .global-hub__node-label { font-size: 0.5rem; }
  .global-hub__core-inner { width: 56px; height: 56px; font-size: 1.3rem; }
  .global-hub__core-pulse { width: 56px; height: 56px; }
  .global-hub__orbit--1 { inset: 40px; }
  .global-hub__orbit--2 { inset: 20px; }
  .global-hub__node--0 { left: 50%;   top: 8.3%;  }
  .global-hub__node--1 { left: 82.5%; top: 24%;   right: auto; }
  .global-hub__node--2 { left: 90.6%; top: 59.2%; right: auto; }
  .global-hub__node--3 { left: 68.1%; top: 87.5%; bottom: auto; }
  .global-hub__node--4 { left: 31.9%; top: 87.5%; bottom: auto; }
  .global-hub__node--5 { left: 9.4%;  top: 59.2%; }
  .global-hub__node--6 { left: 17.5%; top: 24%;   }
  .services-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Prevent horizontal scroll on mobile */
  html, body { overflow-x: hidden; }

  /* Approche motion mobile — vertical flow */
  .approche-motion {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 30px 20px 20px;
  }
  .approche-motion__sources {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 12px;
  }
  .approche-motion__src {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
  }
  .approche-motion__src-icon { width: 36px; height: 36px; }
  .approche-motion__src-icon svg { width: 18px; height: 18px; }
  .approche-motion__flow { display: none; }
  .approche-motion__hub {
    width: 120px;
    height: 120px;
    margin: 10px 0;
  }
  .approche-motion__hub-ring--outer { width: 120px; height: 120px; }
  .approche-motion__hub-ring--inner { width: 94px; height: 94px; top: 13px; left: 13px; }
  .approche-motion__hub-core { width: 68px; height: 68px; top: 26px; left: 26px; font-size: 1.8rem; }
  .approche-motion__hub-label { bottom: -24px; font-size: 0.65rem; white-space: nowrap; }
  .approche-motion__hub-pulse { width: 140px; height: 140px; top: -10px; left: -10px; }
  .approche-motion__result { width: auto; align-items: center; }
  .approche-motion__result-icon { width: 48px; height: 48px; }
  .approche-motion__result-icon svg { width: 24px; height: 24px; }
  .approche-motion__result-label { font-size: 0.85rem; }
  .approche-motion__result-tags { flex-direction: row; gap: 8px; }
  .approche-motion__tag { font-size: 0.6rem; }

  /* Steps motion — compact on mobile */
  .steps-motion { gap: 12px; margin-top: 24px; }
  .steps-motion__step { gap: 10px; max-width: 100%; }
  .steps-motion__circle { width: 70px; height: 70px; }
  .steps-motion__num { font-size: 1.4rem; }
  .steps-motion__icon { width: 22px; height: 22px; top: -2px; right: -2px; }
  .steps-motion__ring { inset: -6px; }
  .steps-motion__title { font-size: 1rem; }
  .steps-motion__desc { font-size: 0.78rem; }
  .steps-motion__connector { height: 28px; }

  /* Reduce section padding on mobile */
  .section { padding: 48px 0; }
  .section--navy, .section--cream { padding: 48px 0; }

  /* Bureaux — 1 column on phone */
  .bureaux-grid { grid-template-columns: 1fr; }

  /* Tool radio group — stack on mobile */
  .tool-radio-group { flex-direction: column; }
  .tool-radio { font-size: 0.75rem; padding: 10px 12px; }

  /* Tool results — prevent overflow */
  .result-item__value { font-size: 0.85rem; word-break: break-word; }
  .result-item--highlight .result-item__value { font-size: 1rem; }

  /* Data tables — horizontal scroll */
  .data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data-table { min-width: 500px; }

  /* Page hero stats on sub-pages */
  .hero-stats { gap: 16px; }
  .hero-stat__value { font-size: 1.3rem; }
  .hero-stat__label { font-size: 0.65rem; }

  /* Contact page */
  .contact-info-side { padding: calc(var(--nav-h) + 24px) 20px 24px; }
  .contact-form-side { padding: 24px 20px; }
  .contact-tabs__btn { font-size: 0.75rem; padding: 12px 16px; }

  /* Section headers tighter */
  .section__header h2, .tool-header h2 { font-size: clamp(1.4rem, 5vw, 2rem); }

  /* CTA final */
  .cta-final h2 { font-size: clamp(1.2rem, 4.5vw, 1.6rem); }

  /* Ticker smaller */
  .ticker__item { font-size: 0.75rem; padding: 0 20px; }

  /* Page hero — tighter */
  .page-hero { padding: 100px 0 48px; }
  .page-hero__content h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .page-hero__content p { font-size: 0.85rem; }

  /* Invest motion cards visual smaller */
  .invest-motion__visual { height: 220px; }

  /* Value display input — smaller on mobile */
  .value-display__input { width: 90px; font-size: 0.95rem; }

  /* Checklist diagnostic */
  .diagnostic-results { padding: 20px 16px; }
  .diagnostic-item { font-size: 0.78rem; padding: 10px 12px; }

  /* Steps motion */
  .steps-motion__step { width: 100%; }
  .steps-motion__circle { width: 90px; height: 90px; }
  .steps-motion__num { font-size: 1.8rem; }

  /* Assurance cards — anim smaller */
  .anim-lamal { padding: 16px 8px; }
  .anim-casco { padding: 16px 8px; }
  .anim-casco__tier { font-size: 0.55rem; height: 38px; }
  .anim-juridique__scale { width: 220px; height: 200px; }
  .anim-juridique__beam { width: 190px; }

  /* RC2 split card */
  .anim-rc2 { padding: 16px 8px 12px; }
  .anim-rc2__label { font-size: 0.58rem; }
  .anim-rc2__desc { font-size: 0.52rem; }
  .anim-rc2__icon { width: 38px; height: 38px; }
  .anim-rc2__icon svg { width: 18px; height: 18px; }
  .anim-rc2__shield { width: 34px; height: 34px; }
  .anim-rc2__badge { font-size: 0.42rem; }

  /* Immo blueprint hub — hide on tiny screens, show list */
  .immo-hub { min-height: auto; }
  .immo-node__card { width: 100%; }

  /* Credit / garantie motion grids */
  .credit-motion { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------
   37b. VERY SMALL SCREENS (< 400px)
   ---------------------------------------------------------- */
@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .page-hero__content h1 { font-size: 1.6rem; }
  .section__header h2, .tool-header h2 { font-size: 1.3rem; }
  .global-hub { width: 280px; height: 280px; }
  .global-hub__node-label { font-size: 0.45rem; }
  .global-hub__core-inner { width: 48px; height: 48px; font-size: 1.1rem; }
  .services-row { grid-template-columns: 1fr; }
  .invest-motion__visual { height: 200px; }
  .hero-stat { text-align: center; }
  .contact-tabs { gap: 0; }
  .contact-tabs__btn { font-size: 0.7rem; padding: 10px 12px; }
  .tool-select, .tool-input { font-size: 0.8rem; }
  .btn-gold { font-size: 0.8rem; padding: 14px 24px; }
  .anim-juridique__scale { width: 190px; height: 180px; }
  .anim-juridique__beam { width: 160px; }
  .anim-juridique__plate { width: 60px; }
  .anim-juridique__dish { width: 56px; }
}

/* ----------------------------------------------------------
   35. PAGE-SPECIFIC ACTIVE NAV
   ---------------------------------------------------------- */
body.page-accueil     .nav-accueil,
body.page-immobilier  .nav-immobilier,
body.page-investissement .nav-investissement,
body.page-prevoyance  .nav-prevoyance,
body.page-fiscalite   .nav-fiscalite,
body.page-assurance   .nav-assurance,
body.page-entreprise  .nav-entreprise,
body.page-credit      .nav-credit,
body.page-garantie    .nav-garantie,
body.page-contact     .nav-contact {
  color: var(--gold);
}

body.page-accueil     .nav-accueil::after,
body.page-immobilier  .nav-immobilier::after,
body.page-investissement .nav-investissement::after,
body.page-prevoyance  .nav-prevoyance::after,
body.page-fiscalite   .nav-fiscalite::after,
body.page-assurance   .nav-assurance::after,
body.page-entreprise  .nav-entreprise::after,
body.page-credit      .nav-credit::after,
body.page-garantie    .nav-garantie::after,
body.page-contact     .nav-contact::after {
  width: 100%;
}
