:root {
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.48);
  --line: rgba(255, 255, 255, 0.65);
  --background: #050505;

  --font-main: Arial, Helvetica, sans-serif;

  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  font-family: var(--font-main);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.home-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Image plein écran */
.background-image {
  position: fixed;
  inset: 0;
  z-index: 0;

  background-image: url("assets/images/home-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform: scale(1.03);
  filter: grayscale(6%) contrast(1.02);
}
/* Voile pour rendre la typo lisible */
.background-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.08),
      rgba(0, 0, 0, 0.22)
    ),
    radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0.18)
    );
}

/* Contenu */
.home-content {
  position: relative;
  z-index: 2;

  min-height: 100vh;
  padding: 2rem;

  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* Nom */
.identity h1 {
  margin: 0;

  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.02em;

  color: var(--text-soft);
}

/* Menu central */
.home-nav {
  align-self: center;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;

  width: fit-content;
}

.home-nav a {
  position: relative;
  display: inline-block;

  font-size: clamp(2.2rem, 7vw, 7.5rem);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.065em;

  color: var(--text);
  opacity: 0.84;

  transform: translateX(0);
  transition:
    opacity 420ms var(--ease),
    letter-spacing 520ms var(--ease),
    transform 520ms var(--ease),
    filter 520ms var(--ease);
}

/* Ligne fine animée */
.home-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;

  width: 100%;
  height: 0.035em;

  background: var(--line);

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 520ms var(--ease);
}

/* Effet principal */
.home-nav a:hover {
  opacity: 1;
  letter-spacing: -0.035em;
  transform: translateX(0.22em);
  filter: blur(0);
}

.home-nav a:hover::after {
  transform: scaleX(1);
}

/* Quand un lien est survolé, les autres se retirent légèrement */
.home-nav:hover a:not(:hover) {
  opacity: 0.28;
  filter: blur(1.2px);
}

/* Footer */
.home-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;

  color: var(--text-soft);
}

/* Réseaux sociaux */
.social-links {
  display: flex;
  gap: 0.95rem;
  align-items: center;
}

.social-icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  opacity: 0.82;

  transition:
    opacity 320ms var(--ease),
    transform 320ms var(--ease);
}

.social-icon svg {
  width: 100%;
  height: 100%;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon:hover {
  opacity: 1;
  transform: translateY(-0.18rem);
}

.email-link {
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: var(--text-soft);

  transition:
    color 320ms var(--ease),
    opacity 320ms var(--ease);
}

.email-link:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 760px) {
  .home-content {
    padding: 1.25rem;
  }

  .home-nav a {
    font-size: clamp(2.65rem, 15vw, 5.8rem);
    line-height: 0.95;
  }

  .home-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }
}

@media (max-width: 420px) {
  .home-nav a {
    letter-spacing: -0.055em;
  }

  .home-nav a:hover {
    transform: translateX(0.12em);
  }
}

/* ----------------------------------------
   Pages intérieures — base
----------------------------------------- */

.inner-page {
  min-height: 100vh;
  background: #ffffff;
  color: #111111;
}

/* ----------------------------------------
   Header intérieur — minimal typographique
----------------------------------------- */

.page-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;

  padding: 1rem 1.25rem;

  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Nom */
.page-title {
  display: inline-block;

  font-size: 0.9rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.01em;

  color: rgba(0, 0, 0, 0.82);

  transition:
    color 260ms var(--ease),
    opacity 260ms var(--ease);
}

.page-title:hover {
  color: #000000;
}

/* Navigation */
.page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;

  font-size: 0.82rem;
  line-height: 1;
}

.page-nav a {
  position: relative;
  display: inline-block;

  color: rgba(0, 0, 0, 0.48);

  transition:
    color 260ms var(--ease),
    transform 260ms var(--ease);
}

.page-nav a:hover {
  color: #000000;
  transform: translateY(-0.08rem);
}

.page-nav a.active {
  color: #000000;
}

.page-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;

  width: 100%;
  height: 1px;

  background: currentColor;
}

/* ----------------------------------------
   Works — layout avec menu latéral
----------------------------------------- */

