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

:root {
  --white: #fbfafc;
  --paper: #f4f0f8;
  --paper-2: #eee8f4;
  --ink: #211b28;
  --muted: #766f7e;
  --purple: #7136a4;
  --purple-dark: #4d236f;
  --purple-soft: #a98bc1;
  --line: rgba(77, 35, 111, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

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

button {
  font: inherit;
}

/* ================================
   ANIMATION D'ENTRÉE
   ================================ */

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(169,139,193,.20), transparent 24%),
    linear-gradient(135deg, #fbfafc 0%, #f5eff8 55%, #eee6f4 100%);
  transition: opacity .8s cubic-bezier(.65,0,.35,1),
              visibility .8s cubic-bezier(.65,0,.35,1);
}

.intro-loader::before {
  content: "";
  position: absolute;
  width: 35vw;
  min-width: 320px;
  height: 160vh;
  left: 38%;
  top: -30vh;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255,255,255,.08) 35%,
    rgba(255,255,255,.92) 50%,
    rgba(169,139,193,.15) 58%,
    transparent 75%
  );
  filter: blur(24px);
  transform: translateX(-160%) rotate(8deg);
  animation: introLight 1.6s .55s cubic-bezier(.22,.61,.36,1) forwards;
}

.intro-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-loader-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.intro-loader-logo {
  width: clamp(105px, 12vw, 155px);
  height: auto;
  display: block;
  margin: 0 auto 22px;
  opacity: 0;
  transform: translateY(16px) scale(.96);
  animation: introLogo .85s .18s cubic-bezier(.22,.61,.36,1) forwards;
}

.intro-loader-name {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--purple-dark);
  opacity: 0;
  transform: translateY(8px);
  animation: introText .7s .55s ease forwards;
}

.intro-loader-line {
  display: block;
  width: 0;
  height: 1px;
  margin: 18px auto 0;
  background: var(--purple);
  opacity: .65;
  animation: introLine .8s .72s cubic-bezier(.22,.61,.36,1) forwards;
}

@keyframes introLogo {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes introText {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introLine {
  to { width: 72px; }
}

@keyframes introLight {
  from { transform: translateX(-160%) rotate(8deg); }
  to { transform: translateX(180%) rotate(8deg); }
}

/* ================================
   HEADER
   ================================ */

.light-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  top: -180px;
  right: -150px;
  background: radial-gradient(circle, rgba(169,139,193,.22), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  z-index: 50;
  background: rgba(251,250,252,.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(77,35,111,.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 34px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #514957;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--purple);
  transition: width .3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
}

/* ================================
   HERO
   ================================ */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 150px 9vw 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 48%, rgba(169,139,193,.30), transparent 27%),
    radial-gradient(ellipse at 58% 100%, rgba(113,54,164,.08), transparent 35%),
    linear-gradient(110deg, #fbfafc 0%, #f7f2fa 50%, #eee7f3 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  width: 60vw;
  height: 140%;
  right: -8vw;
  top: -20%;
  background: repeating-linear-gradient(
    72deg,
    transparent 0 72px,
    rgba(113,54,164,.055) 73px 74px,
    transparent 75px 125px
  );
  transform: rotate(-7deg);
  mask-image: linear-gradient(to right, transparent, black 45%, transparent);
}

.hero::after {
  width: 70vw;
  height: 45vh;
  right: -15vw;
  bottom: -15vh;
  background: radial-gradient(ellipse, rgba(255,255,255,.95), transparent 67%);
}

.hero-content {
  max-width: 850px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 24px;
}

h1,
h2 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  line-height: .98;
}

h1 {
  font-size: clamp(54px, 8vw, 120px);
  letter-spacing: -.045em;
  color: #29212f;
}

h1 em,
h2 em,
.project-info h3 em {
  color: var(--purple);
  font-style: italic;
  font-weight: 400;
}

.hero-intro {
  margin-top: 32px;
  max-width: 500px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 42px;
  padding: 15px 20px;
  border: 1px solid var(--purple);
  color: var(--purple-dark);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  transition: .3s ease;
}

.button:hover {
  background: var(--purple);
  color: white;
  transform: translateY(-2px);
}

.button span {
  font-size: 18px;
  line-height: 0;
}

.hero-bottom {
  position: absolute;
  left: 9vw;
  bottom: 42px;
  right: 9vw;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--muted);
  z-index: 2;
}

.scroll-line {
  position: absolute;
  right: 5vw;
  bottom: 42px;
  width: 1px;
  height: 90px;
  background: linear-gradient(to bottom, var(--purple), transparent);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.glow-one {
  width: 150px;
  height: 150px;
  right: 20%;
  top: 27%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 80px rgba(255,255,255,.8);
}

.glow-two {
  width: 100px;
  height: 100px;
  right: 10%;
  top: 56%;
  background: rgba(169,139,193,.15);
  box-shadow: 0 0 70px rgba(113,54,164,.15);
}

/* ================================
   SECTIONS
   ================================ */

.section {
  padding: 140px 9vw;
  position: relative;
}

.intro {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  background: var(--white);
}

.section-number {
  font-size: 11px;
  color: var(--purple);
  letter-spacing: .15em;
  padding-top: 12px;
}

.intro-copy {
  max-width: 700px;
}

h2 {
  font-size: clamp(48px, 7vw, 90px);
  letter-spacing: -.04em;
}

.intro-copy > p:last-child {
  max-width: 560px;
  margin-top: 35px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

/* ================================
   PROJETS
   ================================ */

.projects {
  background: var(--paper);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 85px;
}

.section-note {
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.project-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px 5vw;
}

.project-offset {
  margin-top: 130px;
}

.project-visual {
  height: min(58vw, 650px);
  min-height: 390px;
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--paper-2);
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(33,27,40,.20), transparent 45%);
  transition: .6s ease;
}

.project-visual:hover::after {
  background: linear-gradient(to top, rgba(33,27,40,.05), transparent 55%);
}

.visual-label,
.video-label {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 3;
  font-size: 9px;
  color: white;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.project-arrow {
  position: absolute;
  top: 24px;
  right: 25px;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  z-index: 3;
  font-size: 18px;
}

.visual-purple {
  background:
    radial-gradient(circle at 62% 35%, rgba(255,255,255,.82), transparent 12%),
    radial-gradient(ellipse at 35% 65%, rgba(169,139,193,.8), transparent 32%),
    linear-gradient(135deg, #3e2351, #8c5daa 50%, #d6c4df);
}

.visual-sun {
  background:
    radial-gradient(ellipse at 30% 22%, rgba(255,255,255,.95), transparent 15%),
    linear-gradient(115deg, #d6d0c3 0%, #b5bda6 40%, #5f6657 72%, #28232e 100%);
}

.visual-sun::before {
  content: "";
  position: absolute;
  width: 130%;
  height: 180%;
  left: 12%;
  top: -35%;
  background: repeating-linear-gradient(
    74deg,
    transparent 0 70px,
    rgba(255,255,255,.18) 71px 85px,
    transparent 86px 140px
  );
  transform: rotate(-8deg);
  filter: blur(7px);
  opacity: .9;
}

.forest-rays {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.75), transparent 28%);
  z-index: 1;
}

.visual-paper {
  background:
    radial-gradient(circle at 75% 28%, rgba(255,255,255,.95), transparent 15%),
    linear-gradient(135deg, #ece7ef, #c8b5d4 48%, #74568c);
}

.project-info {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: 15px;
}

.project-number {
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--purple);
}

.project-info h3 {
  margin-top: 7px;
  font-family: "DM Serif Display", serif;
  font-size: 28px;
  font-weight: 400;
}

.project-info > p {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding-top: 12px;
  text-align: right;
}

/* Vidéo YouTube */
.project-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  isolation: isolate;
}

.project-video-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .4s ease;
}

