/* Police manuscrite locale : aucune requête Google pour Caveat. */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/caveat-600.woff2') format('woff2');
}

:root {
  --ink: #202026;
  --muted: #65656e;
  --mint: #d9f1ef;
  --lav: #e4ddfa;
  --peach: #ffe2cc;
  --yellow: #fff18f;
  --paper: #fbfaf8;
  --line: #d8d7d3;
  --white: #fff
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 Manrope,sans-serif;
  overflow-x: hidden
}

img {
  display: block;
  width: 100%
}

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

section[id], .project[id] {
  scroll-margin-top: 90px
}

.page {
  width: min(1160px,calc(100% - 36px));
  margin: auto
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  height: 72px;
  padding-inline: max(18px,calc((100% - 1160px)/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(251,250,248,.92);
  border-bottom: 1px solid rgba(216,215,211,.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px)
}

.mini-logo {
  font-weight: 800;
  letter-spacing: .04em
}

.mini-logo .mini-script {
  font-family: Caveat,cursive;
  font-size: 1.4rem;
  color: #5d4b97
}

.nav {
  display: flex;
  gap: 28px;
  font-size: .85rem;
  font-weight: 700
}

.nav a:hover {
  color: #6f5aa7
}

.nav-label-mobile {
  display: none
}

.nav .nav-mobile-app {
  display: none
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 40px 0;
  overflow: hidden
}

.hero:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: var(--mint);
  left: -25vw;
  top: -28vw
}

.hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 36vw;
  height: 36vw;
  border-radius: 50%;
  background: var(--peach);
  right: -18vw;
  bottom: -22vw
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 80px;
  align-items: center
}

.kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 800;
  color: #6e628e;
  margin-bottom: 18px
}

.hero h1 {
  font-size: clamp(4rem,9vw,8.3rem);
  font-weight: 500;
  line-height: .82;
  letter-spacing: -.075em;
  margin: 0
}

.hero h1 strong {
  font-weight: 800
}

.script {
  display: block;
  font-family: Caveat,cursive;
  color: #624f96;
  font-size: .52em;
  letter-spacing: 0;
  transform: rotate(-3deg);
  margin: 12px 0 0 18%
}

.lead {
  font-size: clamp(1.05rem,1.7vw,1.35rem);
  max-width: 670px;
  margin: 34px 0 0
}

.hero-app-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin-top: 24px;
  color: var(--ink);
  text-decoration: none
}

.hero-app-link>strong {
  font-size: 1rem;
  letter-spacing: -.015em
}

.hero-app-action {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 16px 8px 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(54,48,43,.1);
  font-weight: 800;
  transition: transform .2s ease,box-shadow .2s ease
}

.hero-app-action img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 9px
}

.hero-app-link:hover .hero-app-action {
  transform: translateY(-3px);
  box-shadow: 0 11px 26px rgba(54,48,43,.15)
}

.hero-profile {
  width: min(100%, 440px);
  justify-self: center
}

.hero-domain {
  margin: 26px 0 0;
  text-align: center;
  font-family: Caveat,cursive;
  font-weight: 600;
  font-size: 1.5rem
}

.hero-motto {
  margin: 10px 0 0;
  text-align: center;
  font-family: Caveat,cursive;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.25
}

.hero-motto-phrase {
  font-size: 1.1em
}

.hero-motto-ending {
  white-space: nowrap
}

.hero-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  box-shadow: 15px 15px 0 var(--lav);
  transform: rotate(1.5deg);
  overflow: hidden;
  background: #ddd
}

.hero-portrait img {
  height: 100%;
  object-fit: cover;
  object-position: center
}

.hero-portrait span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: var(--yellow);
  padding: 7px 10px;
  font-size: .68rem;
  font-weight: 800;
  color: var(--ink);
  transform: rotate(3deg)
}

/* Frise des projets : images 4:3 et commandes en verre dépoli. */
.project-carousel {
  padding-bottom: 30px
}

.project-carousel-shell {
  position: relative;
  padding: 12px 34px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 26px;
  background: linear-gradient(120deg,rgba(217,241,239,.4),rgba(255,255,255,.65) 48%,rgba(228,221,250,.4));
  box-shadow: inset 0 1px 0 #fff,0 8px 30px rgba(40,43,61,.06);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px)
}

.project-carousel-viewport {
  overflow: hidden;
  border-radius: 16px;
  touch-action: pan-y pinch-zoom
}

.project-carousel-track {
  display: flex;
  gap: 14px
}

