/* ═══════════════════════════════════════
   TOKENS
   ═══════════════════════════════════════ */

@font-face {
  font-family: 'Sraken';
  src: url('fonts/Sraken/Sraken.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit/Outfit-VariableFont_wght.ttf') format('truetype');
  font-weight: thin;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs */
  --cream:      #F2EDE4;
  --navy:       #0F1629;
  --gold:       #B8975A;
  --gold-soft:  #b897594d;
  --text-dark:  #3A3632;
  --text-light: #E8E2D6;
  --text-muted: #8A847A;

  /* Polices */
  --font-serif: 'Sraken';
  --font-sans:  'Outfit';

  /* Échelle typographique */
  --fs-2xs:  10px;
  --fs-xs:   11px;
  --fs-sm:   12px;
  --fs-base: 14px;
  --fs-md:   16px;
  --fs-lg:   18px;
  --fs-xl:   22px;
  --fs-2xl:  24px;
  --fs-3xl:  28px;
  --fs-4xl:  32px;
  --fs-5xl:  36px;
  --fs-6xl:  38px;
  --fs-7xl:  48px;
  --fs-8xl:  52px;

  /* Layout */
  --nav-h: 64px;
}

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  scroll-snap-type: y proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-soft) transparent;
}

body {
  background: var(--cream);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--cream); }

/* Scrollbar webkit */
::-webkit-scrollbar              { width: 4px; }
::-webkit-scrollbar-track        { background: transparent; }
::-webkit-scrollbar-thumb        { background: var(--gold-soft); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover  { background: var(--gold); }

/* ═══════════════════════════════════════
   TYPOGRAPHIE UNIFIÉE
   ═══════════════════════════════════════ */

.section-label {
  font-size: var(--fs-base);
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: .8rem;
  font-weight: 400;
}

.section-title--light {
  font-size: var(--fs-4xl);
  color: var(--navy);
}

.section-title--dark {
  font-size: var(--fs-6xl);
  color: var(--text-light);
}

.detail-row__value {
  font-size: var(--fs-md);
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: .8rem;
  font-weight: 400;
  text-align: left;
}

.process__title,
.about__title {
  font-family: var(--font-serif);
  font-size: var(--fs-8xl);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.services__title {
  font-family: var(--font-serif);
  font-size: var(--fs-8xl);
  color: var(--text-light);
  line-height: 1.1;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: var(--fs-3xl);
  color: var(--text-light);
  margin-bottom: .7rem;
}

.process__text,
.about__text,
.project-intro__context,
.hindsight__text {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1rem;
}
.about__text + .about__text { margin-bottom: 2rem; }

.service-card__text {
  font-size: var(--fs-md);
  color: var(--text-light);
  opacity: .7;
  line-height: 1.8;
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.25,.1,.25,1),
              transform .9s cubic-bezier(.25,.1,.25,1);
}
.reveal--visible  { opacity: 1; transform: translateY(0); }
.reveal--delay-1  { transition-delay: .12s; }
.reveal--delay-2  { transition-delay: .24s; }
.reveal--delay-3  { transition-delay: .36s; }
.reveal--delay-4  { transition-delay: .48s; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html    { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */

.nav {
  position: fixed;
  top: 20px; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  color: var(--navy);
  transition: color .4s;
  font-weight: 500;
}
.nav.nav--light-text { color: var(--text-light); }

.nav__logo {
  display: flex;
  align-items: center;
  position: relative;
  height: 50px;
}
.nav__logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: opacity .4s;
}
.nav__logo-img--light {
  position: absolute;
  left: 0;
  opacity: 0;
}
.nav--light-text .nav__logo-img--dark  { opacity: 0; }
.nav--light-text .nav__logo-img--light { opacity: 1; }

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav__links a {
  font-size: var(--fs-base);
  letter-spacing: .06em;
  opacity: .6;
  transition: opacity .3s, color .3s;
  padding: 0.5rem 0.8rem;
  margin: -0.5rem -0.8rem;
}
.nav__links a:hover { opacity: 1; color: var(--gold); }

.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + .3rem);
  left: 0;
  min-width: 220px;
  padding: .8rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity .3s, transform .3s, visibility .3s;
  z-index: 100;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown-arrow {
  font-size: var(--fs-sm);
  transition: transform .3s cubic-bezier(.25,.1,.25,1);
}
.nav__dropdown:hover .nav__dropdown-arrow { transform: rotate(90deg); }
.nav__dropdown-menu a {
  display: block;
  padding: .5rem 1rem;
  font-size: var(--fs-sm);
  color: inherit;
  letter-spacing: .04em;
  opacity: .7;
  transition: opacity .3s, color .3s;
}
.nav__dropdown-menu a:hover       { opacity: 1; color: var(--gold); }
.nav__dropdown-menu a[aria-current="page"] { opacity: 1; color: var(--gold); }

.nav__burger {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav__burger span {
  display: block;
  width: 20px; height: 1px;
  background: currentColor;
  transition: all .3s;
}

/* Forcer le hamburger clair sur les sections sombres */
.nav--light-text .nav__burger span {
  background-color: var(--text-light);
}

body:has(.mobile-menu.open) .nav__logo-img--dark { opacity: 0 !important; }
body:has(.mobile-menu.open) .nav__logo-img--light { opacity: 1 !important; }
body:has(.mobile-menu.open) .nav__burger span { background-color: var(--text-light) !important; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(15,22,41,.97);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s, visibility .4s;
}
.mobile-menu.open,
.mobile-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu[aria-hidden="true"] {
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: var(--fs-2xl);
  color: var(--text-light);
  letter-spacing: .04em;
  opacity: .7;
  transition: opacity .3s;
}
.mobile-menu a:hover { opacity: 1; }

/* ═══════════════════════════════════════
   HERO ACCUEIL
   ═══════════════════════════════════════ */

.hero,
.gallery,
.process,
.services,
.about { scroll-snap-align: start; }

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__logo-text {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  text-align: center;
  pointer-events: none;
}
.logo-text__main {
  font-family: 'Sraken', Georgia, serif;
  font-size: var(--fs-2xl);
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: .8rem;
  font-weight: 400;
}
.logo-text__sub {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 400;
}

.peeking {
  position: fixed;
  bottom: 0; left: 50%;
  width: 320px; height: 200px;
  transform: translate(-50%, 105%) rotateX(-2deg);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0,0,0,.15);
}
.peeking img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.8);
}

