/* ═══════════════════════════════════════════════════════════════
   ÉTIENNE & BERNARD CÔTÉ — iA GROUPE FINANCIER
   Shared stylesheet — editorial premium financial services
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --navy: #0a2540;
  --navy-deep: #061a30;
  --navy-light: #1a3a5c;
  --gold: #b8935a;
  --gold-light: #d4b876;
  --gold-soft: rgba(184, 147, 90, 0.12);
  --cream: #faf7f2;
  --cream-warm: #f5efe5;
  --white: #ffffff;
  --ink: #0f1419;
  --ink-soft: #3a3f47;
  --muted: #6b7280;
  --line: #e8e2d5;
  --line-soft: #f0ebe0;

  --serif: 'Fraunces', 'Crimson Text', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  --max-w: 1280px;
  --shadow-xs: 0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 24px 64px rgba(10, 37, 64, 0.12);
  --shadow-gold: 0 12px 40px rgba(184, 147, 90, 0.22);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.2s var(--ease);
  --t: 0.35s var(--ease);
  --t-slow: 0.6s var(--ease);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* ─── TYPOGRAPHY ─── */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
.display em { font-style: italic; color: var(--gold); font-weight: 400; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* Force block-level when placed above animated/inline titles — prevents
   eyebrow from floating beside .section-title.anim-words on the same line. */
.section-head > .eyebrow,
.wheel-section-head > .eyebrow,
.wealth-grid > .reveal > .eyebrow,
.wealth-grid > div > .eyebrow {
  display: flex;
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 247, 242, 0.96);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
  transition: opacity var(--t-fast);
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.nav-logo:hover { opacity: 0.8; }
.nav-ia {
  display: none; /* Hidden in nav — shown in footer partners */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.005em;
  transition: color var(--t-fast);
  position: relative;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}

.btn-nav {
  background: var(--navy);
  color: var(--white) !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.btn-nav:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.2);
}

/* mobile menu */
.nav-toggle { display: none; width: 24px; height: 24px; color: var(--navy); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: all var(--t);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-primary svg { transition: transform var(--t); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: #a67f48;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ─── LAYOUT ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
section { overflow: hidden; position: relative; }

.section-head {
  max-width: 720px;
  margin-bottom: 72px;
}
.section-head .eyebrow { margin-bottom: 24px; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 580px;
}

/* ═══════════════════════════════════════════════════════════════
   KORA-STYLE SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* ─── BASE REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1),
    transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal-left { transform: translateX(-50px); opacity: 0; }
.reveal-left.in-view { transform: translateX(0); opacity: 1; }
.reveal-right { transform: translateX(50px); opacity: 0; }
.reveal-right.in-view { transform: translateX(0); opacity: 1; }
.reveal-scale { transform: scale(0.92); opacity: 0; }
.reveal-scale.in-view { transform: scale(1); opacity: 1; }

/* ─── WORD STAGGER (Kora signature for headings) ─── */
.anim-words {
  display: inline;
}
.anim-words .word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.anim-words .word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.anim-words.in-view .word { transform: translateY(0); }

/* ─── LINE MASK REVEAL ─── */
.anim-line {
  display: block;
  overflow: hidden;
}
.anim-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-line.in-view > span { transform: translateY(0); }

/* ─── CLIP PATH REVEAL (text emerging) ─── */
.anim-clip {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.3s cubic-bezier(0.77, 0, 0.18, 1);
}
.anim-clip.in-view { clip-path: inset(0 0 0 0); }

/* ─── IMAGE REVEAL WITH OVERLAY SWEEP ─── */
.img-reveal {
  position: relative;
  overflow: hidden;
}
.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform: scaleX(1);
  transform-origin: right center;
  transition: transform 1.3s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 3;
  pointer-events: none;
}
.img-reveal.in-view::after { transform: scaleX(0); }
.img-reveal img {
  transform: scale(1.2);
  filter: saturate(0.8);
  transition:
    transform 1.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.img-reveal.in-view img {
  transform: scale(1);
  filter: saturate(1);
}

/* Dark variant for dark bg sections */
.img-reveal.on-dark::after { background: var(--navy); }

/* ─── PARALLAX (applied via JS) ─── */
[data-parallax] {
  will-change: transform;
}

/* ─── SECTIONS WITH FIXED PARALLAX FEEL ─── */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* ─── STICKY SECTION HEADERS ─── */
.sticky-section {
  position: relative;
}
.sticky-section .sticky-inner {
  position: sticky;
  top: 140px;
}

/* ─── MARQUEE ─── */
.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent 0, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 10%, black 90%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marqueeScroll 40s linear infinite;
  white-space: nowrap;
  padding-right: 3rem;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── DELAYS ─── */
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.4s; }

/* ─── LINK UNDERLINE GROW ─── */
.link-underline {
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}
.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Reduce motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .anim-words .word, .anim-line > span, .anim-clip,
  .img-reveal::after, .img-reveal img {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    clip-path: none !important;
  }
}