.carousel-project {
  position: relative;
  isolation: isolate;
  flex: 0 0 calc((100% - 42px)/4);
  min-width: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 16px;
  background: #30343c;
  color: #fff;
  -webkit-user-select: none;
  user-select: none
}

.carousel-project::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg,rgba(0,0,0,.12),transparent 45%,rgba(0,0,0,.76));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22)
}

.carousel-project img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease
}

.carousel-project-type {
  position: absolute;
  top: 12px;
  left: 14px;
  color: rgba(255,255,255,.68);
  font-size: clamp(1.75rem,3.1vw,2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.055em;
  text-shadow: 0 1px 12px rgba(0,0,0,.15)
}

.carousel-project-title {
  position: absolute;
  bottom: 13px;
  left: 14px;
  right: 12px;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.025em
}

.carousel-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: rgba(255,255,255,.65);
  color: #383b47;
  box-shadow: inset 0 1px 1px #fff,0 3px 12px rgba(26,30,46,.12);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background .2s,box-shadow .2s
}

.carousel-arrow[hidden] { display: none }
.carousel-arrow-prev { left: -9px }
.carousel-arrow-next { right: -9px }
.carousel-arrow svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.carousel-arrow:hover { background: rgba(255,255,255,.9); box-shadow: 0 4px 16px rgba(26,30,46,.18) }
.carousel-project:focus-visible,.project-carousel-viewport:focus-visible { outline: 3px solid #69569b; outline-offset: -3px }
.carousel-arrow:focus-visible { outline: 3px solid #69569b; outline-offset: 3px }
.carousel-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap }

@media(hover:hover) {
  .carousel-project:hover img { transform: scale(1.045) }
}

@media(max-width:800px) {
  .project-carousel { padding-bottom: 25px }
  .project-carousel-shell { padding: 10px 23px; border-radius: 23px }
  .carousel-project { flex-basis: calc((100% - 28px)/3) }
  .carousel-project-type { font-size: 2rem }
}

@media(max-width:560px) {
  .project-carousel-shell { padding-inline: 18px }
  .carousel-project { flex-basis: 72% }
  .carousel-project-type { font-size: 2.1rem }
}

@media(prefers-reduced-motion:reduce) {
  .carousel-project img,.carousel-arrow { transition: none }
}

.human-made {
  padding: 0 0 95px
}

.human-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 13px 35px rgba(24,78,161,.13)
}

.human-banner {
  background: #1769d7;
  color: #fff;
  padding: clamp(22px,3.5vw,34px)
}

.human-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800
}

.human-banner h2 {
  font-size: clamp(2.7rem,5vw,4.8rem);
  line-height: .9;
  letter-spacing: -.055em;
  margin: 7px 0 0
}

.human-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  row-gap: 7px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.35);
  font-size: .86rem;
  line-height: 1.45
}

.human-copy p {
  margin: 0;
  color: rgba(255,255,255,.9)
}

.human-copy p:last-child {
  font-weight: 700;
  color: #fff
}

[hidden] {
  display: none!important
}

.news {
  padding: 0 0 30px
}

.news-shell {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(40px,7vw,90px);
  align-items: start
}

.news-intro {
  position: sticky;
  top: 28px
}

.news-kicker {
  font-family: Caveat,cursive;
  color: #735ea7;
  font-size: 1.55rem
}

.news h2 {
  font-size: clamp(3rem,6vw,5.8rem);
  line-height: .9;
  letter-spacing: -.06em;
  margin: 3px 0 20px
}

.news-x-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
  transition: transform .2s ease,background .2s ease
}

.news-x-link:hover {
  transform: translateY(-2px);
  background: #66539b
}

.news-x-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: .72rem
}

.news-list {
  min-width: 0
}

.news-feed {
  position: relative;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(54,48,43,.08);
  overflow: hidden
}

.news-feed:before {
  content: "";
  position: absolute;
  left: 34px;
  top: 38px;
  bottom: 38px;
  width: 2px;
  background: var(--lav)
}

.news-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 26px 28px;
  border-bottom: 1px solid #ecebe8
}

.news-item:last-child {
  border-bottom: 0
}

.news-avatar {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px #fff
}

.news-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px
}

.news-author {
  font-weight: 800
}

.news-handle,.news-date {
  color: #777780;
  font-size: .78rem
}

.news-title {
  font-size: 1.08rem;
  font-weight: 800;
  margin: 6px 0 4px
}

.news-text {
  margin: 0;
  color: #55555e
}

.news-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 9px;
  background: var(--mint);
  border-radius: 999px;
  color: #365c57;
  font-size: .69rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em
}

