.brand-status-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 0.75rem; }
.brand-status-links a, a.brand-status-links, .brand-notice a { color: var(--brand-light); text-decoration: underline; }
.brand-connected { position: fixed; inset: 0; display: flex; background: var(--surface-app); color: var(--text-primary); font: var(--text-base)/1.5 var(--font-body); }
.brand-sidebar { position: relative; z-index: 5; height: 100%; flex-shrink: 0; }
.brand-connected-main { min-width: 0; flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; background: radial-gradient(ellipse at top left, var(--brand-film), transparent 45%) var(--surface-app); }
.brand-connected-body { max-width: 1240px; margin-inline: auto; padding: clamp(24px, 5vw, 52px) clamp(16px, 4vw, 48px) 120px; }
.brand-connected h1, .brand-status h1 { font-family: var(--font-display); letter-spacing: var(--tracking-display); }
.brand-connected h1 { font-size: clamp(var(--text-5xl), 6vw, var(--text-7xl)); line-height: 1.08; }
.brand-mobile-heading { position: sticky; inset-block-start: 0; z-index: 6; min-height: calc(60px + env(safe-area-inset-top)); display: flex; align-items: center; gap: 10px; padding: env(safe-area-inset-top) 16px 0; background: var(--glass-header-fill); backdrop-filter: var(--glass-header-filter); box-shadow: var(--glass-header-rim); font-weight: 600; }
.brand-mobile-heading img { width: 26px; filter: var(--mark-filter); }
.brand-mobile-sheet { position: fixed; inset: 0; z-index: 90; }
.brand-notice { display: flex; align-items: flex-start; gap: 12px; padding: 16px; margin-block: 16px; border-radius: var(--radius-lg); box-shadow: var(--glass-rim); background: var(--glass-surface-fill); }
.brand-notice > svg { flex: none; margin-top: 3px; color: var(--brand-light); }
.brand-notice[role=alert] > svg { color: var(--danger); }
.brand-command { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 6px 18px; border-radius: var(--radius-pill); background: var(--text-primary); color: var(--surface-app); font-weight: 700; }
.brand-command[disabled] { opacity: .55; }
.brand-command:focus-visible, .brand-connected a:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.brand-switch { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; color: var(--text-secondary); font-weight: 600; }
.brand-fields { display: grid; gap: 14px; }
.brand-fields label { display: grid; gap: 6px; }
.brand-address code { overflow-wrap: anywhere; }
.brand-address .brand-command { justify-self: start; }
.brand-fields input, .brand-fields textarea, .brand-fields select, .brand-switch select { max-width: 100%; min-height: 44px; padding: 8px 12px; border-radius: var(--radius-md); border: 1px solid var(--field-rim); background: var(--surface-base); color: var(--text-primary); font: inherit; }
.brand-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-block: 16px; }
.brand-notification-filters .brand-command[aria-pressed=false] { background: var(--surface-raised); color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--line-strong); }
.brand-notification-filters .brand-command[aria-pressed=true] { box-shadow: inset 0 0 0 2px var(--text-primary); }
.brand-notification-history { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding-inline: 12px; color: var(--text-primary); cursor: pointer; }
.brand-notification-history input { inline-size: 18px; block-size: 18px; margin: 0; accent-color: var(--text-primary); }
.brand-notification-history input:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 3px; }
.brand-panel-list { display: grid; gap: 1px; list-style: none; padding: 0; margin-block: 16px; border-radius: var(--radius-lg); overflow: hidden; background: var(--line); }
.brand-panel-list > li { background: var(--surface-base); padding: 16px; overflow-wrap: anywhere; }
.brand-panel-list h3 { margin-block: 0 8px; }

.brand-mobile-tabs { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; }
/* Native Pro dialogs own the viewport; sibling navigation must not cover their mobile footer. */
body:has(.brand-workspace .pro-dialog-shade) .brand-mobile-tabs { visibility: hidden; pointer-events: none; }
.brand-category { margin-top: 12px; }
.brand-category summary { cursor: pointer; font-weight: 600; }
.brand-category form { margin-top: 12px; }
.brand-fields .brand-category-option { display: flex; align-items: center; }
.brand-category-option input { min-height: 1em; }
.brand-finance-access { display: grid; gap: 8px; margin: 12px 0; padding: 0; border: 0; min-inline-size: 0; }
.brand-finance-access legend { padding: 0; margin-bottom: 8px; font-size: var(--text-md); font-weight: 700; }
.brand-ownership { margin-block: 24px; }

