/* AI Leadership Compass — landing UI kit styles
   Layers on top of ../../colors_and_type.css tokens. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
::selection { background: var(--gold-tint); color: var(--ink); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 40px; }

/* ---- shared section rhythm ---- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.eyebrow {
  font-family: var(--font-sans); font-weight: 800; font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep);
  margin: 0 0 20px;
}
.eyebrow.on-night { color: var(--gold-bright); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 700; font-size: 15px;
  letter-spacing: .01em; line-height: 1; cursor: pointer;
  padding: 15px 26px; border-radius: 7px; border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease), color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-gold { background: var(--gold); color: #2a1f08; box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: var(--gold-600); transform: translateY(-1px); }
.btn-gold:active { transform: translateY(0) scale(.99); background: var(--gold-deep); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #34291c; transform: translateY(-1px); }
.btn-ink:active { transform: scale(.99); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-ghost.on-night { color: var(--on-night); border-color: var(--night-line); }
.btn-ghost.on-night:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-sm { padding: 11px 18px; font-size: 14px; }

.link-caps {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; cursor: pointer; padding: 0;
  font-family: var(--font-sans); font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link-caps:hover { gap: 12px; color: var(--gold-600); }

/* ---- tags ---- */
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-sans); font-weight: 700; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px;
}
.tag-gold { background: var(--gold-tint); color: var(--gold-deep); }
.tag-ink { background: var(--ink); color: var(--paper); }
.tag-outline { background: transparent; color: var(--ink-soft); border: 1px solid var(--line-strong); }

/* ---- entrance animation ---- */
/* Opacity is NEVER animated (content is always visible). Only a small
   transform offset animates in — so even if a frame can't advance the
   animation clock, everything stays fully legible. */
@media (prefers-reduced-motion: no-preference) {
  .reveal.in { animation: revealUp var(--dur-slow) var(--ease-out) both; }
  @keyframes revealUp {
    from { transform: translateY(14px); }
    to   { transform: none; }
  }
}

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav-brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.nav-brand img { height: 38px; width: auto; }
.nav-brand .nb-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); line-height: 1; letter-spacing: -.01em; }
.nav-brand .nb-sub { font-family: var(--font-sans); font-weight: 800; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link { font-family: var(--font-sans); font-weight: 600; font-size: 14.5px; color: var(--ink-soft); text-decoration: none; transition: color var(--dur) var(--ease); }
.nav-link:hover { color: var(--gold-deep); }
@media (max-width: 880px) { .nav-links .nav-link { display: none; } }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: 92px 0 104px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -.015em; color: var(--ink); margin: 22px 0 0; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero .lead { font-family: var(--font-sans); font-size: 19px; line-height: 1.6; color: var(--ink-soft); margin: 26px 0 0; max-width: 33ch; }
.hero-cta { display: flex; gap: 14px; align-items: center; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-meta .hm-k { font-family: var(--font-display); font-weight: 500; font-size: 30px; color: var(--ink); line-height: 1; }
.hero-meta .hm-v { font-family: var(--font-sans); font-size: 13px; color: var(--ink-muted); margin-top: 7px; }
.hero-art { display: flex; justify-content: center; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { display: none; } }

/* ---- distinguish grid ---- */
.dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.dcell { background: var(--paper); padding: 30px 28px; transition: background var(--dur) var(--ease); }
.dcell:hover { background: var(--white); }
.dcell .dc-ic { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--gold-deep); margin-bottom: 16px; }
.dcell .dc-ic svg { width: 22px; height: 22px; stroke-width: 1.6; }
.dcell h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.22; color: var(--ink); margin: 0 0 9px; }
.dcell p { font-family: var(--font-sans); font-size: 14.5px; line-height: 1.55; color: var(--ink-muted); margin: 0; }
@media (max-width: 880px) { .dgrid { grid-template-columns: 1fr; } }

/* ---- spine (Penser / Faire) ---- */
.spine { background: var(--night); color: var(--on-night); }
.spine .eyebrow { color: var(--gold-bright); }
.spine h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px,3.6vw,44px); color: var(--on-night); margin: 0 0 12px; letter-spacing: -.01em; }
.spine-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: 16px; overflow: hidden; margin-top: 44px; }
.spine-col { background: var(--night-2); padding: 40px 38px; }
.spine-col .sc-day { font-family: var(--font-sans); font-weight: 800; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); }
.spine-col h3 { font-family: var(--font-display); font-weight: 600; font-size: 27px; color: var(--on-night); margin: 14px 0 14px; }
.spine-col .sc-desc { font-family: var(--font-sans); font-size: 15.5px; line-height: 1.6; color: var(--on-night-muted); margin: 0 0 26px; }
.spine-col ul { list-style: none; margin: 0 0 28px; padding: 0; }
.spine-col li { font-family: var(--font-sans); font-size: 14.5px; line-height: 1.5; color: var(--on-night); padding: 11px 0 11px 26px; border-top: 1px solid var(--night-line); position: relative; }
.spine-col li:before { content: "★"; position: absolute; left: 0; top: 11px; color: var(--gold); font-size: 12px; }
.spine-col .sc-deliv { background: rgba(201,154,60,.1); border: 1px solid rgba(201,154,60,.28); border-radius: 10px; padding: 16px 18px; }
.spine-col .sc-deliv .sd-k { font-family: var(--font-sans); font-weight: 800; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 8px; }
.spine-col .sc-deliv .sd-v { font-family: var(--font-sans); font-size: 14px; line-height: 1.45; color: var(--on-night); }
@media (max-width: 880px) { .spine-cols { grid-template-columns: 1fr; } }

