/* ═══════════════════════════════════════════════════════
   CAROLINA DA SILVA — Portfolio v8
   Thème CLAIR · Bordeaux · Bebas Neue
═══════════════════════════════════════════════════════ */

:root {
  /* Palette claire */
  --bg:          #F5F2EE;
  --bg-alt:      #EEEBE4;
  --surface:     #E8E3DA;
  --surface2:    #DDD7CB;
  --ink:         #1A1612;
  --ink-mid:     #3D3530;
  --ink-light:   #7A6F67;
  --chalk:       #A89E94;
  --white:       #FFFFFF;

  /* Bordeaux */
  --bord:        #7B1C2E;
  --bord2:       #9E2840;
  --bord-pale:   rgba(123,28,46,0.12);

  /* Accent 3D (vert Blender) */
  --green:       #3A7D44;
  --green2:      #5ca064;
  --green-pale:  rgba(58,125,68,0.15);

  /* Typo */
  --f-disp:  'Bebas Neue', sans-serif;
  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-sans:  'DM Sans', sans-serif;

  --ease:   cubic-bezier(0.65,0,0.35,1);
  --ease-o: cubic-bezier(0.16,1,0.3,1);

  --pad: clamp(20px, 5vw, 64px);
  --gap: clamp(8px, 1.2vw, 16px);
  --radius: 3px;
}

/* ═══ RESET ════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 300;
  cursor: none;
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: none; }
input, textarea { font-family: inherit; cursor: none; }

/* ═══ CURSEUR ═══════════════════════════════════════════ */
#cur {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bord);
  transform: translate(-50%,-50%);
  pointer-events: none;
  transition: transform .22s var(--ease-o), background .3s, width .22s var(--ease-o), height .22s var(--ease-o);
}
#cur.big {
  width: 44px; height: 44px;
  background: rgba(123,28,46,0.12);
  border: 1px solid var(--bord);
}
#cur.light { background: var(--ink); }
#cur-inner {
  position: absolute; top: 50%; left: 50%;
  width: 3px; height: 3px;
  background: var(--white);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: opacity .2s;
}
#cur.big #cur-inner { opacity: 0; }
#cur-label {
  position: fixed; top: 0; left: 0; z-index: 9998;
  pointer-events: none;
  font-family: var(--f-serif); font-style: italic; font-size: .72rem;
  color: var(--ink); white-space: nowrap;
  transform: translate(18px, 4px);
  opacity: 0; transition: opacity .2s;
}
#cur-label.show { opacity: 1; }

/* ═══ NAV ════════════════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem var(--pad);
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
#nav.scrolled {
  background: rgba(245,242,238,0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--bord-pale);
}
.nav-home {
  font-family: var(--f-disp);
  font-size: 1.35rem; letter-spacing: .08em;
  color: var(--bord);
  transition: opacity .3s;
}
.nav-home:hover { opacity: .7; }
.nav-links { display: flex; gap: 2rem; }
.nl {
  font-family: var(--f-disp);
  font-size: .82rem; letter-spacing: .16em;
  color: var(--ink-mid);
  transition: color .25s;
  position: relative;
}
.nl::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0; width: 0; height: 1.5px;
  background: var(--bord);
  transition: width .3s var(--ease-o);
}
.nl:hover { color: var(--bord); }
.nl:hover::after { width: 100%; }

/* Burger mobile */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .2s, opacity .2s;
}

/* ═══ SECTION COMMUNE ════════════════════════════════════ */
.s-section { position: relative; min-height: 100vh; overflow: hidden; }

/* Grand mot fond */
.bg-word-giant {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--f-disp);
  font-size: clamp(8rem, 20vw, 20rem);
  letter-spacing: -.01em;
  color: rgba(123,28,46,0.05);
  white-space: nowrap; pointer-events: none;
  user-select: none; z-index: 0; line-height: 1;
}

/* ═══ ACCUEIL ════════════════════════════════════════════ */
.s-home {
  position: relative; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--ink); /* sombre sur hero seulement */
}
.home-reel { position: absolute; inset: 0; z-index: 0; }
.reel-img {
  position: absolute; overflow: hidden;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.reel-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.5) brightness(.35) contrast(1.1); }
.ri-0 { top: 0; left: 0; width: 32%; height: 55%; }
.ri-1 { top: 0; right: 0; width: 28%; height: 45%; }
.ri-2 { bottom: 0; left: 15%; width: 25%; height: 48%; }
.ri-3 { top: 20%; right: 5%; width: 22%; height: 50%; }
.ri-4 { bottom: 0; right: 0; width: 30%; height: 40%; }
.ri-5 { top: 0; left: 35%; width: 20%; height: 35%; }
.reel-img.active { opacity: 1; }

.home-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(14,11,8,.2) 0%, rgba(14,11,8,.82) 70%),
    linear-gradient(to bottom, rgba(14,11,8,.5) 0%, transparent 40%, transparent 60%, rgba(14,11,8,.75) 100%);
}
.home-bg-words {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none; user-select: none;
}
.hw {
  position: absolute;
  font-family: var(--f-disp);
  color: rgba(245,242,238,.04); line-height: 1;
}
.hw-video  { font-size: clamp(5rem,14vw,14rem); top: 5%; left: -2%; }
.hw-photo  { font-size: clamp(4rem,10vw,11rem); bottom: 8%; right: -1%; }
.hw-design { font-size: clamp(3rem,8vw,9rem); bottom: 25%; left: 5%; }
.hw-3d     { font-size: clamp(6rem,18vw,20rem); top: 15%; right: 5%; color: rgba(123,28,46,.07); }