@media (max-width: 759px) {
  .brand-connected-body { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .brand-switch { flex-wrap: wrap; }
  .brand-switch select { min-width: 0; width: 100%; }
  .brand-team-member { grid-template-columns: 38px minmax(0, 1fr) 36px !important; }
  .brand-team-member > select { grid-column: 2 / 4; grid-row: 2; min-width: 0; width: 100%; min-height: 44px; }
  .brand-team-member > span:last-child { grid-column: 3; grid-row: 1; }
}

/* ── Écran d'état de l'espace Marque : carte centrée, ambiance de l'espace ───────────────────────── */
.brand-gate { position: fixed; inset: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(20px, 4vh, 36px); padding: clamp(20px, 6vh, 56px) 16px; background: radial-gradient(ellipse at top left, var(--brand-film), transparent 48%) var(--surface-app); color: var(--text-primary); font: var(--text-base)/1.55 var(--font-body); }
.brand-gate-card { width: min(100%, 520px); display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 5vw, 40px); border-radius: var(--radius-xl); background: var(--glass-surface-fill); box-shadow: var(--glass-rim), var(--shadow-floating); }
.brand-gate-mark { display: block; width: 34px; height: 34px; margin-bottom: 22px; filter: var(--mark-filter); }
.brand-gate-eyebrow { margin: 0 0 8px; font-size: var(--text-2xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-subtle); }
.brand-gate h1 { margin: 0; font-family: var(--font-display); font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl)); line-height: 1.1; letter-spacing: var(--tracking-display); text-wrap: balance; }
.brand-gate-lead { margin: 14px 0 0; max-width: 44ch; font-size: var(--text-md); color: var(--text-secondary); text-wrap: pretty; }
.brand-gate-lead[role=alert] { color: var(--text-primary); }
.brand-gate-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 26px; }
.brand-gate .brand-command { gap: 8px; text-decoration: none; }
.brand-gate-link { color: var(--brand-light); font-weight: 600; text-decoration: none; border-radius: var(--radius-xs); }
.brand-gate-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.brand-gate a:focus-visible, .brand-gate button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.brand-gate-orgs { list-style: none; width: 100%; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.brand-gate-orgs a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 16px; border-radius: var(--radius-lg); background: var(--surface-base); box-shadow: inset 0 0 0 1px var(--field-rim); color: var(--text-primary); font-weight: 600; text-decoration: none; transition: background var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard); }
.brand-gate-orgs a:hover { background: var(--surface-hover); }
.brand-gate-orgs a svg { color: var(--text-subtle); flex: none; }
.brand-gate-perks { list-style: none; width: min(100%, 520px); margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.brand-gate-perks li { display: flex; align-items: flex-start; gap: 12px; }
.brand-gate-perk-icon { flex: none; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-md); background: var(--glass-surface-fill); box-shadow: var(--glass-rim); color: var(--brand-light); }
.brand-gate-perks li > span:last-child { display: grid; gap: 2px; min-width: 0; font-size: var(--text-sm); color: var(--text-secondary); }
.brand-gate-perks strong { color: var(--text-primary); font-size: var(--text-base); }
@media (max-width: 560px) {
  .brand-gate { justify-content: flex-start; }
  .brand-gate-perks { grid-template-columns: 1fr; }
  .brand-gate .brand-command { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .brand-gate-card, .brand-gate-perks { animation: brandGateIn .5s var(--ease-out) both; }
  .brand-gate-perks { animation-delay: .08s; }
}
@keyframes brandGateIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.brand-workspace { position: fixed; inset: 0; display: flex; background: var(--surface-sunken); }
.brand-workspace-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.brand-workspace-switch { padding: 12px clamp(16px, 3vw, 32px); }
.brand-workspace-switch .brand-switch { margin: 0; }
.brand-workspace-outlet { position: relative; flex: 1; min-height: 0; overflow: auto; }
.brand-workspace-outlet > :is([data-screen-label], .brand-connected, .brand-gate) { position: absolute !important; inset: 0; }
.brand-workspace:has(.brand-workspace-outlet [data-brand-mobile-actions]) .brand-mobile-tabs { display: none; }

@media print {
  .brand-workspace { position: static; display: block; }
  .brand-workspace > :is(aside, .brand-mobile-tabs), .brand-workspace-switch { display: none; }
  .brand-workspace-body, .brand-workspace-outlet { display: block; overflow: visible; }
  .brand-workspace-outlet > :is([data-screen-label], .brand-connected, .brand-gate) { position: static !important; }
}


#db-burger{display:none;width:42px;height:42px;flex:0 0 auto;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px solid var(--line);border-radius:11px;background:color-mix(in srgb, var(--surface-base) 50%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;padding:0;transition:border-color .4s ease,background .4s ease}
#db-burger span{display:block;width:17px;height:1.5px;border-radius:2px;background:var(--text-bright);transition:transform .45s cubic-bezier(.16,1,.3,1),opacity .3s ease}
#db-burger[data-open]{border-color:var(--line-strong);background:color-mix(in srgb, var(--surface-active) 70%, transparent)}
#db-burger[data-open] span:first-child{transform:translateY(3.25px) rotate(45deg)}
#db-burger[data-open] span:last-child{transform:translateY(-3.25px) rotate(-45deg)}
#db-mobile{position:fixed;left:0;right:0;top:74px;z-index:119;display:none;flex-direction:column;padding:10px clamp(18px,3.4vw,44px) 22px;background:color-mix(in srgb, var(--surface-app) 95%, transparent);-webkit-backdrop-filter:blur(26px) saturate(160%);backdrop-filter:blur(26px) saturate(160%);border-bottom:1px solid var(--line);opacity:0;transform:translateY(-12px);pointer-events:none;transition:opacity .4s ease,transform .55s cubic-bezier(.16,1,.3,1)}
#db-mobile[data-open]{opacity:1;transform:none;pointer-events:auto}
#db-mobile a{display:flex;align-items:center;min-height:50px;font-size:16.5px;font-weight:450;letter-spacing:-.018em;color:var(--text-secondary);border-bottom:1px solid var(--surface-base)}
#db-mobile a:last-child{border-bottom:0}
#db-nav-links a[aria-current="page"]{color:var(--db-white)!important}
#db-mobile a[aria-current="page"]{color:var(--db-white)}
.dbdd{position:relative;display:flex}
.dbdd>button{display:inline-flex;align-items:center;gap:5px;padding:6px 0;border:0;background:none;font:inherit;color:var(--text-muted);cursor:pointer;transition:color .3s ease}
.dbdd>button svg{transition:transform .35s cubic-bezier(.16,1,.3,1)}
.dbdd:hover>button,.dbdd:focus-within>button{color:var(--db-white)}
.dbdd>button[data-active]{color:var(--site-brand-light)}
.dbdd:hover>button svg,.dbdd:focus-within>button svg{transform:rotate(180deg)}
.dbdd-p{position:absolute;top:calc(100% + 14px);left:-14px;min-width:236px;padding:6px;border-radius:14px;background:color-mix(in srgb, var(--surface-app) 97%, transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid var(--line);box-shadow:0 20px 44px -14px rgba(0,0,0,.75);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .25s ease,transform .35s cubic-bezier(.16,1,.3,1),visibility .25s}
.dbdd-p::before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px}
.dbdd:hover .dbdd-p,.dbdd:focus-within .dbdd-p{opacity:1;visibility:visible;transform:none}
#db-nav-links .dbdd-p a{display:flex;align-items:center;gap:12px;height:44px;padding:0 12px;border-radius:10px;color:var(--text-bright);font-size:14.5px;white-space:nowrap;transition:background .2s ease,color .2s ease}
#db-nav-links .dbdd-p a:hover{background:rgb(var(--lift-ink) / calc(.05 * var(--lift-k)));color:var(--db-white)}
#db-nav-links .dbdd-p a[aria-current="page"]{color:var(--site-brand-light)!important;background:color-mix(in srgb, var(--site-brand) 12%, transparent)}
.dbdd-p a svg:last-child{margin-left:auto;color:var(--text-faint)}
@media (max-width:1023px){
  #db-nav-links,#db-nav-login{display:none!important}
  #db-burger{display:inline-flex}
  #db-mobile{display:flex}
  #db-mobile a{min-height:54px}
}
.dediboom-header-cta-glow:hover{background:linear-gradient(96deg,var(--site-brand-light) 0%,var(--site-brand-light) 30%,var(--site-brand-deep) 70%,var(--site-brand-deep) 100%)!important;transform:translateY(-2px)!important;box-shadow:0 12px 34px -10px color-mix(in srgb, var(--site-brand) 95%, transparent),inset 0 1px 0 rgba(255,255,255,.28)!important;color:var(--db-white)!important}
.dediboom-header-cta-flat:hover{background:linear-gradient(96deg,var(--site-brand-light) 0%,var(--site-brand-light) 30%,var(--site-brand-deep) 70%,var(--site-brand-deep) 100%)!important;transform:translateY(-2px)!important;color:var(--db-white)!important}


#db-ft-grid{display:grid;gap:clamp(28px,3vw,56px);align-items:start;grid-template-columns:minmax(200px,1.4fr) repeat(var(--db-ftn,4),minmax(0,1fr))}
#db-ft-grid[data-cols="4"]{--db-ftm:2;--db-ftn:4}
#db-ft-grid[data-cols="3"]{--db-ftm:3;--db-ftn:3}
#db-ft-brand{grid-column:auto}
@media (max-width:1100px){
  #db-ft-grid{grid-template-columns:repeat(var(--db-ftm,3),minmax(0,1fr))}
  #db-ft-brand{grid-column:1/-1}
}
@media (max-width:600px){ #db-ft-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
footer #db-ft-grid a:hover{color:var(--db-white)!important}

.co-showcase {
  --co-bg: var(--db-ink-850);
  --co-panel: color-mix(in srgb, var(--db-ink-700) 89%, var(--db-violet-900));
  --co-panel-raised: color-mix(in srgb, var(--db-ink-500) 92%, var(--db-violet-900));
  --co-line: var(--db-ink-350);
  --co-text: var(--db-white);
  --co-muted: var(--db-gray-300);
  --co-accent: var(--circle-accent-2, var(--db-coral-300));
  --co-button-fg: var(--db-ink-850);
  --co-scrim: color-mix(in srgb, var(--db-ink-900) 78%, var(--db-violet-900));
  --co-hero-scale: clamp(2.6rem, 5.7cqw, 5.7rem);
  --co-max: 1320px;
  --co-space: clamp(15px, 3.2cqw, 46px);
  container: co-vitrine / inline-size;
  min-height: 100dvh;
  background: var(--co-bg);
  color: var(--co-text);
  font-family: var(--font-body, system-ui, sans-serif);
}
.co-showcase[data-preview] { min-height: 0; }
.co-showcase[data-mode='light'] {
  --co-bg: color-mix(in srgb, var(--db-white) 65%, var(--db-gray-100));
  --co-panel: var(--db-white);
  --co-panel-raised: color-mix(in srgb, var(--db-white) 28%, var(--db-gray-100));
  --co-line: var(--db-gray-200);
  --co-text: var(--db-ink-700);
  --co-muted: color-mix(in srgb, var(--db-ink-700) 61%, var(--db-gray-400));
  --co-accent: var(--circle-accent-1, var(--db-coral-900));
  --co-button-fg: var(--db-white);
}
.co-showcase[data-editorial-style='premium'] { --co-max: 1216px; --co-hero-scale: clamp(2.4rem, 5.2cqw, 5rem); }
.co-showcase[data-editorial-style='artistic'] { --co-max: 1440px; --co-hero-scale: clamp(2.55rem, 6.4cqw, 6.6rem); }
.co-showcase :focus-visible { outline: 2px solid var(--co-accent); outline-offset: 4px; }
.co-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.co-shell { width: min(100%, var(--co-max)); margin: auto; padding: 0 var(--co-space) 22px; box-sizing: border-box; }
.co-showcase[data-preview] .co-shell { padding-block-start: var(--co-space); }
.co-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: 18px 0; font-size: .79rem; color: var(--co-muted); }
.co-breadcrumb a { color: inherit; text-decoration: none; }
.co-breadcrumb [aria-current] { color: var(--co-text); }

.co-artwork {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    repeating-radial-gradient(ellipse at 86% 72%, transparent 0 16px, color-mix(in srgb, var(--circle-accent-2) 32%, transparent) 17px 18px),
    radial-gradient(ellipse at 95% 0%, var(--circle-accent-1), var(--co-scrim) 70%);
}
.co-hero { position: relative; display: flex; align-items: center; min-height: clamp(320px, 36cqw, 510px); border-radius: 13px; color: var(--db-white); }
.co-hero[data-layout='cinematic'] { min-height: clamp(350px, 45cqw, 630px); }
.co-hero[data-layout='institutional'] { min-height: clamp(300px, 29cqw, 410px); }
.co-showcase[data-editorial-style='artistic'] .co-hero { background-position: 35% center; }
.co-hero-cover, .co-hero-mobile { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--co-focal-position, center); }
.co-hero-mobile { display: none; object-position: var(--co-focal-mobile, center); }
.co-hero-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--co-scrim) 4%, color-mix(in srgb, var(--co-scrim) 81%, transparent) 42%, transparent 93%); }
.co-hero[data-cover='none'] .co-hero-veil { background: linear-gradient(92deg, var(--co-scrim) 14%, color-mix(in srgb, var(--co-scrim) 82%, transparent) 48%, transparent 95%); }
.co-hero[data-align='center'] .co-hero-veil, .co-hero[data-align='bottom-center'] .co-hero-veil { background: color-mix(in srgb, var(--co-scrim) 75%, transparent); }
.co-hero[data-align='bottom-left'], .co-hero[data-align='bottom-center'] { align-items: flex-end; }
.co-hero[data-align='center'], .co-hero[data-align='bottom-center'] { text-align: center; justify-content: center; }
.co-hero[data-align='center'] .co-hero-actions, .co-hero[data-align='bottom-center'] .co-hero-actions { justify-content: center; }
.co-hero-inner { padding: clamp(24px, 5.4cqw, 72px); max-width: min(760px, 76%); min-width: 0; box-sizing: border-box; }
.co-overline { margin: 0 0 15px; color: var(--co-accent); font-size: .7rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.co-hero .co-overline { color: color-mix(in srgb, var(--circle-accent-2) 72%, white); }
.co-overline::before { content: ''; display: inline-block; vertical-align: middle; width: 17px; height: 1px; margin-inline-end: 9px; background: currentColor; }
.co-hero-title { margin: 0; font: 800 var(--co-hero-scale)/.99 var(--font-display, system-ui, sans-serif); letter-spacing: -.062em; text-wrap: balance; overflow-wrap: anywhere; }
.co-hero-description { max-width: 46ch; margin: 17px 0 0; color: var(--db-gray-100); line-height: 1.6; text-wrap: pretty; white-space: pre-line; }
.co-hero[data-align='center'] .co-hero-description, .co-hero[data-align='bottom-center'] .co-hero-description { margin-inline: auto; }
.co-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.co-hero-actions:not(:empty) { margin-top: 20px; }
.co-hero-video { display: block; width: min(100%, 520px); margin-top: 16px; max-height: 280px; border-radius: 8px; background: var(--db-ink-850); }

.co-identity { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 22px 0; }
.co-logo { position: relative; display: grid; place-items: center; width: 63px; aspect-ratio: 1; align-self: center; overflow: hidden; border-radius: 9px; background: var(--co-panel-raised); color: var(--co-accent); font: 800 1.65rem/1 var(--font-display, system-ui, sans-serif); }
.co-logo img, .co-talent-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.co-logo img { background: var(--co-panel-raised); }
.co-name { display: block; margin: 0; color: var(--co-text); font: 750 clamp(1.2rem, 2.45cqw, 2rem)/1.16 var(--font-display, system-ui, sans-serif); letter-spacing: -.037em; overflow-wrap: anywhere; }
.co-name:has(.co-verified) { padding-inline-end: calc(17px + .25em); }
.co-verified { display: inline-flex; margin-inline-start: .25em; margin-inline-end: calc(-17px - .25em); vertical-align: middle; color: var(--co-accent); }
.co-identity-meta { display: flex; flex-wrap: wrap; gap: .3em .6em; margin-top: .36rem; color: var(--co-muted); font-size: .82rem; line-height: 1.4; }
.co-kind, .co-place { margin: 0; }
.co-kind + .co-place::before { content: '·'; margin-inline-end: .6em; }
.co-identity-actions, .co-links, .co-footer > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.co-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em; box-sizing: border-box;
  min-height: 42px; max-width: 100%; padding: 9px 14px; border: 1px solid var(--co-line); border-radius: 5px;
  background: transparent; color: var(--co-text); font: 680 .82rem/1.3 var(--font-body, system-ui, sans-serif); text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .18s ease, border-color .18s ease, translate .18s ease;
}
.co-button:hover { border-color: var(--co-muted); background-color: var(--co-panel-raised); }
.co-button:disabled { opacity: .7; cursor: wait; }
.co-button--primary { border-color: transparent; background-color: var(--co-accent); color: var(--co-button-fg); }
.co-button--primary:hover { border-color: var(--co-text); background-color: var(--co-accent); translate: 0 -1px; }
.co-button--white { background-color: var(--db-white); color: var(--db-ink-800); border-color: var(--db-white); }
.co-button--white:hover { background-color: var(--db-gray-100); border-color: var(--db-gray-100); }
.co-button--icon { width: 44px; padding: 9px; }
.co-share { position: relative; }
.co-share summary::-webkit-details-marker { display: none; }
.co-share-menu { position: absolute; z-index: 4; inset-inline-end: 0; inset-block-start: calc(100% + 6px); display: grid; gap: 6px; min-width: max-content; width: min(220px, 70cqw); padding: 8px; border: 1px solid var(--co-line); border-radius: 6px; background: var(--co-panel-raised); color: var(--co-text); font-size: .83rem; }
.co-share-menu input { box-sizing: border-box; max-width: 100%; padding: 7px; color: var(--co-text); background: var(--co-panel); border: 1px solid var(--co-line); border-radius: 3px; }
.co-tabs { position: sticky; z-index: 3; inset-block-start: var(--co-nav-top, 0px); display: flex; gap: clamp(14px, 2.6cqw, 36px); max-width: 100%; overflow-x: auto; scrollbar-width: thin; border-block: 1px solid var(--co-line); background: var(--co-bg); }
.co-tabs a { flex: 0 0 auto; display: grid; align-items: center; box-sizing: border-box; min-height: 46px; padding: 0 3px; border-block-end: 2px solid transparent; color: var(--co-muted); font-size: .86rem; text-decoration: none; }
.co-tabs a:first-child { padding-inline-start: 2px; }
.co-tabs a:hover, .co-tabs a[aria-current] { color: var(--co-text); }
.co-tabs a[aria-current] { border-block-end-color: var(--co-accent); }
.co-tabs a:focus-visible { outline-offset: -3px; }
.co-announcement { color: var(--co-muted); margin: .8rem 0; }
.co-preferences { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--co-line); border-radius: 8px; color: var(--co-muted); font-size: .9rem; }
.co-preferences summary { cursor: pointer; color: var(--co-text); }
.co-preferences label { display: flex; align-items: center; min-height: 42px; gap: 9px; margin-top: 6px; }