.works-layout {
  display: grid;
  grid-template-columns: 19rem 1fr;
  gap: 1.25rem;

  padding: 1.25rem;
  padding-top: 4.5rem;

  background: #ffffff;
}

/* Menu latéral */
.works-side-menu {
  position: sticky;
  top: 4.5rem;
  align-self: start;

  height: calc(100vh - 5.75rem);
  overflow-y: auto;

  padding-right: 1rem;

  font-size: 0.82rem;
  line-height: 1.25;

  border-right: 1px solid rgba(0, 0, 0, 0.14);
}

.side-menu-block {
  margin-bottom: 2.2rem;
}

.side-menu-block h1 {
  margin: 0;

  font-size: clamp(2.7rem, 4.5vw, 5rem);
  line-height: 0.85;
  font-weight: 400;
  letter-spacing: -0.075em;
}

.side-menu-block h2 {
  margin: 0 0 0.9rem 0;

  font-size: 0.78rem;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;

  color: rgba(0, 0, 0, 0.48);
}

/* Mise en exergue Latamnèses */
.side-menu-block.highlighted {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.22);
}

.side-menu-block.highlighted h2 {
  color: #111111;
}

.works-side-menu a {
  position: relative;

  display: block;
  padding: 0.52rem 0;

  color: rgba(0, 0, 0, 0.72);

  transition:
    color 260ms var(--ease),
    transform 260ms var(--ease),
    opacity 260ms var(--ease);
}

.works-side-menu a::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  top: 0.72rem;

  width: 0.35rem;
  height: 1px;

  background: currentColor;

  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;

  transition:
    opacity 260ms var(--ease),
    transform 260ms var(--ease);
}

.works-side-menu a span {
  display: block;
}

.works-side-menu a em {
  display: block;

  margin-top: 0.12rem;

  font-style: normal;
  font-size: 0.72rem;

  color: rgba(0, 0, 0, 0.42);
}

.works-side-menu a:hover {
  color: #000000;
  transform: translateX(0.35rem);
}

.works-side-menu a:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

/* Colonne visuelle */
.works-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Boîtes œuvres toutes au même format */
.work-panel {
  position: relative;

  height: calc(100vh - 7rem);
  min-height: 34rem;

  overflow: hidden;

  background: #eeeeee;
}

.work-panel a {
  position: relative;
  display: block;

  width: 100%;
  height: 100%;
}

.work-panel img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transform: scale(1);
  filter: grayscale(3%) contrast(1.02);

  transition:
    transform 900ms var(--ease),
    filter 700ms var(--ease),
    opacity 700ms var(--ease);
}

/* Caption toujours visible, jamais coupée */
.work-panel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  min-height: 8.5rem;
  padding: 1.1rem 1.25rem 1.25rem;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  color: #ffffff;

  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.68),
      rgba(0, 0, 0, 0.28) 58%,
      rgba(0, 0, 0, 0)
    );

  transform: translateY(0);
  transition:
    transform 520ms var(--ease),
    background 520ms var(--ease);
}

.work-panel-caption h2 {
  max-width: 64rem;

  margin: 0;

  font-size: clamp(2.2rem, 6vw, 7rem);
  line-height: 0.86;
  font-weight: 400;
  letter-spacing: -0.075em;
}

.work-panel-caption p {
  max-width: 42rem;

  margin: 0.65rem 0 0 0;

  font-size: 0.86rem;
  line-height: 1.25;

  color: rgba(255, 255, 255, 0.78);
}

/* Hover visuel */
.work-panel:hover img {
  transform: scale(1.025);
  filter: grayscale(0%) contrast(1.04);
  opacity: 0.96;
}

.work-panel:hover .work-panel-caption {
  transform: translateY(-0.35rem);
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.76),
      rgba(0, 0, 0, 0.32) 58%,
      rgba(0, 0, 0, 0)
    );
}

.works-side-menu {
  position: sticky;
  top: 4.5rem;
  align-self: start;

  height: calc(100vh - 5.75rem);
  overflow-y: auto;

  padding-right: 1rem;

  font-size: 0.82rem;
  line-height: 1.25;

  border-right: 1px solid rgba(0, 0, 0, 0.14);
}

/* ----------------------------------------
   Responsive Works
----------------------------------------- */