.floating {
  position: fixed;
  bottom: 8%; right: 6%;
  width: 160px; height: 160px;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  overflow: hidden;
  transform: rotate(-3deg);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.floating img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.7);
}

/* ═══════════════════════════════════════
   GALERIE SLIDER
   ═══════════════════════════════════════ */

.gallery {
  position: relative;
  z-index: 10;
  height: 100vh;
  background: var(--navy);
  overflow: hidden;
}
.gallery__header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: calc(var(--nav-h) + 1.5rem) 2.5rem 1.5rem;
  background: linear-gradient(to bottom, rgba(15,22,41,.85) 0%, rgba(15,22,41,.4) 70%, transparent 100%);
  pointer-events: none;
}
.gallery__label {
  font-size: var(--fs-base);
  letter-spacing: .06em;
  color: var(--gold);
  margin-bottom: .4rem;
}
.gallery__desc {
  font-size: var(--fs-sm);
  color: var(--text-light);
  opacity: .6;
  max-width: 360px;
}

.gallery__viewport { position: relative; width: 100%; height: 100%; overflow: hidden; }
.gallery__track    { display: flex; height: 100%; will-change: transform; }

.gallery__slide {
  position: relative;
  min-width: 100vw;
  height: 100%;
  overflow: hidden;
}
.gallery__slide[aria-hidden="true"] {
  visibility: hidden;
}
.gallery__slide[aria-hidden="false"] {
  visibility: visible;
}

