
:root {
  --bg: #fbfbfd;
  --bg-soft: #f3f3f8;
  --text: #14141b;
  --text-soft: #54545f;
  --border: #e6e6ee;
  --accent: #2050d4;
  --accent-hover: #1941b0;
  --card: #ffffff;
  --ink: #0a0a12;
  --ink-text: #eef0f6;
  --ink-soft: #a9aec0;
  --ink-accent: #8fa8ff;
  --ink-border: rgba(255,255,255,.13);
  --shadow: 0 2px 6px rgba(20,20,40,.05), 0 14px 34px rgba(20,20,40,.09);
  --radius: 12px;
  --maxw: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e13;
    --bg-soft: #15151d;
    --text: #f2f2f7;
    --text-soft: #a3a3b2;
    --border: #262633;
    --accent: #6b8ff2;
    --accent-hover: #87a5f6;
    --card: #16161f;
    --ink: #0a0a12;
    --shadow: 0 2px 6px rgba(0,0,0,.35), 0 14px 34px rgba(0,0,0,.4);
  }
}

@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/big-shoulders-display-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px max(24px, calc((100% - 1032px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  animation: mark-turn .8s cubic-bezier(.16,.84,.3,1) backwards;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.brand:hover .brand-mark { transform: rotate(90deg); }
@keyframes mark-turn {
  from { transform: rotate(-180deg) scale(.55); opacity: 0; }
}
.brand-name {
  display: block;
  height: 22px;
  width: 143.9px;  flex: none;
  transform: translateY(-1px);
}
.brand-name path { fill: none; stroke: currentColor; stroke-width: var(--sw); }
.brand-name path.f, .brand-name rect { fill: currentColor; stroke: none; }
.brand-name { animation: name-in .3s ease-out backwards; animation-delay: .45s; }
@keyframes name-in {
  from { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-mark, .brand-name { animation: none; }
  .brand:hover .brand-mark { transform: none; }
}
.site-header nav { display: flex; align-items: center; gap: 22px; }
.site-header nav a { color: var(--text-soft); font-size: .95rem; transition: color .15s; }
.site-header nav a:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
}
.btn-ghost {
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 10px;
  color: var(--text) !important;
  text-decoration: none !important;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent) !important; }
.lang {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .07em;
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 8px;
  text-decoration: none !important;
}
.lang:hover { border-color: var(--accent); color: var(--accent) !important; }

main { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; counter-reset: sec; }
section { padding: 72px 0; scroll-margin-top: 76px; }
.section-title {
  counter-increment: sec;
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 38px;
}
.section-title::before {
  content: counter(sec, decimal-leading-zero);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .1em;
}
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  min-width: 40px;
  background: var(--border);
  transform: translateY(-4px);
}

.hero {
  padding: 72px 0 48px;
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.hero-text { flex: 1 1 320px; min-width: 0; }
.hero-photo { flex: 0 0 auto; position: relative; }
.hero-photo img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: 50% 8%;  border-radius: 22px;
  display: block;
  position: relative;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  background: var(--accent);
  border-radius: 22px;
  z-index: -1;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: auto -16px -16px auto;
  width: 44px;
  height: 44px;
  background: var(--ink);
  border-radius: 0 0 22px 0;
  z-index: -1;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--accent);
  flex: none;
}
.hero h1 {
  font-family: "Big Shoulders Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: .98;
  letter-spacing: .005em;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero h1::after {
  content: "";
  display: block;
  width: 232px;
  height: 12px;
  margin-top: 30px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 232 12"><g fill="%232050d4"><rect width="12" height="12"/><rect x="16" width="11" height="11" opacity=".95"/><rect x="32" y="1" width="10" height="10" opacity=".88"/><rect x="50" y="1" width="9" height="9" opacity=".8"/><rect x="70" y="2" width="8" height="8" opacity=".7"/><rect x="93" y="2" width="7" height="7" opacity=".6"/><rect x="119" y="3" width="6" height="6" opacity=".5"/><rect x="148" y="3" width="5" height="5" opacity=".4"/><rect x="180" y="4" width="4" height="4" opacity=".3"/><rect x="215" y="4" width="3" height="3" opacity=".22"/></g></svg>') no-repeat left center / contain;
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--text-soft);
  max-width: 640px;
  margin-bottom: 34px;
}
.lede strong { color: var(--text); font-weight: 600; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn, .btn-outline {
  display: inline-block;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -.01em;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .2s, color .15s;
}
.btn { background: var(--accent); color: #fff; }
.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 32%, transparent);
}
.btn-outline { border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .2s, border-color .2s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.card h3 {
  font-family: "Big Shoulders Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.card p { color: var(--text-soft); margin-bottom: 16px; }
.tag {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 3px 9px;
  border-radius: 6px;
}
.pill {
  display: inline-block;
  font-size: .72rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 14px !important;
}
.link { color: var(--accent); font-weight: 600; font-size: .95rem; }
.link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 4px; }
.card .links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 0; }

