/* PROJECTS PAGE */
/* Les trois projets forment des bandes pleine largeur dans les deux tons de la Bio. */
.projects-section{
  padding:0;
  background:#f8f7f4;
  overflow-x:clip;
}
.projects-page{max-width:1220px;}
.projects-list{display:grid;gap:0;}
.project-feature{
  position:relative;
  isolation:isolate;
  display:grid;
  align-items:center;
  gap:clamp(38px,6vw,86px);
  padding:clamp(48px,6vw,82px) 0;
}
.project-feature--portrait{grid-template-columns:minmax(0,1.15fr) minmax(220px,.7fr);min-height:0;justify-content:start;}
.project-feature--mikhail{grid-template-columns:minmax(300px,.78fr) minmax(0,1.12fr);}
.project-feature--violon{grid-template-columns:minmax(0,1fr) minmax(360px,.95fr);}
.project-feature-copy{min-width:0;}
.project-meta{
  margin:0 0 10px;color:var(--accent-strong);font-family:var(--font-ui);
  font-size:.82rem;font-weight:600;line-height:1.45;letter-spacing:.1em;text-transform:uppercase;
}
.project-eyebrow{
  margin:0 0 12px;color:rgba(91,111,140,.82);font-family:var(--font-ui);
  font-size:.82rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;
}
.project-feature h2{
  margin:0 0 18px;font-family:var(--font-display);font-size:clamp(3.1rem,5.4vw,5.25rem);
  font-weight:500;line-height:.92;letter-spacing:-.035em;
}
.project-subtitle{
  margin:-4px 0 24px;color:var(--subtitle);font-family:var(--font-body);
  font-size:clamp(1.08rem,1.7vw,1.3rem);font-style:italic;font-weight:400;line-height:1.45;
}
.project-entry-text{max-width:720px;}
.project-entry-text p{
  margin:0 0 18px;color:rgba(46,49,56,.94);font-family:var(--font-reading);
  font-size:1.08rem;font-weight:250;font-stretch:100%;line-height:1.7;
}
.project-entry-text p:last-child{margin-bottom:0;}
.project-entry-text .project-audience{font-weight:600;}
.project-role{
  margin:26px 0 0;padding-top:17px;border-top:1px solid var(--line);
  color:var(--subtitle);font-family:var(--font-body);font-size:1rem;line-height:1.5;
}
.project-source{margin:16px 0 0;}
.project-source a{color:var(--link-color);font-family:var(--font-display);font-size:1rem;font-weight:500;}
.project-source a:hover,.project-source a:focus-visible{color:var(--link-color-hover);}
.project-source--compact{margin-top:10px;}
.project-source--compact a{font-size:.88rem;font-weight:400;}
.project-visual{margin:0;overflow:visible;}
.project-visual img{display:block;width:100%;height:auto;border-radius:var(--image-radius);}
.project-visual figcaption{
  margin-top:10px;color:var(--muted);font-family:var(--font-body);
  font-size:.86rem;line-height:1.45;font-style:normal;
}
.project-visual--poster{max-width:460px;justify-self:center;}
.project-visual--wide{align-self:center;}
.project-visual--wide img{aspect-ratio:1.28/1;object-fit:cover;object-position:47% 50%;}
.project-portrait-mark{position:relative;min-height:300px;display:flex;flex-direction:column;justify-content:center;padding-left:8%;font-family:var(--font-display);color:var(--accent);border-left:1px solid rgba(101,120,147,.22);}
.project-portrait-mark span{display:block;color:rgba(101,120,147,.18);font-size:clamp(6rem,11vw,10rem);font-weight:600;line-height:.72;letter-spacing:-.07em;}
.project-portrait-mark strong{display:block;margin-top:22px;color:var(--subtitle);font-size:clamp(2.2rem,4vw,3.8rem);font-style:italic;font-weight:500;line-height:1;}
@media(max-width:820px){
  .project-feature,.project-feature--portrait,.project-feature--mikhail,.project-feature--violon{grid-template-columns:1fr;gap:30px;min-height:0;}
  .project-feature--mikhail .project-visual{order:2}.project-feature--mikhail .project-feature-copy{order:1}
  .project-feature--violon .project-visual{order:2}
  .project-feature h2{font-size:clamp(2.8rem,13vw,4rem);margin-bottom:20px;}
  .project-meta{font-size:.78rem;}
  .project-meta-separator{display:none;}
  .project-meta-mobile-break{display:block;white-space:nowrap;}
  .project-entry-text p{font-size:1.04rem;line-height:1.66;}
  .project-visual--poster{max-width:390px;width:88%;justify-self:start;}
  .project-visual--wide img{aspect-ratio:1.35/1;object-position:45% 50%;}
  .project-portrait-mark{min-height:150px;padding:4px 0 0;border-left:0;border-top:1px solid rgba(101,120,147,.18);flex-direction:row;align-items:baseline;justify-content:flex-start;gap:20px;}
  .project-portrait-mark span{font-size:5.4rem;}
  .project-portrait-mark strong{margin:0;font-size:2.4rem;}
}


