/* ==========================================================================
   BLANQUI — site prestation / portfolio
   Direction artistique : Century Gothic, bleu marine #002356, brique #8B2A1A
   ========================================================================== */

:root {
  --navy: #002356;
  --navy-light: #284876;
  --brick: #8B2A1A;
  --gold: #8B2A1A; /* ancien doré retiré : hors charte (marine + brique + crème) */
  --cream: #F6F1E9;
  --cream-deep: #EDE5D8;
  --ink: #1C1C1A;
  --white: #FFFFFF;
  --line: rgba(0, 35, 86, 0.14);
  --maxw: 1180px;
  --font: 'Century Gothic', 'Questrial', 'Poppins', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: 0.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "▲";
  font-size: 9px;
  color: var(--navy);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy);
  margin-bottom: 22px;
}

.lede {
  font-size: 18px;
  color: var(--ink);
  max-width: 640px;
  opacity: 0.85;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid var(--navy);
  transition: all 0.25s ease;
  cursor: pointer;
  background: transparent;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-light); border-color: var(--navy-light); }
.btn-ghost { color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-light { border-color: var(--white); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(246, 241, 233, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { border-color: var(--line); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.logo { display: block; }
.logo img { height: 46px; width: auto; display: block; }
@media (max-width: 760px) { .logo img { height: 40px; } }

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav a {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--brick);
  transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 1.5px; background: var(--navy); display: block; }

/* ---------- Hero : la photo-affiche plein cadre (format 16:9, rien n'est coupé) ---------- */
.hero {
  position: relative;
  height: min(100vh, 56.25vw);
  color: var(--white);
  overflow: hidden;
  background: #1c1712;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 86%, rgba(0,35,86,0.35) 100%);
}
@media (max-width: 760px) {
  .hero { margin-top: 78px; height: 56.25vw; }
  .hero .scroll-cue { display: none; }
}

/* Bandeau d'accroche sous la photo */
.hero-intro {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 72px;
}
.hero-content {
  display: grid;
  grid-template-columns: auto minmax(0, 540px);
  justify-content: space-between;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-content { grid-template-columns: 1fr; gap: 20px; }
  .hero-intro { padding: 44px 0 52px; }
}
.hero-content .tag {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 18px;
  display: block;
  color: var(--sand);
}
.hero-content h1 {
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.08;
}
.hero-content p {
  font-size: 17px;
  max-width: 540px;
  opacity: 0.9;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 28px; right: 28px;
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 10px;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 46px;
  background: rgba(255,255,255,0.5);
}

/* ---------- Generic section spacing ---------- */
section { padding: 120px 0; }
@media (max-width: 760px) { section { padding: 80px 0; } }

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- About ---------- */
.about-media {
  position: relative;
}
.about-media img { border-radius: 2px; }
.about-media .frame-label {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
}

.about-text p {
  margin: 0 0 20px;
  opacity: 0.88;
}
.about-text .quote {
  font-size: 22px;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 24px;
  font-style: italic;
}
.roles {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.roles span {
  border: 1px solid var(--line);
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border-radius: 2px;
}

/* ---------- Parcours immersif : road trip 3D au scroll ---------- */
.parcours-immersive { padding: 0; }

.journey-scrollspace {
  position: relative;
  height: 900vh;
}
@media (max-width: 760px) {
  .journey-scrollspace { height: 760vh; }
}

.journey-pin {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--navy);
}

.journey3d-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.journey3d-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.journey-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,10,28,0.6) 0%, rgba(0,10,28,0.02) 26%, rgba(0,10,28,0.1) 58%, rgba(0,10,28,0.8) 100%),
    linear-gradient(90deg, rgba(0,10,28,0.55) 0%, rgba(0,10,28,0) 42%, rgba(0,10,28,0) 68%, rgba(0,10,28,0.3) 100%);
}

.journey-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.jo-card {
  position: absolute;
  left: 7%;
  right: 7%;
  max-width: 480px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.jo-card.jo-active { pointer-events: auto; }
.jo-card.jo-intro {
  left: 0; right: 0;
  margin: 0 auto;
  max-width: 660px;
  text-align: center;
}

.jo-card h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 12px;
  line-height: 1.3;
}
.jo-card p { margin: 0 0 16px; font-size: 15px; max-width: 460px; }
.jo-card.jo-intro p { max-width: 540px; margin-left: auto; margin-right: auto; }