/* ─── HERO HOMEPAGE ─── */
.hero {
  min-height: 100vh;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg canvas {
  position: absolute;
  top: 50%; right: -10%;
  transform: translateY(-50%);
  width: 680px; height: 680px;
  opacity: 0.95;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,37,64,0.04) 1px, transparent 1px);
  background-size: 80px 100%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content .eyebrow { margin-bottom: 32px; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--navy);
  margin-bottom: 28px;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: heroLineUp 0.9s var(--ease-out) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.15s; }
.hero-title .line:nth-child(2) { animation-delay: 0.3s; }
.hero-title .line:nth-child(3) { animation-delay: 0.45s; }

@keyframes heroLineUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
  opacity: 0;
  animation: heroLineUp 0.9s var(--ease-out) 0.6s forwards;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroLineUp 0.9s var(--ease-out) 0.75s forwards;
}
.hero-meta {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroLineUp 0.9s var(--ease-out) 0.9s forwards;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta-value {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 500;
}

/* hero right visual */
.hero-visual {
  position: relative;
  height: 540px;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease-out) 0.7s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* ─── SPHERE 3D CONTAINER ─── */
.sphere-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.sphere-canvas { width: 100%; height: 100%; }

/* ─── EXPERTISE WHEEL (HOMEPAGE) ─── */
.wheel-section {
  padding: 140px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}
.wheel-section-head {
  text-align: center;
  margin-bottom: 80px;
}
.wheel-section-head .eyebrow {
  justify-content: center;
}
.wheel-section-head .eyebrow::before,
.wheel-section-head .eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.wheel-section-head .eyebrow { gap: 12px; }
.wheel-section-head .section-title { margin: 0 auto 20px; }
.wheel-section-head .section-sub { margin: 0 auto; }

/* Toggle */
.wheel-toggle {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  margin: 40px auto 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}
.wheel-toggle-btn {
  padding: 12px 28px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color var(--t);
  position: relative;
  z-index: 1;
  letter-spacing: 0.005em;
}
.wheel-toggle-btn.active { color: var(--white); }
.wheel-toggle-slider {
  position: absolute;
  top: 5px;
  bottom: 5px;
  background: var(--navy);
  border-radius: 999px;
  transition: all 0.45s var(--ease-out);
  z-index: 0;
}

/* Wheel */
.wheel-wrap {
  position: relative;
  width: min(640px, 92vw);
  aspect-ratio: 1;
  margin: 80px auto 0;
}
.wheel-svg {
  width: 100%;
  height: 100%;
  transition: transform 0.9s var(--ease-out);
}
.wheel-svg.rotating {
  transform: rotate(45deg);
}

/* Segment base */
.wheel-segment {
  fill: var(--white);
  stroke: var(--line);
  stroke-width: 1;
  transition: fill 0.35s var(--ease), stroke 0.35s var(--ease);
  cursor: pointer;
}
.wheel-segment:hover {
  fill: var(--cream-warm);
}
.wheel-segment.active {
  fill: var(--navy);
  stroke: var(--navy);
}
.wheel-segment-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  fill: var(--ink);
  letter-spacing: 0.005em;
  pointer-events: none;
  transition: fill 0.35s var(--ease);
  text-anchor: middle;
}
.wheel-segment.active + .wheel-segment-label,
g:has(.wheel-segment.active) .wheel-segment-label {
  fill: var(--white);
}
.wheel-segment-icon {
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

/* Center of wheel */
.wheel-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 26%;
  aspect-ratio: 1;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--white);
  box-shadow: 0 20px 60px rgba(10, 37, 64, 0.25);
  z-index: 3;
  transition: transform 0.6s var(--ease-out);
}
.wheel-center::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.4;
}
.wheel-center::after {
  content: '';
  position: absolute;
  inset: -20px;
  border: 1px dashed rgba(184, 147, 90, 0.25);
  border-radius: 50%;
  animation: wheelCenterSpin 40s linear infinite;
}
@keyframes wheelCenterSpin {
  to { transform: rotate(360deg); }
}
.wheel-center-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.wheel-center-text {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Info panel (appears below or beside wheel) */
.wheel-info {
  margin-top: 48px;
  min-height: 180px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.wheel-info::before {
  content: '';
  position: absolute;
  top: -1px; left: 40px; right: 40px;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--t);
}
.wheel-info.has-content::before { opacity: 1; }

.wheel-info-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.wheel-info-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.wheel-info-desc {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}
.wheel-info-advisor {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

.wheel-info-empty {
  color: var(--muted);
  font-style: italic;
  padding: 30px;
}

/* ─── ADVISOR CARDS SECTION ─── */
.advisors-section {
  padding: 140px 0;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.advisors-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(184,147,90,0.08), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(184,147,90,0.05), transparent 50%);
  pointer-events: none;
}
.advisors-section .eyebrow { color: var(--gold-light); }
.advisors-section .eyebrow::before { background: var(--gold-light); }
.advisors-section .section-title { color: var(--white); }
.advisors-section .section-title em { color: var(--gold-light); }
.advisors-section .section-sub { color: rgba(255,255,255,0.75); }

.advisors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
  position: relative;
}
.advisor-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  transition: all var(--t);
  backdrop-filter: blur(10px);
}
.advisor-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.advisor-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--navy-deep);
}
.advisor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s var(--ease-out);
  filter: saturate(0.95);
}
.advisor-card:hover .advisor-photo img { transform: scale(1.04); }
.advisor-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 37, 64, 0.6) 100%);
}