.news-more {
  display: block;
  margin: 18px auto 0;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 13px 21px;
  font: 800 .78rem Manrope,sans-serif;
  cursor: pointer;
  transition: transform .2s ease,background .2s ease
}

.news-more:hover {
  transform: translateY(-2px);
  background: #66539b
}

.news-more:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px
}

.spotlight {
  padding: 0 0 95px
}

.spotlight-card {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  background: #22232a;
  color: #fff;
  min-height: 540px;
  position: relative;
  box-shadow: 0 22px 55px rgba(35,32,30,.16)
}

.portrait {
  position: relative;
  overflow: hidden;
  min-height: 480px
}

.portrait img {
  height: 100%;
  object-fit: cover;
  object-position: center
}

.portrait-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: var(--yellow);
  color: var(--ink);
  padding: 7px 11px;
  font-size: .7rem;
  font-weight: 800;
  transform: rotate(-3deg)
}

.app-panel {
  padding: clamp(36px,6vw,72px);
  display: flex;
  flex-direction: column;
  justify-content: center
}

.app-heading {
  display: flex;
  align-items: center;
  gap: 22px
}

.app-logo {
  width: 148px;
  height: auto;
  filter: drop-shadow(0 8px 8px rgba(0,0,0,.25))
}

.app-panel .overline {
  font-size: .73rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
  color: #a99bd6
}

.app-panel h2 {
  font-size: clamp(3rem,6vw,5.8rem);
  line-height: .9;
  letter-spacing: -.06em;
  margin: 4px 0
}

.app-panel>p {
  color: #cbcbd2;
  max-width: 660px;
  margin: 25px 0 30px
}

.downloads {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px
}

.download {
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 14px;
  align-items: center;
  background: #fff;
  color: var(--ink);
  padding: 14px;
  border-radius: 14px;
  transition: transform .2s ease
}

.download:hover {
  transform: translateY(-3px)
}

.store-badge {
  width: 100%;
  max-width: 185px;
  height: auto
}

.download .qr {
  width: 82px;
  height: 82px
}

.app-note {
  font-size: .72rem;
  color: #8f8f98;
  margin-top: 14px
}

.youtube {
  padding: 0 0 95px
}

.youtube-card {
  background: #e62117;
  color: #fff;
  padding: clamp(38px,7vw,78px);
  display: grid;
  grid-template-columns: 1fr minmax(300px,430px);
  gap: 55px;
  align-items: center;
  position: relative;
  overflow: hidden
}

.youtube-card:after {
  content: "▶";
  position: absolute;
  right: 19%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20rem;
  line-height: 1;
  color: rgba(255,255,255,.09);
  pointer-events: none
}

.youtube-copy {
  position: relative;
  z-index: 1
}

.youtube-label {
  font-size: .73rem;
  text-transform: uppercase;
  letter-spacing: .17em;
  font-weight: 800
}

.youtube h2 {
  font-size: clamp(3rem,7vw,6.7rem);
  line-height: .88;
  letter-spacing: -.065em;
  margin: 10px 0 22px
}

.youtube p {
  max-width: 650px;
  margin: 0;
  color: #ffe2e0;
  font-size: 1.06rem
}

.youtube-side {
  position: relative;
  z-index: 1
}

.youtube-preview {
  background: #fff;
  padding: 8px;
  border-radius: 9px;
  margin-bottom: 18px;
  box-shadow: 0 10px 30px rgba(81,0,0,.3)
}

.youtube-preview img {
  aspect-ratio: 16/9;
  object-fit: cover
}

.youtube-preview span {
  display: block;
  color: #555;
  font-size: .68rem;
  font-weight: 700;
  padding: 7px 5px 2px
}

.youtube-button {
  background: #fff;
  color: #17171b;
  padding: 19px 25px;
  border-radius: 9px;
  font-weight: 800;
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 7px 0 rgba(81,0,0,.25);
  transition: transform .2s ease
}

.youtube-button:hover {
  transform: translateY(-3px)
}

.video-vitrine {
  padding: 0 0 55px
}

.video-vitrine-list {
  display: grid;
  gap: 16px
}

.video-vitrine-card {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: clamp(22px,3vw,38px);
  align-items: center;
  padding: 14px clamp(22px,3vw,36px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(54,48,43,.07)
}

.video-vitrine-heading>span {
  color: #e62117;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase
}

.video-vitrine h2 {
  margin: 8px 0 0;
  font-size: clamp(2.4rem,4vw,4.2rem);
  line-height: .95;
  letter-spacing: -.055em
}

.video-vitrine-player {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
  border-radius: 9px;
  box-shadow: 0 12px 30px rgba(35,32,30,.18)
}

.video-vitrine-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0
}

