/* Prestige layer: editorial typography, ivory surfaces, midnight navy and a restrained gold accent.
   Loaded after themes.css. Theme selectors only (no :root palette) so every theme keeps its colors. */

:root {
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-soft: 0 26px 60px -34px rgba(1, 14, 36, .42);
  --shadow-lift: 0 38px 80px -36px rgba(1, 14, 36, .55);
  --midnight: #021534;
  --shade-rgb: 2, 21, 52;
  --gold: #d2b173;
  --gold-ink: #7c5d25;
  --glass: rgba(2, 21, 52, .5);
  --glass-line: rgba(255, 255, 255, .15);
  --glass-hover: rgba(255, 255, 255, .07);
  --start-origin: left;
  /* Decorative accent (buttons, rules, hover fills) and its text colour; gold except in the brand theme. */
  --deco: var(--gold);
  --deco-ink: var(--midnight);
  --deco-hover: color-mix(in srgb, var(--gold) 78%, #fff);
  --tint: color-mix(in srgb, var(--gold) 24%, transparent);
}
[dir="rtl"] { --start-origin: right; }
/* Brand theme, from the firm's style guide: Pantone 2767C and 541U blues, 1955C and 1935C reds, grey 20/20/20/70.
   Red lacks contrast as text on navy, so accents on dark surfaces use a light blue tint and red stays decorative. */
[data-theme="bleu"] {
  --ink: #04245d; --navy: #04245d; --navy-light: #09467f;
  --midnight: #04245d; --shade-rgb: 4, 36, 93;
  --gold: #bcd6f2; --gold-ink: #af2e4c;
  --deco: #ce1e3e; --deco-ink: #fff; --deco-hover: #af2e4c; --tint: color-mix(in srgb, #09467f 16%, transparent);
  --copper: var(--gold); --copper-dark: var(--gold-ink);
  --paper: #fafaf8; --panel: #eef1f5; --panel-soft: #f5f7fa; --line: #dfe3ea; --muted: #58575a;
  --header-bg: #04245d; --header-muted: #d3dcea; --topbar-bg: #031b47; --footer-bg: #031b47; --on-dark-muted: #c9d5e6;
  --hero-rgb: 4, 36, 93; --hero-em: var(--gold); --hero-muted: #d3dcea;
  --action-bg: var(--navy); --action-ink: #fff; --action-hover: var(--navy-light);
  --glass: rgba(4, 36, 93, .55);
}
[data-theme="signature"] {
  --midnight: #0b1c23; --shade-rgb: 11, 28, 35; --gold: #d5aa82; --gold-ink: #865733;
  --glass: rgba(11, 28, 35, .55);
}
[data-theme="ivoire"] {
  --midnight: #173451; --shade-rgb: 23, 52, 81; --gold: #e5c99f; --gold-ink: #7a5532;
  --glass: rgba(255, 253, 248, .76); --glass-line: rgba(23, 52, 81, .16); --glass-hover: rgba(23, 52, 81, .06);
}
[data-theme="foret"] {
  --midnight: #0f2b25; --shade-rgb: 15, 43, 37; --gold: #cdddac; --gold-ink: #3f684a;
  --glass: rgba(15, 43, 37, .55);
}

/* Foundations */
body { background: var(--paper); color: var(--ink); line-height: 1.75; }
h1, h2, h3 { font-weight: 400; }
h2 { font-size: clamp(2.5rem, 4.3vw, 4.15rem); line-height: 1.04; letter-spacing: -0.048em; }
h3 { letter-spacing: -0.03em; }
em { letter-spacing: -0.02em; }
h1, h2 { text-wrap: balance; }
h2 em { color: var(--gold-ink); }
::selection { background: var(--gold); color: var(--midnight); }
.section { padding: 136px 0; }
.eyebrow { font-size: .6875rem; letter-spacing: .26em; color: var(--gold-ink); margin-bottom: 28px; }
p.eyebrow { display: flex; align-items: center; gap: 16px; }
p.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; flex: none; }
.hero p.eyebrow::before { content: none; }
.approach-intro p.eyebrow { justify-content: center; }