.co-body { display: grid; gap: 0; }
.co-section { padding-block: clamp(32px, 5cqw, 67px); border-block-end: 1px solid var(--co-line); scroll-margin-top: calc(62px + var(--co-nav-top, 0px)); min-width: 0; }
.co-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-block-end: 19px; }
.co-title { margin: 0; font: 760 clamp(1.6rem, 3.3cqw, 3rem)/1.12 var(--font-display, system-ui, sans-serif); letter-spacing: -.047em; text-wrap: balance; }
.co-text-action { display: inline-flex; align-items: center; gap: .55em; box-sizing: border-box; min-height: 35px; color: var(--co-text); font-size: .84rem; font-weight: 675; text-decoration: none; }
.co-text-action:hover, .co-links a:hover, .co-footer a:not(.co-button):hover, .co-breadcrumb a:hover { text-decoration: underline; text-underline-offset: .22em; }
.co-text-action span, .co-card-arrow { color: var(--co-accent); }
.co-description, .co-detail-copy { color: var(--co-muted); line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.co-description { margin: 0; max-width: 70ch; }
.co-featured { display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; border: 1px solid var(--co-line); border-radius: 8px; background: var(--co-panel); }
.co-featured .co-card-visual { min-height: clamp(220px, 24cqw, 338px); height: 100%; aspect-ratio: auto; }
.co-featured-copy { align-self: center; padding: clamp(20px, 3.5cqw, 48px); }
.co-featured-copy h3 { margin: 0; font: 760 clamp(1.55rem, 3cqw, 2.7rem)/1.07 var(--font-display, system-ui, sans-serif); letter-spacing: -.043em; text-wrap: balance; overflow-wrap: anywhere; }
.co-featured-copy p { margin: 12px 0 18px; color: var(--co-muted); line-height: 1.55; }
.co-featured-copy .co-button { margin-top: 7px; }
.co-card-grid, .co-talent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(11px, 1.65cqw, 23px); min-width: 0; }
.co-talent-grid, .co-card-grid[data-section='partners'], .co-card-grid[data-section='team'] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.co-talent-grid, .co-list, .co-gallery, .co-tags { list-style: none; margin: 0; padding: 0; }
.co-card, .co-talent-grid li { min-width: 0; }
.co-card, .co-talent { position: relative; border-radius: 7px; transition: translate .18s ease; }
.co-card:hover, a.co-talent:hover { translate: 0 -3px; }
.co-card-link, .co-talent { display: block; height: 100%; min-width: 0; color: var(--co-text); text-decoration: none; }
.co-card-link { overflow: hidden; border: 1px solid var(--co-line); border-radius: inherit; background: var(--co-panel); }
.co-card-visual, .co-talent-photo { display: grid; place-items: center; aspect-ratio: 16 / 9; isolation: isolate; }
.co-card-visual[data-kind='projects'], .co-card-visual[data-kind='opportunities'] { background-position: 10% 70%; }
.co-card-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.co-card-category { position: absolute; z-index: 1; inset-block-start: 10px; inset-inline-start: 10px; max-width: calc(100% - 20px); width: fit-content; padding: 4px 7px; border-radius: 3px; background: color-mix(in srgb, var(--co-scrim) 88%, transparent); color: var(--db-white); font-size: .65rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; overflow-wrap: anywhere; }
.co-card-info { position: relative; display: grid; gap: 8px; padding: 16px 31px 18px 14px; }
.co-card-info time { color: var(--co-muted); font-size: .74rem; }
.co-card-title { font-size: clamp(1rem, 1.55cqw, 1.35rem); font-weight: 760; line-height: 1.2; letter-spacing: -.022em; overflow-wrap: anywhere; }
.co-card-summary, .co-talent-relation { color: var(--co-muted); font-size: .85rem; line-height: 1.4; overflow-wrap: anywhere; }
.co-card-arrow { position: absolute; inset-inline-end: 12px; inset-block-end: 15px; font-size: .95rem; }
.co-talent-photo { aspect-ratio: 6 / 5; border-radius: 6px; font: 760 clamp(2rem, 5cqw, 4.1rem)/1 var(--font-display, system-ui, sans-serif); color: color-mix(in srgb, var(--circle-accent-2) 70%, white); }
.co-talent[data-highlighted] .co-talent-photo { box-shadow: inset 0 0 0 2px var(--co-accent); }
.co-talent-name { display: block; margin-block: 12px 4px; padding-inline-end: 25px; overflow-wrap: anywhere; }
.co-talent-relation { display: block; margin-inline-end: 24px; }
.co-talent .co-card-arrow { inset-inline-end: 2px; inset-block-end: 2px; }