.gallery__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.85) contrast(1.02);
}

.slide-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 15;
  padding: 2rem 2.5rem;
  background: linear-gradient(to top, rgba(15,22,41,.8) 0%, transparent 100%);
}
.slide-info__name {
  font-family: var(--font-serif);
  font-size: var(--fs-8xl);
  color: var(--text-light);
  letter-spacing: .02em;
  margin-bottom: .3rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  transition: color .3s;
}
.slide-info__arrow {
  font-size: var(--fs-lg);
  color: var(--gold);
  opacity: .5;
  transition: opacity .3s, transform .3s;
}
.slide-info__name:hover              { color: var(--gold); }
.slide-info__name:hover .slide-info__arrow { opacity: 1; transform: translate(2px,-2px); }

.slide-info__type {
  font-size: var(--fs-base);
  letter-spacing: .04em;
  color: var(--text-light);
  opacity: .5;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.slide-info__tag {
  display: inline-block;
  font-size: var(--fs-base);
  letter-spacing: .04em;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: .15rem .5rem;
  font-weight: 500;
}

.slide-counter {
  position: absolute;
  bottom: 2rem; right: 2.5rem;
  z-index: 15;
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  color: var(--gold);
  opacity: .7;
  font-variant-numeric: tabular-nums;
}

.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232,226,214,.35);
  background: rgba(15,22,41,.5);
  backdrop-filter: blur(4px);
  color: var(--text-light);
  cursor: pointer;
  transition: all .3s;
  font-size: var(--fs-xl);
}
.gallery__arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(15,22,41,.7);
  transform: translateY(-50%) scale(1.05);
}
.gallery__arrow--prev        { left: 1.5rem; }
.gallery__arrow--next        { right: 1.5rem; }

.gallery__dots {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  gap: .5rem;
}

.gallery__dot {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(232,226,214,.2);
  cursor: pointer;
  transition: all .4s;
  border: none;
  padding: 0;
}
.gallery__dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 44px;
  min-height: 44px;
}
.gallery__dot--active                            { background: var(--gold); transform: scale(1.3); }
.gallery__dot:hover:not(.gallery__dot--active)   { background: rgba(232,226,214,.4); }

/* ═══════════════════════════════════════
   PROCESSUS
   ═══════════════════════════════════════ */

.process {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.process__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.process__bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.process__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1070px;
  margin: 0 auto;
  padding: 0 2rem;
}
.process__chapter { padding: 3rem 0; }
.process__chapter + .process__chapter { border-top: 1px solid rgba(58,54,50,.12); }

/* ═══════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════ */

.services {
  background: var(--navy);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.services::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,151,90,.06) 0%, transparent 70%);
  pointer-events: none;
}
.services__inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.services__header { margin-bottom: 4rem; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 2.2rem 1.8rem;
  border: 1px solid rgba(232,226,214,.08);
  background: rgba(232,226,214,.02);
  transition: all .4s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.25,.1,.25,1);
}
.service-card:hover                { background: rgba(232,226,214,.05); border-color: rgba(232,226,214,.15); }
.service-card:hover::after         { transform: scaleX(1); }

.service-card__icon {
  color: var(--gold);
  font-size: var(--fs-xl);
  margin-bottom: 1.2rem;
  display: block;
}

/* ═══════════════════════════════════════
   À PROPOS
   ═══════════════════════════════════════ */

.about {
  background: transparent;
  padding: 8rem 2.5rem;
  position: relative;
  overflow: visible;
}
.about .process__bg {
  height: 100%;
  overflow: hidden;
  z-index: -1;
}
.about .process__bg img { object-position: center top; }

.about__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about__img-wrap { position: relative; }
.about__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: saturate(.8);
  box-shadow: 0 20px 50px rgba(0,0,0,.1);
}