.home-center {
  position: relative; z-index: 3;
  text-align: center; padding: 0 2rem;
}
.home-eyebrow {
  font-family: var(--f-disp);
  font-size: .72rem; letter-spacing: .45em;
  color: var(--bord2); margin-bottom: 2rem;
  animation: fadeUp .8s .3s both;
}
.home-name {
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: 2rem;
}
.home-name em {
  font-family: var(--f-serif); font-style: italic; font-weight: 300;
  font-size: clamp(3.5rem,9vw,8rem);
  color: #F5F2EE; line-height: .95;
  animation: fadeUp .9s .5s both;
}
.home-name strong {
  font-family: var(--f-disp);
  font-size: clamp(2rem,6vw,5.5rem); letter-spacing: .18em;
  color: rgba(245,242,238,.9); line-height: 1.1;
  animation: fadeUp .9s .65s both;
}
.home-tagline {
  font-family: var(--f-serif); font-style: italic; font-weight: 300;
  font-size: clamp(1rem,2.2vw,1.5rem);
  color: rgba(245,242,238,.6); line-height: 1.6;
  margin-bottom: 3.5rem;
  animation: fadeUp .8s .85s both;
}
.home-scroll-cue {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  font-family: var(--f-disp); font-size: .65rem; letter-spacing: .3em;
  color: rgba(245,242,238,.3);
  animation: fadeUp .8s 1.1s both;
}
.hsc-line { width: 40px; height: 1px; background: var(--bord); opacity: .5; }

/* Ornements */
.ornament {
  position: absolute; z-index: 2;
  color: rgba(123,28,46,.2);
  pointer-events: none;
}
.ornament-tl { top: 2.5rem; left: 2.5rem; width: 72px; height: 72px; }
.ornament-br { bottom: 2.5rem; right: 2.5rem; width: 72px; height: 72px; }

/* ═══ GATE ════════════════════════════════════════════════
   Porte d'entrée plein écran — fond SOMBRE sur les gates
   pour que les images ressortent
════════════════════════════════════════════════════════ */
.gate {
  position: relative; z-index: 2;
  width: 100%; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--ink);
}
.gate-bg { position: absolute; inset: 0; }

/* Image de fond — plein écran, floutée */
.gate-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(8px) brightness(.45) saturate(.7);
  transform: scale(1.06); /* compense le débordement du blur */
  transition: none;
}
/* 2e image cachée — on n'utilise que la première comme fond plein écran */
.gate-img.gi-1,
.gate-img.gi-2 {
  display: none;
}

.gate-veil {
  position: absolute; inset: 0;
  background: rgba(14,11,8,.45); /* plus léger car blur déjà assombri */
}
.gate-veil-light {
  background: rgba(10,8,6,.52);
}

/* Trous pellicule */
.gate-film-holes {
  position: absolute; top: 0; bottom: 0; width: 44px;
  background: rgba(6,5,3,.92);
  display: flex; flex-direction: column;
  justify-content: space-around; align-items: center; z-index: 2;
}
.fh-left { left: 0; }
.fh-right { right: 0; }
.fh {
  width: 20px; height: 28px;
  background: #0d0b09; border: 1px solid #1e1c18; border-radius: 2px;
}

.gate-center {
  position: relative; z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; gap: 2rem;
  text-align: center; padding: 2rem;
  max-width: 580px; width: 100%;
}