.project-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(20, 5, 30, 0);
  pointer-events: none;
  transition: background .4s ease;
}

.project-video:hover::after {
  background: rgba(20, 5, 30, .15);
}

.project-video:hover .project-video-thumbnail {
  transform: scale(1.025);
}

.project-video-play {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  background: rgba(113,54,164,.92);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 35px rgba(65,20,90,.25);
  backdrop-filter: blur(8px);
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.project-video-play span {
  transform: translateX(2px);
}

.project-video:hover .project-video-play {
  transform: translate(-50%, -50%) scale(1.10);
  background: var(--purple);
  box-shadow: 0 15px 45px rgba(65,20,90,.35);
}

.project-video iframe {
  position: absolute;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================================
   PHOTOGRAPHIE
   ================================ */

.photo-section {
  background: var(--white);
}

.photo-intro {
  max-width: 720px;
  margin-bottom: 90px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr .67fr;
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.photo-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  background: var(--paper-2);
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 10, 25, .22), transparent 40%);
  pointer-events: none;
}

.photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .8s ease;
}

.photo-card:hover img {
  transform: scale(1.025);
}

.photo-card span {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  font-size: 9px;
  letter-spacing: .18em;
  color: white;
}

.photo-a {
  grid-column: 1 / 3;
  grid-row: 1;
  height: 500px;
}

.photo-b {
  grid-column: 1;
  grid-row: 2;
  height: 420px;
}

.photo-c {
  grid-column: 2;
  grid-row: 2;
  height: 420px;
}

.photo-a img {
  object-position: 55% 50%;
}

.photo-b img {
  object-position: 50% 50%;
}

.photo-c img {
  object-position: 50% 15%;
}

/* ================================
   À PROPOS
   ================================ */

.about {
  background: var(--paper);
  display: grid;
  grid-template-columns: 110px 1fr;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) 1.2fr;
  gap: 9vw;
  align-items: center;
}

.logo-frame {
  aspect-ratio: 1;
  max-width: 430px;
  padding: 30px;
  display: grid;
  place-items: center;
  background: var(--purple);
  box-shadow: 30px 30px 0 rgba(113,54,164,.10);
}

.logo-frame img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: screen;
  filter: grayscale(1) brightness(0) invert(1);
}

.about-copy {
  max-width: 650px;
}

.about-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin-top: 28px;
}

/* ================================
   CONTACT / FOOTER
   ================================ */

.contact {
  min-height: 85vh;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(169,139,193,.16), transparent 35%),
    var(--white);
}

.contact-inner {
  max-width: 900px;
}

.contact-inner > p:not(.eyebrow) {
  max-width: 500px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  margin-top: 50px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--purple);
  font-size: clamp(18px, 3vw, 30px);
  color: var(--purple-dark);
}

.contact-mail span {
  font-size: 20px;
}

.contact-links {
  margin-top: 55px;
  display: flex;
  justify-content: center;
  gap: 15px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.contact-links a:hover {
  color: var(--purple);
}

footer {
  padding: 30px 5vw;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer a:hover {
  color: var(--purple);
}

/* ================================
   ANIMATIONS AU SCROLL
   ================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 800px) {
  .site-header {
    height: 72px;
    padding: 0 6vw;
  }

  .nav {
    position: fixed;
    top: 72px;
    right: 0;
    width: 100%;
    padding: 30px 6vw;
    display: none;
    flex-direction: column;
    gap: 18px;
    background: rgba(251,250,252,.97);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 92vh;
    padding: 125px 7vw 80px;
  }

  .hero-bottom {
    left: 7vw;
    right: 7vw;
    bottom: 25px;
  }

  .hero-bottom span:last-child {
    display: none;
  }

  .scroll-line {
    display: none;
  }

  .section {
    padding: 95px 7vw;
  }

  .intro,
  .about {
    display: block;
  }

  .section-number {
    margin-bottom: 50px;
  }

  .section-heading {
    display: block;
    margin-bottom: 55px;
  }

  .section-note {
    text-align: left;
    margin-top: 25px;
  }

  .project-list {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .project-offset {
    margin-top: 0;
  }

  .project-visual {
    min-height: 420px;
    height: 120vw;
  }

  .project-info {
    display: block;
  }

  .project-info > p {
    text-align: left;
    margin-top: 14px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .photo-a,
  .photo-b,
  .photo-c {
    grid-column: 1;
    grid-row: auto;
    height: 300px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .logo-frame {
    max-width: 330px;
  }

  h2 {
    font-size: clamp(46px, 14vw, 75px);
  }

  footer {
    display: block;
    line-height: 2;
  }

  footer a {
    display: block;
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* ==================================================
   FIX VIDEO YOUTUBE - VERSION SIMPLE ET CLIQUABLE
   ================================================== */

#symphonie-video {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #000 !important;
  z-index: 5 !important;
}

#symphonie-video .video-cover {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #000 !important;
  cursor: pointer !important;
  overflow: hidden !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}