/* Buttons and links */
.button {
  min-height: 60px; padding: 18px 30px; gap: 28px;
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.button::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .3) 50%, transparent 65%);
  transform: translateX(-110%); transition: transform .9s var(--ease);
}
.button:hover::after { transform: translateX(110%); }
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.button span { font-size: 1.05rem; letter-spacing: 0; transition: transform .35s var(--ease); }
.button:hover span, .text-link:hover span { transform: translate(3px, -3px); }
.button-dark { background: var(--navy); color: #fff; }
.button-dark:hover { background: var(--navy-light); }
:is(.hero, .page-hero, .business-feature, .journey-intro) :is(.button-copper, .button-dark) { background: var(--deco); border-color: var(--deco); color: var(--deco-ink); }
:is(.hero, .page-hero, .business-feature, .journey-intro) :is(.button-copper, .button-dark):hover { background: var(--deco-hover); border-color: var(--deco-hover); }
[data-theme="ivoire"] .hero .button-copper { background: var(--action-bg); border-color: var(--action-bg); color: var(--action-ink); }
[data-theme="ivoire"] .hero .button-copper:hover { background: var(--action-hover); }
.button-outline { border-color: color-mix(in srgb, currentColor 42%, transparent); }
.button-outline:hover { background: var(--deco); border-color: var(--deco); color: var(--deco-ink); }
.text-link { border-bottom-color: color-mix(in srgb, currentColor 55%, transparent); gap: 18px; transition: color .3s, border-color .3s; }
.text-link span { transition: transform .35s var(--ease); }
.text-link:hover { color: var(--gold-ink); border-color: var(--gold-ink); }
:is(.final-cta, .business-feature, .page-hero) .text-link:hover { color: var(--gold); border-color: var(--gold); }

/* Top bar and header */
.topbar { font-size: .72rem; letter-spacing: .05em; border-bottom: 1px solid color-mix(in srgb, var(--header-ink) 8%, transparent); }
.topbar-divider { color: var(--deco); }
.site-header { position: sticky; top: 0; z-index: 30; height: 92px; border-bottom: 1px solid color-mix(in srgb, var(--header-ink) 9%, transparent); }
.brand-symbol { box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 70%, transparent), 0 0 0 5px color-mix(in srgb, var(--gold) 14%, transparent); }
.brand-name strong { letter-spacing: .24em; }
.site-header nav { gap: 36px; letter-spacing: .03em; }
.site-header nav a { transition: color .3s; }
.site-header nav a:hover { color: var(--header-ink); }
.site-header nav a::after { background: var(--deco); bottom: 2px; transition: width .35s var(--ease); }
.header-cta {
  padding: 14px 22px; border-color: color-mix(in srgb, var(--deco) 80%, transparent); color: var(--header-ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.header-cta:hover { background: var(--deco); border-color: var(--deco); color: var(--deco-ink); }
.language-picker select { border-color: color-mix(in srgb, var(--header-ink) 26%, transparent); }

/* Home hero */
.hero { display: flex; min-height: clamp(720px, calc(100svh - 136px), 920px); background: rgb(var(--hero-rgb)); isolation: isolate; }
.hero-image { opacity: 1; object-position: 50% 60%; transform-origin: 72% 62%; }
.hero::after, [dir="rtl"] .hero::after {
  background:
    linear-gradient(var(--hero-angle, 90deg), rgba(var(--hero-rgb), .97) 0%, rgba(var(--hero-rgb), .84) 30%, rgba(var(--hero-rgb), .42) 62%, rgba(var(--hero-rgb), .1) 100%),
    linear-gradient(0deg, rgba(var(--hero-rgb), .95) 0%, rgba(var(--hero-rgb), .42) 30%, transparent 58%),
    radial-gradient(90% 70% at 85% 8%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 60%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content { z-index: 2; display: flex; flex-direction: column; padding-top: 104px; padding-bottom: 56px; }
.hero .eyebrow { letter-spacing: .3em; margin-bottom: 34px; }
.hero .eyebrow-line { width: 44px; margin-inline-end: 0; }
.hero h1 { font-size: clamp(3.3rem, 7.4vw, 7.6rem); line-height: .98; letter-spacing: -0.058em; max-width: none; }
.hero h1 em { letter-spacing: -0.035em; padding-inline-end: .06em; }
.hero-description { font-size: 1.0625rem; line-height: 1.8; max-width: 470px; margin: 36px 0 44px; }
.hero-actions { gap: 36px; margin-bottom: 72px; }
.hero-secondary { font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; transition: color .3s; }
.hero-secondary:hover { color: var(--hero-em); }
.hero-location { top: 112px; bottom: auto; border-color: var(--glass-line); }
.hero-services {
  margin-top: auto; display: grid; grid-template-columns: auto minmax(0, 1fr);
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15);
}
.hero-services-label {
  display: flex; align-items: center; padding: 0 30px; white-space: nowrap;
  font-size: .6875rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--hero-em); border-inline-end: 1px solid var(--glass-line);
}
.hero-services ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hero-services li + li { border-inline-start: 1px solid var(--glass-line); }
.hero-services a {
  position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 22px 24px;
  color: var(--hero-ink); font-size: .875rem; font-weight: 500; line-height: 1.35; transition: background .35s var(--ease);
}
.hero-services a::after {
  content: ""; position: absolute; inset-inline: 22px; bottom: -1px; height: 2px; background: var(--hero-em);
  transform: scaleX(0); transform-origin: var(--start-origin); transition: transform .45s var(--ease);
}
.hero-services a:hover { background: var(--glass-hover); }
.hero-services a:hover::after, .hero-services a:focus-visible::after { transform: scaleX(1); }
.hero-services-number { font-family: Playfair, Georgia, serif; font-style: italic; font-size: 1.05rem; line-height: 1; color: var(--hero-em); }

/* Commitments strip */
.trust-strip { background: var(--paper); }
.trust-strip .container { min-height: 148px; }
.trust-strip .container > div { gap: 20px; padding: 0 34px; font-size: .875rem; line-height: 1.6; }
.trust-strip svg { width: 48px; height: 48px; padding: 11px; border: 1px solid color-mix(in srgb, var(--gold-ink) 40%, transparent); border-radius: 50%; color: var(--gold-ink); }
.trust-strip strong { font-weight: 700; }
.trust-strip .trust-last > span { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.trust-last a { margin-top: 6px; font-size: .9rem; text-decoration-color: var(--gold-ink); }

/* Section headings and expertise */
.section-heading { align-items: flex-end; gap: 72px; margin-bottom: 64px; }
.section-heading > p { max-width: 380px; font-size: 1rem; line-height: 1.8; padding-inline-start: 28px; border-inline-start: 1px solid color-mix(in srgb, var(--gold-ink) 45%, transparent); }
.expertise-tabs { gap: 48px; margin: 0 0 44px; }
.expertise-tabs button { padding: 16px 0 18px; font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; transition: color .3s, border-color .3s; }
.expertise-tabs button:hover { color: var(--ink); }
.expertise-tabs button[aria-selected="true"] { border-color: var(--gold-ink); }
.service-cards { grid-template-columns: 1.15fr 1fr 1fr; grid-auto-rows: 300px; gap: 20px; }
.service-card, .service-card:nth-child(n + 4) { grid-column: auto; position: relative; overflow: hidden; isolation: isolate; background: var(--midnight); }
.service-card:first-child { grid-row: span 2; }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border: 1px solid transparent; transition: border-color .45s var(--ease); }
.service-card:hover::after, .service-card:focus-visible::after { border-color: color-mix(in srgb, var(--deco) 70%, transparent); }
.service-image { position: absolute; inset: 0; height: auto; background: var(--midnight); }
.service-image img { filter: saturate(.9) contrast(1.04); transition: transform 1.4s var(--ease); }
.service-card:hover .service-image img { transform: scale(1.07); }
.service-image::after { background: linear-gradient(180deg, rgba(var(--shade-rgb), .55) 0%, rgba(var(--shade-rgb), .06) 30%, rgba(var(--shade-rgb), .5) 60%, rgba(var(--shade-rgb), .94) 100%); }
.service-number { z-index: 2; top: 26px; inset-inline-start: 30px; font-family: Playfair, Georgia, serif; font-style: italic; font-size: 1.2rem; letter-spacing: 0; color: var(--gold); text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.service-arrow {
  z-index: 2; top: 22px; bottom: auto; inset-inline-end: 22px; width: 50px; height: 50px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .42); color: #fff; font-size: 1.15rem;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .45s var(--ease);
}
.service-card:hover .service-arrow, .service-card:focus-visible .service-arrow { background: var(--deco); border-color: var(--deco); color: var(--deco-ink); transform: rotate(45deg); }
.service-text { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 0 30px 30px; }
.service-text h3 { color: #fff; font-size: 1.6rem; margin-bottom: 12px; }
.service-text h3::after { content: ""; display: block; width: 36px; height: 1px; margin-top: 16px; background: var(--deco); transition: width .5s var(--ease); }
.service-card:hover .service-text h3::after { width: 72px; }
.service-text p { color: rgba(255, 255, 255, .82); font-size: .9rem; line-height: 1.65; max-width: 34ch; }
.service-card:nth-child(3) .service-image img { object-position: center 6%; }
.service-card:first-child .service-text { padding: 0 44px 44px; }
.service-card:first-child .service-text h3 { font-size: clamp(2.2rem, 3vw, 3rem); }
.service-card:first-child .service-text p { font-size: 1rem; }
.business-feature { grid-template-columns: 1.05fr 1fr; gap: 0; min-height: 560px; background: var(--midnight); overflow: hidden; }
.business-feature > img { height: 100%; max-height: none; filter: saturate(.9) contrast(1.04); }
.business-feature > div { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 72px 64px; }
.business-feature .eyebrow, .business-feature h3 em { color: var(--gold); }
.business-feature h3 { color: #fff; font-size: clamp(2.2rem, 3.3vw, 3.3rem); line-height: 1.06; letter-spacing: -0.045em; margin-bottom: 24px; }
.business-feature p:not(.eyebrow) { color: var(--on-dark-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 36px; }
.business-feature .text-link { color: #fff; margin-top: 24px; }

/* Roadmap teaser */
.journey-teaser { background: var(--panel); padding: 128px 0; }
.journey-teaser > .container { gap: 100px; }
.journey-teaser-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.8; margin: 28px 0 40px; }
.journey-teaser-copy .button { background: var(--navy); color: #fff; }
.journey-teaser-copy .button:hover { background: var(--navy-light); }
.journey-teaser-card {
  transform: none; background: #fff; padding: 44px 44px 36px;
  border: 1px solid var(--line); border-top: 2px solid var(--gold-ink);
  box-shadow: 24px 24px 0 -1px var(--tint), var(--shadow-soft);
}
[dir="rtl"] .journey-teaser-card { box-shadow: -24px 24px 0 -1px var(--tint), var(--shadow-soft); }
.journey-teaser-card li { padding: 26px 0; border-color: var(--line); }
.journey-teaser-card li > span:first-child { min-width: 30px; padding-top: 0; font-family: Playfair, Georgia, serif; font-style: italic; font-size: 1.35rem; line-height: 1.2; color: var(--gold-ink); }
.journey-teaser-card li > span:last-child { color: var(--gold-ink); transition: transform .35s var(--ease); }
.journey-teaser-card li:hover > span:last-child { transform: translate(3px, -3px); }
.journey-teaser-card strong { font-size: 1.1rem; }
.journey-teaser-card li p { font-size: .85rem; }
.journey-teaser-foot { border-color: var(--line); font-family: Playfair, Georgia, serif; font-style: italic; font-size: 1.05rem; letter-spacing: 0; color: var(--gold-ink); }

/* Method */
.approach { position: relative; overflow: hidden; overflow: clip; isolation: isolate; background: var(--midnight); }
.approach::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 45% at 50% 0%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 72%), radial-gradient(45% 55% at 100% 100%, color-mix(in srgb, var(--navy-light) 45%, transparent), transparent 70%);
}
.approach h2 { color: #fff; }
.approach .eyebrow, .approach h2 em, .steps article > span { color: var(--gold); }
.approach-intro > p:last-child { font-size: 1.05rem; margin-top: 30px; }
.steps { gap: 0; margin-top: 96px; border-top: 1px solid color-mix(in srgb, var(--deco) 70%, transparent); }
.steps article { border-top: 0; padding: 52px 48px 0; border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.steps article:first-child { border-inline-start: 0; padding-inline-start: 0; }
.steps article:last-child { padding-inline-end: 0; }
.steps article > span { display: block; font-size: 4.4rem; line-height: .9; }
.steps h3 { color: #fff; font-size: 1.6rem; margin: 34px 0 16px; }
.steps p { font-size: .95rem; line-height: 1.8; }

/* Firm */
.cabinet { background: var(--paper); }
.cabinet-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 120px; }
.portrait-block { background: var(--panel); padding: 64px 56px 44px; max-width: 420px; margin-inline-start: 36px; }
.portrait-frame { position: relative; width: min(220px, 100%); height: auto; aspect-ratio: 2 / 3; margin-inline: auto; overflow: visible; background: transparent; }
.portrait-frame::before { content: ""; position: absolute; inset-block: -16px 16px; inset-inline: 16px -16px; border: 1px solid color-mix(in srgb, var(--gold-ink) 55%, transparent); }
.portrait-frame img { position: relative; object-position: center 20%; box-shadow: var(--shadow-lift); }
.portrait-caption { align-items: center; text-align: center; padding-top: 36px; gap: 8px; }
.portrait-caption strong { font-family: Playfair, Georgia, serif; font-style: italic; font-weight: 500; font-size: 1.75rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.portrait-caption span { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
/* Vertical text: logical insets would follow its own writing mode, so physical sides are used. */
.portrait-note { inset: 64px auto auto -36px; letter-spacing: .24em; color: var(--gold-ink); }
[dir="rtl"] .portrait-note { inset: 64px -36px auto auto; }
.cabinet-copy > p:not(.eyebrow) { max-width: 560px; margin-top: 26px; font-size: 1rem; line-height: 1.85; }
.cabinet-copy > .text-link { margin-top: 36px; }

/* Assistant */
.assistant-band { position: relative; overflow: hidden; overflow: clip; isolation: isolate; padding: 60px 0; background: linear-gradient(105deg, var(--navy) 0%, var(--navy-light) 100%); }
.assistant-band::after { content: ""; position: absolute; inset-block: -40%; inset-inline-end: -8%; width: 50%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 20%, transparent), transparent); }
.assistant-band .container { gap: 36px; }
.assistant-emblem { width: 72px; height: 72px; box-shadow: 0 0 0 1px var(--deco), 0 0 0 9px color-mix(in srgb, var(--deco) 18%, transparent); }
.assistant-band .eyebrow { color: var(--gold); }
.assistant-band h2 { font-size: 2rem; letter-spacing: -0.035em; }
.assistant-band p:not(.eyebrow) { font-size: .95rem; }

/* Questions */
.questions { background: var(--paper); }
.faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 110px; }
.faq-grid h2 { font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: 1.06; }
.faq-list summary { gap: 24px; padding: 28px 0; font-size: 1.02rem; color: var(--ink); transition: color .3s; }
.faq-list summary:hover { color: var(--navy-light); }
.faq-number { width: 28px; font-family: Playfair, Georgia, serif; font-style: italic; font-size: 1.05rem; color: var(--gold-ink); }
.faq-plus {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%;
  font-size: 1.15rem; line-height: 1; transition: transform .35s var(--ease), background .35s, border-color .35s, color .35s;
}
.faq-list summary:hover .faq-plus { border-color: var(--gold-ink); }
.faq-list details[open] .faq-plus { background: var(--navy); border-color: var(--navy); color: #fff; }
.faq-list details > p { padding: 0; padding-inline: 52px 62px; padding-bottom: 30px; font-size: .95rem; line-height: 1.8; }

/* Closing call to action */
.final-cta { position: relative; overflow: hidden; overflow: clip; isolation: isolate; padding: 140px 0; background: var(--midnight); }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/assets/montreal.webp") center 62% / cover no-repeat; opacity: .32; }
.final-cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(var(--hero-angle, 90deg), rgba(var(--shade-rgb), .97) 0%, rgba(var(--shade-rgb), .85) 45%, rgba(var(--shade-rgb), .62) 100%), radial-gradient(50% 80% at 90% 50%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 70%);
}
.final-cta .eyebrow, .final-cta h2 em { color: var(--gold); }
.final-cta h2 { color: #fff; font-size: clamp(2.6rem, 4.8vw, 4.8rem); line-height: 1.02; }
.final-cta p:not(.eyebrow) { color: var(--on-dark-muted); font-size: 1.05rem; }
.final-cta .button { min-width: 320px; background: var(--deco); border-color: var(--deco); color: var(--deco-ink); }
.final-cta .button:hover { background: var(--deco-hover); border-color: var(--deco-hover); }
.final-cta .text-link { color: var(--on-dark-muted); font-size: .8rem; }

/* Footer */
.site-footer { position: relative; padding-top: 88px; }
.site-footer::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--deco) 70%, transparent), transparent); }
.footer-grid { gap: 56px; padding-bottom: 72px; }
.footer-grid > div:first-child > p { margin-top: 28px; font-family: Playfair, Georgia, serif; font-style: italic; font-size: 1.25rem; line-height: 1.6; color: var(--on-dark-muted); }
.footer-grid h2 { margin-bottom: 26px; color: var(--gold); font-size: .6875rem; letter-spacing: .24em; text-transform: uppercase; }
.footer-grid > div > a:not(.brand) { margin-bottom: 12px; font-size: .85rem; color: color-mix(in srgb, #fff 82%, transparent); transition: color .3s; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid .footer-phone { font-size: 1.5rem !important; letter-spacing: -0.02em; color: #fff; }
.footer-bottom { border-color: rgba(255, 255, 255, .1); }

/* Inner page heroes */
.page-hero { position: relative; overflow: hidden; overflow: clip; isolation: isolate; padding: 88px 0 120px; background: var(--midnight); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/assets/montreal.webp") 70% 58% / cover no-repeat; opacity: .2; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(var(--hero-angle, 90deg), rgba(var(--shade-rgb), .98) 25%, rgba(var(--shade-rgb), .8) 70%, rgba(var(--shade-rgb), .62)), radial-gradient(60% 80% at 92% 0%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%);
}
.page-hero .eyebrow { margin-top: 0; color: var(--gold); }
.page-hero h1 { font-size: clamp(3rem, 5.4vw, 5.6rem); line-height: 1.02; letter-spacing: -0.052em; }
.page-hero h1 em { color: var(--gold); }
.page-intro { max-width: 640px; margin: 32px 0 40px; font-size: 1.125rem; color: var(--on-dark-muted); }
.breadcrumb { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.breadcrumb a { transition: color .3s; }
.breadcrumb a:hover { color: var(--gold); }
.page-hero.compact { padding-bottom: 88px; }
.service-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 88px; align-items: center; }
.page-hero-visual { position: relative; margin: 0; aspect-ratio: 4 / 5; }
.page-hero-visual.is-landscape { aspect-ratio: 5 / 4; }
.page-hero-visual::before { content: ""; position: absolute; inset-block: -18px 18px; inset-inline: 18px -18px; border: 1px solid color-mix(in srgb, var(--deco) 55%, transparent); }
.page-hero-visual img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: saturate(.92) contrast(1.04); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7); }

/* Service detail */
.detail-cards { gap: 24px; margin-top: 8px; }
.detail-cards article { position: relative; padding: 44px 40px 48px; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.detail-cards article::before { content: ""; position: absolute; top: -1px; inset-inline: -1px; height: 2px; background: var(--gold-ink); transform: scaleX(.18); transform-origin: var(--start-origin); transition: transform .6s var(--ease); }
.detail-cards article:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.detail-cards article:hover::before { transform: scaleX(1); }
.detail-cards article > .eyebrow { display: block; margin: 0; font-family: Playfair, Georgia, serif; font-style: italic; font-weight: 500; font-size: 2.4rem; line-height: 1; letter-spacing: 0; color: var(--gold-ink); }
.detail-cards h3 { font-size: 1.6rem; margin: 30px 0 14px; }
.detail-cards p { font-size: .95rem; line-height: 1.8; }
.preparation { background: var(--panel); }
.preparation-grid { gap: 110px; }
.preparation ol { border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.preparation li { align-items: baseline; gap: 28px; padding: 28px 0; border-color: color-mix(in srgb, var(--ink) 14%, transparent); font-size: 1.05rem; color: var(--ink); }
.preparation li::before { min-width: 32px; padding-top: 0; font-family: Playfair, Georgia, serif; font-style: italic; font-size: 1.25rem; color: var(--gold-ink); }

/* Contact */
.orientation-card { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold-ink); box-shadow: var(--shadow-soft); padding: 48px 44px; }
.orientation-card select { border-color: var(--line); background-color: var(--paper); }
.contact-phone { font-size: 2rem; letter-spacing: -0.03em; }
.contact-card input:not([type="checkbox"]), .contact-card textarea { width: 100%; min-height: 54px; padding: 12px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: .9375rem; }
.contact-card textarea { min-height: 140px; line-height: 1.6; resize: vertical; }
.contact-card :is(input, select, textarea):focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 2px; }
.contact-card .contact-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; font-size: .85rem; font-weight: 400; line-height: 1.55; }
.contact-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); }
/* Hidden by clipping, not by offset: an off-screen offset scrolls in right-to-left pages. */
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.contact-status { margin-top: 16px; padding: 12px 14px; background: var(--panel-soft); border-inline-start: 3px solid var(--gold-ink); font-size: .9rem; color: var(--ink); }
.contact-status:empty { display: none; }
.contact-card label { display: block; margin: 18px 0 8px; font-size: .8125rem; font-weight: 700; }
.contact-mail { display: block; margin: 6px 0 12px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold-ink); text-underline-offset: 4px; }
/* Booking calendar: Calendly draws its own white card on a transparent page, so the section supplies the backdrop. */
.booking-section { background: var(--panel); }
.booking-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 95px; align-items: end; }
.booking-head h2 { margin: 0; }
.booking-head p:not(.eyebrow) { max-width: 520px; margin: 0; }
.booking-head p.small { margin-top: 14px; }
.booking-embed { container-type: inline-size; margin-top: 12px; }
.booking-frame { display: block; width: 100%; height: 1080px; border: 0; }
/* Calendly lays out two columns from 1000px wide; app.js then applies the exact height it reports. */
@container (min-width: 1000px) { .booking-frame { height: 660px; } }
.booking-fallback { margin-top: 4px; font-size: .875rem; text-align: center; color: var(--muted); }
.booking-fallback a { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold-ink); text-underline-offset: 4px; }
@media (max-width: 900px) { .booking-head { grid-template-columns: minmax(0, 1fr); } }
.autoevaluation-form, #autoevaluation-result { padding: 48px 44px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold-ink); box-shadow: var(--shadow-soft); }
.autoevaluation-form fieldset { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.autoevaluation-form legend { padding: 0; margin-bottom: 4px; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.form-spouse { margin: 8px 0 12px; padding: 18px 22px; background: var(--panel-soft); border: 1px solid var(--line); }
.form-spouse summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.form-spouse[open] summary { margin-bottom: 4px; }
#autoevaluation-result .button { margin-top: 20px; }
.service-covers { margin-top: 56px; padding: 36px 40px; background: var(--panel-soft); border: 1px solid var(--line); }
.service-covers ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.service-covers li { position: relative; padding-inline-start: 22px; font-size: .95rem; line-height: 1.55; color: var(--ink); }
.service-covers li::before { content: ""; position: absolute; top: .6em; inset-inline-start: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-ink); }
.footer-social { display: flex; flex-wrap: wrap; gap: 18px; }
/* Numéro de la consultante au Collège, sous la signature du pied de page ; il mène à sa fiche du registre public. */
.footer-licence { margin-top: 18px; font-size: .8125rem; letter-spacing: .02em; color: var(--on-dark-muted); }
.footer-grid .footer-licence a { display: inline; margin: 0; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* Mention discrète du prestataire, à la suite du copyright. */
.footer-credit { white-space: nowrap; }
.footer-credit::before { content: "·"; margin-inline: .6em; }
.footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover, .footer-credit a:focus-visible { color: #fff; }
.footer-grid > div:last-child > a:not(.footer-phone) { word-break: break-word; }

/* Journey page intro */
.journey-intro { position: relative; overflow: hidden; overflow: clip; isolation: isolate; background: var(--midnight); }
.journey-intro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 92% 0%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%); }
.journey-intro .eyebrow, .journey-intro h1 em { color: var(--gold); }

/* Assistant launcher */
.chat-launcher { background: var(--midnight); border-color: color-mix(in srgb, var(--deco) 70%, transparent); box-shadow: 0 18px 44px -18px rgba(1, 14, 36, .65); }
.chat-launcher svg { color: var(--gold); }

/* Scripts without letter case or with joined letters keep natural spacing and fonts. */
html:is([lang="ar"], [lang="hi"]) :is(.button, .header-cta, .hero-secondary, .hero-services-label, .expertise-tabs button, .trust-last > span, .portrait-caption span, .footer-grid h2, .breadcrumb, .portrait-note) { letter-spacing: normal; }
html:is([lang="ar"], [lang="hi"], [lang="zh-Hans"]) :is(.footer-grid > div:first-child > p, .portrait-caption strong, .journey-teaser-foot) { font-family: var(--font); font-style: normal; }
html[lang="zh-Hans"] :is(.footer-grid > div:first-child > p, .portrait-caption strong, .journey-teaser-foot) { font-family: Manrope, "PingFang SC", "Microsoft YaHei", sans-serif; }

/* Motion: entrance of the hero, scroll reveals and header depth, only where supported and wanted.
   Decorated sections use overflow: clip so they do not become the scroll source of these reveals. */
@media screen and (prefers-reduced-motion: no-preference) {
  /* A long, gently decelerating zoom-out with a slight drift: same pace, much longer life. */
  .hero-image { animation: prestige-drift 30s cubic-bezier(.22, .45, .35, 1) both; will-change: transform; backface-visibility: hidden; }
  .hero-content > :is(.eyebrow, h1, .hero-description, .hero-actions, .hero-services) { animation: prestige-rise 1.6s var(--ease) both; }
  .hero-content > h1 { animation-delay: .15s; }
  .hero-content > .hero-description { animation-delay: .35s; }
  .hero-content > .hero-actions { animation-delay: .55s; }
  .hero-content > .hero-services { animation-delay: .8s; }
  @supports (animation-timeline: view()) {
    :is(.section-heading, .expertise-tabs, .service-card, .business-feature, .journey-teaser-copy, .journey-teaser-card, .approach-intro, .steps article, .portrait-block, .cabinet-copy, .faq-grid > div, .final-cta > .container > div, .detail-cards article, .preparation-grid > *, .trust-strip .container > div) {
      animation: prestige-reveal both linear;
      animation-timeline: view();
      animation-range: entry 0% cover 24%;
    }
  }
  @supports (animation-timeline: scroll()) {
    .site-header { animation: prestige-header both linear; animation-timeline: scroll(root); animation-range: 0 180px; }
  }
}
@keyframes prestige-drift { from { transform: scale(1.2) translate(-2%, 1%); } to { transform: scale(1) translate(0, 0); } }
@keyframes prestige-rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: none; } }
@keyframes prestige-reveal { from { opacity: 0; translate: 0 44px; } to { opacity: 1; translate: none; } }
@keyframes prestige-header { to { box-shadow: 0 16px 40px -20px rgba(1, 10, 30, .6); } }