.about-body { max-width: 760px; }
.about-body p { color: var(--text-soft); margin-bottom: 16px; font-size: 1.08rem; }
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--text); font-weight: 600; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chips li {
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 8px;
}

.approach {
  background: var(--ink);
  margin-inline: calc(50% - 50vw);
  padding: 96px max(24px, calc(50vw - 516px));
  border-block: 1px solid var(--ink-border);
}
.approach .section-title { color: var(--ink-soft); }
.approach .section-title::before { color: var(--ink-accent); }
.approach .section-title::after { background: var(--ink-border); }
.approach .statement {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  line-height: 1.4;
  letter-spacing: -.015em;
  max-width: 860px;
  font-weight: 500;
  color: var(--ink-text);
}
.approach .statement + .statement { margin-top: 26px; }
.approach em { color: var(--ink-accent); font-style: normal; }

.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.press-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s, border-color .2s, box-shadow .25s;
}
.press-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.press-meta {
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: 8px;
}
.press-card h3 { font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.4; margin-bottom: 12px; font-weight: 600; transition: color .2s; }
.press-card:hover h3 { color: var(--accent); }
.press-action { color: var(--accent); font-weight: 600; font-size: .9rem; }
.press-note { color: var(--text-soft); font-size: .95rem; margin-top: 20px; max-width: 760px; }

.contact p { color: var(--text-soft); max-width: 560px; margin-bottom: 24px; }

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding: 32px 24px 52px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-soft);
  font-size: .9rem;
}
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a:hover { color: var(--accent); }

/* Journal — posts LinkedIn archivés (page générée par bin/build-journal.py) */
.journal { padding-top: 24px; }
.journal-list { max-width: 760px; display: grid; gap: 20px; }
.post-card { padding: 34px 34px 28px; }
.post-card:hover { transform: none; box-shadow: none; }
.post-card .post-date {
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: 18px;
}
.post-card .post-date a { color: var(--accent); }
.post-card .post-date a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-card p { margin-bottom: 14px; }
.post-card p:last-child { margin-bottom: 0; }
.post-card .post-hook { color: var(--text); font-weight: 600; font-size: 1.14rem; line-height: 1.5; }
.post-card .post-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .card, .press-card {
      animation: rise .7s cubic-bezier(.2,.7,.2,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
}

@media (max-width: 760px) {
  .grid-2, .grid-3, .press-grid { grid-template-columns: 1fr; }
  .site-header { padding: 14px 16px; flex-wrap: wrap; }
  .site-header nav { gap: 12px; }
  .site-header nav a:not(.btn-ghost):not(.lang) { display: none; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-name { height: 18px; width: 117.8px; }
  section { padding: 52px 0; }
  .hero { flex-direction: column; gap: 40px; text-align: center; }
  .hero-photo { order: -1; }
  .hero-photo img { width: 150px; height: 150px; }
  .hero-photo::before { inset: 12px -12px -12px 12px; }
  .hero-photo::after { inset: auto -12px -12px auto; width: 34px; height: 34px; }
  .eyebrow { justify-content: center; }
  .hero h1::after { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .approach { padding: 64px 24px; }
}