.advisor-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.advisor-body {
  padding: 36px 36px 40px;
}
.advisor-name {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.advisor-role {
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.advisor-summary {
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
}
.advisor-points {
  list-style: none;
  margin-bottom: 32px;
}
.advisor-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.advisor-points li:last-child { border-bottom: none; }
.advisor-points li svg {
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 4px;
}

.advisor-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--gold);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: all var(--t);
}
.advisor-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.advisor-cta svg { transition: transform var(--t); }
.advisor-cta:hover svg { transform: translateX(4px); }

/* ─── PHILOSOPHY SECTION ─── */
.philosophy {
  padding: 140px 0;
  background: var(--cream);
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 96px;
  align-items: center;
}
.philosophy-quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--navy);
  position: relative;
  padding-left: 40px;
}
.philosophy-quote::before {
  content: '"';
  position: absolute;
  left: 0; top: -10px;
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  font-family: var(--serif);
}
.philosophy-quote em { font-style: italic; color: var(--gold); }

.philosophy-principles {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.philosophy-principles li {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
}
.philosophy-principles li:last-child { border-bottom: none; }
.principle-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 400;
}
.principle-body h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.principle-body p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ─── WEALTH GRAPH SECTION ─── */
.wealth-section {
  padding: 140px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.wealth-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 96px;
  align-items: center;
}
.wealth-graph-wrap {
  background: var(--cream);
  border-radius: 4px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  border: 1px solid var(--line);
}
.wealth-graph-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy));
  background-size: 200% 100%;
  animation: gradientShift 8s linear infinite;
}
@keyframes gradientShift {
  to { background-position: 200% 0; }
}
.wealth-graph {
  width: 100%;
  height: 380px;
}
.wealth-graph-legend {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.wealth-graph-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wealth-graph-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ─── CTA BAND ─── */
.cta-band {
  padding: 120px 0;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(184,147,90,0.15), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(184,147,90,0.08), transparent 50%);
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-band .eyebrow { color: var(--gold-light); justify-content: center; margin-bottom: 24px; }
.cta-band .eyebrow::before,
.cta-band .eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold-light);
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--white);
}
.cta-band h2 em { font-style: italic; color: var(--gold-light); }
.cta-band p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .btn-primary {
  background: var(--gold);
}
.cta-band .btn-primary:hover {
  background: var(--gold-light);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-img {
  display: inline-block;
  margin-bottom: 14px;
  transition: opacity var(--t-fast);
}
.footer-logo-img img {
  height: 54px;
  width: auto;
  display: block;
}
.footer-logo-img:hover { opacity: 0.8; }
.footer-brand-sub {
  font-size: 0.78rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-brand p {
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 320px;
}
.footer-socials {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-socials-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.footer-socials-links {
  display: flex;
  gap: 10px;
}
.footer-socials-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--t), border-color var(--t), background var(--t), transform var(--t);
}
.footer-socials-links a:hover {
  color: var(--navy-deep);
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.footer-partners {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-partners-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.footer-partners-logos {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.96);
  padding: 14px 18px;
  border-radius: 6px;
  max-width: 340px;
}
.footer-partners-logos img {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.footer-partners-logos img:first-child { height: 32px; }
.footer-partners p {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  margin-top: 10px;
  max-width: 340px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  transition: color var(--t-fast);
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ═══════════════════════════════════════════════════════════════
   ADVISOR PAGES (Étienne & Bernard)
   ═══════════════════════════════════════════════════════════════ */

.advisor-hero {
  padding: 160px 0 100px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.advisor-hero.bernard {
  background: var(--cream-warm);
}
.advisor-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.advisor-hero-photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}
.advisor-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.advisor-hero-photo::before {
  content: '';
  position: absolute;
  top: 24px; left: 24px;
  padding: 8px 14px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  border-radius: 999px;
}
.advisor-hero.etienne .advisor-hero-photo::before { content: 'Particuliers & Familles'; }
.advisor-hero.bernard .advisor-hero-photo::before { content: 'Entreprises & Collectif'; }

.advisor-hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--navy);
  margin-bottom: 24px;
}
.advisor-hero-title em { font-style: italic; color: var(--gold); }
.advisor-hero-role {
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  font-weight: 500;
}
.advisor-hero-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 36px;
}
.advisor-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Services detail grid */
.services-detail {
  padding: 140px 0;
  background: var(--white);
}
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.service-card {
  background: var(--white);
  padding: 40px 32px;
  transition: background var(--t);
  cursor: default;
  position: relative;
}
.service-card:hover {
  background: var(--cream);
}
.service-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
  transition: all var(--t);
}
.service-card:hover .service-icon {
  background: var(--gold);
  color: var(--white);
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* Process timeline */
.process {
  padding: 140px 0;
  background: var(--cream);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 72px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 28px; right: 28px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px);
  opacity: 0.4;
}
.process-step {
  position: relative;
}
.process-num {
  width: 56px; height: 56px;
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.process-step h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* Quote pull */
.pull-quote {
  padding: 140px 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pull-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(184,147,90,0.1), transparent 60%);
}
.pull-quote-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.pull-quote-mark {
  font-family: var(--serif);
  font-size: 6rem;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: 24px;
  font-style: italic;
}
.pull-quote p {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 32px;
}
.pull-quote p em { font-style: italic; color: var(--gold-light); }
.pull-quote-attr {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */

.contact-hero {
  padding: 180px 0 80px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.contact-hero-inner {
  max-width: 820px;
}
.contact-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--navy);
  margin-bottom: 24px;
}
.contact-hero h1 em { font-style: italic; color: var(--gold); }
.contact-hero p {
  font-size: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 620px;
}

