/* ═══════════════════════════════════════════════════════════════════════════
   THÈME MÉTRO LIGNE 6 (clair) + SHADER GLOBAL "MESH DRIFT"
   Palette accordée à l'intro métro parisien : blanc cassé #e7e6e3,
   vert-cyan métro #5cb8ae, encre #121414.
   Chargé en dernier → surcharge app.css / metro.css / metro-system.css.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Palette métro (surcharge des tokens) ───────────────────────────────── */
:root {
  --paper:     #e7e6e3;                    /* fond blanc cassé (station) */
  --ink:       #121414;                    /* texte principal (encre) */
  --gray:      rgba(18,20,20,0.60);        /* texte secondaire */
  --line:      rgba(18,20,20,0.12);        /* filets discrets */
  --blue:      #5cb8ae;                     /* accent = vert-cyan métro (aplats : boutons, pastilles) */
  --blue-soft: #3a8f84;                     /* teal profond (liens, labels) */
  --teal-ink:  #2f7d74;                      /* teal LISIBLE pour petit texte sur blanc cassé */
  --f-title:   "Betania Patmos", "Cal Sans", "Trebuchet MS", cursive;  /* titres = script */
}

/* ── TITRES en Betania Patmos (script) ──────────────────────────────────── */
/* Appliqué aux vrais titres uniquement ; sous-titres, chiffres et corps
   gardent Cal Sans / DM Sans pour rester lisibles. On neutralise les
   letter-spacing négatifs (mauvais pour un script) et on aère l'interligne. */
/* Titres en script = le caractère « décalé » (≈ moitié de la présence typo) */
.hero-name, .section-title, .proj-title, .db-title, .cta-huge, .proj-figure {
  font-family: var(--f-display); font-weight: 400; letter-spacing: 0;
}
.hero-name { line-height: 1.0; }
.section-title { line-height: 1.04; }
.proj-title, .db-title { line-height: 1.12; }

/* Le reste des « titres » d'app.css → DM Sans (noms d'items, phrases, valeurs, chiffres) */
.manifesto, .er-name, .tl-body h4, .ir-title,
.stat .num, .section-index, .a-v, .hero-sub, .hero-accroche, .proj-result {
  font-family: var(--f-body); letter-spacing: normal;
}
.manifesto { font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }

/* ═══════════════════════════════════════════════════════════════════════════
   TOUT LE SITE EN BETANIA PATMOS (script) — hiérarchie sans le poids de la
   graisse (la police n'a qu'un seul poids) : on joue TAILLE + COULEUR + CASSE
   + INTERLIGNE + TRACKING. Les majuscules sont retirées (illisibles en script)
   et le faux-gras est neutralisé partout.
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --f-display: "Betania Patmos", "Cal Sans", cursive;      /* la VOIX : titres */
  --f-body:    "DM Sans", "Inter", system-ui, sans-serif;   /* corps + valeurs */
  --f-label:   "Archivo", "DM Sans", system-ui, sans-serif; /* labels/UI majuscules */
}
/* corps sobre et lisible (DM Sans) */
body { font-size: clamp(1rem, 0.5vw + 0.9rem, 1.1rem); line-height: 1.6; }

/* Espacement resserré : les sections respiraient trop (jusqu'à 12rem) → look pro/dense */
.section { padding-top: clamp(2rem, 5vh, 3.6rem); padding-bottom: clamp(2rem, 5vh, 3.6rem); }

/* Paragraphes : interligne confortable */
.about-more, .proj-desc, .section-intro, .db-text, .tl-body li,
.er-desc, .contact-text, p {
  line-height: 1.65;
}

/* Sous-titres : taille intermédiaire, ton légèrement atténué (entre titre et corps) */
.hero-sub, .section-intro, .proj-result { color: var(--gray); }
.hero-accroche { color: var(--ink); }