#symphonie-video .video-cover img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  pointer-events: none !important;
  transition: transform .5s ease, filter .5s ease !important;
}

#symphonie-video .video-cover-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  background: rgba(20, 5, 30, .08) !important;
  pointer-events: none !important;
  transition: background .3s ease !important;
}

#symphonie-video .video-cover-play {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 4 !important;
  width: 82px !important;
  height: 82px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  padding-left: 4px !important;
  background: rgba(113,54,164,.94) !important;
  border: 1px solid rgba(255,255,255,.86) !important;
  color: #fff !important;
  font-size: 26px !important;
  line-height: 1 !important;
  pointer-events: none !important;
  box-shadow: 0 15px 45px rgba(43, 13, 64, .28) !important;
  transition: transform .3s ease, background .3s ease !important;
}

#symphonie-video .video-label {
  position: absolute !important;
  left: 24px !important;
  bottom: 22px !important;
  z-index: 4 !important;
  color: white !important;
  font-size: 9px !important;
  letter-spacing: .18em !important;
  pointer-events: none !important;
}

#symphonie-video .video-cover:hover img {
  transform: scale(1.025) !important;
  filter: brightness(.82) !important;
}

#symphonie-video .video-cover:hover .video-cover-play {
  transform: translate(-50%, -50%) scale(1.08) !important;
  background: #7136a4 !important;
}

#symphonie-video .youtube-frame {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  z-index: 50 !important;
  pointer-events: auto !important;
  display: block !important;
}


/* ==================================================
   GALERIE PHOTO ÉDITORIALE — ER.VISUALS
   ================================================== */

.photo-section {
  position: relative;
  background: #fbfafc;
  padding: 135px 0 0;
}

.photo-header {
  padding: 0 6vw 70px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.photo-header h2 {
  font-size: clamp(50px, 6vw, 88px);
}

.photo-header-note {
  margin-bottom: 7px;
  text-align: right;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
  text-transform: uppercase;
  letter-spacing: .14em;
}

/* Mosaïque inspirée des portfolios éditoriaux :
   2 colonnes paysage + 1 colonne verticale */
.editorial-gallery {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: minmax(260px, 25vw) minmax(260px, 25vw);
  gap: 3px;
  padding: 3px;
  background: #fbfafc;
}

.editorial-photo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #e9e5eb;
  cursor: zoom-in;
  text-align: left;
}

.editorial-photo-a {
  grid-column: 1 / 3;
  grid-row: 1;
}

.editorial-photo-b {
  grid-column: 1 / 3;
  grid-row: 2;
}

.editorial-photo-c {
  grid-column: 3;
  grid-row: 1 / 3;
}

.editorial-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.22,.61,.36,1),
              filter .55s ease;
}

.editorial-photo-a img {
  object-position: 50% 52%;
}

.editorial-photo-b img {
  object-position: 50% 48%;
}

.editorial-photo-c img {
  object-position: 50% 18%;
}

.editorial-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,12,25,.28), transparent 35%);
  opacity: .35;
  transition: opacity .45s ease;
  pointer-events: none;
}

.editorial-photo:hover img {
  transform: scale(1.025);
  filter: brightness(.92);
}

.editorial-photo:hover::after {
  opacity: .7;
}

.editorial-caption {
  position: absolute;
  left: 22px;
  bottom: 19px;
  z-index: 3;
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}

.editorial-caption small {
  margin-left: 10px;
  font-size: 8px;
  font-weight: 400;
  opacity: .7;
}

.editorial-photo:hover .editorial-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-hint {
  padding: 20px 6vw 95px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .15em;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,12,17,.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-figure {
  width: min(88vw, 1500px);
  height: min(84vh, 950px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100% - 45px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0,0,0,.28);
}

.lightbox-caption {
  margin-top: 18px;
  color: rgba(255,255,255,.72);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
}

.lightbox-close {
  top: 26px;
  right: 32px;
  font-size: 36px;
  font-weight: 200;
  line-height: 1;
  opacity: .8;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  font-size: 20px;
  transition: background .25s ease, border-color .25s ease;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.55);
}

.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 800px) {
  .photo-section {
    padding-top: 95px;
  }

  .photo-header {
    display: block;
    padding: 0 7vw 50px;
  }

  .photo-header-note {
    text-align: left;
    margin-top: 25px;
  }

  .editorial-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 62vw 72vw;
    gap: 3px;
  }

  .editorial-photo-a {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .editorial-photo-b {
    grid-column: 1;
    grid-row: 2;
  }

  .editorial-photo-c {
    grid-column: 2;
    grid-row: 2;
  }

  .editorial-caption {
    opacity: 1;
    transform: none;
    left: 14px;
    bottom: 13px;
    font-size: 8px;
  }

  .gallery-hint {
    padding: 18px 7vw 70px;
  }

  .lightbox-figure {
    width: 92vw;
    height: 80vh;
  }

  .lightbox-nav {
    top: auto;
    bottom: 22px;
    width: 46px;
    height: 46px;
  }

  .lightbox-prev { left: calc(50% - 58px); }
  .lightbox-next { right: calc(50% - 58px); }

  .lightbox-close {
    top: 20px;
    right: 20px;
  }
}