.play {
  display: grid;
  place-items: center;
  width: 36px;
  height: 26px;
  border-radius: 7px;
  background: #e62117;
  color: #fff;
  font-size: .78rem;
  padding-left: 2px
}

.catalogue {
  padding: 45px 0 95px
}

.section-title {
  text-align: center;
  margin-bottom: 50px
}

.section-title span {
  font-family: Caveat,cursive;
  color: #735ea7;
  font-size: 1.55rem
}

.section-title h2 {
  font-size: clamp(2.5rem,5vw,4.5rem);
  line-height: 1;
  margin: 3px 0 14px;
  letter-spacing: -.055em
}

.section-title p {
  color: var(--muted);
  max-width: 670px;
  margin: auto
}

.projects {
  display: grid;
  gap: 32px
}

.project {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 420px;
  position: relative;
  box-shadow: 0 14px 40px rgba(54,48,43,.07);
  overflow: visible
}

.project:nth-child(even) {
  grid-template-columns: 1.18fr 1fr
}

.project:nth-child(even) .visual {
  order: 2
}

.visual {
  overflow: hidden;
  min-height: 370px
}

.visual img {
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease
}

.project-placeholder {
  display: grid;
  place-items: center;
  padding: 32px;
  color: #fff;
  text-align: center
}

.project-placeholder strong {
  font-size: clamp(2.2rem,5vw,4.8rem);
  line-height: .9;
  letter-spacing: -.055em
}

.theatre-placeholder {
  background: linear-gradient(145deg,#671c2a,#bd4e47)
}

.videogame-placeholder {
  background: linear-gradient(145deg,#19295c,#3877a9)
}

.project:hover .visual img {
  transform: scale(1.025)
}

.copy {
  padding: clamp(32px,5vw,62px);
  display: flex;
  flex-direction: column;
  justify-content: center
}

.type {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  color: #7562a6
}

.copy h3 {
  font-size: clamp(2.4rem,5vw,4.5rem);
  line-height: .95;
  letter-spacing: -.055em;
  margin: 12px 0 21px
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 23px
}

.meta span {
  background: #f0eef7;
  padding: 6px 10px;
  font-size: .73rem;
  font-weight: 700
}

.copy p {
  color: var(--muted);
  margin: 0;
  max-width: 550px
}

.catalogue .project .copy>h3 {
  margin-bottom: 8px
}

.copy .project-credit {
  margin: 0 0 18px;
  font-size: .875rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted)
}

.sticker {
  position: absolute;
  right: -13px;
  top: -17px;
  background: var(--yellow);
  border: 2px solid #e0788d;
  padding: 10px 15px;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.15;
  transform: rotate(7deg);
  box-shadow: 3px 4px 0 rgba(32,32,38,.12);
  z-index: 2
}

.project:nth-child(2) .sticker {
  background: #dff3ee;
  transform: rotate(-5deg)
}

.project .sticker[data-image-label="enCreation"] {
  background: #ffd9e0;
  transform: rotate(4deg)
}

.biography {
  padding: 0
}

.biography-card {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: clamp(38px,7vw,85px);
  background: var(--lav);
  padding: clamp(38px,7vw,78px);
  border-radius: 18px
}

.biography-title>span {
  font-family: Caveat,cursive;
  color: #66539b;
  font-size: 1.5rem
}

.biography h2 {
  font-size: clamp(3rem,6vw,5.5rem);
  line-height: .9;
  letter-spacing: -.06em;
  margin: 4px 0 0
}

.bio-photo {
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 30px;
  box-shadow: 12px 12px 0 rgba(255,255,255,.58)
}

.biography-copy>p:first-child {
  margin-top: 0
}

.biography-copy p {
  color: #4f4b59
}

.bio-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0
}

.bio-project {
  background: rgba(255,255,255,.65);
  padding: 17px 18px;
  border-radius: 10px
}

.bio-project strong {
  display: block;
  margin-bottom: 4px
}

.bio-project span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45
}

.bio-final {
  margin-bottom: 0
}

.bio-app {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 18px;
  align-items: center;
  background: #22232a;
  color: #fff;
  padding: 18px;
  border-radius: 13px;
  margin-top: 30px
}

.bio-app-brand {
  text-align: center
}

.bio-app-logo {
  width: 88px;
  height: auto;
  margin: 0 auto 7px;
  filter: drop-shadow(0 6px 7px rgba(0,0,0,.22))
}

.bio-app-brand strong {
  display: block;
  font-size: .78rem
}