/* Accents de label en couleur (pour trancher avec le corps, sans capitales) */
.eyebrow, .tool-group-label, .kicker { color: rgba(58,143,132,0.95); }
/* petits accents texte : teal lisible (le teal vif passe mal sur blanc cassé) */
.tl-date, .sf-val { color: var(--teal-ink); }
.db-idx { color: var(--teal-ink); }
/* étiquettes de parcours (secteur · rôle) : séparateur au lieu d'un trou */
.tl-body .sub { gap: 0.35rem 0.55rem; }
.tl-body .sub span:not(:first-child)::before { content: "·"; margin-right: 0.5em; color: var(--teal-ink); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════════════
   LISIBILITÉ : sous-titre + paragraphes descriptifs en DM Sans (police sobre)
   Les titres, plaques, labels, valeurs, boutons et accroches restent en
   Betania Patmos. On remet un espacement normal (les hacks script sont annulés).
   ═══════════════════════════════════════════════════════════════════════════ */
.hero-sub, .about-more, .proj-desc, .proj-result, .er-desc, .section-intro {
  font-family: "DM Sans", "Inter", system-ui, sans-serif !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  line-height: 1.6;
}
/* le manifeste (Profil) et la phrase Sport : mêmes réglages, taille conservée */
#manifeste .manifesto, #sport .manifesto {
  font-family: "DM Sans", "Inter", system-ui, sans-serif !important;
  letter-spacing: -0.005em !important;
  word-spacing: normal !important;
  line-height: 1.32;
  font-weight: 500 !important;
}

/* ── On retire le plan de ligne (rail à points) à gauche ─────────────────── */
#line-map { display: none !important; }
/* eyebrow vide (masthead) → pas d'espace fantôme */
.eyebrow:empty { display: none; }
/* stats retirées → pas de conteneur vide */
#stats-row:empty { display: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   PROFIL — mise en page éditoriale : grande accroche, récit lisible en bloc,
   et le château de Maisons-Laffitte présenté comme une pièce maîtresse
   (label lieu + légende manuscrite + « Clic ici » → bulle d'histoire).
   ═══════════════════════════════════════════════════════════════════════════ */
/* Intro équilibrée : récit (gauche) + château (droite) sur une même ligne */
.profil-intro {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.profil-lead { display: grid; gap: clamp(1.3rem, 3vh, 2rem); min-width: 0; }

.profil-intro .manifesto {
  margin: 0; max-width: 20ch;
  font-family: var(--f-body); font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.13; letter-spacing: -0.015em;
  color: var(--ink);
}

/* récit : bloc éditorial, filet sable à gauche, pas de lettrine */
.profil-text {
  display: grid; gap: 0.9rem; max-width: 54ch;
  border-left: 2px solid rgba(92,184,174,0.38);
  padding-left: clamp(1rem, 1.6vw, 1.6rem);
}
.profil-text .about-more {
  margin: 0; font-family: var(--f-body);
  font-size: clamp(0.98rem, 1.05vw, 1.08rem); line-height: 1.7; color: var(--gray);
}
.profil-text .about-more.lead {
  color: var(--ink);
  font-size: clamp(1.08rem, 1.25vw, 1.24rem); line-height: 1.55;
}
.profil-text .about-more::first-letter {
  font-family: inherit; font-weight: inherit; color: inherit;
  font-size: inherit; float: none; padding: 0; line-height: inherit;
}

@media (max-width: 900px) {
  .profil-intro { grid-template-columns: 1fr; gap: clamp(1.8rem, 5vh, 2.6rem); }
}

/* carte château */
.chateau-card { position: relative; margin: 0; display: grid; justify-items: center; gap: 0.85rem; }
.chateau-loc {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.7rem; color: var(--blue);
}
.chateau-loc .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

.chateau-media { position: relative; width: 100%; }
.chateau-media::before {
  content: ""; position: absolute; inset: -8% -6% 0; z-index: 0; pointer-events: none;
  background: radial-gradient(58% 58% at 50% 46%, rgba(92,184,174,0.12), transparent 72%);
}
.chateau-trigger {
  position: relative; z-index: 1; display: block; width: 100%;
  background: transparent; border: 0; padding: 0; cursor: pointer;
}
.chateau-img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 22px 36px rgba(0,0,0,0.5));
  transform-origin: 50% 92%; animation: chateauSway 7s ease-in-out infinite;
}
.chateau-trigger:hover .chateau-img { animation-play-state: paused; }
@keyframes chateauSway {
  0%, 100% { transform: rotate(-1deg) translateY(0); }
  50%      { transform: rotate(1.1deg) translateY(-4px); }
}
.chateau-cap {
  font-family: var(--f-display); font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  color: var(--gray); text-align: center; line-height: 1.1;
}