/* ==================================================
   TRANSITIONS PLUS FLUIDES — ER.VISUALS
   ================================================== */

/* Scroll plus cinématique */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  scroll-behavior: smooth;
}

/* Les sections glissent visuellement les unes dans les autres */
.hero,
.intro,
.projects,
.photo-section,
.about,
.contact {
  isolation: isolate;
}

/* Fondu lumineux en haut / bas des grandes sections */
.intro::before,
.projects::before,
.photo-section::before,
.about::before,
.contact::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -90px;
  height: 180px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(251,250,252,0),
    rgba(251,250,252,.72) 48%,
    rgba(251,250,252,0)
  );
  filter: blur(16px);
  opacity: .72;
}

/* Variation discrète selon le fond de section */
.projects::before,
.about::before {
  background: linear-gradient(
    to bottom,
    rgba(244,240,248,0),
    rgba(244,240,248,.78) 48%,
    rgba(244,240,248,0)
  );
}

/* Le contenu reste au-dessus des voiles lumineux */
.section > *,
.photo-section > *,
.contact > *,
.projects > *,
.about > *,
.intro > * {
  position: relative;
  z-index: 1;
}

/* Apparitions plus lentes et naturelles */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(4px);
  transition:
    opacity 1.05s cubic-bezier(.22,.61,.36,1),
    transform 1.05s cubic-bezier(.22,.61,.36,1),
    filter 1.05s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform, filter;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Décalage doux entre éléments d'une même section */
.project-list .project:nth-child(2),
.editorial-gallery .editorial-photo:nth-child(2),
.about-layout > *:nth-child(2) {
  transition-delay: .08s;
}

.project-list .project:nth-child(3),
.editorial-gallery .editorial-photo:nth-child(3) {
  transition-delay: .16s;
}

.project-list .project:nth-child(4) {
  transition-delay: .24s;
}

/* Header plus fluide au scroll */
.site-header {
  transition:
    background .45s ease,
    border-color .45s ease,
    box-shadow .45s ease,
    transform .45s cubic-bezier(.22,.61,.36,1);
}

.site-header.scrolled {
  background: rgba(251,250,252,.9);
  border-bottom-color: rgba(77,35,111,.12);
  box-shadow: 0 10px 35px rgba(54,33,67,.05);
}

/* Légère respiration du contenu quand on arrive sur une ancre */
section:target {
  animation: sectionTargetIn .9s cubic-bezier(.22,.61,.36,1);
}

@keyframes sectionTargetIn {
  from {
    opacity: .72;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Voile de transition très léger pendant les navigations par le menu */
.section-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(169,139,193,.12), transparent 35%),
    rgba(251,250,252,.14);
  backdrop-filter: blur(0px);
  transition:
    opacity .32s ease,
    backdrop-filter .32s ease;
}

.section-transition-overlay.active {
  opacity: 1;
  backdrop-filter: blur(2px);
}

/* Très léger parallaxe visuel sur les grandes images */
.editorial-photo img,
.project-video-thumbnail,
.project-visual {
  transform-origin: center center;
  transition:
    transform .85s cubic-bezier(.22,.61,.36,1),
    filter .5s ease;
}

/* Hero plus doux au mouvement */
.hero-content,
.hero-bottom {
  will-change: transform, opacity;
}

/* Mobile : transitions un peu plus rapides */
@media (max-width: 800px) {
  html {
    scroll-padding-top: 72px;
  }

  .reveal {
    transform: translateY(28px);
    filter: blur(2px);
    transition-duration: .8s;
  }

  .intro::before,
  .projects::before,
  .photo-section::before,
  .about::before,
  .contact::before {
    top: -55px;
    height: 110px;
    filter: blur(12px);
  }
}


/* ==================================================
   V4 — TRANSITION GLISSÉE ENTRE LES SECTIONS
   ================================================== */

/* Désactive l'ancien voile s'il restait dans le cache */
.section-transition-overlay {
  display: none !important;
}

/* Le rideau de transition */
.page-wipe {
  position: fixed;
  inset: 0;
  z-index: 12000;
  pointer-events: none;
  overflow: hidden;
  visibility: hidden;
}

.page-wipe.active {
  visibility: visible;
}

.page-wipe-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 110%;
  left: -5%;
  transform: translate3d(105%, 0, 0);
  will-change: transform;
}