/* ── Clap vidéo ── */
.gate-clap {
  background: #EEE8D8; color: #111;
  width: min(360px, 88vw);
  border-radius: 3px;
  box-shadow: 0 40px 80px rgba(0,0,0,.85), 0 0 0 1px #2a2a2a;
  overflow: hidden;
}
.gc-stick { height: 48px; background: #111; overflow: hidden; }
.gc-stripes {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(45deg, #fff 0 5px, #111 5px 10px);
}
.gc-body {
  padding: .9rem 1.3rem;
  display: flex; flex-direction: column; gap: .35rem;
}
.gc-row {
  display: flex; justify-content: space-between;
  font-family: 'Courier New', monospace; font-size: .7rem;
  border-bottom: 1px solid #ddd; padding-bottom: .3rem;
}
.gc-row:last-child { border: none; }
.gc-row span { font-size: .52rem; letter-spacing: .12em; text-transform: uppercase; color: #999; }
.gc-row strong { font-weight: 400; }
.gc-tc strong { letter-spacing: .18em; font-variant-numeric: tabular-nums; }

/* ── Plume graphisme ── */
.gate-pen-anim { width: 76px; height: 106px; color: var(--bord2); }
.gate-pen-anim svg { width: 100%; height: 100%; }
.pen-draw {
  stroke-dasharray: 200; stroke-dashoffset: 200;
  animation: drawStroke 1s var(--ease-o) .5s forwards;
}
@keyframes drawStroke { to { stroke-dashoffset: 0; } }

/* ── Obturateur photo ── */
.shutter-anim {
  position: relative; width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
}
.sh-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(245,242,238,.4);
  transition: transform .3s var(--ease-o), border-color .3s;
}
.sh-outer { width: 64px; height: 64px; }
.sh-mid   { width: 44px; height: 44px; }
.sh-inner { width: 24px; height: 24px; background: rgba(245,242,238,.12); }
.shutter-anim:hover .sh-outer { transform: scale(1.12); border-color: rgba(245,242,238,.8); }
.shutter-anim:hover .sh-inner { background: rgba(245,242,238,.35); }

/* ── Blender mini UI ── */
.blender-ui-mini {
  width: min(340px, 88vw);
  background: #080E0A;
  border: 1px solid rgba(58,125,68,.2);
  overflow: hidden;
}
.bum-bar {
  display: flex; align-items: center; gap: .7rem;
  padding: .45rem .9rem;
  background: #0c1410;
  border-bottom: 1px solid rgba(58,125,68,.1);
  font-family: 'Courier New', monospace; font-size: .58rem;
  color: rgba(160,210,170,.55);
}
.bum-dot { color: var(--green2); animation: blink 1.2s infinite; }
.bum-progress { padding: .9rem; }
.bum-file { font-family: 'Courier New', monospace; font-size: .55rem; color: rgba(160,210,170,.4); margin-bottom: .55rem; }
.bum-track { height: 2px; background: rgba(58,125,68,.12); margin-bottom: .45rem; }
.bum-fill { height: 100%; background: var(--green2); width: 0%; transition: width .1s linear; }
.bum-status { font-family: 'Courier New', monospace; font-size: .55rem; color: rgba(58,125,68,.45); }

/* ── Titres gates ── */
.gate-title {
  font-family: var(--f-disp);
  font-size: clamp(2.5rem,7vw,5.5rem);
  line-height: 1; color: #F5F2EE;
  letter-spacing: .04em;
}
.gate-title em { color: var(--bord2); font-style: italic; font-family: var(--f-serif); }

/* ── Boutons gates ── */
.gate-btn {
  background: transparent;
  border: 1px solid rgba(245,242,238,.3);
  color: #F5F2EE;
  padding: .9rem 3rem;
  font-family: var(--f-disp); font-size: .82rem; letter-spacing: .28em;
  transition: background .3s, border-color .3s, transform .2s;
}
.gate-btn:hover { background: var(--bord); border-color: var(--bord); transform: translateY(-2px); }
.gate-btn-action {
  background: var(--bord); border-color: var(--bord);
  font-size: 1rem; letter-spacing: .35em; padding: 1rem 3.5rem;
  animation: pulse 2s infinite;
}
.gate-btn-action:hover { background: var(--bord2); }
.gate-btn-3d {
  border-color: rgba(58,125,68,.4); color: rgba(180,220,190,.8);
}
.gate-btn-3d:hover { background: rgba(58,125,68,.2); border-color: var(--green2); color: #e8fce8; }
.gate-sub-hint {
  font-family: var(--f-serif); font-style: italic; font-weight: 300;
  font-size: .9rem; color: rgba(245,242,238,.4);
  margin-top: -.5rem;
}

/* ═══ CONTENU SECTIONS ════════════════════════════════════ */
.hidden { display: none !important; }
.sec-content {
  position: relative; z-index: 2;
  padding: 5rem var(--pad) 5rem;
  background: var(--bg); /* fond clair sur le contenu */
  animation: fadeIn .7s var(--ease-o) forwards;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.sec-title-block { margin-bottom: 3.5rem; }
.sec-title {
  font-family: var(--f-disp);
  font-size: clamp(3rem,7vw,7rem);
  line-height: .95; letter-spacing: .03em;
  color: var(--ink);
}
.sec-title em { color: var(--bord); font-style: italic; font-family: var(--f-serif); }
.sec-desc {
  font-family: var(--f-serif); font-style: italic; font-weight: 300;
  font-size: 1.05rem; color: var(--ink-light);
  margin-top: 1rem; line-height: 1.8;
}

/* ═══ PLACEHOLDER CELLULE ════════════════════════════════ */
.placeholder-cell {
  position: absolute; inset: 0;
  background: var(--surface);
  border: 1.5px dashed var(--bord-pale);
  display: flex; align-items: center; justify-content: center;
}
.placeholder-cell::after {
  content: attr(data-label);
  font-family: var(--f-disp);
  font-size: .62rem; letter-spacing: .18em;
  color: var(--bord); opacity: .5;
  text-align: center; padding: 0 10px;
}

/* ═══ GRILLE VIDÉO ════════════════════════════════════════
   Col gauche  : VID-01 verticale (9:16) + VID-02 horizontale (16:9)
   Col droite  : 3 rangées × 2 horizontales (16:9) = VID-03 à 08
════════════════════════════════════════════════════════ */
#video .sec-content { background: var(--bg); }

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.vg-col-left {
  display: grid;
  grid-template-rows: auto auto;
  gap: var(--gap);
}
.vg-cell {
  position: relative; overflow: hidden;
  background: var(--surface);
  transition: transform .4s var(--ease-o);
}
.vg-cell:hover { transform: scale(1.015); }

/* Ratio containers */
.vg-vertical   { padding-top: 0; aspect-ratio: 9/16; }
.vg-horizontal { aspect-ratio: 16/9; }

.vm-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.vm-img img,
.vm-img video {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.7);
  transition: filter .5s, transform .6s var(--ease-o);
}
.vg-cell:hover .vm-img img,
.vg-cell:hover .vm-img video {
  filter: saturate(1);
  transform: scale(1.04);
}
.vm-play {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--white);
  background: rgba(123,28,46,.18);
  opacity: 0; transition: opacity .3s;
}
.vg-cell:hover .vm-play { opacity: 1; }
.vm-foot {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: .65rem .9rem;
  background: linear-gradient(transparent, rgba(26,22,18,.85));
  display: flex; justify-content: space-between; align-items: flex-end;
}
.vm-dur {
  font-family: 'Courier New', monospace; font-size: .6rem;
  color: var(--bord2);
}
.vm-name {
  font-family: var(--f-serif); font-style: italic; font-size: .95rem;
  color: #F5F2EE;
}

.vg-col-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: var(--gap);
}

/* ═══ GRILLE IDENTITÉ ═════════════════════════════════════
   Rang 1 : 3 verticales
   Rang 2 : 1 horizontale pleine largeur
════════════════════════════════════════════════════════ */
#graphisme .sec-content { background: var(--bg-alt); }

.gl-body {
  font-family: var(--f-serif); font-size: 1.1rem; font-weight: 300;
  line-height: 1.85; color: var(--ink-light);
  margin-bottom: 1.5rem;
}
.gl-tools {
  font-family: var(--f-disp); font-size: .75rem; letter-spacing: .18em;
  color: var(--bord); margin-bottom: 2.5rem;
}
.graphisme-layout { margin-bottom: 0; }

.identity-grid { display: grid; gap: var(--gap); }
.identity-row-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gap);
}
.id-cell {
  position: relative; overflow: hidden;
  background: var(--surface);
  cursor: none;
}
.id-vertical   { aspect-ratio: 3/4; }
.id-horizontal { aspect-ratio: 3/1; }