/* bulle « Clic ici » (en haut à droite, au-dessus du château) */
.chateau-hint {
  position: absolute; top: 4%; right: -2%; z-index: 3;
  font-family: var(--f-display); font-size: clamp(1rem, 1.5vw, 1.35rem);
  color: #121414; background: var(--blue); padding: 0.28em 0.8em; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35); white-space: nowrap;
  animation: hintPulse 1.8s ease-in-out infinite; pointer-events: none;
}
.chateau-hint::after { content: ""; position: absolute; left: 26%; bottom: -5px; width: 11px; height: 11px; background: var(--blue); transform: rotate(45deg); border-radius: 2px; }
@keyframes hintPulse { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.05); } }
.chateau-card.open .chateau-hint { opacity: 0; }

/* bulle d'histoire au clic */
.chateau-pop {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, 8px);
  width: min(88vw, 380px); z-index: 7; text-align: left;
  background: rgba(5,16,21,0.94); border: 1px solid rgba(92,184,174,0.35); border-radius: 14px;
  padding: 1rem 1.2rem; box-shadow: 0 22px 55px rgba(0,0,0,0.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(.16,1,.3,1);
}
.chateau-card.open .chateau-pop { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.chateau-pop strong { display: block; font-family: var(--f-display); font-size: clamp(1.3rem, 1.9vw, 1.75rem); color: var(--blue); margin-bottom: 0.35rem; }
.chateau-pop span { display: block; font-family: var(--f-body); font-size: clamp(0.9rem, 1vw, 1rem); line-height: 1.55; color: var(--ink); }

@media (max-width: 900px) {
  .profil-cols { grid-template-columns: 1fr; gap: clamp(1.8rem, 5vh, 2.6rem); }
  .profil-text { max-width: none; }
  .chateau-card { max-width: 460px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .chateau-img { animation: none; } }

/* ═══════════════════════════════════════════════════════════════════════════
   ORBIT FLIP SLIDER — anneau de photos qui tourne (mannequinat / hockey).
   Fond transparent : le shader global se voit derrière les cartes.
   ═══════════════════════════════════════════════════════════════════════════ */
.orbit {
  position: relative; width: 100%;
  height: clamp(420px, 62vh, 720px);
  overflow: hidden; margin: clamp(0.8rem, 2vh, 1.6rem) 0;
  z-index: 0;   /* crée un contexte d'empilement < nav (#folio z500) → l'orbite passe DERRIÈRE la barre de menu */
}
.orbit-stage { position: absolute; inset: 0; overflow: hidden; }
.orbit-card { position: absolute; left: 0; top: 0; will-change: transform; }
.orbit-card-inner {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: #d7d6d2; border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.18); transform-style: preserve-3d;
}
.orbit-card-inner img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* mannequinat : format portrait uniforme, recadré vers le HAUT (on garde la tête) */
.orbit[data-orbit="manne"] .orbit-card-inner img { object-fit: cover; object-position: top center; }
/* hockey : format paysage uniforme, cadrage centré */
.orbit[data-orbit="hockey"] .orbit-card-inner img { object-fit: cover; object-position: center; }
/* barre de modes (Flat / Tilt / Ring / Gallery) */
/* Boutons de mode (Flat / Ring / Gallery) — transparents, police manuscrite,
   centrés en bas dans la bande réservée : ne touchent jamais les photos. */
.orbit-modes {
  position: absolute; z-index: 9999;
  left: 50%; bottom: clamp(0.9rem, 3vh, 2.2rem); transform: translateX(-50%);
  display: flex; gap: clamp(1.4rem, 3.5vw, 3rem); align-items: baseline;
}
.orbit-mode-btn {
  cursor: pointer; border: 0; background: transparent; padding: 0.1em 0.15em;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem); line-height: 1;
  color: rgba(18,20,20,0.58); text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  transition: color 0.25s ease, transform 0.25s ease;
}
.orbit-mode-btn:hover { color: #121414; }
.orbit-mode-btn.active { color: var(--blue); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .orbit-mode-btn { transition: none; } }

/* ═══════════════════════════════════════════════════════════════════════════
   GALLERY ACCORDION (hockey) : bande de vignettes qui s'élargissent au survol
   + lightbox au clic.
   ═══════════════════════════════════════════════════════════════════════════ */
.gallery-accordion { width: 100%; margin: clamp(1rem, 3vh, 2.4rem) 0; }
.ga-row {
  display: flex; gap: clamp(4px, 0.6vw, 8px);
  justify-content: center; align-items: center;
  padding: clamp(0.8rem, 3vh, 2rem) 0; overflow: hidden;
}
.ga-img {
  height: clamp(240px, 44vh, 440px);
  width: clamp(14px, 4vw, 60px); flex: none;
  object-fit: cover; border-radius: 16px; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: width 0.38s cubic-bezier(.4,0,.2,1);
}
.ga-img.active { width: clamp(280px, 46vw, 560px); }
@media (max-width: 760px) {
  .ga-img { height: clamp(200px, 34vh, 320px); }
  .ga-img.active { width: clamp(220px, 70vw, 420px); }
}

/* Lightbox */
.ga-modal {
  position: fixed; inset: 0; z-index: 3000; display: grid; place-content: center; padding: 4vw;
  background: rgba(18,20,20,0.58); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity 0.25s ease;
}
/* IMPORTANT : sans ça, display:grid écrase [hidden] → calque invisible plein écran
   qui bloque toute la souris/les animations quand la lightbox est fermée. */
.ga-modal[hidden] { display: none !important; }
.ga-modal.open { opacity: 1; }
.ga-modal-inner { transform: scale(0.94); transition: transform 0.32s cubic-bezier(.16,1,.3,1); }
.ga-modal.open .ga-modal-inner { transform: scale(1); }
.ga-modal-img {
  max-width: min(92vw, 1000px); max-height: 82vh; width: auto; height: auto;
  object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); display: block; cursor: default;
}
body.ga-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .ga-img, .ga-modal, .ga-modal-inner { transition: none; }
}