.contact-main {
  padding: 100px 0 140px;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 48px 40px;
  position: relative;
  transition: all var(--t);
}
.contact-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.contact-card-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
}
.contact-card h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.contact-card-role {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--ink);
}
.contact-details svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-details a {
  color: var(--navy);
  transition: color var(--t-fast);
}
.contact-details a:hover { color: var(--gold); }

.contact-office {
  padding: 120px 0 140px;
  background: var(--cream-warm);
  border-top: 1px solid var(--line);
}
.contact-office-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.contact-office-info h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.contact-office-info h2 em { font-style: italic; color: var(--gold); }
.contact-office-info p {
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 32px;
}
.contact-office-address {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.contact-office-address strong {
  display: block;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 500;
}
.contact-office-address span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-map {
  aspect-ratio: 4/3;
  background: var(--navy);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) contrast(1.05);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { height: 400px; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 56px; }
  .wealth-grid { grid-template-columns: 1fr; gap: 48px; }
  .advisor-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-office-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .advisors-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .nav { padding: 16px 24px; }
  .nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-ia { display: none; }
  .container { padding: 0 24px; }
  .hero { padding: 100px 0 60px; }
  .hero-meta { gap: 24px; }
  .advisor-hero { padding: 120px 0 60px; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .wheel-toggle { flex-wrap: wrap; }
  .section-head { margin-bottom: 48px; }
  .advisors-section,
  .philosophy,
  .wealth-section,
  .wheel-section,
  .services-detail,
  .process,
  .pull-quote,
  .cta-band,
  .contact-main,
  .contact-office { padding: 80px 0; }
  .hero-title { font-size: 2.4rem; }
  .philosophy-quote { font-size: 1.4rem; padding-left: 28px; }
  .philosophy-quote::before { font-size: 3rem; top: -5px; }
  .wealth-graph-wrap { padding: 28px; min-height: 380px; }
  .advisor-body { padding: 28px 24px 32px; }
}

/* ─── MOBILE NAV ─── */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--cream);
  z-index: 200;
  padding: 80px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  box-shadow: -20px 0 60px rgba(0,0,0,0.15);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  color: var(--navy);
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  transition: color var(--t);
  font-weight: 500;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
  z-index: 150;
  backdrop-filter: blur(4px);
}
.overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ─── UTILITIES ─── */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--muted); }