.about__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(58,54,50,.12);
}
.stat__num {
  font-family: var(--font-serif);
  font-size: var(--fs-8xl);
  color: var(--navy);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat__label {
  font-size: var(--fs-base);
  letter-spacing: .06em;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   CTA / CONTACT
   ═══════════════════════════════════════ */

#main-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cta {
  scroll-snap-align: none !important;
  padding: 8rem 2.5rem;
  background: transparent;
  text-align: center;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,151,90,.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.cta__email-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.cta__email-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-serif);
  font-size: var(--fs-8xl);
  color: var(--navy);
  line-height: 1.1;
  cursor: pointer;
  text-align: left;
  transition: opacity .3s, color .3s;
  user-select: none;
  -webkit-user-select: none;
}
.cta__email-btn:focus  { outline: none; }
.cta__email-btn:hover  { opacity: .7; }

.cta__toast {
  font-size: var(--fs-sm);
  color: var(--gold);
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.cta__toast.is-visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════
   PAGE PROJET — INTRO
   ═══════════════════════════════════════ */

.project-intro {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 1rem) 2.5rem 6rem;
}
.project-intro__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  clip-path: inset(-5% -50% 0% -5%);
}
.project-intro__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate(250px, 75px);
}
.project-intro__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: calc(var(--nav-h) + 1rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}
.project-intro__title {
  font-family: var(--font-serif);
  font-size: var(--fs-8xl);
  color: var(--navy);
  line-height: 1;
  margin-bottom: 2.5rem;
  letter-spacing: .02em;
}
.project-intro__media {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: .3rem;
}
.project-intro__thumb {
  display: block;
  width: 400px;
  height: auto;
  object-fit: contain;
  transform: translateY(-10px);
}
.project-intro__right {
  align-self: end;
  margin-top: 8px;
}
.project-intro__left-col {
  display: flex;
  flex-direction: column;
}

/* ═══════════════════════════════════════
   PAGE PROJET — GALERIE
   ═══════════════════════════════════════ */

.project-gallery {
  padding: 4rem 2.5rem 6rem;
  background-color: var(--navy);
}
.project-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.project-gallery__item          { overflow: hidden; }
.project-gallery__item--full    { grid-column: 1 / -1; }
.project-gallery__grid .project-intro__right { grid-column: 1 / -1; }
.project-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.85);
  transition: transform .6s cubic-bezier(.25,.1,.25,1), filter .6s;
}
.project-gallery__item:hover img          { transform: scale(1.03); filter: saturate(1); }
.project-gallery__item--full img          { height: 55vh; }
.project-gallery__item:not(.project-gallery__item--full) img { height: 40vh; }

/* ═══════════════════════════════════════
   PAGE PROJET — LIGHTBOX
   ═══════════════════════════════════════ */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15,22,41,.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s cubic-bezier(.25,.1,.25,1);
  cursor: pointer;
}
.lightbox-overlay.is-open          { opacity: 1; pointer-events: auto; }
.lightbox-overlay img {
  width: 90vw; height: 90vh;
  object-fit: contain;
  transform: scale(.92);
  transition: transform .4s cubic-bezier(.25,.1,.25,1);
  pointer-events: none;
}
.lightbox-overlay.is-open img      { transform: scale(1); }

.lightbox-overlay__close {
  position: absolute;
  top: 2.65rem; right: 1.5rem;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid rgba(232,226,214,.2);
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  transition: border-color .3s, color .3s;
}
.lightbox-overlay__close::before,
.lightbox-overlay__close::after {
  content: '';
  position: absolute;
  width: 16px; height: 1px;
  background: currentColor;
}
.lightbox-overlay__close::before { transform: rotate(45deg); }
.lightbox-overlay__close::after  { transform: rotate(-45deg); }
.lightbox-overlay__close:hover   { border-color: var(--gold); color: var(--gold); }

