@font-face {
  font-family: "Lausanne";
  src: url("fonts/lausanne-regular.otf") format("opentype");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lausanne";
  src: url("fonts/lausanne-italic.otf") format("opentype");
  font-style: italic;
  font-display: swap;
}

/* Couleurs tirées de la photo : fond bleu poudré */
:root {
  --blue-light: #dde8f0;
  --blue: #b9cfe0;
  --blue-deep: #8dabc4;
  --ink: #1e191c;
  --ink-soft: #453f47;
  --paper: rgba(255, 255, 255, .62);
  --paper-border: rgba(255, 255, 255, .85);
}

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

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Lausanne", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-synthesis: none;
  color: var(--ink);
  background: var(--blue);
}

/* ---- Fond : même halo que le mur de la photo, des dégradés qui bougent, du grain argentique ---- */
.backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 70% at 50% 32%, var(--blue-light), var(--blue) 55%, var(--blue-deep));
}
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .34;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

.glow {
  position: absolute;
  width: 80vmax;
  height: 80vmax;
  border-radius: 50%;
  animation: glow-drift var(--dur) ease-in-out infinite alternate;
}
.glow-1 {
  --dur: 11s;
  --to: 60vw, 55vh;
  top: -45vmax;
  left: -35vmax;
  background: radial-gradient(closest-side, rgba(244, 249, 252, .9), transparent);
}
.glow-2 {
  --dur: 14s;
  --to: -65vw, -50vh;
  right: -40vmax;
  bottom: -40vmax;
  background: radial-gradient(closest-side, rgba(84, 124, 172, .7), transparent);
}
.glow-3 {
  --dur: 9s;
  --to: 45vw, -45vh;
  bottom: -40vmax;
  left: -30vmax;
  background: radial-gradient(closest-side, rgba(150, 168, 228, .6), transparent);
}

@keyframes glow-drift {
  to { transform: translate(var(--to)) scale(1.25); }
}

/* Derrière le contenu sur grand écran, par-dessus sur mobile où il n'y a pas de marges */
#cats {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cat {
  position: absolute;
  top: 0;
  left: 0;
  image-rendering: pixelated;
}

/* ---- Contenu ---- */
.page {
  position: relative;
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 40px 16px 28px;
  text-align: center;
}

.portrait {
  width: 180px;
  aspect-ratio: 1;
  margin: 0 auto 20px;
  border: 2px solid #fff;
  border-radius: 8px;
  background: center 8% / cover no-repeat;
  box-shadow: 0 16px 36px rgba(38, 56, 78, .3);
}

h1 {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.location {
  margin: 6px 0 14px;
  font-size: 14px;
  color: var(--ink-soft);
}

.bio {
  margin-bottom: 26px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.links { display: grid; gap: 8px; }

.card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 9px 18px;
  text-align: left;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--paper-border);
  border-radius: 8px;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 10px 22px rgba(38, 56, 78, .2);
}
.card:focus-visible,
.more:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.icon { flex: none; display: grid; place-items: center; }
.icon svg { width: 20px; height: 20px; fill: currentColor; }

.label {
  flex: 1;
  min-width: 0;
  letter-spacing: -.005em;
  overflow-wrap: anywhere;
}
.note { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.arrow { transition: transform .2s; }
.card:hover .arrow { transform: translateX(3px); }

.videos { margin-top: 38px; }
.videos h2 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -.02em;
}
.video-list { display: grid; gap: 8px; margin: 14px 0 16px; }
.video { padding: 8px 14px 8px 8px; }
.video img {
  flex: none;
  width: 112px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}
.video-title { display: block; font-size: 14px; line-height: 1.3; }
.video-meta { display: block; margin-top: 4px; font-size: 12px; font-style: italic; color: var(--ink-soft); }
.more { font-size: 14px; color: var(--ink); text-underline-offset: 3px; }

footer {
  margin-top: 36px;
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---- Media kit ---- */
.back {
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--ink);
  text-align: left;
  text-underline-offset: 3px;
}
.media-kit-page .portrait {
  width: 120px;
  margin-bottom: 16px;
}
.period {
  margin-bottom: 22px;
  font-size: 12px;
}
/* Plus opaques : les chats ne doivent pas se voir à travers les chiffres */
.media-kit-page .stat,
.media-kit-page .panel,
.media-kit-page .card:not(:hover) {
  background: rgba(255, 255, 255, .94);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.stat,
.panel {
  padding: 14px 16px;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--paper-border);
  border-radius: 8px;
}
.stat-value {
  display: block;
  font-size: 24px;
  letter-spacing: -.02em;
}
.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-soft);
}

.panels {
  display: grid;
  gap: 8px;
  margin: 8px 0 24px;
}
.panel h2 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -.01em;
}
.bar-row {
  display: grid;
  grid-template-columns: 96px 1fr 52px;
  align-items: center;
  gap: 10px;
  min-height: 26px;
  font-size: 13px;
}
.bar-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(30, 25, 28, .1);
}
.bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--ink);
}
.bar-value { text-align: right; }

.media-kit-page footer { margin-top: 24px; }

@media (max-width: 759px) {
  #cats { z-index: 2; }
  .media-kit-page #cats { z-index: auto; }
  .portrait { width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