/* ═══════════════════════════════════════════════════════════════
   CAMILLE AI CHAT WIDGET
   ═══════════════════════════════════════════════════════════════ */

.camille-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  font-family: var(--sans);
}

/* Floating bubble */
.camille-bubble {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(10, 37, 64, 0.35), 0 0 0 0 rgba(184, 147, 90, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
}
.camille-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 50px rgba(10, 37, 64, 0.45), 0 0 0 8px rgba(184, 147, 90, 0.15);
}
.camille-bubble-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.camille-bubble-icon,
.camille-bubble-close {
  position: absolute;
  transition: opacity 0.3s, transform 0.3s;
}
.camille-bubble-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}
.camille-widget.open .camille-bubble-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}
.camille-widget.open .camille-bubble-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}
.camille-widget.open .camille-bubble-badge {
  opacity: 0;
  transform: scale(0);
}

/* Pulse ring */
.camille-bubble-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: camillePulse 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes camillePulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Badge */
.camille-bubble-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(184, 147, 90, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Panel */
.camille-panel {
  position: absolute;
  bottom: 82px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 560px;
  max-height: calc(100vh - 120px);
  background: var(--white);
  border-radius: 16px;
  box-shadow:
    0 40px 80px rgba(10, 37, 64, 0.25),
    0 10px 30px rgba(10, 37, 64, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--line);
}
.camille-widget.open .camille-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header */
.camille-header {
  padding: 18px 16px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.camille-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(184,147,90,0.2), transparent 60%);
  pointer-events: none;
}
.camille-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
  border: 2px solid rgba(255,255,255,0.2);
}
.camille-header-info {
  flex: 1;
  position: relative;
  z-index: 1;
}
.camille-header-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.camille-header-status {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.camille-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
  animation: camilleDot 2s ease-in-out infinite;
}
@keyframes camilleDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.camille-header-close {
  color: rgba(255,255,255,0.7);
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  position: relative;
  z-index: 1;
}
.camille-header-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* Messages */
.camille-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.camille-messages::-webkit-scrollbar { width: 4px; }
.camille-messages::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

.camille-message {
  display: flex;
  max-width: 85%;
  opacity: 0;
  transform: translateY(8px);
  animation: camilleMsgIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes camilleMsgIn {
  to { opacity: 1; transform: translateY(0); }
}
.camille-message-bot { align-self: flex-start; }
.camille-message-user { align-self: flex-end; }

.camille-message-bubble {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.55;
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.06);
}
.camille-message-bot .camille-message-bubble {
  background: var(--white);
  color: var(--ink);
  border-top-left-radius: 4px;
  border: 1px solid var(--line);
}
.camille-message-user .camille-message-bubble {
  background: var(--navy);
  color: var(--white);
  border-top-right-radius: 4px;
}

.camille-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding: 0 4px;
}
.camille-quick-reply {
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--gold);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s;
}
.camille-quick-reply:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(184, 147, 90, 0.25);
}

/* Typing indicator */
.camille-typing {
  padding: 10px 16px;
  background: var(--cream);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--muted);
}
.camille-typing-dots {
  display: flex;
  gap: 4px;
}
.camille-typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: camilleTyping 1.4s infinite ease-in-out;
}
.camille-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.camille-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes camilleTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Input */
.camille-input-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.camille-input {
  flex: 1;
  padding: 12px 16px;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.camille-input:focus {
  border-color: var(--gold);
  background: var(--white);
}
.camille-send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  flex-shrink: 0;
}
.camille-send:hover {
  background: var(--gold-light);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(184, 147, 90, 0.3);
}
.camille-send svg { transform: translate(-1px, 1px); }

/* Footer */
.camille-footer {
  padding: 8px 16px;
  background: var(--cream);
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
}
.camille-footer strong { color: var(--navy); font-weight: 500; }
.camille-footer a { color: var(--gold); font-weight: 500; }
.camille-footer a:hover { text-decoration: underline; }

/* Mobile */
@media (max-width: 480px) {
  .camille-widget { bottom: 16px; right: 16px; }
  .camille-panel {
    width: calc(100vw - 32px);
    height: calc(100vh - 120px);
    bottom: 76px;
  }
  .camille-bubble { width: 58px; height: 58px; }
}