/* ── Fond WebGL global : fixe, flouté et assombri pour rester lisible ────── */
#site-bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: #e7e6e3;                       /* base blanc cassé si le shader ne rend pas */
}
#site-bg canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  transform: scale(1.04);
  /* PAS de blur CSS ici : flouter un canvas animé à chaque frame tue la fluidité
     du scroll. Le shader est déjà rendu doux et couvert par le voile clair. */
  filter: brightness(1.03) saturate(1.02);
}
/* voile de lisibilité par-dessus le shader : lavis blanc cassé pour garder
   l'encre parfaitement lisible tout en laissant deviner la dérive teal */
#site-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(135% 105% at 50% 18%, rgba(231,230,227,0.42), rgba(231,230,227,0.72) 100%),
    linear-gradient(180deg, rgba(231,230,227,0.66) 0%, rgba(231,230,227,0.50) 42%, rgba(231,230,227,0.72) 100%);
}

/* ── Surfaces transparentes pour laisser voir le shader ─────────────────── */
html, body { background: transparent !important; }
body { color: var(--ink); }
.section, .hero { background: transparent; }
#preloader { background: #e7e6e3; color: var(--ink); }

/* ── FOLIO (barre du haut) ──────────────────────────────────────────────── */
#folio {
  background: rgba(231,230,227,0.72);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: rgba(18,20,20,0.10);
}
.folio-logo { filter: none; }
.nav-link { color: rgba(18,20,20,0.82); }
.nav-link.active { color: var(--ink); }
.lang-toggle button.active { color: var(--ink); }
.folio-cta { background: var(--blue); color: #121414; }
.folio-cta:hover { background: #ffffff; color: #121414; }

/* ── HERO ───────────────────────────────────────────────────────────────── */
/* Le portrait PNG est déjà détouré + dégradé baké par Noé → pas d'overlay CSS,
   et on n'en recadre rien (contain) : le fond transparent se fond dans le sombre.
   Colonne de droite pleine hauteur, calée en bas à droite, qui grandit avec
   l'écran (clamp responsive), sans jamais recadrer l'image. */
.hero-portrait::after { display: none; }
.hero-portrait {
  top: var(--folio-h); right: 0; bottom: 0;
  height: auto; width: clamp(340px, 48vw, 960px);
  overflow: visible;
}
.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: right bottom;
}
/* Sur écrans intermédiaires, on garde l'image lisible sans écraser le texte */
@media (max-width: 1100px) and (min-width: 761px) {
  .hero-portrait { width: clamp(300px, 42vw, 520px); }
}

/* Logo "Noé Marand" (fait main sur Photoshop) à la place du titre texte */
.hero-name { margin: clamp(0.6rem,1.6vh,1.2rem) 0; }
.hero-logo {
  display: block; height: auto;
  width: clamp(260px, 42vw, 640px); max-width: 100%;
}

/* ── HERO : tout visible dans un seul écran (pas de scroll pour voir les boutons) ── */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--folio-h) + clamp(0.8rem, 2.5vh, 1.8rem));
  padding-bottom: clamp(1.2rem, 3.5vh, 2.6rem);
}
.hero-logo { width: clamp(190px, 30vw, 430px); }
.hero-name { margin: clamp(0.3rem, 1vh, 0.8rem) 0; }
.hero-sub { font-size: clamp(0.98rem, 1.1vw, 1.15rem); }
.hero-accroche { font-size: clamp(1.2rem, 1.9vw, 1.8rem); line-height: 1.16; margin-top: clamp(0.8rem, 2vh, 1.4rem); }
.hero-buttons { margin-top: clamp(0.9rem, 2.4vh, 1.6rem); }
@media (max-width: 760px) {
  .hero { min-height: 100svh; }
  .hero-logo { width: clamp(180px, 56vw, 300px); }
}