@media(max-width:760px){
  .project-entry-text p{
    font-size:1.02rem;
    line-height:1.76;
    font-weight:350;
    color:rgba(46,49,56,.88);
  }
  .project-feature-copy > .project-meta,
  .project-feature-copy > .project-eyebrow,
  .project-feature-copy > h2,
  .project-feature-copy > .project-subtitle,
  .project-feature-copy > .project-portrait-mark--mobile,
  .project-feature-copy > .project-entry-text,
  .project-feature-copy > .project-role,
  .project-feature-copy > .project-source{
    width:min(calc(100% - 46px),34rem);
    margin-inline:auto;
  }
}
@media(max-width:760px){
  .project-feature--portrait .project-feature-copy{order:1;}
  .project-feature--portrait .project-portrait-mark{order:2;margin-top:-10px;}
  .project-feature--mikhail .project-feature-copy{order:1;}
  .project-feature--mikhail .project-visual{order:2;margin-top:-8px;width:78%;max-width:330px;}
  .project-feature--violon .project-feature-copy{order:1;}
  .project-feature--violon .project-visual{order:2;margin-top:-8px;}
  .project-entry-text{max-width:100%;}
}
/* Sur mobile, les repères visuels restent attachés au début de chaque projet. */
.project-portrait-mark--mobile,.project-visual--mobile-inline{display:none;}
@media(max-width:760px){
  .project-portrait-mark:not(.project-portrait-mark--mobile){display:none;}
  .project-portrait-mark--mobile{display:flex;min-height:0;margin:16px 0 24px;padding:14px 0 14px 18px;border-left:2px solid rgba(101,120,147,.35);}
  .project-visual--mobile-inline{display:block;margin:18px 0 24px;}
  .project-feature--mikhail > .project-visual:not(.project-visual--mobile-inline),
  .project-feature--violon > .project-visual:not(.project-visual--mobile-inline){display:none;}
  .project-feature--mikhail .project-visual--mobile-inline{width:min(82%,290px);margin:24px auto 28px;}
  .project-feature--violon .project-visual--mobile-inline{width:100%;}
}
/* Hero Projets : panneau cuivré et silhouette photographique superposés.
   Seul le panneau s’anime une fois à l’arrivée, sans animation au scroll. */