@media (max-width: 980px) {
  .works-layout {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .works-side-menu {
    position: relative;
    top: auto;

    height: auto;
    overflow: visible;

    padding: 0 0 1rem 0;

    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  }

  .side-menu-block {
    margin-bottom: 1.5rem;
  }

  .work-panel {
    height: 72vh;
    min-height: 28rem;
  }

  .work-panel-caption {
    min-height: 7.5rem;
  }
}

@media (max-width: 760px) {
  .page-header {
    position: relative;

    flex-direction: column;
    gap: 0.75rem;

    padding: 1rem;

    background: #ffffff;
  }

  .page-nav {
    justify-content: flex-start;
    gap: 0.7rem;
  }

  .works-layout {
    padding-top: 1rem;
  }
}

/* ----------------------------------------
   Pages texte — À propos, Texts, Biographie
----------------------------------------- */

.text-page {
  min-height: 100vh;
  padding: 6rem 1.25rem 5rem;
  background: #ffffff;
  color: #111111;
}

.text-page-heading {
  margin-bottom: 3.5rem;
}

.text-page-heading h1 {
  margin: 0;

  font-size: clamp(2.4rem, 5.5vw, 6rem);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.06em;
}

/* À propos */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;

  max-width: 92rem;
}

.about-intro {
  position: sticky;
  top: 6rem;
  align-self: start;
}