.bio-app-downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.bio-app-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  padding: 9px;
  border-radius: 9px
}

.bio-app-download .store-badge {
  max-width: 128px
}

.bio-app-download .qr {
  width: 62px;
  height: 62px;
  flex: 0 0 62px
}

.about {
  margin-top: 105px;
  background: var(--mint);
  position: relative;
  padding: 95px 0
}

.about:after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  background: var(--lav);
  border-radius: 50%;
  right: 5%;
  top: -60px;
  opacity: .72
}

.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  position: relative;
  z-index: 1
}

.about h2 {
  font-size: clamp(2.8rem,6vw,5.3rem);
  line-height: .95;
  letter-spacing: -.06em;
  margin: 0
}

.about h2 span {
  font-family: Caveat,cursive;
  color: #66539b;
  font-size: .72em;
  letter-spacing: 0
}

.about-copy {
  font-size: 1.08rem
}

.about-copy p:first-child {
  margin-top: 0
}

.roles {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: rgba(32,32,38,.16);
  margin-top: 35px
}

.role {
  background: #edf9f7;
  padding: 19px
}

.role strong {
  display: block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em
}

.role span {
  font-size: .82rem;
  color: var(--muted)
}

.contact {
  padding: 95px 0 35px
}

.contact-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: clamp(36px,7vw,75px);
  display: flex;
  justify-content: space-between;
  gap: 45px;
  align-items: center;
  box-shadow: 0 14px 40px rgba(54,48,43,.06)
}

.contact h2 {
  font-size: clamp(2.7rem,5vw,4.7rem);
  line-height: .95;
  letter-spacing: -.055em;
  margin: 0 0 13px
}

.contact p {
  margin: 0;
  color: var(--muted)
}

.mail-button {
  background: var(--ink);
  color: #fff;
  padding: 18px 24px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .2s ease
}

.mail-button:hover {
  transform: translateY(-3px)
}

.social {
  padding: 0 0 48px
}

.social-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--lav);
  padding: 18px 24px;
  border-radius: 12px
}

.social-title {
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase
}

.social-links {
  display: flex;
  gap: 10px
}

.social-link {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  transition: transform .2s ease
}

.social-link:hover {
  transform: translateY(-2px)
}

.social-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: .72rem
}

.social-link.youtube-social .social-icon {
  background: #e62117;
  font-size: .6rem;
  padding-left: 1px
}

footer {
  padding: 42px 0
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--muted)
}

.footer-brand {
  color: var(--ink);
  font-weight: 800
}

.footer-brand span {
  font-family: Caveat,cursive;
  color: #66539b;
  font-size: 1.25rem
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: .7s ease
}

.reveal.visible {
  opacity: 1;
  transform: none
}

.human-made,.spotlight,.youtube {
  padding-bottom: 55px
}

.news {
  padding-bottom: 20px
}

.catalogue {
  padding-top: 25px;
  padding-bottom: 55px
}

.about {
  margin-top: 55px
}

.contact {
  padding-top: 60px;
  padding-bottom: 25px
}

.social {
  padding-bottom: 35px
}

footer {
  padding: 32px 0
}

.youtube-card {
  padding: clamp(24px,4vw,46px)
}

.project {
  min-height: 320px
}

.visual {
  min-height: 280px
}

.copy {
  padding: clamp(24px,3vw,38px)
}

.biography-card {
  gap: clamp(26px,4vw,48px);
  padding: clamp(26px,4vw,46px)
}

.bio-projects {
  margin: 14px 0
}

.bio-app {
  margin-top: 16px
}

.about {
  padding: 58px 0
}

.about-grid {
  gap: 45px
}

.roles {
  margin-top: 18px
}

.role {
  padding: 12px
}

.contact-card {
  padding: clamp(24px,4vw,44px)
}