.id-cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-o), filter .4s;
  filter: saturate(.8);
}
.id-cell:hover img { transform: scale(1.04); filter: saturate(1); }

/* ═══ GRILLE PHOTO ════════════════════════════════════════
   Col gauche  : PHOTO-01 verticale haute
   Col droite  : PHOTO-02 verticale + PHOTO-03 horizontale
════════════════════════════════════════════════════════ */
#photo .sec-content { background: var(--bg); }

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.photo-col-left  { display: flex; flex-direction: column; }
.photo-col-right { display: flex; flex-direction: column; gap: var(--gap); }
.ph-cell {
  position: relative; overflow: hidden;
  background: var(--surface); cursor: none;
}
.ph-vertical {
  flex: 1;
  min-height: 360px;
}
.ph-horizontal { aspect-ratio: 16/9; }

.ph-cell img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.75);
  transition: filter .5s, transform .6s var(--ease-o);
}
.ph-cell:hover img { filter: saturate(1); transform: scale(1.04); }

/* Hover overlay (partagé identité + photo) */
.pm-hover {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(123,28,46,.1);
  opacity: 0; transition: opacity .3s;
  font-size: 1.5rem; color: var(--white);
}
.id-cell:hover .pm-hover,
.ph-cell:hover .pm-hover { opacity: 1; }

/* ═══ GRILLE 3D ═══════════════════════════════════════════
   3 horizontales côte à côte
════════════════════════════════════════════════════════ */
#threed .sec-content { background: var(--bg-alt); }

.blender-grid-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; opacity: .25; z-index: 0;
}

.threed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gap);
}
.td-cell {
  position: relative; overflow: hidden;
  background: var(--surface); cursor: none;
}
.td-horizontal { aspect-ratio: 3/2; }

.td-cell img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.6);
  transition: filter .5s, transform .6s var(--ease-o);
}
.td-cell:hover img { filter: saturate(.95); transform: scale(1.04); }

.tl-corners {
  position: absolute; inset: 0; pointer-events: none;
  box-shadow:
    inset 10px 10px 0 -8px rgba(58,125,68,.5),
    inset -10px 10px 0 -8px rgba(58,125,68,.5),
    inset 10px -10px 0 -8px rgba(58,125,68,.5),
    inset -10px -10px 0 -8px rgba(58,125,68,.5);
}
.tl-hover {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(58,125,68,.1);
  opacity: 0; transition: opacity .3s;
  font-size: 1.5rem; color: #c8eed0;
}
.td-cell:hover .tl-hover { opacity: 1; }
.tl-label {
  position: absolute; bottom: .5rem; left: .7rem;
  font-family: 'Courier New', monospace; font-size: .52rem;
  letter-spacing: .18em; color: rgba(58,125,68,.6); text-transform: uppercase;
}

/* Viewport UI (3D) */
.vp-ui-tl {
  position: absolute; top: 5rem; left: var(--pad); z-index: 3;
  font-family: 'Courier New', monospace; font-size: .54rem;
  letter-spacing: .1em; color: rgba(58,125,68,.4);
  display: flex; flex-direction: column; gap: .2rem;
  background: rgba(240,237,232,.8); padding: .55rem .9rem;
  border: 1px solid rgba(58,125,68,.1);
}
.vp-statusbar {
  display: flex; gap: 2rem; flex-wrap: wrap;
  font-family: 'Courier New', monospace; font-size: .56rem;
  letter-spacing: .1em; color: rgba(58,125,68,.4);
  margin-top: 1rem; padding: .65rem .9rem;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(58,125,68,.07);
}
.vp-ok { color: var(--green2); }

/* ═══ CONTACT ════════════════════════════════════════════ */
.s-contact {
  position: relative; min-height: 100vh;
  background: var(--bg-alt); overflow: hidden; padding: 0;
}
.bg-word-contact {
  color: rgba(123,28,46,.05) !important;
  font-size: clamp(8rem,22vw,22rem) !important;
  top: 45% !important;
}
.contact-ornament {
  position: absolute; top: 50%; right: 5%;
  transform: translateY(-50%);
  width: min(240px, 30vw);
  color: rgba(123,28,46,.07);
  pointer-events: none; z-index: 0;
}
.contact-wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 6vw; padding: 8rem var(--pad) 5rem;
  align-items: start;
}
.contact-h {
  font-family: var(--f-disp); font-weight: 400;
  font-size: clamp(2.5rem,6vw,5rem);
  line-height: 1; margin-bottom: 1.5rem;
  letter-spacing: .03em;
}
.contact-h em { color: var(--bord); font-style: italic; font-family: var(--f-serif); }
.contact-p {
  font-family: var(--f-serif); font-style: italic; font-size: 1rem;
  color: var(--ink-light); line-height: 1.8; margin-bottom: 2.5rem;
}
.contact-infos { display: flex; flex-direction: column; gap: .55rem; }
.ci {
  font-family: var(--f-disp); font-size: .82rem; letter-spacing: .12em;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--bord-pale);
  padding-bottom: .55rem;
  transition: color .25s, border-color .25s, padding-left .25s var(--ease-o);
}
.ci:hover { color: var(--bord); border-color: var(--bord); padding-left: .4rem; }