.co-event, .co-opportunity { display: grid; align-items: center; gap: 14px; }
.co-event { min-height: 90px; grid-template-columns: auto minmax(0, 1fr) minmax(90px, 17%) auto; padding: 14px 0; border-top: 1px solid var(--co-line); }
.co-event-date { display: grid; gap: 3px; justify-items: center; border: 1px solid var(--co-line); border-radius: 6px; background: var(--co-panel); padding: 7px 10px; min-width: 53px; }
.co-event-date strong { font-size: 1.4rem; line-height: 1; }
.co-event-date span { text-transform: uppercase; color: var(--co-accent); font-size: .65rem; letter-spacing: .075em; }
.co-event h3, .co-opportunity h3, .co-about h3 { margin: 0; color: var(--co-text); font-size: 1rem; text-wrap: pretty; overflow-wrap: anywhere; }
.co-event p, .co-opportunity p { margin: 4px 0 0; color: var(--co-muted); font-size: .83rem; }
.co-event-place { display: grid; gap: 4px; color: var(--co-muted); font-size: .77rem; overflow-wrap: anywhere; }
.co-opportunity { grid-template-columns: 1fr auto; margin-block-end: 9px; padding: 17px; border: 1px solid var(--co-line); border-radius: 7px; background: var(--co-panel); }
.co-about { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; gap: clamp(16px, 4cqw, 56px); }
.co-about:not(:has(aside)) { grid-template-columns: minmax(0, 1fr); }
.co-about h3 { margin-block-end: 6px; }
.co-about aside, .co-contact { padding: clamp(17px, 3.7cqw, 35px); border: 1px solid var(--co-line); border-radius: 8px; background: var(--co-panel); }
.co-about-copy { display: grid; gap: 18px; }
.co-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.co-tags li { padding: 5px 10px; border: 1px solid var(--co-line); border-radius: 5px; background: var(--co-panel-raised); font-size: .81rem; }
.co-links { margin: 12px 0 0; }
.co-links a:not(.co-button) { color: var(--co-accent); font-weight: 660; text-decoration: none; overflow-wrap: anywhere; }
.co-contact { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.co-contact .co-section-heading { margin-block-end: 8px; }
.co-contact p { color: var(--co-muted); margin: 0; line-height: 1.5; }
.co-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; margin: 2px 0 17px; }
.co-controls input, .co-controls select { box-sizing: border-box; width: 100%; min-height: 42px; padding: 8px 11px; border: 1px solid var(--co-line); border-radius: 6px; color: var(--co-text); background: var(--co-panel); }
.co-controls input::placeholder { color: var(--co-muted); }
.co-controls .co-button[aria-pressed='true'] { border-color: var(--co-accent); color: var(--co-accent); }
.co-show-more { margin-top: 19px; }
.co-empty { color: var(--co-muted); }
.co-detail { width: min(100%, 850px); box-sizing: border-box; margin-inline: auto; padding-block: clamp(30px, 5cqw, 70px); }
.co-detail header { margin: 15px 0 22px; display: grid; gap: 10px; }
.co-detail .co-title { font-size: clamp(1.8rem, 4.5cqw, 3.7rem); overflow-wrap: anywhere; }
.co-detail .co-overline { margin: 0; }
.co-detail-cover { border-radius: 9px; }
.co-related-talents { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--co-line); }
.co-related-talents h3 { margin: 0 0 13px; font-size: 1.12rem; }