/* ═══════════════════════════════════════
   PAGE PROJET — TOUS LES PROJETS
   ═══════════════════════════════════════ */

.all-projects {
  background: var(--navy);
  padding: 6rem 2.5rem;
  min-height: calc(100vh - 120px);
}
.all-projects__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.all-projects__label {
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 2.5rem;
}
.all-projects__list {
  display: flex;
  flex-direction: column;
}

.all-projects__item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: all .4s;
}

.all-projects__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: grayscale(100%) brightness(0.3);
  transition: filter .7s cubic-bezier(.25,.1,.25,1);
}

.all-projects__item::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to right,
    rgba(15,22,41,1)   0%,
    rgba(15,22,41,0)  25%,
    rgba(15,22,41,0)  75%,
    rgba(15,22,41,1) 100%
  );
  z-index: 1;
}

.all-projects__item:not(.all-projects__item--current):hover .all-projects__bg-img {
  filter: grayscale(0%) brightness(1);
}

.all-projects__item--current { pointer-events: none; }
.all-projects__item--current .all-projects__bg-img {
  filter: grayscale(0%) brightness(1);
}

.all-projects__name,
.all-projects__current-tag,
.all-projects__meta,
.all-projects__arrow { position: relative; z-index: 2; }

.all-projects__name {
  font-family: var(--font-serif);
  font-size: var(--fs-5xl);
  color: var(--text-light);
  letter-spacing: .02em;
  transition: color .3s;
}
.all-projects__item:not(.all-projects__item--current):hover .all-projects__name { color: var(--gold); }

.all-projects__meta {
  font-size: var(--fs-sm);
  color: var(--text-light);
  opacity: .35;
  letter-spacing: .04em;
  text-align: right;
  white-space: nowrap;
}
.all-projects__arrow {
  font-size: var(--fs-md);
  color: var(--text-light);
  opacity: 0;
  transform: translateX(-8px);
  transition: all .3s;
}
.all-projects__item:not(.all-projects__item--current):hover .all-projects__arrow {
  opacity: .6;
  transform: translateX(0);
}
.all-projects__current-tag {
  display: inline-block;
  font-size: var(--fs-2xs);
  letter-spacing: .08em;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  padding: .2rem .6rem;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════
   HINDSIGHT
   ═══════════════════════════════════════ */

.hindsight {
  background: var(--cream);
  padding: 5rem 2.5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}
.hindsight__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  clip-path: none;
}
.hindsight__bg img {
  position: absolute;
  right: -5%;
  top: 0;
  bottom: 0;
  width: auto;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transform: none;
}
.hindsight__inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hindsight__img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