/* Formulaire */
.contact-form { display: flex; flex-direction: column; gap: 1.4rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.cf-field { display: flex; flex-direction: column; gap: .35rem; }
.cf-field label {
  font-family: var(--f-disp); font-size: .72rem; letter-spacing: .22em;
  color: var(--bord);
}
.cf-field input,
.cf-field textarea {
  background: transparent;
  border: none; border-bottom: 1px solid rgba(26,22,18,.18);
  color: var(--ink); font-size: .92rem; font-weight: 300;
  padding: .55rem 0; outline: none;
  transition: border-color .3s; resize: none;
}
.cf-field input:focus,
.cf-field textarea:focus { border-color: var(--bord); }
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: var(--chalk); font-style: italic; }
.cf-submit {
  align-self: flex-start;
  background: transparent; border: 1px solid var(--bord);
  color: var(--ink); padding: .8rem 2.5rem;
  font-family: var(--f-disp); font-size: .8rem; letter-spacing: .22em;
  transition: background .3s, color .3s, transform .2s;
}
.cf-submit:hover { background: var(--bord); color: var(--white); transform: translateX(4px); }
.cf-mention { font-size: .56rem; color: var(--chalk); margin-top: -.3rem; }

.site-footer {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between;
  padding: 1.4rem var(--pad);
  border-top: 1px solid var(--bord-pale);
  font-family: var(--f-disp); font-size: .72rem;
  letter-spacing: .14em; color: var(--chalk);
}