@media(max-width:800px) {
  .nav {
    display: none
  }

  .hero {
    padding: 30px 0
  }

  .hero-grid,.about-grid,.spotlight-card,.youtube-card,.news-shell,.biography-card {
    grid-template-columns: 1fr;
    gap: 38px
  }

  .hero h1 {
    font-size: clamp(4rem,19vw,7rem)
  }

  .hero-profile {
    width: min(calc(100% - 24px), 440px)
  }

  .hero-motto {
    display: none
  }

  .human-made {
    padding-bottom: 70px
  }

  .human-copy {
    grid-template-columns: 1fr;
    font-size: .83rem
  }

  .spotlight,.youtube {
    padding-bottom: 70px
  }

  .news {
    padding-bottom: 28px
  }

  .news-intro {
    position: static
  }

  .news-feed:before {
    left: 29px
  }

  .news-item {
    grid-template-columns: 46px 1fr;
    padding: 22px 18px
  }

  .news-avatar {
    width: 36px;
    height: 36px;
    box-shadow: 0 0 0 5px #fff
  }

  .spotlight-card>.portrait {
    display: none
  }

  .app-panel {
    padding: 34px 24px
  }

  .app-heading {
    align-items: flex-start;
    flex-direction: column
  }

  .app-logo {
    width: 125px
  }

  .downloads {
    grid-template-columns: 1fr
  }

  .youtube-card:after {
    right: -15%;
    font-size: 14rem
  }

  .catalogue {
    padding: 40px 0 70px
  }

  .project,.project:nth-child(even) {
    grid-template-columns: 1fr
  }

  .project:nth-child(even) .visual {
    order: 0
  }

  .visual {
    min-height: 260px
  }

  .copy {
    padding: 30px
  }

  .sticker {
    right: 6px
  }

  .biography-card {
    padding: 34px 24px
  }

  .bio-photo {
    max-width: 340px
  }

  .bio-projects {
    grid-template-columns: 1fr
  }

  .bio-app {
    grid-template-columns: 1fr
  }

  .bio-app-download {
    flex-direction: column
  }

  .about {
    margin-top: 75px;
    padding: 70px 0
  }

  .roles {
    grid-template-columns: 1fr
  }

  .contact {
    padding: 70px 0 30px
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column
  }

  .mail-button {
    white-space: normal;
    word-break: break-word
  }

  .social-strip {
    align-items: flex-start;
    flex-direction: column
  }

  .social-links {
    width: 100%;
    flex-wrap: wrap
  }

  .footer-row {
    display: block
  }

  .footer-row>div:last-child {
    margin-top: 8px
  }
}

@media(max-width:800px) {
  .topbar {
    height: auto;
    min-height: 72px;
    padding-block: 8px;
    gap: 8px 12px;
    flex-wrap: wrap
  }

  .mini-logo {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    font-family: Caveat,cursive;
    font-size: 1.4rem;
    font-weight: 600;
    color: #5d4b97;
    letter-spacing: 0;
    line-height: 1.2
  }

  .mini-logo .mini-script {
    display: none
  }

  .nav {
    display: flex;
    align-items: center;
    gap: 12px
  }

  .nav a {
    display: none
  }

  .nav a[href="#top"],.nav a[href="#catalogue"],.nav a[href="#contact"],.nav .nav-mobile-app {
    display: inline-flex;
    align-items: center;
    min-height: 44px
  }

  .nav a[href="#top"] {
    justify-content: center;
    min-width: 28px
  }

  .nav-app-logo img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 6px
  }

  .nav-label-desktop {
    display: none
  }

  .nav-label-mobile {
    display: block
  }

  .visual {
    min-height: 0;
    aspect-ratio: 3/2
  }

  .visual img {
    width: 100%;
    height: 100%;
    object-fit: cover
  }
}

@media(max-width:800px) {
  .human-made,.spotlight,.youtube {
    padding-bottom: 45px
  }

  .news {
    padding-bottom: 18px
  }

  .catalogue {
    padding-top: 25px;
    padding-bottom: 45px
  }

  .about {
    margin-top: 45px
  }

  .contact {
    padding-top: 50px;
    padding-bottom: 25px
  }
}

@media(max-width:800px) {
  .youtube-card {
    padding: 24px 20px
  }

  .video-vitrine {
    padding-bottom: 45px
  }

  .video-vitrine-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 16px
  }

  .project {
    min-height: 0
  }

  .visual {
    min-height: 0
  }

  .copy {
    padding: 22px
  }

  .biography-card {
    padding: 24px 20px
  }

  .about {
    padding: 45px 0
  }

  .about-grid {
    gap: 36px
  }

  .contact-card {
    padding: 24px 20px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }

  .visual img {
    transition: none
  }
}

.music-app-caption {
  margin-top: 24px;
  font-weight: 700;
}
.music-app {
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  margin-top: 12px;
}
.music-app .bio-app-download {
  flex-wrap: wrap;
}
@media (max-width: 800px) {
  .music-app { grid-template-columns: 1fr; }
}