.about-intro p {
  margin: 0;

  font-size: clamp(1.4rem, 2.6vw, 3rem);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.about-text {
  max-width: 52rem;
}

.about-text p {
  margin: 0 0 1.35rem 0;

  font-size: clamp(1rem, 1.35vw, 1.28rem);
  line-height: 1.42;
  font-weight: 400;

  color: rgba(0, 0, 0, 0.78);
}

.about-text p:first-child {
  color: #111111;
}

/* Responsive pages texte */
@media (max-width: 900px) {
  .text-page {
    padding: 4.5rem 1rem 4rem;
  }

  .text-page-heading {
    margin-bottom: 3rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-intro {
    position: relative;
    top: auto;
  }

  .about-text {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .text-page {
    padding: 3.5rem 0.85rem 3rem;
  }

  .text-page-heading {
    margin-bottom: 1.8rem;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.45;
  }
}

/* ----------------------------------------
   Biographie — CV web
----------------------------------------- */

.cv-layout {
  display: grid;
  grid-template-columns: 18rem 1fr;
  gap: 4rem;

  max-width: 96rem;
}

.cv-aside {
  position: sticky;
  top: 6rem;
  align-self: start;

  font-size: 0.86rem;
  line-height: 1.35;
}

.cv-identity {
  margin-bottom: 2rem;
}

.cv-identity h2 {
  margin: 0 0 0.35rem 0;

  font-size: 1rem;
  line-height: 1.1;
  font-weight: 400;
}

.cv-identity p {
  margin: 0;
  color: rgba(0, 0, 0, 0.58);
}

.cv-contact,
.cv-download {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;

  margin-bottom: 2rem;
}

.cv-contact a,
.cv-download a {
  color: rgba(0, 0, 0, 0.62);

  transition:
    color 260ms var(--ease),
    transform 260ms var(--ease);
}

.cv-contact a:hover,
.cv-download a:hover {
  color: #000000;
  transform: translateX(0.25rem);
}

.cv-download a {
  position: relative;
  padding-bottom: 0.12rem;
}

.cv-download a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;

  background: currentColor;
}

/* Contenu CV */
/* Contenu CV */
.cv-content {
  max-width: 76rem;
}

/* Chaque grande section du CV */
.cv-section {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  column-gap: 3rem;

  padding: 0 0 2.6rem 0;
  margin-bottom: 2.6rem;

  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

/* Titre de section : Formation, Enseignement, etc. */
.cv-section h2 {
  grid-column: 1;
  grid-row: 1 / -1;

  position: sticky;
  top: 6rem;
  align-self: start;

  margin: 0;

  font-size: 0.76rem;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  color: rgba(0, 0, 0, 0.45);
}

/* Chaque ligne du CV reste à droite */
.cv-item {
  grid-column: 2;

  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1.5rem;

  padding: 0.15rem 0;
  margin-bottom: 0.9rem;
}

.cv-item:last-child {
  margin-bottom: 0;
}

.cv-item time {
  display: block;

  font-size: 0.82rem;
  line-height: 1.38;

  color: rgba(0, 0, 0, 0.45);
}

.cv-item p {
  margin: 0;

  max-width: 58rem;

  font-size: 0.95rem;
  line-height: 1.42;

  color: rgba(0, 0, 0, 0.78);
}

.cv-item em {
  font-style: italic;
  color: #111111;
}

/* Responsive CV */
@media (max-width: 980px) {
  .cv-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cv-aside {
    position: relative;
    top: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;

    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  }

  .cv-identity,
  .cv-contact,
  .cv-download {
    margin-bottom: 0;
  }

  .cv-section {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .cv-section h2 {
    grid-column: 1;
    grid-row: auto;

    position: relative;
    top: auto;

    margin-bottom: 0.35rem;
  }

  .cv-item {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  .cv-aside {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cv-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .cv-item {
    grid-template-columns: 1fr;
    gap: 0.15rem;
    margin-bottom: 1rem;
  }

  .cv-item p {
    font-size: 0.92rem;
    line-height: 1.42;
  }
}

/* ----------------------------------------
   News — version visuelle
----------------------------------------- */

.visual-news-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;

  max-width: 96rem;
}

.visual-news-item {
  display: grid;
  grid-template-columns: minmax(18rem, 34rem) 1fr;
  gap: 1.5rem;

  min-height: 24rem;

  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.visual-news-item.featured {
  min-height: 34rem;
}

.news-image-link {
  display: block;
  overflow: hidden;

  background: #eeeeee;
}

.news-image-link img {
  width: 100%;
  height: 100%;

  min-height: 24rem;

  object-fit: cover;
  object-position: center;

  filter: grayscale(4%) contrast(1.02);
  transform: scale(1);

  transition:
    transform 800ms var(--ease),
    filter 600ms var(--ease),
    opacity 600ms var(--ease);
}

.visual-news-item.featured .news-image-link img {
  min-height: 34rem;
}

.news-image-link:hover img {
  transform: scale(1.025);
  filter: grayscale(0%) contrast(1.04);
  opacity: 0.96;
}

.visual-news-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 1rem 0 0.4rem 0;
}

.visual-news-content time {
  display: block;

  margin-bottom: 0.8rem;

  font-size: 0.82rem;
  line-height: 1.2;

  color: rgba(0, 0, 0, 0.45);
}

.visual-news-content h2 {
  max-width: 56rem;

  margin: 0 0 1rem 0;

  font-size: clamp(2rem, 5vw, 6.2rem);
  line-height: 0.88;
  font-weight: 400;
  letter-spacing: -0.075em;
}

.visual-news-content p {
  max-width: 44rem;

  margin: 0;

  font-size: 1rem;
  line-height: 1.42;

  color: rgba(0, 0, 0, 0.76);
}

.visual-news-content em {
  font-style: italic;
  color: #111111;
}

.news-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;

  margin-top: 1.3rem;
}

.news-links a {
  position: relative;

  font-size: 0.82rem;
  line-height: 1.2;

  color: rgba(0, 0, 0, 0.58);

  transition:
    color 260ms var(--ease),
    transform 260ms var(--ease);
}

.news-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.18rem;

  width: 100%;
  height: 1px;

  background: currentColor;

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 300ms var(--ease);
}

.news-links a:hover {
  color: #000000;
  transform: translateX(0.2rem);
}

.news-links a:hover::after {
  transform: scaleX(1);
}

.news-text {
  max-width: 48rem;
}

.news-text p {
  margin: 0 0 1rem 0;

  font-size: 1rem;
  line-height: 1.42;

  color: rgba(0, 0, 0, 0.76);
}

.news-text p:last-child {
  margin-bottom: 0;
}

.news-author {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: rgba(0, 0, 0, 0.52);
}

.news-project {
  margin-top: 1.5rem;
  color: #111111;
}

.news-project em {
  font-style: italic;
}

/* Responsive News visuelle */
@media (max-width: 900px) {
  .visual-news-item,
  .visual-news-item.featured {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .news-image-link img,
  .visual-news-item.featured .news-image-link img {
    min-height: auto;
    height: 62vh;
  }

  .visual-news-content {
    padding: 0.5rem 0 1.5rem 0;
  }
}

@media (max-width: 560px) {
  .visual-news-list {
    gap: 1rem;
  }

  .news-image-link img,
  .visual-news-item.featured .news-image-link img {
    height: 54vh;
  }

  .visual-news-content h2 {
    font-size: clamp(1.8rem, 10vw, 4rem);
  }

  .visual-news-content p {
    font-size: 0.95rem;
  }
}

/* ----------------------------------------
   Correction Texts — page en construction
----------------------------------------- */

.construction-page .text-page-heading {
  margin-bottom: 3rem;
}

.construction-page .text-page-heading h1 {
  font-size: clamp(2.4rem, 5.5vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

/* Layout plus resserré et plus lisible */
.construction-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 22rem;
  gap: 5rem;

  max-width: 82rem;
  align-items: start;
}

/* Bloc principal */
.construction-main {
  max-width: 48rem;
}

/* Petit label */
.construction-status {
  margin: 0 0 1.4rem 0;
  padding: 0.34rem 0.52rem;

  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.055em;
  text-transform: uppercase;

  color: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(0, 0, 0, 0.18);
}

/* Titre principal moins monumental */
.construction-main h2 {
  margin: 0;

  max-width: 48rem;

  font-size: clamp(1.8rem, 3.2vw, 3.8rem);
  line-height: 0.96;
  font-weight: 400;
  letter-spacing: -0.055em;

  color: #111111;
}

/* Texte secondaire */
.construction-main > p:not(.construction-status) {
  max-width: 34rem;

  margin: 1.6rem 0 0 0;

  font-size: 1rem;
  line-height: 1.45;

  color: rgba(0, 0, 0, 0.62);
}

/* Colonne contact */
.construction-aside {
  position: sticky;
  top: 6rem;
  align-self: start;

  padding-top: 0.25rem;

  font-size: 0.86rem;
  line-height: 1.35;

  color: rgba(0, 0, 0, 0.56);
}

.construction-aside p {
  max-width: 18rem;
  margin: 0 0 0.9rem 0;
}

.construction-aside a {
  display: inline-block;

  color: rgba(0, 0, 0, 0.72);
}

/* Responsive */
@media (max-width: 900px) {
  .construction-layout {
    grid-template-columns: 1fr;
    gap: 3rem;

    max-width: 100%;
  }

  .construction-aside {
    position: relative;
    top: auto;
  }
}

@media (max-width: 560px) {
  .construction-page .text-page-heading {
    margin-bottom: 2rem;
  }

  .construction-main h2 {
    font-size: clamp(1.8rem, 9vw, 3.2rem);
  }

  .construction-main > p:not(.construction-status) {
    margin-top: 1.3rem;
    font-size: 0.95rem;
  }
}

/* ----------------------------------------
   Page œuvre — détail
----------------------------------------- */

.work-detail-page {
  background: #ffffff;
  color: #111111;
}

/* Hero image */
.work-hero {
  position: relative;

  width: 100%;
  height: 100vh;
  min-height: 38rem;

  overflow: hidden;

  background: #eeeeee;
}

.work-hero img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  filter: contrast(1.02);
}

.work-hero-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;

  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.25;
}

.work-hero-caption p {
  margin: 0;
}

/* Layout texte + métadonnées */
.work-detail-layout {
  display: grid;
  grid-template-columns: 19rem 1fr;
  gap: 5rem;

  padding: 5rem 1.25rem 6rem;

  max-width: 110rem;
}

.work-detail-meta {
  position: sticky;
  top: 6rem;
  align-self: start;

  font-size: 0.82rem;
  line-height: 1.35;

  color: rgba(0, 0, 0, 0.62);
}

.back-link {
  display: inline-block;
  margin-bottom: 2.5rem;

  color: rgba(0, 0, 0, 0.58);

  transition:
    color 260ms var(--ease),
    transform 260ms var(--ease);
}

.back-link:hover {
  color: #000000;
  transform: translateX(-0.25rem);
}

.meta-block {
  margin-bottom: 1.7rem;
}

.meta-block h2 {
  margin: 0 0 0.35rem 0;

  font-size: 1rem;
  line-height: 1.08;
  font-weight: 400;

  color: #111111;
}

.meta-block h3 {
  margin: 0 0 0.35rem 0;

  font-size: 0.72rem;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0.055em;
  text-transform: uppercase;

  color: rgba(0, 0, 0, 0.42);
}

.meta-block p {
  margin: 0;
}

/* Contenu principal */
.work-detail-content {
  max-width: 78rem;
}

.work-title-block {
  margin-bottom: 4rem;
}

.work-title-block h1 {
  margin: 0;

  max-width: 76rem;

  font-size: clamp(3.2rem, 9vw, 10rem);
  line-height: 0.82;
  font-weight: 400;
  letter-spacing: -0.085em;
}

.work-title-block p {
  max-width: 42rem;

  margin: 1.2rem 0 0 0;

  font-size: 0.95rem;
  line-height: 1.35;

  color: rgba(0, 0, 0, 0.56);
}

.work-text {
  max-width: 54rem;
}

.work-text p {
  margin: 0 0 1.35rem 0;

  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.45;

  color: rgba(0, 0, 0, 0.78);
}

.work-text p:first-child {
  color: #111111;
}

/* Galerie */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;

  padding: 0 1.25rem 6rem;
}

.gallery-image {
  margin: 0;
}

.gallery-image.large {
  grid-column: span 2;
}

.gallery-image img {
  width: 100%;
  height: 72vh;
  min-height: 32rem;

  object-fit: cover;
  object-position: center;

  background: #eeeeee;
}

.gallery-image:not(.large) img {
  height: 58vh;
  min-height: 26rem;
}

.gallery-image figcaption {
  max-width: 42rem;

  margin-top: 0.45rem;

  font-size: 0.76rem;
  line-height: 1.3;

  color: rgba(0, 0, 0, 0.48);
}

/* Variante pour image verticale entière */
.gallery-image.portrait-full {
  display: flex;
  flex-direction: column;
  align-items: center;

  grid-column: span 2;

  background: #000000;
}

.gallery-image.portrait-full img {
  width: auto;
  max-width: 100%;
  height: 90vh;
  min-height: 42rem;

  object-fit: contain !important;
  object-position: center;

  background: #000000;
}

.gallery-image.portrait-full figcaption {
  width: 100%;
  max-width: none;

  margin-top: 0;
  padding-top: 0.45rem;

  background: #ffffff;
}

/* Variante pour image verticale entière */
.gallery-image.portrait-full-variant {
  display: flex;
  flex-direction: column;
  align-items: center;

  grid-column: span 2;

  background: #ffffff;
}

.gallery-image.portrait-full-variant img {
  width: auto;
  max-width: 100%;
  height: 90vh;
  min-height: 42rem;

  object-fit: contain !important;
  object-position: center;

  background: #ffffff;
}

.gallery-image.portrait-full-variant figcaption {
  width: 100%;
  max-width: none;

  margin-top: 0;
  padding-top: 0.45rem;

  background: #ffffff;
}

/* Crédits */
.work-credits {
  display: grid;
  grid-template-columns: 19rem 1fr;
  gap: 5rem;

  padding: 0 1.25rem 5rem;

  max-width: 90rem;
}

.work-credits h2 {
  margin: 0;

  font-size: 0.78rem;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0.055em;
  text-transform: uppercase;

  color: rgba(0, 0, 0, 0.45);
}

.credits-list {
  max-width: 48rem;
}

.credits-list p {
  margin: 0 0 0.45rem 0;

  font-size: 0.9rem;
  line-height: 1.35;

  color: rgba(0, 0, 0, 0.68);
}

/* Navigation œuvre suivante */
.work-next {
  border-top: 1px solid rgba(0, 0, 0, 0.14);
}

.work-next a {
  display: block;

  padding: 1.25rem;

  transition:
    background 260ms var(--ease),
    padding-left 320ms var(--ease);
}

.work-next a:hover {
  background: rgba(0, 0, 0, 0.035);
  padding-left: 2rem;
}

.work-next span {
  display: block;

  margin-bottom: 0.35rem;

  font-size: 0.76rem;
  line-height: 1.2;
  letter-spacing: 0.045em;
  text-transform: uppercase;

  color: rgba(0, 0, 0, 0.42);
}

.work-next strong {
  display: block;

  font-size: clamp(2rem, 5vw, 6rem);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.075em;

  color: #111111;
}

/* Responsive page œuvre */
@media (max-width: 920px) {
  .work-detail-layout,
  .work-credits {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .work-detail-meta {
    position: relative;
    top: auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;

    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
    padding-bottom: 2rem;
  }

  .back-link {
    grid-column: span 2;
    margin-bottom: 0;
  }

  .work-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-image.large,
  .gallery-image.portrait-full {
    grid-column: span 1;
  }

  .gallery-image img,
  .gallery-image:not(.large) img {
    height: 64vh;
    min-height: 26rem;
  }

  .gallery-image.portrait-full img {
    width: auto;
    max-width: 100%;
    height: 84vh;
    min-height: 34rem;

    object-fit: contain !important;
  }
}

@media (max-width: 560px) {
  .work-hero {
    height: 78vh;
    min-height: 28rem;
  }

  .work-detail-layout {
    padding: 3.5rem 0.85rem 4rem;
  }

  .work-detail-meta {
    grid-template-columns: 1fr;
  }

  .back-link {
    grid-column: auto;
  }

  .work-title-block {
    margin-bottom: 2.5rem;
  }

  .work-title-block h1 {
    font-size: clamp(2.8rem, 15vw, 5.2rem);
  }

  .work-gallery {
    padding: 0 0.85rem 4rem;
    gap: 0.85rem;
  }

  .gallery-image img,
  .gallery-image:not(.large) img {
    height: 58vh;
    min-height: 22rem;
  }

  .gallery-image.portrait-full img {
    width: auto;
    max-width: 100%;
    height: 78vh;
    min-height: 28rem;

    object-fit: contain !important;
  }

  .work-credits {
    padding: 0 0.85rem 4rem;
  }

  .work-next a {
    padding: 1rem 0.85rem;
  }
}

/* ----------------------------------------
   Page œuvre — Tarot
----------------------------------------- */

.arcana-section {
  padding: 0 1.25rem 6rem;

  background: #ffffff;
  color: #111111;
}

.arcana-heading {
  display: grid;
  grid-template-columns: 19rem 1fr;
  gap: 5rem;

  margin-bottom: 2.5rem;
  padding-top: 1rem;

  border-top: 1px solid rgba(0, 0, 0, 0.14);
}

.arcana-heading h2 {
  margin: 0;

  font-size: 0.78rem;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0.055em;
  text-transform: uppercase;

  color: rgba(0, 0, 0, 0.45);
}

.arcana-heading p {
  max-width: 42rem;

  margin: 0;

  font-size: 0.95rem;
  line-height: 1.4;

  color: rgba(0, 0, 0, 0.62);
}

/* Grille des cartes */
.arcana-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.arcana-card {
  margin: 0;
}

.arcana-card img {
  width: 100%;
  aspect-ratio: 2 / 3;

  object-fit: cover;
  object-position: center;

  background: #eeeeee;

  filter: contrast(1.02);
  transform: scale(1);

  transition:
    transform 520ms var(--ease),
    filter 520ms var(--ease),
    opacity 520ms var(--ease);
}

.arcana-card:hover img {
  transform: scale(1.025);
  filter: contrast(1.06);
  opacity: 0.96;
}

.arcana-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;

  margin-top: 0.45rem;

  font-size: 0.76rem;
  line-height: 1.25;

  color: rgba(0, 0, 0, 0.58);
}

.arcana-card figcaption span {
  color: rgba(0, 0, 0, 0.38);
}

/* Responsive Tarot */
@media (max-width: 1100px) {
  .arcana-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 760px) {
  .arcana-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .arcana-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

@media (max-width: 520px) {
  .arcana-section {
    padding: 0 0.85rem 4rem;
  }

  .arcana-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .arcana-card figcaption {
    font-size: 0.72rem;
  }
}