/* ═══ LIGHTBOX ═══════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 800;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-bg { position: absolute; inset: 0; background: rgba(26,22,18,.94); backdrop-filter: blur(8px); }
.lb-close {
  position: absolute; top: 1.5rem; right: 1.5rem; z-index: 2;
  background: none; border: none;
  font-family: var(--f-disp); font-size: 1.1rem; letter-spacing: .12em;
  color: var(--chalk); transition: color .3s;
}
.lb-close:hover { color: var(--bord); }
.lb-title {
  position: absolute; top: 1.5rem; left: 1.5rem; z-index: 2;
  font-family: var(--f-serif); font-style: italic; font-size: .95rem;
  color: var(--chalk);
}
.lb-img {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

/* ═══ VIDEO MODAL ════════════════════════════════════════ */
.vmodal {
  position: fixed; inset: 0; z-index: 700;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.vmodal.open { opacity: 1; visibility: visible; }
.vmodal-bg { position: absolute; inset: 0; background: rgba(10,8,6,.95); backdrop-filter: blur(12px); }
.vmodal-inner { position: relative; z-index: 1; width: 90vw; max-width: 940px; }
.vmodal-top { display: flex; align-items: center; gap: 1rem; margin-bottom: .65rem; }
.vmodal-title {
  font-family: var(--f-serif); font-style: italic; font-size: 1.05rem;
  color: var(--bord2); flex: 1;
}
.vmodal-tc {
  font-family: 'Courier New', monospace; font-size: .6rem;
  letter-spacing: .2em; color: var(--bord2);
}
.vmodal-close {
  background: none; border: 1px solid rgba(245,242,238,.15);
  color: #F5F2EE;
  font-family: 'Courier New', monospace; font-size: .6rem;
  letter-spacing: .18em; padding: .4rem .9rem;
  transition: border-color .3s, color .3s;
}
.vmodal-close:hover { border-color: var(--bord); color: var(--bord); }
.vmodal-vid { width: 100%; aspect-ratio: 16/9; background: #000; display: block; }

/* ═══ REVEAL / ANIMATIONS ════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s var(--ease-o) var(--rd,0s), transform .8s var(--ease-o) var(--rd,0s);
}
.reveal.in { opacity: 1; transform: none; }

@keyframes fadeUp  { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
@keyframes blink   { 0%,49%{opacity:1} 50%,100%{opacity:0} }
@keyframes pulse   { 0%,100%{box-shadow:0 0 0 0 rgba(123,28,46,.4)} 60%{box-shadow:0 0 0 10px rgba(123,28,46,0)} }

/* ═══ RESPONSIVE ═════════════════════════════════════════ */
@media (max-width: 900px) {
  #nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.4rem; }
  .video-grid { grid-template-columns: 1fr; }
  .vg-col-right { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; padding: 6rem var(--pad) 4rem; }
  .cf-row { grid-template-columns: 1fr; }
  .vp-ui-tl { display: none; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nl { font-size: .7rem; }
  .vg-col-right { grid-template-columns: 1fr; }
  .identity-row-top { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .threed-grid { grid-template-columns: 1fr; }
  .id-horizontal { aspect-ratio: 3/2; }
}

/* ═══════════════════════════════════════════════════════
   v3 — GRILLE VIDÉO REDESSINÉE
   Chaque carte = media + zone infos textuelles
═══════════════════════════════════════════════════════ */

.video-grid-v3 {
  display: flex;
  flex-direction: column;
  gap: calc(var(--gap) * 2);
}

.vgv3-row {
  display: grid;
  gap: var(--gap);
}

/* Rangée 1 : verticale petite (25%) + 16:9 (75%) */
.vgv3-row1 {
  grid-template-columns: 1fr 2.4fr;
  align-items: start;
}

/* Rangée 2 : 2 × 16:9 égaux */
.vgv3-row2 {
  grid-template-columns: 1fr 1fr;
}

/* Rangée 3 : pleine largeur */
.vgv3-row3 {
  grid-template-columns: 1fr;
}

/* Rangée 4 : 3 petites cases "à venir" */
.vgv3-row4 {
  grid-template-columns: 1fr 1fr 1fr;
  opacity: .5;
}

/* Carte vidéo */
.vgv3-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  cursor: none;
  border-radius: var(--radius);
  transition: box-shadow .3s;
}
.vgv3-card:hover {
  box-shadow: 0 8px 32px rgba(123,28,46,.12);
}

/* Zone média (image/video) */
.vgv3-media {
  position: relative;
  overflow: hidden;
  background: var(--surface2);
}

/* Ratio de la zone média selon type */
.vgv3-vert  .vgv3-media { aspect-ratio: 9/16; }
.vgv3-horiz .vgv3-media { aspect-ratio: 16/9; }
.vgv3-wide  .vgv3-media { aspect-ratio: 21/7; } /* très large */

.vgv3-media img,
.vgv3-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.75);
  transition: filter .5s, transform .6s var(--ease-o);
}
.vgv3-card:hover .vgv3-media img,
.vgv3-card:hover .vgv3-media video {
  filter: saturate(1);
  transform: scale(1.03);
}

/* Bouton play */
.vgv3-card .vm-play {
  position: absolute;
  top: 0; left: 0;
  right: 0;
  z-index: 3;
  font-size: 2rem; color: var(--white);
  background: rgba(123,28,46,.2);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: center; justify-content: center;
}
/* Hauteur du play = hauteur du media */
.vgv3-vert  .vm-play { aspect-ratio: 9/16; }
.vgv3-horiz .vm-play { aspect-ratio: 16/9; }
.vgv3-wide  .vm-play { aspect-ratio: 21/7; }
.vgv3-card:hover .vm-play { opacity: 1; }

/* Zone infos texte sous la vidéo */
.vgv3-info {
  padding: 1rem 1.1rem 1.1rem;
  background: var(--bg);
  border-top: 2px solid var(--bord-pale);
}
.vgv3-info-wide {
  display: grid;
  grid-template-columns: auto 1fr 1fr 2fr;
  align-items: baseline;
  gap: .5rem 1.5rem;
  padding: .85rem 1.2rem;
}

.vgv3-tag {
  display: inline-block;
  font-family: var(--f-disp);
  font-size: .6rem; letter-spacing: .2em;
  color: var(--white);
  background: var(--bord);
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: .5rem;
}

.vgv3-title {
  font-family: var(--f-disp);
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  letter-spacing: .06em;
  color: var(--ink);
  margin-bottom: .35rem;
  line-height: 1.1;
}

.vgv3-roles {
  font-family: var(--f-sans);
  font-size: .68rem; font-weight: 400;
  color: var(--bord);
  letter-spacing: .06em;
  margin-bottom: .2rem;
}

.vgv3-tools {
  font-family: var(--f-disp);
  font-size: .7rem; letter-spacing: .14em;
  color: var(--chalk);
  margin-bottom: .4rem;
}

.vgv3-desc {
  font-family: var(--f-serif); font-style: italic; font-weight: 300;
  font-size: .88rem;
  color: var(--ink-light);
  line-height: 1.65;
}

/* Cases futures */
.vgv3-future .vgv3-info {
  background: var(--bg-alt);
}
.vgv3-future .vgv3-media {
  aspect-ratio: 16/9;
}

/* ═══ v3 — IDENTITÉ : wrap image + texte ════════════════ */

.id-wrap {
  display: flex;
  flex-direction: column;
}

.id-info {
  padding: .8rem .9rem 1rem;
  background: var(--bg);
  border-top: 2px solid var(--bord-pale);
}

.id-tag {
  display: inline-block;
  font-family: var(--f-disp);
  font-size: .58rem; letter-spacing: .2em;
  color: var(--white);
  background: var(--bord);
  padding: 2px 7px;
  border-radius: 2px;
  margin-bottom: .45rem;
}

.id-title {
  font-family: var(--f-disp);
  font-size: 1rem; letter-spacing: .07em;
  color: var(--ink);
  margin-bottom: .25rem;
}

.id-tools {
  font-family: var(--f-disp);
  font-size: .68rem; letter-spacing: .14em;
  color: var(--bord);
  margin-bottom: .3rem;
}

.id-desc {
  font-family: var(--f-serif); font-style: italic; font-weight: 300;
  font-size: .84rem; color: var(--ink-light); line-height: 1.65;
}

/* ═══ v3 — Outils inline dans sec-desc ═════════════════ */
.sec-tools-inline {
  display: inline-block;
  margin-top: .5rem;
  font-family: var(--f-disp);
  font-style: normal;
  font-size: .78rem; letter-spacing: .14em;
  color: var(--bord);
}

/* ═══ v3 — Suppression ornement contact ════════════════ */
.contact-ornament { display: none !important; }

/* ═══ v3 — Responsive ajouts ════════════════════════════ */
@media (max-width: 900px) {
  .vgv3-row1 { grid-template-columns: 1fr; }
  .vgv3-row2 { grid-template-columns: 1fr; }
  .vgv3-row4 { grid-template-columns: 1fr 1fr; }
  .vgv3-info-wide {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
  }
  .identity-row-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .vgv3-row4 { grid-template-columns: 1fr; }
  .identity-row-top { grid-template-columns: 1fr; }
  .vgv3-info-wide { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   v4 — WATERMARKS dans les sec-content (mot géant coin)
═══════════════════════════════════════════════════════ */

/* Le sec-content doit être en position:relative pour ancrer le watermark */
.sec-content {
  position: relative;
  overflow: hidden; /* évite le débordement horizontal */
}

.sec-watermark {
  position: absolute;
  z-index: 0;
  font-family: var(--f-disp);
  font-size: clamp(6rem, 18vw, 18rem);
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  color: var(--bord);
  opacity: .045;
}

/* Bas gauche */
.sec-watermark-bl {
  bottom: -0.12em;
  left: -0.04em;
}

/* Haut droite (DESIGN, PHOTO) — au-dessus des grilles de photos */
.sec-watermark-tr {
  top: 4.5rem;   /* sous le padding du sec-title mais en haut de zone */
  right: -0.04em;
}

/* Bas droite (conservé pour compatibilité) */
.sec-watermark-br {
  bottom: -0.12em;
  right: -0.04em;
}

/* S'assurer que tout le contenu réel est au-dessus du watermark */
.sec-content > *:not(.sec-watermark) {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════
   v4 — GATE 3D REDESSINÉE
   titre en haut, blender UI + bouton groupés en bas
═══════════════════════════════════════════════════════ */

/* Gate 3D — disposition titre haut / bloc rendu centré */
.gate-center-3d {
  justify-content: flex-start !important;
  align-items: center;
  padding-top: 2rem !important;
  padding-bottom: 3rem !important;
  gap: 1.8rem !important;  /* espace serré entre titre et bloc */
  min-height: 70vh;
}

/* Titre collé en haut, centré */
.gate-title-top {
  align-self: center;
  text-align: center;
  margin-bottom: 0;
}

/* Groupe fenêtre + bouton — plus grand, centré */
.gate-3d-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 520px;  /* plus large */
}

/* Fenêtre Blender agrandie */
.gate-3d-bottom .blender-ui-mini {
  width: 100%;       /* prend toute la largeur du bloc */
  margin-bottom: 0;
  border-bottom: none;
  font-size: 1.05em; /* légèrement plus grand */
}

.gate-3d-bottom .blender-ui-mini .bum-bar {
  padding: .65rem 1.2rem;
  font-size: .68rem;
}

.gate-3d-bottom .blender-ui-mini .bum-progress {
  padding: 1.1rem 1.2rem;
}

.gate-3d-bottom .blender-ui-mini .bum-file,
.gate-3d-bottom .blender-ui-mini .bum-status {
  font-size: .65rem;
}

.gate-3d-bottom .blender-ui-mini .bum-track {
  height: 3px;
  margin-bottom: .65rem;
}

/* Bouton rendu — pleine largeur, collé sous la fenêtre */
.gate-3d-bottom .gate-btn-3d {
  width: 100%;
  border-top: 1px solid rgba(58,125,68,.2);
  padding: 1rem 2rem;
  font-size: .88rem;
  letter-spacing: .28em;
}

.gate-3d-bottom .gate-sub-hint {
  margin-top: .7rem;
}

/* ═══════════════════════════════════════════════════════
   v4 — VIEWPORT UI déplacé en HAUT À DROITE
═══════════════════════════════════════════════════════ */

/* Viewport UI — petit rectangle fixe, ancré à droite */
.vp-ui-tr {
  position: absolute;
  top: 1.5rem;
  right: var(--pad);   /* collé à droite */
  z-index: 3;
  width: auto;         /* taille naturelle du contenu, pas pleine largeur */
  display: inline-flex;
  flex-direction: column;
  gap: .2rem;
  font-family: 'Courier New', monospace;
  font-size: .54rem; letter-spacing: .1em;
  color: rgba(58,125,68,.4);
  background: rgba(240,237,232,.88);
  padding: .55rem .9rem;
  border: 1px solid rgba(58,125,68,.1);
  pointer-events: none;
  white-space: nowrap; /* empêche le retour à la ligne */
}

/* L'ancienne classe (par sécurité) */
.vp-ui-tl { display: none !important; }

/* ═══════════════════════════════════════════════════════
   v4 — GRILLE BLENDER visible dans le contenu 3D
   Le canvas reste affiché même après ouverture
═══════════════════════════════════════════════════════ */

/* Le canvas était dans la section globale — il reste visible.
   On s'assure juste qu'il couvre bien le sec-content aussi. */
#threed .blender-grid-canvas {
  opacity: .18; /* légèrement plus discret sur fond clair */
}

/* ═══════════════════════════════════════════════════════
   v4 — Responsive ajouts
═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .gate-title-top { text-align: center; align-self: center; }
  .gate-center-3d { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  .sec-watermark { font-size: clamp(4rem, 22vw, 10rem); }
  .vp-ui-tr { display: none; }
}

/* ═══════════════════════════════════════════════════════
   v5 — SECTION PHOTO : nouvelle mise en page
   Rangée 1 : 2 verticales côte à côte
   Rangée 2 : 1 horizontale pleine largeur
═══════════════════════════════════════════════════════ */

.photo-grid-v2 {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

/* Rangée du haut : 2 colonnes égales */
.photo-row-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}

/* Wrap photo = image + petite info dessous */
.ph-wrap {
  display: flex;
  flex-direction: column;
}

/* Cellule verticale dans la nouvelle grille */
.ph-wrap .ph-cell.ph-vertical {
  aspect-ratio: 3/4;
  min-height: unset;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  cursor: none;
}
.ph-wrap .ph-cell.ph-vertical img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.75);
  transition: filter .5s, transform .6s var(--ease-o);
}
.ph-wrap .ph-cell.ph-vertical:hover img { filter: saturate(1); transform: scale(1.04); }