.footer {
  margin-top: auto;
  flex-shrink: 0;
  flex-grow: 0;
  scroll-snap-align: none !important;
  background: var(--navy);
  border-top: 1px solid rgba(58,54,50,.1);
  padding: 3rem 2.5rem 2rem;
}
.footer__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__left {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.footer__logo {
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  letter-spacing: .15em;
  color: var(--cream);
}
.footer__copy {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  letter-spacing: .03em;
}
.footer__socials { display: flex; gap: 1.2rem; }

.footer__socials a {
  color: var(--text-light);
  opacity: .8;
  transition: color .3s, opacity .3s;
  display: flex;
  align-items: center;
}

.footer__socials a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer__socials iconify-icon {
  font-size: 30px;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 768px) {
  .nav { padding: 0 1.2rem; }
  .nav__links  { display: none; }
  .nav__burger { display: flex; }

  .peeking, .floating { display: none; }

  .gallery__header { padding: calc(var(--nav-h) + 1rem) 1.5rem 1rem; }
  .slide-info        { padding: 1.5rem; }
  .slide-info__name  { font-size: var(--fs-lg); }
  .slide-counter     { bottom: 1.5rem; right: 1.5rem; }
  .gallery__arrow    { width: 40px; height: 40px; font-size: var(--fs-base); }
  .gallery__arrow--prev { left: .75rem; }
  .gallery__arrow--next { right: .75rem; }

  .process           { padding: 5rem 1.5rem; }
  .process__chapter  { padding: 2rem 0; }
  .process__title    { font-size: var(--fs-xl); }

  .services          { padding: 5rem 1.5rem; }
  .services__title   { font-size: var(--fs-3xl); }
  .services__grid    { grid-template-columns: 1fr; gap: 1rem; }
  .service-card      { padding: 1.6rem 1.4rem; }

  .about             { padding: 5rem 1.5rem; }
  .about__inner      { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__title      { font-size: var(--fs-3xl); }
  .about__stats      { gap: 1.5rem; }
  .stat__num         { font-size: var(--fs-2xl); }

  .cta               { padding: 5rem 1.5rem; }

  .project-intro     { padding: calc(var(--nav-h) + 3rem) 1.5rem 4rem; }
  .project-intro__title { font-size: var(--fs-5xl); }
  .project-intro__media { grid-template-columns: 1fr; gap: 2rem; }
  .project-intro__thumb { width: 100%; }

  .project-gallery   { padding: 3rem 1.5rem 4rem; }
  .project-gallery__grid > *:not(.project-gallery__item) {
    grid-column: 1 / -1;
  }
  .project-gallery__item--full img,
  .project-gallery__item:not(.project-gallery__item--full) img { height: 35vh; }

  .all-projects      { padding: 4rem 1.5rem; }
  .all-projects__item {
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: 1.4rem 0;
  }
  .all-projects__meta { display: none; }
  .all-projects__name { font-size: var(--fs-lg); }

  .footer__inner     { flex-direction: column; gap: 1.2rem; text-align: center; }
  .footer__left      { align-items: center; }

  /* --- FORCER LA TAILLE SRAKEN MOBILE (Identique à l'email) --- */
  .process__title,
  .about__title,
  .services__title,
  .project-intro__title,
  .slide-info__name,
  .stat__num
  {
    font-size: var(--fs-8xl) !important;
    line-height: 1.1;
  }

  /* --- POSITIONNEMENT DES POINTS AU CENTRE DE L'ESPACE VIDE --- */
  .gallery__dots {
    bottom: 1.5rem;
    left: 67%;
  }

  /* --- REMPLACER "3D RENDER" PAR "3D" SUR MOBILE --- */
  .slide-info__tag {
    font-size: 0;
    line-height: 1.4;
  }

  .slide-info__tag::after {
    content: '3D';
    font-size: var(--fs-base);
  }

  /* --- IMAGE DU LOGO AGRANDIE ET CENTRÉE SUR MOBILE --- */
  .hero__bg img:nth-child(2) {
    width: 150vw !important;
    height: auto !important;
    inset: unset !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  .logo-text__sub {
    font-size: 2.5vw;
    letter-spacing: 0.1em;
  }

  /* --- EMPECHER LE SCROLL HORIZONTAL (SAUF GALERIE) --- */
  html {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .cta__email-btn {
    font-size: clamp(36px, 10vw, var(--fs-8xl)) !important;
    overflow-wrap: anywhere;
    word-break: break-all;
    text-align: center;
  }

  /* --- CORRECTION HINDSIGHT MOBILE (Texte au-dessus, Image en-dessous) --- */
  .hindsight__inner {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }

  .hindsight__img {
    height: 50vh;
    width: 100%;
    object-fit: cover;
  }

  .hindsight .project-intro__title {
    font-size: var(--fs-8xl) !important;
    line-height: 1.1;
  }

  .all-projects {
    padding-top: 10rem !important;
  }

  .all-projects__label {
    margin-bottom: 3rem !important;
  }

  .project-intro {
    padding-top: calc(var(--nav-h)) !important;
  }

  .project-intro__title {
    margin-bottom: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .gallery__arrow { width: 36px; height: 36px; }
  .about__stats   { flex-wrap: wrap; }
}