.co-facts { display: flex; flex-wrap: wrap; gap: 14px 26px; padding: 16px 0; margin: 20px 0; border-block: 1px solid var(--co-line); }
.co-facts div { min-width: 120px; }
.co-facts dt { margin-bottom: 5px; color: var(--co-muted); font-size: .8rem; }
.co-facts dd { margin: 0; overflow-wrap: anywhere; }
.co-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 20px; }
.co-gallery img { width: 100%; height: 100%; max-height: 320px; object-fit: cover; display: block; border-radius: 6px; }
.co-footer { min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; color: var(--co-muted); font-size: .84rem; }
.co-footer a:not(.co-button) { padding: 8px; color: inherit; text-decoration: none; }
.co-footer > span { font-weight: 760; color: var(--co-text); }

@container co-vitrine (max-width: 800px) {
  .co-card-grid, .co-talent-grid, .co-card-grid[data-section='partners'], .co-card-grid[data-section='team'] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-identity { grid-template-columns: auto minmax(0, 1fr); }
  .co-identity-actions { grid-column: 1 / -1; }
  .co-hero-inner { max-width: 86%; }
}
@container co-vitrine (max-width: 575px) {
  .co-hero { min-height: 300px; border-radius: 9px; }
  .co-hero[data-layout='institutional'] { min-height: 270px; }
  .co-hero-inner { max-width: 100%; }
  .co-hero-cover { object-position: var(--co-focal-mobile, center); }
  .co-hero-mobile { display: block; }
  .co-hero-veil, .co-hero[data-cover='none'] .co-hero-veil { background: linear-gradient(94deg, var(--co-scrim) 5%, color-mix(in srgb, var(--co-scrim) 58%, transparent) 100%); }
  .co-logo { width: 56px; }
  .co-identity-actions { position: relative; }
  .co-share { position: static; }
  .co-share-menu { inset-inline: 0; width: auto; }
  .co-section-heading { align-items: start; flex-wrap: wrap; gap: 4px 14px; }
  .co-featured { grid-template-columns: minmax(0, 1fr); }
  .co-featured .co-card-visual { aspect-ratio: 16 / 9; min-height: 165px; }
  .co-event { grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; }
  .co-event-place { grid-column: 2; }
  .co-event .co-button { grid-column: 2; justify-self: start; }
  .co-about { grid-template-columns: 1fr; }
  .co-contact, .co-opportunity { display: grid; grid-template-columns: 1fr; justify-items: start; }
}
@container co-vitrine (max-width: 390px) {
  .co-card-grid:not([data-section='team'], [data-section='partners']) { grid-template-columns: 1fr; }
  .co-card-info { min-height: 0; }
  .co-controls > label { min-width: 0; width: 100%; }
  .co-identity { gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .co-showcase *, .co-showcase *::before { transition-duration: 0s !important; scroll-behavior: auto !important; }
}

/* Primitives des espaces Pro (PLAN §1.4) : SimpleDialog, StepFlow, AccessState, ContextBar, TalentSwitcher.
   Jetons de db-tokens.css seulement, aucune couleur nouvelle. Images clés copiées sous un préfixe `pro-` depuis
   talent-member-journey (pfIn, pfFade, pfSheet) et talent-entry (itIn, itBack, itShake) : aucune dépendance à leurs
   feuilles (TalentEntry.css force le mode sombre). Aucune animation infinie. */

@keyframes pro-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes pro-in { 0% { opacity: 0; transform: scale(.9) translateY(10px); filter: blur(6px) } 60% { filter: blur(0) } 100% { opacity: 1; transform: none } }
@keyframes pro-sheet { from { transform: translateY(100%) } to { transform: none } }
@keyframes pro-panel { from { opacity: 0; transform: translateX(24px) } to { opacity: 1; transform: none } }
@keyframes pro-step-in { from { opacity: 0; transform: translate3d(18px, 0, 0) } to { opacity: 1; transform: none } }
@keyframes pro-step-back { from { opacity: 0; transform: translate3d(-18px, 0, 0) } to { opacity: 1; transform: none } }
@keyframes pro-shake-a { 0%, 100% { transform: none } 20% { transform: translateX(-7px) } 40% { transform: translateX(6px) } 60% { transform: translateX(-4px) } 80% { transform: translateX(3px) } }
@keyframes pro-shake-b { 0%, 100% { transform: none } 20% { transform: translateX(-7px) } 40% { transform: translateX(6px) } 60% { transform: translateX(-4px) } 80% { transform: translateX(3px) } }

/* ── Boutons ─────────────────────────────────────────────────────────────── */
.pro-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--radius-pill); font: 600 var(--text-base)/1.2 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-fast) var(--ease-standard), opacity var(--dur-fast), transform var(--dur-fast) var(--ease-standard); }
.pro-btn:active:not(:disabled) { transform: scale(.98); }
.pro-btn:disabled { opacity: .55; cursor: default; }
.pro-btn--primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.pro-btn--primary:hover:not(:disabled) { background: var(--btn-primary-hover, var(--btn-primary-bg)); }
.pro-btn--primary[data-tone=critical] { background: var(--danger); color: var(--on-brand); }
.pro-btn--quiet { background: transparent; color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pro-btn--quiet:hover:not(:disabled) { background: var(--surface-hover); }
.pro-btn:focus-visible, .pro-dialog :focus-visible, .pro-step :focus-visible, .pro-context :focus-visible, .pro-access :focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* ── SimpleDialog ────────────────────────────────────────────────────────── */
.pro-dialog-shade { position: fixed; inset: 0; z-index: 230; display: flex; align-items: center; justify-content: center; padding: 16px; animation: pro-fade var(--dur-fast) var(--ease-out) both; }
/* Une fenêtre Pro est la plus haute de l'écran : la messagerie flottante (z-index 300) s'efface tant qu'elle est ouverte
   (recette Q-Échanges D-QX-8, généralisée par F1 W3d à toutes les fenêtres et étapes, dans la coque comme dans le
   document Talent délégué). */
body:has(.pro-dialog-shade) [data-messaging-floating] { visibility: hidden; }
.pro-dialog-scrim { position: absolute; inset: 0; background: var(--overlay-scrim); backdrop-filter: var(--glass-scrim-filter); -webkit-backdrop-filter: var(--glass-scrim-filter); }
.pro-dialog { position: relative; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; width: min(460px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 26px 24px 22px; border-radius: var(--radius-xl); background: var(--surface-deep); color: var(--text-primary); font-family: var(--font-body); box-shadow: var(--shadow-overlay), inset 0 0 0 1px var(--line); outline: none; animation: pro-in .42s var(--ease-out) both; }
.pro-dialog[data-size=wide] { width: min(520px, 100%); }
.pro-dialog-grip { display: none; }
.pro-dialog-eyebrow { margin: 0; font-size: var(--text-2xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-subtle); }
.pro-dialog[data-tone=critical] .pro-dialog-eyebrow { color: var(--warn); }
.pro-dialog-title { margin: 0; padding-right: 36px; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; line-height: 1.25; letter-spacing: var(--tracking-display); overflow-wrap: anywhere; text-wrap: balance; }
.pro-dialog-lead { margin: -4px 0 0; font-size: var(--text-base); line-height: 1.55; color: var(--text-secondary); text-wrap: pretty; }
.pro-dialog-body { display: grid; gap: 12px; }
.pro-dialog-body label { display: grid; gap: 6px; font-size: var(--text-sm); font-weight: 600; color: var(--text-secondary); }
/* Champs de saisie seulement : une case à cocher, un bouton radio ou un sélecteur de fichier garde son rendu natif (sinon
   les autorisations de `DelegationPermissions` devenaient des cadres de 46 px et leurs libellés une lettre par ligne :
   recette Q-Parcours Entreprise, « Attribuer un talent »). */
.pro-dialog-body :is(input:not([type=checkbox], [type=radio], [type=file], [type=range], [type=color]), select, textarea),
.pro-step-content :is(input:not([type=checkbox], [type=radio], [type=file], [type=range], [type=color]), select, textarea) { box-sizing: border-box; width: 100%; min-height: 46px; padding: 10px 14px; border: 0; border-radius: var(--radius-md); background: var(--surface-sunken); box-shadow: inset 0 0 0 1px var(--field-rim); color: var(--text-primary); font: inherit; font-size: var(--text-base); }
.pro-dialog-body [aria-invalid=true], .pro-step-content [aria-invalid=true] { box-shadow: inset 0 0 0 1.5px var(--danger); }
.pro-dialog-error, .pro-step-error { margin: 0; padding: 12px 14px; border-radius: var(--radius-md); background: var(--glass-surface-fill); font-size: var(--text-sm); color: var(--danger); }
.pro-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.pro-dialog-close { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--text-subtle); cursor: pointer; }
.pro-dialog-close:hover:not(:disabled) { background: var(--glass-surface-fill); color: var(--text-primary); }
/* Feuille : toujours en bas (variant sheet), et sous 760 px pour toutes les variantes. */
.pro-dialog-shade[data-variant=sheet] { align-items: flex-end; padding: 0; }
.pro-dialog[data-variant=sheet] { width: min(560px, 100%); max-height: 88dvh; border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom)); animation: pro-sheet .34s cubic-bezier(.2, .8, .2, 1) both; }
.pro-dialog[data-variant=sheet] .pro-dialog-grip { display: block; align-self: center; width: 40px; height: 5px; margin: -12px 0 2px; border-radius: var(--radius-pill); background: var(--surface-active); }
.pro-dialog-shade[data-variant=panel] { justify-content: flex-end; padding: 12px; }
.pro-dialog[data-variant=panel] { height: 100%; max-height: none; width: min(440px, 100%); animation: pro-panel .36s var(--ease-out) both; }
.pro-dialog[data-variant=panel] .pro-dialog-actions { margin-top: auto; }
@media (max-width: 759px) {
  .pro-dialog-shade, .pro-dialog-shade[data-variant=panel] { align-items: flex-end; justify-content: center; padding: 0; }
  .pro-dialog, .pro-dialog[data-size=wide], .pro-dialog[data-variant=panel] { width: 100%; height: auto; max-height: 88dvh; border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); animation: pro-sheet .34s cubic-bezier(.2, .8, .2, 1) both; }
  .pro-dialog .pro-dialog-grip { display: block; align-self: center; width: 40px; height: 5px; margin: -10px 0 2px; border-radius: var(--radius-pill); background: var(--surface-active); }
  .pro-dialog-actions { flex-direction: column-reverse; }
  .pro-dialog-actions .pro-btn { width: 100%; }
}