/* Info sous chaque photo */
.ph-info {
  padding: .65rem .8rem .8rem;
  background: var(--bg);
  border-top: 2px solid var(--bord-pale);
}
.ph-tag {
  font-family: var(--f-disp);
  font-size: .62rem; letter-spacing: .18em;
  color: var(--bord);
  margin-bottom: .25rem;
}
.ph-desc {
  font-family: var(--f-serif); font-style: italic;
  font-size: .84rem; color: var(--ink-light); line-height: 1.6;
}

/* Rangée du bas : horizontale pleine largeur */
.photo-grid-v2 > .ph-cell.ph-horizontal {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  cursor: none;
}
.photo-grid-v2 > .ph-cell.ph-horizontal img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.75);
  transition: filter .5s, transform .6s var(--ease-o);
}
.photo-grid-v2 > .ph-cell.ph-horizontal:hover img { filter: saturate(1); transform: scale(1.03); }

/* ═══════════════════════════════════════════════════════
   v5 — SLIDER AVANT / APRÈS COLORIMÉTRIE
═══════════════════════════════════════════════════════ */

.ph-slider-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface);
  cursor: ew-resize;
}

/* Labels avant / après */
.ph-slider-labels {
  position: absolute;
  top: .75rem;
  left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 0 .8rem;
  pointer-events: none;
}
.ph-label-left,
.ph-label-right {
  font-family: var(--f-disp);
  font-size: .6rem;
  letter-spacing: .16em;
  color: var(--white);
  background: rgba(26,22,18,.55);
  padding: 3px 8px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

/* Image "après" (colorimétrie) en fond, pleine taille */
.ph-img-apres {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Wrapper de l'image "avant" — masqué par clip-path selon position slider */
.ph-img-avant-wrap {
  position: absolute;
  inset: 0;
  width: 50%; /* valeur initiale, modifiée par JS */
  overflow: hidden;
  z-index: 2;
}
.ph-img-avant {
  position: absolute;
  top: 0; left: 0;
  width: 100%; /* sera forcé à la largeur du conteneur parent via JS */
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ligne de séparation + poignée */
.ph-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; /* valeur initiale */
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.ph-divider-line {
  width: 2px;
  flex: 1;
  background: var(--white);
  opacity: .9;
  box-shadow: 0 0 6px rgba(0,0,0,.4);
}
.ph-divider-handle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: .75rem;
  color: var(--bord);
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
  margin: -18px 0;
  top: 50%;
  position: absolute;
}

/* ═══ Responsive photo ══════════════════════════════════ */
@media (max-width: 640px) {
  .photo-row-top { grid-template-columns: 1fr; }
}

/* ═══ ID04 horizontal avec description dessous ══════════ */
.id-horizontal-wrap {
  display: flex;
  flex-direction: column;
}
.id-horizontal-wrap .id-cell.id-horizontal {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  cursor: none;
}
.id-horizontal-wrap .id-info {
  border-top: 2px solid var(--bord-pale);
}

/* Retirer l'opacité sur les cards MatLight (plus de vgv3-future) */
.vgv3-row4 { opacity: 1; }
/* ══ À PROPOS ══════════════════════════════════════════ */

.s-apropos {
  position: relative;
  background:#FFFFFF ;
  min-height: 100vh;
  padding: clamp(120px, 14vw, 200px) var(--pad);
  overflow: hidden;
  border-top: 1px solid var(--bord-pale);
}

.apropos-bg-word {
  position: absolute;
  bottom: -0.08em;
  right: -0.04em;
  font-family: var(--f-disp);
  font-size: clamp(12rem, 32vw, 32rem);
  letter-spacing: -.01em;
  color: rgba(123,28,46,0.045);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

.apropos-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 10vw, 120px);
}

.apropos-eyebrow {
  font-family: var(--f-disp);
  font-size: .85rem;
  letter-spacing: .35em;
  color: var(--bord);
  margin-bottom: 1.5rem;
}

.apropos-title {
  font-family: var(--f-disp);
  font-size: clamp(5.5rem, 14vw, 16rem);
  line-height: .85;
  letter-spacing: .02em;
  color: var(--ink);

  margin-top: 10rem;
  margin-bottom: clamp(60px, 10vw, 120px);
}
.apropos-title em {
  display: block;
  font-style: italic;
  font-family: var(--f-serif);
  color: var(--bord);
}

.apropos-body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.apropos-body p {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--ink-light);
  line-height: 1.7;
}