/* ---- deliverables ---- */
.deliv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.deliv-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px 28px; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.deliv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.deliv-card .dl-num { font-family: var(--font-display); font-weight: 300; font-size: 40px; line-height: 1; color: var(--gold); }
.deliv-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink); margin: 16px 0 10px; }
.deliv-card p { font-family: var(--font-sans); font-size: 14px; line-height: 1.55; color: var(--ink-muted); margin: 0; }
@media (max-width: 980px) { .deliv-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .deliv-grid { grid-template-columns: 1fr; } }

/* ---- format / pour qui ---- */
.fmt-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; }
.fmt-row { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.fmt-row:last-child { border-bottom: 1px solid var(--line); }
.fmt-k { font-family: var(--font-sans); font-weight: 800; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); padding-top: 2px; }
.fmt-v { font-family: var(--font-sans); font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.pourqui { background: var(--paper-2); border-radius: 16px; padding: 34px 32px; align-self: start; }
.pourqui h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--ink); margin: 0 0 14px; }
.pourqui p { font-family: var(--font-sans); font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 14px; }
.pourqui .pq-note { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--ink); line-height: 1.5; margin: 0; }
@media (max-width: 880px) { .fmt-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---- intervenants ---- */
.intv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.intv-card { display: flex; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: var(--shadow-sm); }
.intv-mono { width: 66px; height: 66px; flex: none; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--gold-deep); }
.intv-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--ink); margin: 0 0 4px; }
.intv-card .iv-role { font-family: var(--font-sans); font-size: 13.5px; line-height: 1.5; color: var(--ink-muted); margin: 0 0 12px; }
.intv-card .iv-contact { display: flex; flex-direction: column; gap: 5px; }
.intv-card .iv-contact a, .intv-card .iv-contact span { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); text-decoration: none; }
.intv-card .iv-contact a:hover { color: var(--gold-deep); }
@media (max-width: 760px) { .intv-grid { grid-template-columns: 1fr; } }

/* ---- closing CTA ---- */
.closing { background: var(--night); color: var(--on-night); text-align: center; }
.closing h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px,4vw,52px); line-height: 1.08; letter-spacing: -.015em; color: var(--on-night); margin: 0 auto; max-width: 16ch; text-wrap: balance; }
.closing h2 em { font-style: italic; color: var(--gold-bright); }
.closing p { font-family: var(--font-sans); font-size: 17px; line-height: 1.6; color: var(--on-night-muted); margin: 22px auto 0; max-width: 46ch; }
.closing .cl-cta { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }

/* ---- footer ---- */
.foot { background: var(--night); color: var(--on-night-muted); border-top: 1px solid var(--night-line); padding: 36px 0; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-brand { font-family: var(--font-sans); font-weight: 800; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--on-night); }
.foot-cap { font-family: var(--font-sans); font-size: 13px; color: var(--on-night-muted); }

/* ---- contact ---- */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .82fr 1fr; gap: 64px; align-items: start; }
.contact-aside { padding-top: 4px; }
.contact-h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px,3.4vw,42px); line-height: 1.08; letter-spacing: -.012em; color: var(--ink); margin: 14px 0 0; }
.contact-intro { font-family: var(--font-sans); font-size: 16px; line-height: 1.62; color: var(--ink-soft); margin: 22px 0 0; max-width: 40ch; }
.contact-direct .cd-label { font-family: var(--font-sans); font-weight: 800; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 16px; }
.contact-direct .cd-line { display: flex; flex-direction: column; gap: 2px; text-decoration: none; font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); padding: 11px 0; border-top: 1px solid var(--line); transition: color var(--dur) var(--ease); }
.contact-direct .cd-line:last-child { border-bottom: 1px solid var(--line); }
.contact-direct .cd-line span { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--ink); }
.contact-direct .cd-line:hover { color: var(--gold-deep); }

.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 38px; box-shadow: var(--shadow-md); }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cf-submit { width: 100%; justify-content: center; margin-top: 26px; }
.cf-submit:disabled { opacity: .7; cursor: default; transform: none; }
.cf-note { font-family: var(--font-sans); font-size: 12.5px; color: var(--ink-muted); text-align: center; margin: 16px 0 0; }
.cf-error { font-family: var(--font-sans); font-size: 14px; color: var(--alert); background: var(--alert-tint); border-radius: 8px; padding: 11px 14px; margin: 20px 0 0; }
.cf-success { text-align: center; padding: 30px 8px; }
.cf-success .cf-check { width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%; background: var(--gold-tint); display: flex; align-items: center; justify-content: center; color: var(--gold-deep); }
.cf-success .cf-check svg { width: 26px; height: 26px; stroke-width: 1.75; }
.cf-success h3 { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--ink); margin: 0 0 10px; }
.cf-success p { font-family: var(--font-sans); font-size: 15.5px; line-height: 1.55; color: var(--ink-muted); margin: 0 auto 26px; max-width: 34ch; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .contact-card { padding: 28px; } }
@media (max-width: 480px) { .cf-grid { grid-template-columns: 1fr; } }