.page-wipe-panel-main {
  z-index: 2;
  background:
    radial-gradient(circle at 35% 50%, rgba(255,255,255,.22), transparent 30%),
    linear-gradient(105deg, #552778 0%, #7136a4 45%, #9e70bf 100%);
}

.page-wipe-panel-light {
  z-index: 1;
  background:
    linear-gradient(105deg, #eee7f4 0%, #f8f4fa 55%, #ffffff 100%);
  transform: translate3d(110%, 0, 0);
}

/* Le nom apparaît au milieu du glissement */
.page-wipe-brand {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(28px);
  color: white;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .30em;
  text-transform: uppercase;
  opacity: 0;
  white-space: nowrap;
}

/* Entrée du rideau : droite -> gauche */
.page-wipe.enter .page-wipe-panel-main {
  animation: wipeMainIn .58s cubic-bezier(.76, 0, .24, 1) forwards;
}

.page-wipe.enter .page-wipe-panel-light {
  animation: wipeLightIn .66s .05s cubic-bezier(.76, 0, .24, 1) forwards;
}

.page-wipe.enter .page-wipe-brand {
  animation: wipeBrandIn .34s .28s ease forwards;
}

/* Sortie : le rideau continue son mouvement vers la gauche */
.page-wipe.exit .page-wipe-panel-main {
  transform: translate3d(0, 0, 0);
  animation: wipeMainOut .62s cubic-bezier(.76, 0, .24, 1) forwards;
}

.page-wipe.exit .page-wipe-panel-light {
  transform: translate3d(0, 0, 0);
  animation: wipeLightOut .70s .04s cubic-bezier(.76, 0, .24, 1) forwards;
}

.page-wipe.exit .page-wipe-brand {
  opacity: 1;
  transform: translate(-50%, -50%);
  animation: wipeBrandOut .25s ease forwards;
}

@keyframes wipeMainIn {
  from { transform: translate3d(105%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

@keyframes wipeLightIn {
  from { transform: translate3d(110%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

@keyframes wipeMainOut {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-105%, 0, 0); }
}

@keyframes wipeLightOut {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-110%, 0, 0); }
}

@keyframes wipeBrandIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(28px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
  }
}

@keyframes wipeBrandOut {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-22px);
  }
}

/* Très léger mouvement du contenu après la transition */
body.section-arrival main {
  animation: sectionArrival .62s cubic-bezier(.22,.61,.36,1);
}

@keyframes sectionArrival {
  from {
    opacity: .82;
    transform: translate3d(16px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 800px) {
  .page-wipe-brand {
    font-size: 9px;
    letter-spacing: .24em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-wipe {
    display: none !important;
  }
}


/* ==================================================
   V5 — CURSEUR PERSONNALISÉ DISCRET
   ================================================== */

@media (hover: hover) and (pointer: fine) {

  body,
  a,
  button,
  .editorial-photo,
  .project-video,
  .video-cover {
    cursor: none !important;
  }

  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    margin-left: -14px;
    margin-top: -14px;
    border: 1px solid rgba(113, 54, 164, .55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 20000;

    opacity: 0;
    transform: translate3d(-100px, -100px, 0) scale(.9);

    transition:
      width .22s ease,
      height .22s ease,
      margin .22s ease,
      border-color .22s ease,
      background .22s ease,
      opacity .18s ease;

    backdrop-filter: blur(1px);
    mix-blend-mode: multiply;
  }

  .custom-cursor-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--purple);
    transform: translate(-50%, -50%);
    transition:
      transform .22s ease,
      opacity .22s ease;
  }

  .custom-cursor.visible {
    opacity: 1;
  }

  .custom-cursor.is-hovering {
    width: 46px;
    height: 46px;
    margin-left: -23px;
    margin-top: -23px;
    border-color: rgba(113, 54, 164, .75);
    background: rgba(113, 54, 164, .07);
  }

  .custom-cursor.is-hovering .custom-cursor-dot {
    transform: translate(-50%, -50%) scale(.55);
    opacity: .55;
  }

  .custom-cursor.is-media {
    width: 58px;
    height: 58px;
    margin-left: -29px;
    margin-top: -29px;
    border-color: rgba(255,255,255,.78);
    background: rgba(255,255,255,.08);
    mix-blend-mode: normal;
  }

  .custom-cursor.is-media .custom-cursor-dot {
    background: #fff;
  }

  .custom-cursor.is-clicking {
    width: 22px;
    height: 22px;
    margin-left: -11px;
    margin-top: -11px;
  }

  .custom-cursor.is-hidden {
    opacity: 0;
  }
}

/* Pas de curseur custom sur mobile/tablette */
@media (hover: none), (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}


/* ==================================================
   V6 — ANIMATION SUBTILE DU LOGO
   ================================================== */

.brand-logo-animated {
  transform-origin: 50% 50%;
  will-change: transform, opacity, filter;
}

/* Logo du header : arrivée douce après le chargement */
body:not(.is-loading) .site-header .brand-logo-animated {
  animation: logoHeaderReveal 1.25s cubic-bezier(.22,.61,.36,1) both;
}

@keyframes logoHeaderReveal {
  0% {
    opacity: 0;
    transform: scale(.92) rotate(-2deg);
    filter: blur(5px);
  }
  55% {
    opacity: 1;
    transform: scale(1.015) rotate(.4deg);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
    filter: blur(0);
  }
}

/* Petit mouvement élégant au survol */
.site-header a:hover .brand-logo-animated,
.site-header .brand-logo-animated:hover {
  animation: logoHoverBreath .72s cubic-bezier(.22,.61,.36,1);
}

@keyframes logoHoverBreath {
  0%   { transform: scale(1) rotate(0); }
  45%  { transform: scale(1.045) rotate(-1deg); }
  100% { transform: scale(1) rotate(0); }
}

/* Intro : apparition un peu plus organique */
.intro-logo-animated {
  animation: introLogoOrganic 1.55s cubic-bezier(.16,1,.3,1) both;
}

@keyframes introLogoOrganic {
  0% {
    opacity: 0;
    transform: scale(.78) rotate(-3deg);
    filter: blur(10px);
  }
  40% {
    opacity: 1;
    transform: scale(1.035) rotate(.7deg);
    filter: blur(1px);
  }
  70% {
    transform: scale(.992) rotate(-.2deg);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
    filter: blur(0);
  }
}

/* Très léger halo violet pendant l'apparition */
.intro-logo-animated::after {
  content: "";
}

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  .brand-logo-animated,
  .intro-logo-animated,
  body:not(.is-loading) .site-header .brand-logo-animated {
    animation: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}


/* ==================================================
   V7 — GRANDE GALERIE ÉDITORIALE
   ================================================== */
.gallery-v7 {
  width: 100%;
  padding: 3px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(44px, 4.25vw, 76px);
  grid-auto-flow: dense;
  gap: 3px;
  background: #fbfafc;
}

.gallery-v7 .gallery-tile {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #e9e5eb;
  cursor: zoom-in;
}

.gallery-v7 .gallery-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.22,.61,.36,1), filter .55s ease;
}