.page-projets-artistiques .editorial-hero--projects {
  --projects-warm-deep:#55251D;
  --projects-warm-mid:#913B29;
  --projects-warm-copper:#AE6039;
  --projects-overlap:clamp(18px,2.2vw,38px);
  --projects-panel-sweep:clamp(78px,7.1vw,130px);
  --projects-oblique:clamp(14px,1.35vw,24px);
  display:grid;
  grid-template-columns:minmax(0,55fr) minmax(0,45fr);
  width:100%;
  height:100svh;
  min-height:580px;
  aspect-ratio:auto;
  overflow:hidden;
  isolation:isolate;
  /* Prolongement discret des tons du fond de la photographie. */
  background:linear-gradient(90deg,#0e1d27 0%,#203947 58%,#263d4a 100%);
}
.page-projets-artistiques .editorial-hero--projects::after{display:none;}
.page-projets-artistiques .editorial-hero--projects .projects-hero__photo {
  grid-column:1;
  grid-row:1;
  justify-self:end;
  align-self:stretch;
  position:relative;
  inset:auto;
  left:0; /* V7 : portrait recentré dans la moitié gauche, sans zoom. */
  z-index:1;
  display:block;
  width:min(79%,740px);
  height:100%;
  max-width:none;
  min-width:0;
  min-height:0;
  margin:0;
  object-fit:cover;
  object-position:center 14%;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.70) 12%,#000 27%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.70) 12%,#000 27%);
  /* Portrait statique : le masque doux n'est plus recomposé à chaque scroll. */
  transform:none;
  filter:none;
}
.page-projets-artistiques .editorial-hero--projects .projects-hero__title {
  grid-column:2;
  grid-row:1;
  position:relative;
  inset:auto;
  z-index:2;
  box-sizing:border-box;
  width:calc(100% + var(--projects-overlap));
  max-width:none;
  min-width:0;
  height:100%;
  margin:0 0 0 calc(-1 * var(--projects-overlap));
  padding:clamp(20px,2.4vw,44px);
  display:flex;
  align-items:center;
  justify-content:center;
  /* Le bloc et son texte ne bougent jamais : le panneau est dessiné sur une couche indépendante. */
  background:transparent;
  box-shadow:none;
  isolation:isolate;
}
.page-projets-artistiques .editorial-hero--projects .projects-hero__title::before{
  content:"";
  position:absolute;
  inset:0 calc(-1 * var(--projects-panel-sweep)) 0 0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(110deg,var(--projects-warm-deep) 0%,var(--projects-warm-mid) 48%,var(--projects-warm-copper) 100%);
  /* Découpe oblique fixe, en haut à droite vers le bas à gauche. */
  -webkit-clip-path:polygon(var(--projects-oblique) 0,100% 0,100% 100%,0 100%);
  clip-path:polygon(var(--projects-oblique) 0,100% 0,100% 100%,0 100%);
  /* Arrivée unique du panneau, sur une couche indépendante :
     l'extension à droite garantit qu'aucun fond bleu n'apparaît. */
  animation:projects-panel-arrive 880ms cubic-bezier(.22,.72,.25,1) both;
  backface-visibility:hidden;
}
@keyframes projects-panel-arrive {
  from { transform:translate3d(calc(-1 * var(--projects-panel-sweep)),0,0); }
  to   { transform:translate3d(0,0,0); }
}
.page-projets-artistiques .editorial-hero--projects h1 {
  margin:0;
  font-family:var(--font-sans);
  /* Même corps, graisse et approche que les titres des autres pages. */
  font-size:var(--page-hero-title-size);
  font-weight:var(--page-hero-title-weight);
  font-variation-settings:"wght" var(--page-hero-title-weight);
  font-synthesis:none;
  line-height:var(--page-hero-title-leading);
  letter-spacing:var(--page-hero-title-spacing);
  white-space:nowrap;
  color:rgba(255,250,244,.98);
  text-shadow:none;
}
.page-projets-artistiques .editorial-hero--projects h1 > span{display:block;}
.page-projets-artistiques .site-home-shortcut,
.page-projets-artistiques .editorial-hero--projects .hero-scroll-cue{display:none !important;}
/* Évite une couche de composition inutile sur le titre fixe desktop. */
@media(min-width:761px){
  .page-projets-artistiques .editorial-hero--projects h1{will-change:auto;}
}
@media(min-width:761px) and (max-width:990px){
}
@media(max-width:760px){
  .page-projets-artistiques .editorial-hero--projects{
    position:relative;
    display:block;
    width:100%;
    height:100vh;
    height:100svh;
    min-height:0;
    aspect-ratio:auto;
    background:#10222d;
  }
  .page-projets-artistiques .editorial-hero--projects .projects-hero__photo{
    position:absolute;
    inset:0;
    z-index:1;
    display:block;
    width:100%;
    height:100%;
    max-width:none;
    margin:0;
    object-fit:cover;
    object-position:0% 18%;
    -webkit-mask-image:none;
    mask-image:none;
    transform:translate3d(6px,0,0) scale(1.04);
    transform-origin:center 24%;
  }
  .page-projets-artistiques .editorial-hero--projects .projects-hero__title{
    position:absolute;
    inset:auto 0 clamp(26px,5svh,48px);
    z-index:2;
    display:block;
    box-sizing:border-box;
    width:100%;
    min-height:0;
    height:auto;
    margin:0;
    padding:0 6vw;
    background:transparent;
    box-shadow:none;
    pointer-events:none;
  }
  .page-projets-artistiques .editorial-hero--projects .projects-hero__title::before{
    display:none;
    animation:none;
  }
  .page-projets-artistiques .editorial-hero--projects h1{
    text-shadow:0 2px 10px rgba(0,0,0,.18);
  }
  .page-projets-artistiques .editorial-hero--projects h1 > span:nth-child(2){display:none;}
  .page-projets-artistiques .project-feature h2{font-size:clamp(2.55rem,10.6vw,3.2rem);line-height:.98;}
}
@media(max-width:360px){
  .page-projets-artistiques .project-portrait-mark--mobile strong{font-size:2rem;}
}
@media(prefers-reduced-motion:reduce){
  .page-projets-artistiques .editorial-hero--projects .projects-hero__title::before{
    animation:none;
    transform:none;
  }
}