/* ── StepFlow ────────────────────────────────────────────────────────────── */
.pro-step { width: 100%; max-width: 520px; margin-inline: auto; color: var(--text-primary); font-family: var(--font-body); }
.pro-step-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; margin-bottom: clamp(20px, 5vh, 40px); }
.pro-step[data-compact] .pro-step-bar { margin-bottom: 16px; }
.pro-step-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--text-secondary); cursor: pointer; }
button.pro-step-icon { background: var(--glass-surface-fill); box-shadow: inset 0 0 0 1px var(--line); }
button.pro-step-icon:hover:not(:disabled) { color: var(--text-primary); background: var(--surface-raised); }
.pro-step-dots { display: flex; gap: 5px; }
.pro-step-dots span { height: 4px; width: 6px; border-radius: var(--radius-pill); background: var(--text-faint); transition: width var(--dur-slow) var(--ease-out), background var(--dur-base); }
.pro-step-dots span[data-state=done] { background: var(--text-primary); }
.pro-step-dots span[data-state=current] { width: 22px; background: var(--text-primary); }
.pro-step-form { display: flex; flex-direction: column; gap: 18px; }
.pro-step-body[data-dir=in] { animation: pro-step-in .45s var(--ease-out) both; }
.pro-step-body[data-dir=back] { animation: pro-step-back .45s var(--ease-out) both; }
.pro-step-shake[data-shake=a] { animation: pro-shake-a .4s both; }
.pro-step-shake[data-shake=b] { animation: pro-shake-b .4s both; }
.pro-step-optional { margin: 0 0 8px; font-size: var(--text-2xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-subtle); }
.pro-step-title { margin: 0; font-family: var(--font-display); font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl)); font-weight: 700; line-height: 1.12; letter-spacing: var(--tracking-display); text-wrap: balance; outline: none; }
.pro-step[data-compact] .pro-step-title { font-size: var(--text-xl); }
.pro-step-lead { margin-top: 10px; font-size: var(--text-md); line-height: 1.55; color: var(--text-secondary); text-wrap: pretty; }
.pro-step-content { display: grid; gap: 14px; margin-top: 24px; }
.pro-step-content label { display: grid; gap: 6px; font-size: var(--text-sm); font-weight: 600; color: var(--text-secondary); }
.pro-step-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
@media (max-width: 759px) {
  .pro-step-actions { flex-direction: column-reverse; }
  .pro-step-actions .pro-btn { width: 100%; }
}