.gallery-v7 .gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,12,25,.34), transparent 38%);
  opacity: .15;
  transition: opacity .4s ease;
  pointer-events: none;
}

.gallery-v7 .gallery-tile:hover img { transform: scale(1.025); filter: brightness(.93); }
.gallery-v7 .gallery-tile:hover::after { opacity: .65; }
.gallery-v7 .gallery-tile:hover .editorial-caption { opacity: 1; transform: translateY(0); }

/* Composition volontairement irrégulière, façon magazine */
.tile-01 { grid-column: span 5; grid-row: span 8; }
.tile-02 { grid-column: span 3; grid-row: span 8; }
.tile-03 { grid-column: span 4; grid-row: span 8; }

.tile-04 { grid-column: span 7; grid-row: span 7; }
.tile-05 { grid-column: span 5; grid-row: span 7; }

.tile-06 { grid-column: span 4; grid-row: span 8; }
.tile-07 { grid-column: span 3; grid-row: span 8; }
.tile-08 { grid-column: span 5; grid-row: span 8; }

.tile-09 { grid-column: span 4; grid-row: span 9; }
.tile-10 { grid-column: span 4; grid-row: span 9; }
.tile-11 { grid-column: span 4; grid-row: span 9; }

.tile-12 { grid-column: span 7; grid-row: span 8; }
.tile-13 { grid-column: span 5; grid-row: span 8; }

.tile-14 { grid-column: span 7; grid-row: span 7; }
.tile-15 { grid-column: span 5; grid-row: span 7; }

/* Recadrages choisis pour préserver les sujets */
.tile-01 img { object-position: 56% 50%; }
.tile-02 img { object-position: 50% 52%; }
.tile-03 img { object-position: 50% 50%; }
.tile-04 img { object-position: 50% 50%; }
.tile-05 img { object-position: 50% 48%; }
.tile-06 img { object-position: 50% 50%; }
.tile-07 img { object-position: 50% 52%; }
.tile-08 img { object-position: 50% 50%; }
.tile-09 img { object-position: 55% 50%; }
.tile-10 img { object-position: 50% 50%; }
.tile-11 img { object-position: 50% 48%; }
.tile-12 img { object-position: 50% 50%; }
.tile-13 img { object-position: 50% 22%; }
.tile-14 img { object-position: 50% 54%; }
.tile-15 img { object-position: 50% 50%; }

@media (max-width: 800px) {
  .gallery-v7 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 48vw;
  }

  .gallery-v7 .gallery-tile {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .gallery-v7 .tile-01,
  .gallery-v7 .tile-04,
  .gallery-v7 .tile-05,
  .gallery-v7 .tile-12,
  .gallery-v7 .tile-14 {
    grid-column: span 2 !important;
  }

  .gallery-v7 .tile-01,
  .gallery-v7 .tile-04,
  .gallery-v7 .tile-05,
  .gallery-v7 .tile-12,
  .gallery-v7 .tile-14 {
    height: 58vw;
  }

  .gallery-v7 .editorial-caption {
    opacity: 1;
    transform: none;
  }
}


/* ==================================================
   V8 — OPTIMISATION MOBILE COMPLÈTE
   ================================================== */