/* Bandes pleines : alternance claire / chaude / claire, identique sur chaque écran.
   Les couleurs des textes spécifiques à chaque projet restent inchangées. */
.page-projets-artistiques .project-feature::before{
  content:"";
  position:absolute;
  inset:0 auto 0 50%;
  width:100vw;
  transform:translateX(-50%);
  z-index:-1;
  pointer-events:none;
  background:#f8f7f4;
}
.page-projets-artistiques .project-feature--mikhail::before{
  background:#f3eee8;
}
.page-projets-artistiques .project-feature--mikhail {
  --mikhail-ochre:#9B512E;
  --mikhail-dark:#713928;
  --mikhail-muted:#946D5B;
  --mikhail-line:rgba(144,84,51,.30);
}
.page-projets-artistiques .project-feature--mikhail .project-meta {
  color:var(--mikhail-ochre);
}
.page-projets-artistiques .project-feature--mikhail .project-eyebrow {
  color:var(--mikhail-muted);
}
.page-projets-artistiques .project-feature--mikhail h2 {
  color:var(--mikhail-dark);
}
.page-projets-artistiques .project-feature--mikhail .project-subtitle,
.page-projets-artistiques .project-feature--mikhail .project-role {
  color:var(--mikhail-muted);
}
.page-projets-artistiques .project-feature--mikhail .project-entry-text p {
  color:#413832;
}
.page-projets-artistiques .project-feature--mikhail .project-role {
  border-top-color:var(--mikhail-line);
}
.page-projets-artistiques .project-feature--mikhail .project-source a {
  color:var(--mikhail-dark);
}
.page-projets-artistiques .project-feature--mikhail .project-source a:hover,
.page-projets-artistiques .project-feature--mikhail .project-source a:focus-visible {
  color:var(--mikhail-ochre);
}

/* Sur mobile, seules les marges verticales sont ajustées :
   mêmes fonds et mêmes séparations de sections que sur ordinateur. */
@media(max-width:760px){
  .page-projets-artistiques .project-feature{
    padding:clamp(58px,9vw,80px) 0 clamp(66px,10vw,86px);
  }
}