/* ── KICKERS / PLAQUES DE STATION ───────────────────────────────────────── */
.kicker { color: rgba(58,143,132,0.92); }
.kicker .dot { background: var(--blue); }
.stbullet { background: var(--blue); color: #121414; }
.stname { color: var(--ink); }

/* ── BOUTONS ────────────────────────────────────────────────────────────── */
.btn { border-color: rgba(92,184,174,0.5); color: var(--ink); }
.btn--solid { background: var(--blue); color: #121414; border-color: var(--blue); }
.btn--solid:hover { background: #ffffff; color: #121414; border-color: #ffffff; }
.btn:not(.btn--solid):not(.btn--on-blue):not(.btn--ghost-blue):hover {
  background: var(--blue); color: #121414;
}
.btn--on-blue { background: var(--blue); color: #121414; border-color: var(--blue); }
.btn--on-blue:hover { background: transparent; color: var(--ink); }
.btn--ghost-blue { border-color: rgba(92,184,174,0.5); color: var(--ink); }
.btn--ghost-blue:hover { background: var(--blue); color: #121414; border-color: var(--blue); }

/* ── SIGNALÉTIQUE « DIRECTION » ─────────────────────────────────────────── */
.direction { background: rgba(255,255,255,0.045); border-color: rgba(92,184,174,0.5); }
.direction .dir-name { color: var(--ink); }
.direction .dir-word { color: rgba(92,184,174,0.72); }
.direction .dir-arrow { color: var(--blue); }

/* ── ÉTIQUETTES QUALITÉS ────────────────────────────────────────────────── */
.qtag { color: var(--ink); border-color: rgba(92,184,174,0.45); }
.qtag:hover { color: #121414; background: var(--blue); border-color: var(--blue); }

/* ── BOÎTE À OUTILS : logos en pastilles claires (tout logo reste lisible) ── */
.tool-logo {
  background: #ffffff; border-radius: 9px; padding: 6px; box-sizing: border-box;
  width: clamp(34px,3.2vw,40px); height: clamp(34px,3.2vw,40px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
}
.tool-name { color: rgba(18,20,20,0.9); }
.tool:hover .tool-name { color: var(--blue); }
.tool-group-label { color: rgba(58,143,132,0.9); }

/* ── RÉALISATIONS : cartes claires « galerie » sur le mur sombre ────────── */
/* (les vignettes photo restent claires ; on force le texte des tuiles en encre) */
.proj-chip { color: #121414; }
.proj-visual--text { color: #121414; }
.proj-visual--text .proj-figure,
.proj-visual--text .proj-title,
.proj-visual--text .proj-result { color: #121414; }
.proj-visual--text .proj-desc { color: rgba(18,20,20,0.62); }
.proj-visual--text .proj-chip--flat { color: rgba(18,20,20,0.55); }
.proj-visual--text .proj-link { color: #3a8f84; }
.proj-visual--text .proj-link span { background: #3a8f84; }
/* liens dans les descriptions (ex. @robinlordereau) */
.proj-desc a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ── PLAN DE LIGNE (rail gauche) ────────────────────────────────────────── */
.lm-train { box-shadow: 0 0 0 5px rgba(92,184,174,0.18), 0 2px 6px rgba(0,0,0,.4); }
.lm-label {
  background: rgba(5,16,21,0.94); color: var(--ink);
  border-color: rgba(92,184,174,0.3); box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* ── SÉPARATEURS / FOOTER ───────────────────────────────────────────────── */
.footer-line { border-top-color: rgba(92,184,174,0.20); }

/* ── INTRO MÉTRO : la sortie vers le site est gérée par metro.css
   (iris de lumière blanc cassé + wagon qui s'éclaircit). Rien à surcharger ici. */

/* ── Neutralise l'ancien fond plein du contact (le shader global gère) ──── */
#alternance { background: transparent; }

/* ═══════════════════════════════════════════════════════════════════════════
   MENU « CURVED » — hamburger (haut droite) + panneau blanc qui glisse de la
   droite avec un bord courbe animé. Logo conservé en haut à gauche.
   ═══════════════════════════════════════════════════════════════════════════ */
.folio-right { display: flex; align-items: center; gap: clamp(0.8rem, 1.6vw, 1.4rem); }

/* Hamburger */
.menu-toggle {
  position: relative; z-index: 2; width: 46px; height: 46px; padding: 0;
  border: 0; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.menu-toggle .mt-bars { position: relative; width: 26px; height: 16px; }
.menu-toggle .mt-bars i {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .35s cubic-bezier(.76,0,.24,1), opacity .25s ease, background-color .3s ease;
}
.menu-toggle .mt-bars i:nth-child(1) { top: 0; }
.menu-toggle .mt-bars i:nth-child(2) { top: 7px; }
.menu-toggle .mt-bars i:nth-child(3) { top: 14px; }
.menu-toggle.is-open .mt-bars i { background: var(--ink); }
.menu-toggle.is-open .mt-bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open .mt-bars i:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .mt-bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Quand le menu est ouvert : le folio passe au-dessus du panneau, et on
   n'affiche plus que la croix (logo + FR/EN masqués le temps du menu). */
body.menu-open #folio {
  z-index: 1100; background: transparent; border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.menu-open .brandmark,
body.menu-open .lang-toggle { opacity: 0; pointer-events: none; transition: opacity .3s ease; }

/* Overlay + voile */
.menu { position: fixed; inset: 0; z-index: 1000; }
.menu-scrim {
  position: absolute; inset: 0; background: rgba(18,20,20,0.30);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .6s ease;
}
.menu.is-open .menu-scrim { opacity: 1; }

/* Panneau — verre dépoli sombre (transparent foncé + flou derrière) */
.menu-panel {
  position: absolute; top: 0; right: 0; height: 100dvh;
  width: min(100%, 620px); background: rgba(231,230,227,0.86); color: var(--ink);
  -webkit-backdrop-filter: blur(22px) saturate(125%); backdrop-filter: blur(22px) saturate(125%);
  transform: translateX(108%);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(4.5rem, 9vh, 6rem) 0 clamp(1.2rem, 3vh, 2rem);
  box-shadow: -30px 0 80px rgba(0,0,0,0.5);
  border-left: 1px solid rgba(92,184,174,0.14);
}
.menu-curve {
  position: absolute; top: 0; left: -99px; width: 100px; height: 100%;
  fill: rgba(231,230,227,0.86); stroke: none; pointer-events: none;
}

.menu-body { padding: 0 clamp(1.5rem, 4.5vw, 3.6rem); }
.menu-head { border-bottom: 1px solid rgba(92,184,174,0.22); padding-bottom: 0.6rem; margin-bottom: 0.4rem; }
.menu-eyebrow {
  font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.72rem; color: rgba(18,20,20,0.55);
}

.menu-links { display: flex; flex-direction: column; }
.menu-link {
  display: flex; align-items: baseline; gap: 0.55rem; min-width: 0;
  text-decoration: none; color: var(--ink);
  border-bottom: 1px solid rgba(92,184,174,0.18);
  padding: clamp(0.65rem, 2.2vh, 1.35rem) 0;
}
.menu-link .ml-idx {
  flex: none;
  font-family: var(--f-body); font-weight: 300;
  font-size: clamp(0.9rem, 1.2vw, 1.15rem); color: rgba(18,20,20,0.4);
}
.menu-link .ml-word {
  font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0;
  font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1;
  display: inline-flex; white-space: nowrap;
}
.menu-link .ml-letter {
  display: inline-block; white-space: pre;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.menu-link:hover .ml-letter { transform: translateX(8px); }
.menu-link:hover { color: var(--blue); }
.menu-link:hover .ml-idx { color: var(--blue); }
.menu-link--cta .ml-word { font-weight: 600; }

/* Footer réseaux */
.menu-footer {
  display: flex; align-items: center; gap: clamp(1.4rem, 4vw, 2.6rem);
  padding: clamp(1rem, 3vh, 1.6rem) clamp(1.5rem, 4.5vw, 3.6rem) 0;
  border-top: 1px solid rgba(92,184,174,0.16); margin-top: 1.4rem;
}
.menu-footer a { color: var(--ink); opacity: 0.7; transition: opacity .25s ease, transform .25s ease; display: inline-flex; }
.menu-footer a:hover { opacity: 1; transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .menu-panel, .menu-scrim, .menu-link .ml-letter { transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROFIL — redesign éditorial cohérent (cartes verre sur le shader sombre).
   ═══════════════════════════════════════════════════════════════════════════ */
/* en-têtes de section plus resserrés partout */
.section-head { margin-bottom: clamp(1.5rem, 3.6vh, 2.6rem); }
#manifeste .section-title { font-size: clamp(2rem, 4.2vw, 3.2rem); }

/* Intro : récit à gauche, château à droite, alignés en haut */
.profil-cols { align-items: start; }

/* « Le double regard » : deux cartes verre */
.profil-facets { margin-top: clamp(1.8rem, 4.5vh, 3rem); }
.facets-label, .manne-cap {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.72rem; color: rgba(58,143,132,0.95); margin-bottom: clamp(0.8rem, 2vh, 1.15rem);
}
.facets-label .dot, .manne-cap .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; }
.manne-cap { color: var(--gray); letter-spacing: 0.14em; margin-bottom: 0.5rem; }

#manifeste .dual-blocks {
  grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.4vw, 1.8rem);
  margin-top: 0; padding-top: 0; border-top: 0;
}
#manifeste .dual-block {
  position: relative; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(92,184,174,0.16); border-radius: 18px;
  padding: clamp(1.5rem, 2.6vw, 2.3rem);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .45s cubic-bezier(.16,1,.3,1), border-color .45s ease, background .45s ease;
}
#manifeste .dual-block + .dual-block { border-left: 1px solid rgba(92,184,174,0.16); padding-left: clamp(1.5rem, 2.6vw, 2.3rem); }
#manifeste .dual-block:hover { transform: translateY(-5px); border-color: rgba(92,184,174,0.34); background: rgba(92,184,174,0.07); }
#manifeste .db-idx {
  display: block; font-family: var(--f-body); font-weight: 400;
  font-size: clamp(2.1rem, 3.8vw, 3rem); line-height: 1; color: var(--teal-ink); opacity: 0.9;
  margin-bottom: 0.5rem;
}
#manifeste .db-title {
  display: block; font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.06; margin-bottom: 0.6rem;
}
#manifeste .db-text { color: var(--gray); max-width: none; }

/* Photos mannequinat : légende + carrousel */
.manne-figure { margin: clamp(1.8rem, 4.5vh, 2.8rem) 0 0; }

/* Qualités : pastilles raffinées */
#manifeste .qualities { margin-top: clamp(1.8rem, 4.5vh, 2.8rem); }
#manifeste .qualities .kicker { display: inline-flex; margin-bottom: 0.2rem; }
.qtag {
  border-color: rgba(92,184,174,0.3); color: var(--ink); border-radius: 999px;
  font-weight: 600; letter-spacing: 0.1em; background: rgba(255,255,255,0.02);
}
.qtag:hover { color: #121414; background: var(--blue); border-color: var(--blue); }

@media (max-width: 720px) {
  #manifeste .dual-blocks { grid-template-columns: 1fr; gap: 1rem; }
  #manifeste .dual-block + .dual-block { border-left: 1px solid rgba(92,184,174,0.16); padding-left: clamp(1.5rem, 2.6vw, 2.3rem); padding-top: clamp(1.5rem, 2.6vw, 2.3rem); border-top: 1px solid rgba(92,184,174,0.16); }
}

/* Doubles numéros : la plaque de station « N°0X » suffit, on retire le gros index redondant */
.section-index { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   TRANSITION MÉTRO → SITE (thème métro clair)
   Le site est désormais en blanc cassé : l'intro fond vers le CLAIR. Les bords
   du wagon (barres) prennent la couleur papier, et metro.css gère l'iris de
   lumière + l'éclaircissement du wagon en fin de course.
   ═══════════════════════════════════════════════════════════════════════════ */
#metro-wrap  { background: #e7e6e3; }
#metro-intro { background: #e7e6e3; }

/* ═══════════════════════════════════════════════════════════════════════════
   POLISH GLOBAL — titres de section plus raffinés (moins imposants), CTA géant
   calibré, rythme d'en-tête homogène.
   ═══════════════════════════════════════════════════════════════════════════ */
.section-title { font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.02; }
.cta-huge { font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1; }
.section-head { margin-bottom: clamp(1.4rem, 3.4vh, 2.4rem); }

/* Mobile : boutons du hero à largeur égale (stack propre) */
@media (max-width: 640px) {
  .hero-buttons { flex-direction: column; align-items: stretch; gap: 0.7rem; }
  .hero-buttons .btn { justify-content: center; text-align: center; width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE — bande photo à défilement horizontal (remplace le coverflow 3D
   illisible sur écran étroit). Grandes photos, scroll-snap fluide.
   ═══════════════════════════════════════════════════════════════════════════ */
.orbit.orbit-strip-mode { height: auto !important; overflow: visible; }
.orbit-strip {
  display: flex; gap: 0.7rem; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 0.4rem 0 1rem; margin: 0 calc(-1 * var(--pad, 1.25rem));
  padding-left: var(--pad, 1.25rem); padding-right: var(--pad, 1.25rem);
  scrollbar-width: none;
}
.orbit-strip::-webkit-scrollbar { display: none; }
.orbit-strip-item { flex: 0 0 auto; scroll-snap-align: center; }
.orbit-strip-item img {
  display: block; height: clamp(300px, 52vh, 420px); width: auto;
  border-radius: 12px; object-fit: cover;
  box-shadow: 0 16px 34px rgba(0,0,0,0.45);
}

/* Bande hockey (paysage) : cartes plus larges que hautes */
.ga-strip .orbit-strip-item img {
  width: 82vw; max-width: 420px; height: clamp(210px, 32vh, 300px);
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ICÔNES — coordonnées, réseaux et tuiles de dispo (moins de texte, plus lisible)
   ═══════════════════════════════════════════════════════════════════════════ */
/* Tuiles de disponibilité : une icône sable au-dessus */
.a-ico { display: block; color: var(--blue); margin-bottom: 0.55rem; line-height: 0; }
.a-ico svg { width: clamp(22px, 2vw, 28px); height: clamp(22px, 2vw, 28px); }

/* Boutons Contact : icône + texte alignés ; LinkedIn/Instagram = icône seule */
.btn-row .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; }
.btn-ico { width: 18px; height: 18px; flex: none; }
.btn--icon { padding-left: 0.85em; padding-right: 0.85em; }
.btn--icon .btn-ico { width: 20px; height: 20px; }

/* Coordonnées : petite icône devant chaque info */
.footer-line .mono { display: inline-flex; align-items: center; gap: 0.5em; text-decoration: none; color: var(--gray); transition: color .25s ease; }
.footer-line a.mono:hover { color: var(--ink); }
.mono-ico { width: 15px; height: 15px; flex: none; opacity: 0.85; color: var(--blue); }

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE — intro métro : version PORTRAIT du wagon (plafond/sol étendus par
   Photoshop) qui remplit l'écran. Desktop inchangé. Les portes sont recalées
   sur l'ouverture portrait (bande centrale) pour ne pas déborder.
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* image portrait à la place du wagon paysage (uniquement mobile) */
  .wagon-body { content: url("../uploads/metro/wagon-body-mobile.png"); }
  .wagon { aspect-ratio: 1000 / 1777; height: 100vh; width: auto; }
  /* portes en version PORTRAIT, calées pile sur l'ouverture, qui glissent au
     scroll exactement comme le desktop (même variable --open). */
  .doors {
    display: block;
    -webkit-clip-path: inset(39.9% 34.7% 37.5% 34.5%);
            clip-path: inset(39.9% 34.7% 37.5% 34.5%);
  }
  .door--l { content: url("../uploads/metro/door-left-mobile.png"); }
  .door--r { content: url("../uploads/metro/door-right-mobile.png"); }
  /* Paris dézoomé : on voit tout le panorama à travers fenêtres + ouverture */
  .paris-video { object-fit: contain; }
  /* la caméra traverse par le centre de l'ouverture mobile (un peu plus bas) */
  .car { transform-origin: 50% 51%; }
}