@media (max-width: 800px) {

  /* Base générale */
  html {
    scroll-padding-top: 72px;
  }

  body {
    overflow-x: hidden;
  }

  section {
    scroll-margin-top: 72px;
  }

  /* Header */
  .site-header {
    min-height: 66px;
    padding: 10px 18px;
    background: rgba(251,250,252,.92);
    backdrop-filter: blur(12px);
  }

  .site-header .brand-logo-animated {
    max-height: 42px;
    width: auto;
  }

  .menu-toggle {
    position: relative;
    z-index: 1002;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 92px 8vw 60px;
    background: rgba(251,250,252,.98);
    backdrop-filter: blur(18px);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition:
      opacity .35s ease,
      transform .35s cubic-bezier(.22,.61,.36,1),
      visibility .35s ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    font-family: "DM Serif Display", serif;
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1;
    letter-spacing: -.02em;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
    padding: 112px 7vw 36px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero .eyebrow {
    margin-bottom: 18px;
    font-size: 9px;
    letter-spacing: .16em;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(52px, 15vw, 76px);
    line-height: .95;
    letter-spacing: -.035em;
  }

  .hero-sub {
    margin-top: 24px;
    font-size: 12px;
    letter-spacing: .08em;
  }

  .hero-copy {
    max-width: 32ch;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-bottom {
    margin-top: 40px;
  }

  /* Sections */
  .section,
  .projects,
  .about,
  .contact {
    padding-left: 7vw;
    padding-right: 7vw;
  }

  .section h2,
  .projects h2,
  .about h2,
  .contact h2,
  .photo-header h2 {
    font-size: clamp(42px, 12.5vw, 62px);
    line-height: .98;
    letter-spacing: -.025em;
  }

  .intro {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .intro p {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.65;
  }

  /* Projets */
  .projects {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .project {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .project-title {
    font-size: clamp(31px, 9vw, 44px);
    line-height: 1.02;
  }

  .project-meta {
    font-size: 9px;
    letter-spacing: .12em;
  }

  #symphonie-video {
    margin-top: 24px;
    border-radius: 0 !important;
  }

  #symphonie-video .video-cover-play {
    width: 64px !important;
    height: 64px !important;
    font-size: 20px !important;
  }

  /* Galerie photo — pensée mobile, pas simple réduction desktop */
  .photo-section {
    padding-top: 88px;
  }

  .photo-header {
    display: block;
    padding: 0 7vw 44px;
  }

  .photo-header-note {
    margin-top: 22px;
    text-align: left;
  }

  .gallery-v7 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 3px;
    padding: 3px;
  }

  .gallery-v7 .gallery-tile {
    grid-column: auto !important;
    grid-row: auto !important;
    height: auto !important;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  /* Images fortes en pleine largeur */
  .gallery-v7 .tile-01,
  .gallery-v7 .tile-04,
  .gallery-v7 .tile-05,
  .gallery-v7 .tile-12,
  .gallery-v7 .tile-14 {
    grid-column: 1 / -1 !important;
    aspect-ratio: 16 / 10;
  }

  /* Quelques verticales plus élégantes */
  .gallery-v7 .tile-02,
  .gallery-v7 .tile-08,
  .gallery-v7 .tile-09,
  .gallery-v7 .tile-10,
  .gallery-v7 .tile-13 {
    aspect-ratio: 3 / 4;
  }

  .gallery-v7 .gallery-tile img {
    object-fit: cover;
  }

  .editorial-caption {
    left: 13px;
    bottom: 12px;
    opacity: 1;
    transform: none;
    font-size: 8px;
    letter-spacing: .15em;
  }

  .editorial-caption small {
    margin-left: 6px;
  }

  .gallery-hint {
    padding: 16px 7vw 72px;
    line-height: 1.5;
  }

  /* Lightbox mobile */
  .lightbox {
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  }

  .lightbox-figure {
    width: 100vw;
    height: 100dvh;
    padding: 68px 16px 88px;
  }

  .lightbox-image {
    max-width: 100%;
    max-height: calc(100dvh - 170px);
  }

  .lightbox-caption {
    margin-top: 14px;
    font-size: 8px;
  }

  .lightbox-close {
    top: max(18px, env(safe-area-inset-top));
    right: 18px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    font-size: 32px;
  }

  .lightbox-nav {
    top: auto;
    bottom: max(22px, env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,.06);
  }

  .lightbox-prev {
    left: calc(50% - 58px);
  }

  .lightbox-next {
    right: calc(50% - 58px);
  }

  /* À propos */
  .about {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .about-layout {
    display: block;
  }

  .about-layout > * + * {
    margin-top: 34px;
  }

  .about p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.7;
  }

  /* Contact */
  .contact {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 84px;
  }

  .contact a {
    word-break: break-word;
  }

  /* Transition glissée allégée sur mobile */
  .page-wipe-panel {
    width: 120%;
    left: -10%;
  }

  .page-wipe-brand {
    font-size: 8px;
    letter-spacing: .22em;
  }

  /* Curseur inutile sur tactile */
  .custom-cursor {
    display: none !important;
  }

  /* Meilleure zone de clic */
  a,
  button {
    -webkit-tap-highlight-color: transparent;
  }

  .site-nav a,
  .menu-toggle,
  .gallery-tile,
  .lightbox-close,
  .lightbox-nav {
    touch-action: manipulation;
  }
}

/* Téléphones étroits */
@media (max-width: 520px) {
  .gallery-v7 {
    grid-template-columns: 1fr;
  }

  .gallery-v7 .gallery-tile,
  .gallery-v7 .tile-01,
  .gallery-v7 .tile-04,
  .gallery-v7 .tile-05,
  .gallery-v7 .tile-12,
  .gallery-v7 .tile-14 {
    grid-column: 1 !important;
    aspect-ratio: 4 / 5;
  }

  /* Les paysages restent plus larges visuellement */
  .gallery-v7 .tile-04,
  .gallery-v7 .tile-05,
  .gallery-v7 .tile-12,
  .gallery-v7 .tile-14 {
    aspect-ratio: 16 / 11;
  }

  .gallery-v7 .tile-01 {
    aspect-ratio: 3 / 4;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .section h2,
  .projects h2,
  .about h2,
  .contact h2,
  .photo-header h2 {
    font-size: clamp(40px, 12vw, 54px);
  }
}

/* Hauteurs de petits téléphones */
@media (max-width: 800px) and (max-height: 700px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 52px;
  }
}


/* ==================================================
   V9 — PORTRAIT ENZO / SECTION À PROPOS
   ================================================== */

.about-portrait {
  margin: 0;
  width: min(100%, 470px);
  justify-self: end;
}

.about-portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #111;
  border: 1px solid rgba(113,54,164,.22);
}

.about-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

.about-portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  transition: transform 1.1s cubic-bezier(.22,.61,.36,1);
}

.about-portrait:hover .about-portrait-frame img {
  transform: scale(1.018);
}

.about-portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 13px;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(42,31,48,.72);
}

.about-portrait figcaption span {
  color: rgba(42,31,48,.46);
  text-align: right;
}

@media (min-width: 801px) {
  .about-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
    align-items: center;
    gap: clamp(54px, 8vw, 130px);
  }
}

@media (max-width: 800px) {
  .about-portrait {
    width: 100%;
    max-width: 560px;
    margin-top: 44px !important;
    justify-self: stretch;
  }

  .about-portrait-frame {
    aspect-ratio: 4 / 5;
  }

  .about-portrait figcaption {
    display: block;
    margin-top: 12px;
  }

  .about-portrait figcaption span {
    display: block;
    margin-top: 5px;
    text-align: left;
  }
}


/* ==================================================
   V10 — SIGNATURE SUR LE PORTRAIT
   ================================================== */