.apropos-cta {
  font-style: normal !important;
  font-size: clamp(1.4rem, 2.2vw, 2rem) !important;
  color: var(--ink) !important;
  font-weight: 400 !important;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bord-pale);
}
.apropos-cta a {
  color: var(--bord);
  border-bottom: 1px solid var(--bord-pale);
  transition: border-color .25s, color .25s;
}
.apropos-cta a:hover {
  color: var(--bord2);
  border-color: var(--bord2);
}

@media (max-width: 640px) {
  .apropos-title { font-size: clamp(4rem, 18vw, 7rem); }
  .apropos-body p { font-size: 1.35rem; }
  .apropos-cta { font-size: 1.2rem !important; }
}
/* ══ PHOTO GRID V3 — fix hauteur ══ */

.photo-grid-v3 {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--gap);
  align-items: start;
}

.photo-grid-v3 > .ph-wrap {
  display: flex;
  flex-direction: column;
}

.photo-grid-v3 > .ph-wrap .ph-slider-wrap {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  cursor: ew-resize;
}

.ph-col-right {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.ph-col-right .ph-wrap {
  display: flex;
  flex-direction: column;
}

.ph-col-right .ph-cell.ph-horizontal {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  cursor: none;
}

.ph-col-right .ph-cell.ph-horizontal img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.75);
  transition: filter .5s, transform .6s var(--ease-o);
}
.ph-col-right .ph-cell.ph-horizontal:hover img {
  filter: saturate(1); transform: scale(1.04);
}
.ph-col-right .ph-cell.ph-horizontal:hover .pm-hover { opacity: 1; }

.ph-col-right .ph-info {
  padding: .4rem .6rem .5rem;
  background: var(--bg);
  border-top: 2px solid var(--bord-pale);
}

@media (max-width: 900px) {
  .photo-grid-v3 {
    grid-template-columns: 1fr;
  }
  .photo-grid-v3 > .ph-wrap .ph-slider-wrap {
    aspect-ratio: 4/3;
  }
  .ph-col-right {
    flex-direction: row;
  }
  .ph-col-right .ph-wrap {
    flex: 1;
  }
  .ph-col-right .ph-cell.ph-horizontal {
    aspect-ratio: 4/3;
  }
}
/* ══ À PROPOS — texte moins grand ══ */

.apropos-body p {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.75;
}

.apropos-cta {
  font-size: clamp(.95rem, 1.2vw, 1.1rem) !important;
}

.apropos-title {
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: .88;
}

.s-apropos {
  padding: clamp(80px, 8vw, 120px) var(--pad);
}

.apropos-wrap {
  gap: clamp(24px, 3vw, 40px);
}