.title-light { color: var(--white); }
.lede-light { color: rgba(255,255,255,0.88); opacity: 1; }
.eyebrow-light { color: #F2EBDD; }
.eyebrow-light::before { color: var(--white); }
.tag-light { color: #F2EBDD; }

.jo-hint {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.jo-thumb {
  margin-top: 16px;
  width: 200px;
  border-radius: 3px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.45);
}

.waypoint-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 10px;
}

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.chip {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
  color: #fff;
}
.chip-photo { background: var(--navy-light); }
.chip-graphisme { background: var(--brick); }
.chip-evenementiel { background: #1D1A16; }

.journey-progress {
  position: absolute;
  right: 20px;
  top: 16%;
  bottom: 16%;
  width: 3px;
  background: rgba(255,255,255,0.22);
  border-radius: 3px;
}
.journey-progress-fill {
  position: absolute;
  left: 0; top: 0; width: 100%;
  height: 0%;
  background: var(--white);
  border-radius: 3px;
  transition: height 0.1s linear;
}

.journey-dots {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.journey-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.25s ease, transform 0.25s ease;
}
.journey-dots span.active { background: var(--white); transform: scale(1.5); }

@media (max-width: 760px) {
  .jo-card { left: 20px; right: 20px; max-width: none; }
  .jo-thumb { width: 150px; }
  .journey-progress, .journey-dots { display: none; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 30, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 84vh;
  border-radius: 2px;
}
.lightbox-close {
  position: absolute;
  top: 28px; right: 34px;
  color: var(--white);
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.lightbox-cap {
  position: absolute;
  bottom: 30px;
  left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Mobile nav ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-bottom: 1px solid transparent;
  }
  .nav.open { max-height: 320px; border-color: var(--line); }
  .nav a { padding: 16px 0; width: 100%; border-bottom: 1px solid var(--line); }
}

/* Fondu d'apparition de la scène 3D une fois les assets prêts */
.journey3d-container { opacity: 0; transition: opacity 1.2s ease; }
.journey3d-container.is-ready { opacity: 1; }
.journey-pin { background: #dfe4de; }

@font-face {
  font-family: 'Anton';
  src: url('../fonts/anton.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   APRÈS LE PARCOURS — "carnet de route" éditorial
   Typo condensée (Anton, comme le "blanqui" de l'affiche), métadonnées de
   voyage, papier chaud tiré de la photo du header.
   ========================================================================== */
:root {
  --display: 'Anton', 'Impact', 'Arial Narrow', 'Helvetica Neue Condensed', sans-serif;
  --sand: #EBE2D2;
  --sand-deep: #DFD3BE;
  --ink-warm: #1D1A16;
}

.ed {
  position: relative;
  padding: 110px 0 120px;
  background: var(--sand);
  color: var(--ink-warm);
}
.ed::before { /* grain papier */
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.38 0 0 0 0 0.3 0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.ed > .wrap { position: relative; }
@media (max-width: 760px) { .ed { padding: 72px 0 80px; } }

/* bandeau de métadonnées, comme sur l'affiche */
.ed-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1.5px solid currentColor;
  padding-top: 12px;
  margin-bottom: 44px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ed-meta span:first-child { font-weight: 700; }
@media (max-width: 760px) { .ed-meta span:last-child { display: none; } }

.ed-display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(44px, 7.4vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
  margin: 0 0 56px;
}
.ed-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
}
.ed-display .ed-outline { -webkit-text-stroke-color: var(--brick); }

/* ---------- KM 01 : signature ---------- */
.ed-signature { background: var(--ink-warm); color: var(--sand); }
.ed-signature::before { mix-blend-mode: screen; opacity: 0.12; }
.ed-signature .ed-display .ed-outline { -webkit-text-stroke-color: var(--sand); }
.sig-layout {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  gap: 40px;
  align-items: start;
}
.sig-layout figure { margin: 0; }
.sig-layout img { width: 100%; display: block; filter: grayscale(0.15) contrast(1.05); }
.sig-a img { aspect-ratio: 4 / 5; object-fit: cover; }
.sig-b { margin-top: 180px !important; }
.sig-b img { aspect-ratio: 3 / 4; object-fit: cover; }
.sig-layout figcaption {
  display: flex; gap: 14px;
  margin-top: 12px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.75;
}
.sig-text { align-self: center; font-size: 17px; line-height: 1.6; }
.sig-text p { margin: 0 0 18px; opacity: 0.85; }
.sig-text .sig-strong { font-family: var(--display); text-transform: uppercase; font-size: 30px; line-height: 1.02; opacity: 1; color: var(--white); }
@media (max-width: 900px) {
  .sig-layout { grid-template-columns: 1fr 1fr; }
  .sig-text { grid-column: 1 / -1; order: -1; }
  .sig-b { margin-top: 60px !important; }
}

/* ---------- KM 02 : prestations façon panneau de départs ---------- */
.routes { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink-warm); }
.route {
  display: grid;
  grid-template-columns: 110px 1.1fr 1fr 160px;
  gap: 32px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid rgba(29,26,22,0.25);
  transition: background 0.3s ease, padding 0.3s ease;
}
.route:hover { background: var(--sand-deep); padding-left: 18px; padding-right: 18px; }
.route-n { font-family: var(--display); font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--brick); }
.route h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; font-weight: 400; }
.route p { margin: 0; font-size: 15px; line-height: 1.6; opacity: 0.8; }
.route-tag { justify-self: end; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid currentColor; padding: 8px 14px; border-radius: 40px; }
@media (max-width: 900px) {
  .route { grid-template-columns: 70px 1fr; gap: 10px 20px; }
  .route-n { font-size: 44px; grid-row: span 3; align-self: start; }
  .route-tag { justify-self: start; }
}

/* ---------- KM 03 : portfolio éditorial ---------- */
.ed-portfolio { background: #F4EEE3; }
.port-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 48px; }
.port-head .ed-display { margin: 0; }
.filters { display: flex; gap: 26px; flex-wrap: wrap; }
.filter-btn {
  background: none; border: 0; padding: 0 0 6px;
  font-family: var(--display); text-transform: uppercase; font-size: 24px; letter-spacing: 0.01em;
  color: rgba(29,26,22,0.35); cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.filter-btn sup { font-family: var(--font); font-size: 10px; letter-spacing: 0.1em; margin-left: 3px; }
.filter-btn:hover { color: var(--ink-warm); }
.filter-btn.active { color: var(--ink-warm); border-color: var(--brick); }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 48px 28px;
}
.g-item { cursor: pointer; grid-column: span 4; }
.g-w7 { grid-column: span 7; }
.g-w5 { grid-column: span 5; }
.g-w4 { grid-column: span 4; }
.g-w8 { grid-column: span 8; }
.g-img { overflow: hidden; background: #fff; aspect-ratio: 4 / 3; }
.g-w7 .g-img { aspect-ratio: 16 / 10; }
.g-w5 .g-img { aspect-ratio: 8 / 7; }
.g-w4.g-tall .g-img { aspect-ratio: 3 / 4; }
.g-w8 .g-img { aspect-ratio: 3 / 2; }
.g-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(.2,.7,.2,1); }
.g-contain img { object-fit: contain; padding: 8%; }
.g-item:hover .g-img img { transform: scale(1.04); }
.g-cap { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; }
.g-cap .tagline { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brick); }
.g-cap .title { font-size: 15px; }
.g-item.hide { display: none; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .g-item, .g-w7, .g-w5, .g-w4, .g-w8 { grid-column: span 1; }
  .g-w7, .g-w8 { grid-column: 1 / -1; }
  .g-w5 .g-img, .g-w7 .g-img, .g-w8 .g-img { aspect-ratio: 4 / 3; }
}

/* ---------- KM 04 : pour qui ---------- */
.ed-audience { background: var(--brick); color: var(--sand); }
.ed-audience::before { mix-blend-mode: soft-light; opacity: 0.3; }
.manifesto {
  margin: 0 0 70px;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(36px, 5.2vw, 78px);
  line-height: 0.98;
  max-width: 1100px;
}
.manifesto .ed-outline { -webkit-text-stroke-color: var(--sand); }
.signs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1.5px solid currentColor; }
.sign { padding: 22px 24px 6px 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; }
.sign + .sign { padding-left: 24px; border-left: 1px solid rgba(235,226,210,0.35); }
.sign-k { font-family: var(--display); font-size: 42px; line-height: 1; color: var(--white); }
@media (max-width: 900px) {
  .signs { grid-template-columns: 1fr 1fr; }
  .sign:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ---------- KM 05 : contact ---------- */
.ed-contact { background: var(--navy); color: var(--white); }
.ed-contact::before { mix-blend-mode: screen; opacity: 0.08; }
.contact-big {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(80px, 14vw, 210px); line-height: 1.2; margin: 0 0 56px;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-lede { font-size: 17px; line-height: 1.6; opacity: 0.85; margin: 0 0 28px; max-width: 440px; }
.contact-mail {
  display: inline-block;
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(26px, 3vw, 42px);
  border-bottom: 2px solid var(--sand);
  padding-bottom: 4px; margin-bottom: 36px;
  transition: color 0.2s ease;
}
.contact-mail:hover { color: var(--sand); }
.contact-list { margin: 0; display: grid; gap: 14px; }
.contact-list div { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.18); padding-bottom: 10px; max-width: 440px; }
.contact-list dt { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6; }
.contact-list dd { margin: 0; }
.contact-info .note { margin-top: 24px; font-size: 12px; opacity: 0.5; }
form.contact-form { display: flex; flex-direction: column; gap: 28px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.contact-form label span { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand); }
.contact-form input, .contact-form select, .contact-form textarea {
  background: transparent; border: 0; border-bottom: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white); padding: 8px 0 10px; font-family: var(--font); font-size: 18px; border-radius: 0;
  transition: border-color 0.2s ease;
}
.contact-form select option { color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--white); }
.contact-form textarea { resize: vertical; min-height: 90px; }
.send-btn {
  align-self: flex-start;
  background: var(--sand); color: var(--navy); border: 0; cursor: pointer;
  font-family: var(--display); text-transform: uppercase; font-size: 22px; letter-spacing: 0.02em;
  padding: 14px 30px; border-radius: 60px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.send-btn:hover { background: var(--white); transform: translateX(4px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 50px; } }

/* ---------- Footer : grand mot-symbole ---------- */
.ed-footer { background: var(--ink-warm); color: var(--sand); padding: 40px 0 26px; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.foot-top nav { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-top a:hover, .to-top:hover { color: var(--white); text-decoration: underline; }
.foot-word {
  font-family: var(--display); text-transform: lowercase;
  font-size: 27vw; line-height: 1.08; text-align: center;
  color: var(--sand); letter-spacing: -0.01em;
  margin: 24px 0 18px;
  user-select: none;
}
.ed-footer .credits { font-size: 10px; letter-spacing: 0.04em; opacity: 0.5; }
.ed-footer .credits a { text-decoration: underline; }

/* ---------- Portfolio : projets multi-images ---------- */
.g-w12 { grid-column: 1 / -1; }
.g-w6 { grid-column: span 6; }
.g-w6 .g-img { aspect-ratio: 3 / 2; }
.g-triptych { aspect-ratio: auto !important; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; background: transparent; }
.g-triptych img { aspect-ratio: 4 / 3; height: auto; }
@media (max-width: 900px) {
  .g-w6 { grid-column: span 1; }
  .g-triptych { grid-template-columns: 1fr; }
}

/* ---------- Lightbox : navigation entre les images d'un même projet ---------- */
.lightbox-nav {
  display: none;
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); color: var(--white);
  border: 1px solid rgba(255,255,255,0.4); border-radius: 50%;
  width: 52px; height: 52px; font-size: 22px; cursor: pointer;
}
.lightbox-nav:hover { background: var(--white); color: var(--ink-warm); border-color: var(--white); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox.has-nav .lightbox-nav { display: block; }

/* ---------- Contrastes (AA) ---------- */

.hero-content .tag { color: var(--sand); opacity: 0.85; }
.sig-layout figcaption { opacity: 1; color: rgba(235,226,210,0.85); }
.filter-btn { color: rgba(29,26,22,0.62); }
.ed-footer .credits { opacity: 0.78; }
/* textes du parcours posés sur la scène 3D (claire) : ombre portée + voile renforcé côté texte */
.jo-card { text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 2px 18px rgba(0,0,0,0.45); }
.jo-card .chip, .jo-card .jo-thumb { text-shadow: none; }
.waypoint-tag.tag-light, .eyebrow-light { color: #F2EBDD; }
.journey-vignette {
  background:
    linear-gradient(180deg, rgba(0,10,28,0.55) 0%, rgba(0,10,28,0.05) 28%, rgba(0,10,28,0.12) 60%, rgba(0,10,28,0.75) 100%),
    linear-gradient(90deg, rgba(0,10,28,0.72) 0%, rgba(0,10,28,0.35) 38%, rgba(0,10,28,0) 62%, rgba(0,10,28,0.25) 100%);
}
.jo-card.jo-intro { text-shadow: 0 2px 4px rgba(0,0,0,0.6), 0 4px 30px rgba(0,0,0,0.55); }
.ed-outline, .route-n { -webkit-text-stroke-width: 2px; }

/* Les étapes sont désormais affichées sur des pancartes 3D au bord de la route (desktop) :
   les cartes HTML restent dans la page pour l'accessibilité, mais sont masquées visuellement.
   Sur mobile, les pancartes sont trop petites pour être lues : on garde les cartes en overlay. */
@media (min-width: 761px) {
  .jo-card:not(.jo-intro) {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}
@media (min-width: 761px) {
  /* plus de texte en overlay sur desktop : voile plus léger et symétrique */
  .journey-vignette {
    background:
      linear-gradient(180deg, rgba(0,10,28,0.35) 0%, rgba(0,10,28,0) 22%, rgba(0,10,28,0) 70%, rgba(0,10,28,0.45) 100%),
      radial-gradient(ellipse at center, rgba(0,0,0,0) 60%, rgba(0,10,28,0.35) 100%);
  }
}
.g-quad { aspect-ratio: auto !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: transparent; }
.g-quad img { aspect-ratio: 4 / 5; height: auto; object-position: 50% 0%; }
@media (max-width: 900px) { .g-quad { grid-template-columns: 1fr 1fr; } }