.portrait-signature {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 3;
  color: rgba(255,255,255,.94);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(25px, 2.4vw, 38px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
  transform: rotate(-7deg);
  transform-origin: right bottom;
  text-shadow: 0 2px 18px rgba(0,0,0,.48);
  pointer-events: none;
  user-select: none;
}

.portrait-signature::after {
  content: "";
  display: block;
  width: 72%;
  height: 1px;
  margin: 6px 0 0 auto;
  background: rgba(255,255,255,.72);
  transform: rotate(-2deg);
  transform-origin: right center;
}

@media (max-width: 800px) {
  .portrait-signature {
    right: 17px;
    bottom: 15px;
    font-size: clamp(24px, 8vw, 34px);
  }
}


/* ==================================================
   V11 — PORTRAIT DIRECTEMENT DANS LE CADRE VIOLET
   ================================================== */

/* On revient à une vraie mise en page 2 colonnes :
   cadre portrait à gauche, texte à droite. */
@media (min-width: 801px) {
  .about-layout {
    grid-template-columns: minmax(310px, .82fr) 1.18fr !important;
    gap: clamp(64px, 8vw, 130px) !important;
    align-items: center !important;
  }
}

/* Le cadre violet original devient le cadre de la photo. */
.logo-frame.portrait-frame-main {
  position: relative;
  display: block;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 4 / 5;
  padding: 30px;
  margin: 0;
  overflow: visible;
  background: var(--purple);
  box-shadow: 30px 30px 0 rgba(113,54,164,.10);
}

/* Important : annule les anciens filtres prévus pour le logo blanc. */
.logo-frame.portrait-frame-main > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: 50% 48%;
  mix-blend-mode: normal !important;
  filter: none !important;
  transition: transform 1s cubic-bezier(.22,.61,.36,1);
}

.logo-frame.portrait-frame-main:hover > img {
  transform: scale(1.012);
}

/* Signature placée SUR la photo, en bas à droite. */
.portrait-signature-main {
  right: 47px !important;
  bottom: 47px !important;
  z-index: 4 !important;
  color: rgba(255,255,255,.96) !important;
  font-size: clamp(27px, 2.3vw, 38px) !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.55) !important;
}

/* Supprime complètement l'ancien portrait séparé s'il reste en cache. */
.about-portrait {
  display: none !important;
}

@media (max-width: 800px) {
  .about-layout {
    grid-template-columns: 1fr !important;
    gap: 52px !important;
  }

  .about-logo {
    width: 100%;
  }

  .logo-frame.portrait-frame-main {
    width: min(100%, 430px);
    max-width: 100%;
    margin: 0 auto;
    padding: 22px;
    box-shadow: 20px 20px 0 rgba(113,54,164,.10);
  }

  .portrait-signature-main {
    right: 35px !important;
    bottom: 35px !important;
    font-size: clamp(24px, 8vw, 34px) !important;
  }
}

@media (max-width: 520px) {
  .logo-frame.portrait-frame-main {
    padding: 16px;
    box-shadow: 14px 14px 0 rgba(113,54,164,.10);
  }

  .portrait-signature-main {
    right: 27px !important;
    bottom: 27px !important;
  }
}


/* ==================================================
   V12 — HERO FORÊT LUMINEUSE
   ================================================== */

.hero {
  position: relative;
  overflow: hidden;
}

/* Grande image lumineuse à droite, fondue dans le blanc */
.hero-forest-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-forest-image {
  position: absolute;
  top: 0;
  right: 0;
  width: min(62vw, 980px);
  height: 100%;
  background-image: url("../assets/gallery/rayons-foret.jpg");
  background-size: cover;
  background-position: 58% 50%;
  opacity: .46;
  filter: saturate(.82) contrast(.92) brightness(1.08);
  transform: scale(1.035);
}

/* Dégradé blanc pour que l'image se fonde vraiment dans la DA claire */
.hero-forest-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #fbfafc 0%,
      rgba(251,250,252,.98) 22%,
      rgba(251,250,252,.88) 39%,
      rgba(251,250,252,.44) 62%,
      rgba(251,250,252,.18) 100%
    ),
    linear-gradient(
      180deg,
      rgba(251,250,252,.50) 0%,
      rgba(251,250,252,.03) 42%,
      rgba(251,250,252,.35) 100%
    );
}

.hero::after {
  content: "";
  position: absolute;
  right: 7vw;
  top: 18%;
  width: 1px;
  height: 58%;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(113,54,164,.22) 18%,
    rgba(113,54,164,.22) 82%,
    transparent
  );
}

/* Le contenu reste bien lisible au-dessus */
.hero > *:not(.hero-forest-visual) {
  position: relative;
  z-index: 2;
}

/* Très léger halo violet, pour raccrocher l'image à la DA */
.hero-forest-visual::after {
  content: "";
  position: absolute;
  right: 7%;
  top: 18%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(113,54,164,.09) 0%,
    rgba(113,54,164,.03) 42%,
    transparent 72%
  );
  filter: blur(18px);
}

/* Mouvement très discret au scroll, sans toucher au texte */
@media (prefers-reduced-motion: no-preference) {
  .hero-forest-image {
    animation: heroForestBreath 12s ease-in-out infinite alternate;
  }

  @keyframes heroForestBreath {
    from { transform: scale(1.035) translate3d(0,0,0); }
    to   { transform: scale(1.055) translate3d(-8px, 5px, 0); }
  }
}

/* Tablette / téléphone */
@media (max-width: 800px) {
  .hero {
    background: #fbfafc;
  }

  .hero-forest-image {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 54%;
    opacity: .34;
    background-position: 60% 52%;
  }

  .hero-forest-wash {
    background:
      linear-gradient(
        180deg,
        #fbfafc 0%,
        rgba(251,250,252,.98) 35%,
        rgba(251,250,252,.72) 58%,
        rgba(251,250,252,.28) 100%
      ),
      linear-gradient(
        90deg,
        rgba(251,250,252,.28),
        rgba(251,250,252,.08)
      );
  }

  .hero::after {
    right: 7vw;
    top: auto;
    bottom: 10%;
    height: 28%;
  }

  .hero-forest-visual::after {
    width: 220px;
    height: 220px;
    right: -20px;
    top: auto;
    bottom: 12%;
  }
}

@media (max-width: 520px) {
  .hero-forest-image {
    height: 48%;
    opacity: .30;
    background-position: 64% 54%;
  }

  .hero-forest-wash {
    background:
      linear-gradient(
        180deg,
        #fbfafc 0%,
        rgba(251,250,252,.99) 38%,
        rgba(251,250,252,.78) 62%,
        rgba(251,250,252,.34) 100%
      );
  }

  .hero::after {
    display: none;
  }
}