/* Chaque badge de boutique est placé au-dessus de son QR code. */
.bio-app-download {
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.bio-app-download .store-badge {
  width: 100%;
  max-width: 128px;
  height: auto;
  object-fit: contain;
}

/* Retire visuellement les marges transparentes des fichiers de badges. */
.bio-app-download {
  padding: 8px;
  gap: 8px;
  justify-content: flex-start;
}
.compact-store-badge {
  display: block;
  position: relative;
  width: 100%;
  max-width: 190px;
  aspect-ratio: 3.2;
  overflow: hidden;
  flex: 0 0 auto;
}
.bio-app-download .compact-store-badge .store-badge {
  position: absolute;
  width: 100%;
  max-width: none;
  height: auto;
  left: 0;
  top: 50%;
  transform: translateY(-53%);
}
.bio-app-download .qr {
  width: 120px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  flex: 0 0 auto;
}

/* Bloc App : badge de boutique au-dessus du QR correspondant. */
.download {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  padding: 8px;
  min-width: 0;
}
.download .compact-store-badge .store-badge {
  position: absolute;
  width: 100%;
  max-width: none;
  height: auto;
  left: 0;
  top: 50%;
  transform: translateY(-53%);
}
.download .qr {
  width: 120px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
}

/* ---------- FORMULAIRE DE CONTACT — WEB3FORMS ---------- */
.contact-form {
  padding: 20px clamp(20px,4vw,44px) 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  display: grid;
  gap: 18px;
}
.contact-form h3 { margin: 0; font-size: 1.3rem; }
/* Nom et e-mail côte à côte sur ordinateur. */
.contact-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-weight: 700; min-width: 0; }
.contact-form input:not([type="hidden"]):not([type="checkbox"]),
.contact-form textarea {
  width: 100%; padding: 12px 14px; font: inherit;
  color: var(--ink); background: #fafafa;
  border: 1px solid var(--line); border-radius: 8px;
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible {
  outline: 2px solid #286c69; outline-offset: 2px;
}
.contact-honeypot { display: none; }
.contact-submit { justify-self: start; font: inherit; font-weight: 800; border: 0; cursor: pointer; white-space: normal; }
.contact-submit:disabled { opacity: .65; cursor: wait; }
.contact .contact-privacy { font-size: .8rem; }
.contact-status:empty { display: none; }
.contact .contact-status[data-state="success"] { color: #19633c; }
.contact .contact-status[data-state="error"] { color: #a52c2c; }
/* Sur téléphone, les champs passent l’un sous l’autre. */
@media (max-width: 600px) { .contact-fields { grid-template-columns: 1fr; } }
/* ---------- FIN DU FORMULAIRE DE CONTACT ---------- */

/* Précision facultative après le libellé du message. */
.contact-message-hint { font-weight: 400; font-size: .85em; color: var(--muted); }

/* ---------- CONTACT : ENVELOPPE DEVANT LE FORMULAIRE ---------- */
/* Décoration dans le flux : aucun chevauchement avec les champs. */
.contact-form-heading { display: flex; align-items: center; gap: 20px; padding: 0; }
.contact-envelope { width: 105px; height: auto; flex-shrink: 0; transform: rotate(12deg); filter: drop-shadow(0 7px 5px rgba(0,0,0,.12)); }
@media (max-width: 600px) {
  .contact-form-heading { gap: 18px; }
  .contact-envelope { width: 75px; }
  .contact-form-heading h3 { font-size: 1.1rem; }
}

/* ---------- BLAZON : BLOC COMPACT ---------- */
/* La photo suit la hauteur du texte au lieu d’imposer sa hauteur naturelle. */
.project-blazon { min-height: 0; }
.project-blazon .visual { position: relative; min-height: 0; }
.project-blazon .visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-blazon .copy { padding: 22px 26px; }
.project-blazon .copy h3 { font-size: clamp(2.3rem,4vw,3.3rem); margin: 9px 0 14px; }
.project-blazon .meta { margin-bottom: 14px; }
@media (max-width: 800px) {
  .project-blazon .visual { aspect-ratio: 3/2; width: min(100%,420px); justify-self: center; }
  .project-blazon .copy { padding: 20px; }
}

/* ---------- BLAZON : DERNIER ÉPISODE ---------- */
/* Ligne pleine largeur sous la présentation : la grande photo reste compacte. */
.blazon-episode { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 24px 26px; }
.blazon-episode h4 { margin: 0 0 18px; font-size: 1.35rem; }
.blazon-episode-layout { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 28px; align-items: start; }
.blazon-episode-poster { display: block; width: 100%; height: auto; }
.blazon-episode-copy h5 { margin: 0 0 14px; font-size: 1.2rem; line-height: 1.35; }
.blazon-episode-copy p { margin: 0 0 14px; color: var(--muted); line-height: 1.65; }
.blazon-episode-copy p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .blazon-episode { padding: 20px; }
  .blazon-episode-layout { grid-template-columns: 1fr; gap: 20px; }
  .blazon-episode-poster { width: 160px; justify-self: center; }
}

/* ---------- BLAZON : LES DEUX ÉPISODES PRÉCÉDENTS ---------- */
.blazon-previous { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 22px 26px; }
.blazon-previous-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.blazon-previous-item { display: flex; align-items: center; gap: 20px; min-width: 0; padding-right: 24px; }
.blazon-previous-item + .blazon-previous-item { border-left: 1px solid var(--line); padding: 0 0 0 24px; }
.blazon-previous-item img { width: 90px; height: auto; flex-shrink: 0; }
.blazon-previous-item h5 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.35; overflow-wrap: anywhere; }
/* Sur téléphone, les deux épisodes se suivent pour garder les titres lisibles. */
@media (max-width: 600px) {
  .blazon-previous { padding: 20px; }
  .blazon-previous-grid { grid-template-columns: 1fr; gap: 18px; }
  .blazon-previous-item { padding: 0; }
  .blazon-previous-item + .blazon-previous-item { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
}

/* Description provisoire sous le titre de chaque ancien épisode. */
.blazon-previous-item p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* Mini-jukebox BLAZON */
.blazon-audio {
  margin-top: 18px;
  padding: clamp(14px, 3vw, 22px);
  border: 1px solid rgba(38, 38, 45, .12);
  border-radius: 16px;
  background: rgba(235, 235, 240, .56);
  color: #26262d;
}
.blazon-audio-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.blazon-audio-kicker { color: #626270; font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.blazon-audio :is(h4, h6) { margin: 2px 0 0; font-size: clamp(1rem, 3vw, 1.35rem); line-height: 1.2; }
.blazon-audio-wave { display: flex; flex: none; align-items: center; gap: 4px; height: 30px; color: #737382; }
.blazon-audio-wave i { width: 3px; height: 35%; background: currentColor; border-radius: 4px; }
.blazon-audio-wave i:nth-child(2n) { height: 65%; }
.blazon-audio-wave i:nth-child(3n) { height: 85%; }
.blazon-audio-wave i:nth-child(4) { height: 100%; background: currentColor; }
.blazon-audio-tracks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 8px; }
.blazon-audio-tracks button {
  --play-color: #e7e7ed;
  display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 7px 9px;
  border: 1px solid rgba(38, 38, 45, .12); border-radius: 10px; background: rgba(255, 255, 255, .76); color: #26262d;
  font: inherit; font-weight: 700; font-size: .85rem; text-align: left; overflow-wrap: anywhere; cursor: pointer;
}
.blazon-audio-tracks button:hover, .blazon-audio-tracks button[aria-pressed="true"] { background: #e3e3eb; border-color: #898996; }
.blazon-audio-tracks button:focus-visible { outline: 2px solid #26262d; outline-offset: 2px; }
.blazon-audio-play { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--play-color); color: #292930; }
.blazon-audio-play::before { content: ""; border-left: 11px solid currentColor; border-block: 7px solid transparent; margin-left: 3px; }
.is-playing .blazon-audio-play::before { width: 10px; height: 13px; margin: 0; border: 0; border-inline: 3px solid currentColor; }
.blazon-audio audio { width: 100%; margin-top: 10px; }
.blazon-audio-status:not(:empty) { margin-top: 8px; font-size: .9rem; }
.blazon-audio-context:not(:empty) {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid #a0a0ad;
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, .70);
  color: #454550;
  font-size: .88rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* Lecteurs vidéo compacts du catalogue. */
.catalogue-video :is(h4,h6) {
  margin: 0 0 12px;
}

.catalogue-video-list {
  display: grid;
  gap: 14px;
  width: min(100%, 440px);
  margin-inline: auto;
}

.project-rights {
  grid-column: 1 / -1;
  order: 3;
  margin: 0;
  padding: 10px 16px;
  background: transparent;
  color: var(--ink);
  text-align: right;
  font-size: .72rem;
  font-weight: 400;
  font-style: italic;
}

#contact-message::placeholder {
  color: #737373;
  font-style: italic;
  opacity: 1;
}

/* Bandeau de navigation discret, dans le flux normal de la page. */
.bottom-nav {
  margin-bottom: 28px
}
.bottom-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.35);
  font-size: .82rem
}
.bottom-nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0
}
.bottom-nav-links a + a::before {
  content: "·";
  display: inline-block;
  margin: 0 12px;
  color: var(--line)
}
.bottom-nav-links a:hover,
.bottom-nav-links a:focus-visible {
  color: var(--ink);
  text-decoration: underline
}