/* ── AccessState ─────────────────────────────────────────────────────────── */
.pro-access { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 420px; margin: clamp(32px, 9vh, 88px) auto; padding: 0 8px; text-align: center; color: var(--text-primary); animation: pro-fade .4s var(--ease-out) both; }
.pro-access-mark { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: var(--radius-pill); background: var(--glass-surface-fill); box-shadow: inset 0 0 0 1px var(--line); color: var(--brand-light); }
.pro-access[data-reason=ERROR] .pro-access-mark { color: var(--danger); }
.pro-access[data-tone=discovery] .pro-access-mark { background: var(--brand-wash); box-shadow: inset 0 0 0 1px var(--brand-light-ring-soft); }
.pro-access-title { margin: 0; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; line-height: 1.25; letter-spacing: var(--tracking-display); text-wrap: balance; }
.pro-access-lead { margin: 0; font-size: var(--text-base); line-height: 1.55; color: var(--text-secondary); text-wrap: pretty; }
.pro-access .pro-btn { margin-top: 10px; }

/* ── ContextBar ──────────────────────────────────────────────────────────── */
.pro-context { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 8px 6px 10px; border-radius: var(--radius-pill); background: var(--glass-surface-fill); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-primary); font-family: var(--font-body); }
.pro-context-avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: var(--radius-avatar); object-fit: cover; background: var(--surface-raised); color: var(--text-subtle); }
.pro-context-text { flex: 1; min-width: 0; margin: 0; font-size: var(--text-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pro-context-lead, .pro-context-role { color: var(--text-muted); }
.pro-context-text strong { font-weight: 650; }
.pro-context-change { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: var(--radius-pill); background: var(--brand-wash); color: var(--brand-pale); font: 600 var(--text-sm)/1 var(--font-body); cursor: pointer; }
.pro-context-change:hover { background: var(--brand-haze); }
/* Forme courte sous 460 px (PLAN §1.3) : « Vous agissez pour » reste lu, en sur-titre, au-dessus du nom et du rôle. */
.pro-context-who { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 459px) {
  .pro-context { border-radius: var(--radius-lg); }
  .pro-context-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
  .pro-context-lead { font-size: var(--text-xs); }
  .pro-context-who { white-space: nowrap; }
}

/* ── TalentSwitcher ──────────────────────────────────────────────────────── */
.pro-switch-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pro-switch-row { box-sizing: border-box; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 12px; border: 0; border-radius: var(--radius-lg); background: var(--surface-base); color: var(--text-primary); text-align: left; font: inherit; cursor: pointer; transition: background var(--dur-fast) var(--ease-standard); }
.pro-switch-row:hover:not(:disabled) { background: var(--surface-hover); }
.pro-switch-row[aria-pressed=true] { background: var(--brand-wash); box-shadow: inset 0 0 0 1px var(--brand-light-ring-soft); }
.pro-switch-row[aria-pressed=true] > :last-child { color: var(--brand-light); }
.pro-switch-row > img { flex: none; width: 40px; height: 40px; border-radius: var(--radius-avatar); object-fit: cover; }
.pro-switch-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pro-switch-text strong { font-size: var(--text-md); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro-switch-text span { font-size: var(--text-sm); color: var(--text-muted); }
.pro-switch-row > :last-child { flex: none; color: var(--text-subtle); }
.pro-switch-state { font-size: var(--text-sm); }
/* La pastille « vérifié » d'une ligne cliquable est un repère, pas un second bouton : le toucher ouvre la ligne. */
:is(button, a) db-verified { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .pro-dialog-shade, .pro-dialog, .pro-step-body, .pro-step-shake, .pro-access, .pro-step-dots span, .pro-btn, .pro-switch-row { animation: none !important; transition: none !important; }
}

.co-engagement-fields { display: grid; gap: .85rem; }
.co-engagement-fields textarea { resize: vertical; }
.co-engagement-fields .co-engagement-check { display: flex; align-items: flex-start; gap: .5rem; }
.co-engagement-fields .co-engagement-check input { flex: 0 0 auto; margin-block-start: .2em; }
.co-engagement-hint { margin: 0; color: var(--text-muted); text-align: end; font-size: var(--text-xs); }
.co-engagement-followed { margin: 0; padding-inline-start: 1.15rem; display: grid; gap: .55rem; }
.co-engagement-followed a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }

.co-directory {
  --circle-accent-1: var(--db-coral-900);
  --circle-accent-2: var(--db-coral-300);
}
.co-directory-shell { padding-block-start: var(--site-nav-h, 74px); }
.co-directory-hero {
  display: grid; align-content: end; gap: 14px; min-height: clamp(245px, 30cqw, 390px); box-sizing: border-box;
  padding: clamp(22px, 5cqw, 68px); border-radius: 12px; color: var(--db-white);
}
.co-directory-hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--co-scrim), color-mix(in srgb, var(--co-scrim) 48%, transparent) 65%, transparent); }
.co-directory-hero .co-title { font-size: clamp(2.4rem, 6cqw, 5.7rem); overflow-wrap: anywhere; }
.co-directory-hero p { margin: 0; max-width: 46ch; color: var(--db-gray-100); line-height: 1.65; text-wrap: pretty; }
.co-directory-results { padding-block: clamp(30px, 4.8cqw, 68px); }
.co-directory-filters {
  display: grid; grid-template-columns: minmax(160px, 2fr) minmax(150px, 1fr) max-content max-content;
  gap: 12px; max-width: 950px; margin-block: 20px 24px;
}
.co-directory-filters label { display: grid; gap: 6px; color: var(--co-muted); font: 650 .85rem/1.3 var(--font-body, system-ui, sans-serif); }
.co-directory-filters select, .co-directory-filters input { font: inherit; }
.co-directory-filters .co-text-action { justify-self: start; min-height: 42px; }
.co-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.co-directory-card { height: 100%; }
.co-directory-card-link {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 13px; box-sizing: border-box; height: 100%;
  min-height: 120px; padding: 18px; border: 1px solid var(--co-line); border-radius: 8px; background: var(--co-panel); color: var(--co-text);
  text-decoration: none; transition: background-color .18s ease, translate .18s ease;
}
.co-directory-card-link:hover { translate: 0 -2px; background: var(--co-panel-raised); }
.co-directory-card-link .co-logo { align-self: start; width: 52px; border-radius: 6px; font-size: 1.4rem; }
.co-directory-card-copy { display: grid; gap: 7px; }
.co-directory-name { font: 760 1.1rem/1.2 var(--font-display, system-ui, sans-serif); overflow-wrap: anywhere; }
.co-directory-place { color: var(--co-muted); font-size: .79rem; line-height: 1.45; }
.co-directory-description {
  display: -webkit-box; overflow: hidden; color: var(--co-muted); font-size: .88rem; line-height: 1.45;
  -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere;
}
.co-directory-arrow { color: var(--co-accent); font-size: .9rem; }
.co-directory-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 24px; color: var(--co-muted); }
.co-directory-pager > :last-child { justify-self: end; }
.co-directory-pager > :first-child { justify-self: start; }
@container co-vitrine (max-width: 970px) {
  .co-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container co-vitrine (max-width: 640px) {
  .co-directory-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-directory-filters label { width: auto; }
}
@container co-vitrine (max-width: 525px) {
  .co-directory-grid { grid-template-columns: minmax(0, 1fr); }
  .co-directory-filters { grid-template-columns: minmax(0, 1fr); }
  .co-directory-pager { gap: 7px; font-size: .81rem; }
  .co-directory-pager .co-button { font-size: .76rem; padding-inline: 8px; }
}

@keyframes dbBadgeFloat{0%,100%{transform:perspective(600px) translateY(0) rotateY(-12deg)}50%{transform:perspective(600px) translateY(-2.5%) rotateY(12deg)}}@keyframes dbBadgeSheen{0%,55%{transform:translateX(-120%) rotate(28deg)}85%,100%{transform:translateX(220%) rotate(28deg)}}