@media (max-width: 1150px) {
  .section { padding: 108px 0; }
  .site-header nav { gap: 24px; }
  .header-cta { padding: 12px 16px; }
  .hero-services { grid-template-columns: 1fr; }
  .hero-services-label { padding: 14px 22px; border-inline-end: 0; border-bottom: 1px solid var(--glass-line); }
  .hero-services ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-services li + li { border-inline-start: 0; }
  .hero-services li:not(:nth-child(3n + 1)) { border-inline-start: 1px solid var(--glass-line); }
  .hero-services li:nth-child(n + 4) { border-top: 1px solid var(--glass-line); }
  .trust-strip .container > div { padding: 0 20px; }
  .trust-strip svg { width: 42px; height: 42px; padding: 9px; }
  .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 280px; }
  .cabinet-grid { gap: 72px; }
  .faq-grid { gap: 64px; }
  .assistant-band h2 { font-size: 1.6rem; }
  .page-hero-grid { gap: 56px; }
  /* Icon-only launcher so it does not cover the hero navigation on tablets and phones. */
  .chat-launcher { width: 56px; min-height: 56px; padding: 0; border-radius: 50%; }
  .chat-launcher > span:not(.launcher-close) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 900px) {
  .site-header nav { gap: 16px; }
  .hero-location { display: none; }
  .business-feature { grid-template-columns: 1fr; min-height: 0; }
  .business-feature > img { height: 300px; }
  .business-feature > div { padding: 48px 36px 52px; }
  .journey-teaser > .container { gap: 56px; }
  .steps article { padding: 44px 28px 0; }
  .cabinet-grid { gap: 56px; }
  .faq-grid { grid-template-columns: 1fr; gap: 44px; }
  .final-cta .button { min-width: 0; }
  .footer-grid { gap: 40px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .page-hero-visual, .page-hero-visual.is-landscape { aspect-ratio: 16 / 10; max-width: 620px; }
  .preparation-grid { gap: 64px; }
  .orientation-card { padding: 36px 28px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 92px; }
  .section { padding: 84px 0; }
  .site-header { height: 76px; }
  .site-header nav { top: 76px; }
  .hero { min-height: 0; }
  .hero-content { padding-top: 60px; padding-bottom: 28px; }
  .hero h1 { font-size: clamp(2.9rem, 12.5vw, 4.4rem); line-height: 1.02; }
  .hero-description { font-size: 1rem; margin: 28px 0 34px; max-width: 34ch; }
  .hero-actions { gap: 22px; margin-bottom: 48px; }
  .hero-services ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-services li:not(:nth-child(3n + 1)) { border-inline-start: 0; }
  .hero-services li:nth-child(even) { border-inline-start: 1px solid var(--glass-line); }
  .hero-services li:nth-child(n + 3) { border-top: 1px solid var(--glass-line); }
  .hero-services a { padding: 16px 16px 18px; font-size: .8125rem; }
  .trust-strip .container { min-height: 0; }
  .trust-strip svg { width: 40px; height: 40px; padding: 9px; }
  .section-heading { margin-bottom: 40px; }
  .section-heading > p { max-width: none; margin-top: 24px; padding-inline-start: 0; border-inline-start: 0; font-size: .95rem; }
  .expertise-tabs { gap: 24px; margin: 0 0 28px; }
  .expertise-tabs button { max-width: 50%; padding: 12px 0 14px; font-size: .6875rem; letter-spacing: .1em; line-height: 1.6; }
  .service-cards { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 16px; }
  .service-card, .service-card:first-child { grid-row: auto; min-height: 380px; }
  .service-card:first-child { min-height: 460px; }
  .service-text, .service-card:first-child .service-text { padding: 0 24px 26px; }
  .service-card:first-child .service-text h3 { font-size: 2.1rem; }
  .business-feature > img { height: 240px; }
  .business-feature > div { padding: 40px 24px 44px; }
  .journey-teaser { padding: 84px 0; }
  .journey-teaser-card { padding: 32px 24px 26px; box-shadow: 12px 12px 0 -1px var(--tint), var(--shadow-soft); }
  [dir="rtl"] .journey-teaser-card { box-shadow: -12px 12px 0 -1px var(--tint), var(--shadow-soft); }
  .steps { margin-top: 48px; border-top: 0; }
  .steps article, .steps article:first-child, .steps article:last-child { position: static; padding: 32px 0 8px; border-inline-start: 0; border-top: 1px solid color-mix(in srgb, var(--deco) 32%, transparent); }
  .steps article > span { position: static; font-size: 3.2rem; }
  .steps h3 { margin: 22px 0 12px; }
  .cabinet-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .portrait-block { max-width: 340px; margin-inline: 24px 0; padding: 48px 24px 32px; }
  .portrait-note { left: -26px; }
  [dir="rtl"] .portrait-note { right: -26px; left: auto; }
  .assistant-band { padding: 48px 0; }
  .faq-list summary { gap: 14px; padding: 22px 0; font-size: .9375rem; }
  .faq-plus { width: 34px; height: 34px; }
  .faq-list details > p { padding-inline: 42px 0; padding-bottom: 24px; }
  .final-cta { padding: 96px 0; }
  .site-footer { padding-top: 64px; }
  .footer-grid { gap: 32px 24px; padding-bottom: 40px; }
  .page-hero { padding: 48px 0 72px; }
  .page-intro { font-size: 1rem; margin: 24px 0 32px; }
  .page-hero-visual::before { inset-block: -12px 12px; inset-inline: 12px -12px; }
  .detail-cards { gap: 16px; margin-top: 0; }
  .detail-cards article { padding: 34px 26px 38px; }
  .preparation-grid { gap: 36px; }
  .preparation li { padding: 22px 0; font-size: .95rem; gap: 20px; }
  .orientation-card { padding: 30px 22px; }
  .autoevaluation-form, #autoevaluation-result { padding: 30px 20px; }
  .form-grid, .service-covers ul { grid-template-columns: 1fr; }
  .service-covers { margin-top: 40px; padding: 26px 22px; }
  /* Hidden line breaks used to glue words together ("toutenotre"); they are kept on small screens. */
  .section-heading > p br, .cabinet h2 br:nth-child(2) { display: inline; }
}
@media print {
  .site-header { position: static; }
  .hero::before, .page-hero::before, .final-cta::before { display: none; }
  .hero-services { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Hero en 3D : la photo du couloir reste fixe pour que la scène 3D s’y cale ; la toile passe sous le voile et
   le titre, comme la photo. */
.hero-3d .hero-image { animation: none; transform: none; }
.hero-3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* La toile apparaît en fondu au premier rendu, sauf si le visiteur demande de réduire les animations. */
.hero-3d-canvas { opacity: 0; transition: opacity 1s ease; }
.hero-3d-canvas.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-3d-canvas { transition: none; } }
/* Avec le trio au premier plan, la mention « Montréal, Québec » chevaucherait les têtes et le drapeau. */
.hero .hero-location { display: none; }
/* Bouton pause de la scène 3D : discret, en haut du hero, au-dessus du voile ; deux barres, ou un triangle
   « lecture » une fois en pause. */
.hero-3d-pause { position: absolute; z-index: 3; top: 24px; inset-inline-end: 24px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; background: rgba(4, 36, 93, .45); color: #fff; cursor: pointer; backdrop-filter: blur(6px); }
.hero-3d-pause::before { content: ""; box-sizing: border-box; width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.hero-3d-pause[aria-pressed="true"]::before { width: 0; height: 0; margin-left: 3px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 12px solid currentColor; border-right: 0; }
.hero-3d-pause:hover { background: rgba(4, 36, 93, .7); }
.hero-3d-pause:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Image fixe du trio (mobile, tablette) : le cadrage se recentre sur eux, à droite de l'image. */
@media (max-width: 900px) { .hero-image { object-position: 72% 50%; } }
/* Arabe : le titre passe à droite ; l'image et la scène 3D s'inversent pour garder le trio de l'autre côté
   (le drapeau, symétrique, n'en souffre pas). La propriété scale s'ajoute au zoom d'ouverture sans le remplacer. */
[dir="rtl"] .hero-image, [dir="rtl"] .hero-3d-canvas { scale: -1 1; }
/* Langue des rencontres (espagnol, chinois, arabe, hindi) : une note sobre, près des formulaires et du calendrier. */
.language-note { margin: 18px 0; padding: 12px 14px; border-inline-start: 3px solid var(--gold-ink); background: var(--panel-soft); font-size: .9rem; line-height: 1.55; color: var(--ink); }
.booking-head .language-note { max-width: 520px; }
/* Politique de confidentialité : listes aérées et résumé « En bref » mis en valeur. */
.prose ul { margin: 16px 0; padding-inline-start: 22px; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--gold-ink); }
.prose p.small { font-size: .8125rem; }
/* Page Confidentialité : bouton pour refuser ou réactiver la mesure d’audience. */
.analytics-choice { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.prose .privacy-brief { padding: 18px 24px; padding-inline-start: 44px; border-inline-start: 3px solid var(--gold-ink); background: var(--panel-soft); }
