:root {
  --ink: #000;
  --muted: #555;
  --line: #e6e6e6;
  --paper: #fff;
  --placeholder: #f2f2f0;
  --gutter: max(16px, 5vw);
  --display: "Anton", "Impact", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ui: "Inter", "Helvetica Neue", Arial, sans-serif;
  --menu: "Manrope", var(--sans);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  animation: page-in 0.6s ease both;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; height: auto; }
figure { margin: 0; }

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ---------- Animations légères ---------- */

@keyframes page-in { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { transform: scale(1.06); } }

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Navigation ---------- */

nav { display: flex; gap: 18px; }
nav a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.35s var(--ease);
}
nav a:hover, nav a[aria-current="page"] { background-size: 100% 1px; }

.topnav {
  position: absolute;
  top: 22px;
  left: var(--gutter);
  z-index: 10;
  font-family: var(--ui);
  font-weight: 300;
  font-size: 15px;
}

footer {
  padding: 110px var(--gutter) 28px;
  text-align: center;
}
footer nav, .home-nav {
  justify-content: center;
  gap: clamp(28px, 4vw, 62px);
  font-family: var(--menu);
  font-size: clamp(16px, 1.4vw, 20px);
}
footer p, .copyright { margin: 14px 0 0; font-size: 12px; font-weight: 300; color: var(--muted); }

/* ---------- Placeholders (images à venir) ---------- */

.placeholder {
  width: 100%;
  background: var(--placeholder);
  display: grid;
  place-items: center;
}
.placeholder span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #aaa; }

/* ---------- Accueil : tout tient sur un écran ---------- */

.home .hero {
  height: 100vh;
  height: 100svh;
  padding: 3.5vh var(--gutter) 2.5vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.home h1 {
  font-size: min(8.4vw, 13vh);
  letter-spacing: -0.05em;
  animation: rise 0.9s var(--ease) both;
}
.taglines {
  list-style: none;
  margin: 2.6vh 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px clamp(24px, 5vw, 74px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, min(1.55vw, 2.6vh), 22px);
}
.taglines li { animation: rise 0.9s var(--ease) both; }
.taglines li:nth-child(1) { animation-delay: 0.15s; }
.taglines li:nth-child(2) { animation-delay: 0.25s; }
.taglines li:nth-child(3) { animation-delay: 0.35s; }

.portrait {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 48vh;
  margin: 6vh 0 4vh;
  display: flex;
  justify-content: center;
  animation: rise 1.1s 0.45s var(--ease) both;
}
.portrait .frame { position: relative; height: 100%; }
.portrait .frame > img, .portrait .placeholder { height: 100%; width: auto; max-width: 80vw; object-fit: contain; }
.portrait .placeholder { aspect-ratio: 3 / 4; }
/* Photo de l'accueil, sans ombre. --land va de 0 (photo encore en l'air, pendant l'intro) à 1 (posée).
   --hover soulève légèrement la photo au survol. */
@property --hover { syntax: "<number>"; inherits: true; initial-value: 0; }
.portrait .frame > img {
  --l: calc(1 - var(--land, 1));
  transform:
    translateY(calc(var(--l) * -36px - var(--hover) * 5px))
    rotate(calc(-1.6deg - var(--l) * 3deg))
    scale(calc(1 + var(--l) * 0.06 + var(--hover) * 0.015));
  transition: --hover 0.6s var(--ease);
}
.portrait .frame > img:hover { --hover: 1; }

/* ---------- Pile d'images de projets sur la photo de l'accueil (image par image) ---------- */

.stack { position: absolute; inset: 0; }
.snap {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
}
.snap[hidden] { display: none; }
.snap img { width: 100%; height: 100%; object-fit: cover; }

/* Ta photo, qui revient sur le dessus */
.snap.is-me img { object-fit: contain; }

/* ---------- Page projet : ouverture ---------- */

.project-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  min-height: 100svh;
}
.project-text {
  align-self: center;
  max-width: calc(50vw - var(--gutter));
  padding: 110px 4vw 80px var(--gutter);
  animation: rise 0.9s 0.1s var(--ease) both;
}
.project-text h1 { font-size: clamp(48px, 6.75vw, 110px); margin-bottom: 34px; }
.project-text p { margin: 0 0 12px; }
.project-text .intro { margin-bottom: 26px; }
.project-text .credits { margin-top: 30px; }

.hero-media { overflow: hidden; height: 100vh; height: 100svh; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; animation: settle 1.6s var(--ease) both; }

.hero-top .hero-media img, .hero-overlay .hero-media img { aspect-ratio: var(--hero-ratio, auto); }

/* Ouverture centrée au-dessus du texte (Recherches) */
.hero-top .project-hero { display: flex; flex-direction: column-reverse; align-items: center; min-height: 0; }
.hero-top .hero-media { height: auto; width: var(--hero-w); margin-top: 54px; }
.hero-top .project-text { max-width: 680px; padding: 60px var(--gutter) 40px; text-align: center; }

/* Titre posé sur la photo d'ouverture (Photographies) */
.hero-overlay .project-hero { display: grid; grid-template-columns: 1fr; min-height: 0; padding-top: 64px; }
.hero-overlay .project-hero > * { grid-area: 1 / 1; }
.hero-overlay .hero-media { height: auto; width: var(--hero-w); justify-self: center; }
.hero-overlay .project-text { z-index: 1; max-width: none; padding: 0 var(--gutter); }
.hero-overlay .project-text h1 { font-size: clamp(56px, 11vw, 158px); margin-bottom: 18px; }

/* ---------- Page projet : galerie ---------- */

.gallery { padding: 120px var(--gutter) 0; }

.row {
  display: flex;
  gap: var(--gap);
  width: var(--w, 100%);
  margin: 0 auto 90px;
}
.row figure { min-width: 0; overflow: hidden; }
.row figure[style*="aspect-ratio"] img,
.row figure[style*="aspect-ratio"] video { height: 100%; object-fit: cover; }

.row-grid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); }
.row-sizes { justify-content: space-between; align-items: center; }
.row-masonry { align-items: flex-start; }
.row-masonry .col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }

.row-scroll {
  width: auto;
  margin-right: calc(-1 * var(--gutter));
  padding-right: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.row-scroll figure { flex: none; height: clamp(280px, 44vw, 630px); scroll-snap-align: start; }

.next {
  display: block;
  margin: 40px var(--gutter) 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.next span {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 56px);
  color: var(--ink);
  letter-spacing: 0;
  transition: transform 0.5s var(--ease);
}
.next span::after { content: " →"; }
.next:hover span { transform: translateX(12px); }

.notfound { padding: 160px var(--gutter) 60px; text-align: center; }
.notfound h1 { font-size: 96px; margin-bottom: 20px; }
.notfound a { border-bottom: 1px solid currentColor; }

/* ---------- Tablette et mobile ---------- */

@media (max-width: 1000px) {
}

@media (max-width: 720px) {
  body { font-size: 14px; }

  .project-hero { grid-template-columns: 1fr; min-height: 0; }
  .project-text { max-width: none; padding: 90px var(--gutter) 40px; }
  .hero-media { height: 75vh; }
  .hero-top .hero-media, .hero-overlay .hero-media { width: 100%; }
  .hero-overlay .project-hero { padding-top: 70px; }

  .gallery { padding-top: 40px; }
  .row { width: 100%; flex-direction: column; margin-bottom: 40px; }
  .row figure { width: 100% !important; }
  .row-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .row-scroll { flex-direction: row; }
  .row-scroll figure { width: auto !important; height: 60vw; }

  footer { padding-top: 70px; }
}

/* ---------- Intro de l'accueil : le nom en très grand, qui rétrécit au défilement ---------- */

.has-intro .intro-track { height: 260vh; height: 260svh; }
.has-intro .hero { position: sticky; top: 0; overflow: hidden; }
.js .has-intro .hero h1 { animation: none; transform-origin: center; will-change: transform; }
.js .has-intro .hero > :not(h1):not(.scroll-hint),
.js .has-intro .taglines li { animation: none; }

/* Ordre d'apparition : les métiers pendant que le nom rétrécit, puis la photo qui se pose, puis le menu */
.js .has-intro .taglines { opacity: var(--tag, 0); transform: translateY(calc((1 - var(--tag, 0)) * 20px)); }
.js .has-intro .portrait { --land: var(--photo, 0); opacity: min(1, calc(var(--photo, 0) * 2.5)); }
.js .has-intro .home-nav,
.js .has-intro .copyright { opacity: var(--nav, 0); transform: translateY(calc((1 - var(--nav, 0)) * 16px)); }

.scroll-hint {
  position: absolute;
  bottom: 4vh;
  left: 50%;
  translate: -50% 0;
  border: 0;
  background: none;
  padding: 10px;
  font-size: 22px;
  color: var(--ink);
  cursor: pointer;
  opacity: var(--hint, 1);
  animation: nudge 1.8s ease-in-out infinite;
}
.no-js .scroll-hint, html:not(.js) .scroll-hint { display: none; }
@keyframes nudge { 50% { transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  .has-intro .intro-track { height: auto; }
  .js .has-intro .hero > :not(h1) { opacity: 1; transform: none; --land: 1; }
  .scroll-hint { display: none; }
}

/* ---------- Recherches, version bureau : dossiers façon Mac ---------- */

.desk {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.folder {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% 0;
  width: 112px;
  padding: 6px 4px 4px;
  border: 0;
  border-radius: 8px;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.folder-icon { width: 84px; height: auto; overflow: visible; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.12)); transition: transform 0.35s var(--ease); }
.folder-icon .back { fill: url(#folder-back); }
.folder-icon .paper { fill: #fff; transform-origin: 50% 100%; transition: transform 0.35s var(--ease); }
.folder-icon .front { fill: url(#folder-front); transform-origin: 50% 100%; transition: transform 0.4s var(--ease); }
.folder-icon .shine { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1; }
.folder:hover .folder-icon { transform: translateY(-3px); }
.folder:hover .paper { transform: translateY(-3px); }

/* Dossier ouvert : le rabat s'abaisse, la feuille dépasse */
.folder.is-open .front { transform: perspective(120px) rotateX(-28deg); }
.folder.is-open .paper { transform: translateY(-8px); }

.folder-name {
  padding: 1px 6px;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, var(--ui);
  font-size: 12.5px;
  line-height: 1.35;
  text-align: center;
}
.folder.is-open .folder-name, .folder:focus-visible .folder-name { background: #0a63d6; color: #fff; }
.folder:focus-visible { outline: none; }

/* Images sorties du dossier */
.spread {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.spread[hidden] { display: none; }
.spread-close {
  position: absolute;
  top: 16px;
  right: var(--gutter);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  font-size: 30px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.loose {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--w);
  aspect-ratio: var(--ratio);
  margin: calc(var(--w) / var(--ratio) / -2) 0 0 calc(var(--w) / -2);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.18), 0 6px 10px rgba(0, 0, 0, 0.08), 0 20px 34px rgba(0, 0, 0, 0.12);
}
.loose.is-zoomed { cursor: zoom-out; }
.loose img, .loose video { width: 100%; height: 100%; object-fit: cover; }
.loose.is-fake { display: grid; place-items: center; }
.loose.is-fake span { font-family: var(--display); font-size: calc(var(--w) * 0.13); text-transform: uppercase; color: rgba(0, 0, 0, 0.75); }

@media (max-width: 720px) {
  .desk { height: auto; min-height: 0; padding: 90px var(--gutter) 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 8px; }
  .folder { position: static; translate: none; width: auto; }
  .folder-icon { width: 72px; }
}

/* ---------- Recherches, version couleurs : aplats qui révèlent l'image au survol ---------- */

.swatch-page { overflow: hidden; }
.swatch-field { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.swatch {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  padding: 0;
  border: 0;
  background: var(--c);
  cursor: pointer;
  translate: var(--px, 0) var(--py, 0);
  will-change: translate;
}
.swatch canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.swatch-title {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  z-index: 2;
  width: min(90vw, 760px);
  pointer-events: none;
  text-align: left;
}
.swatch-title h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 6.75vw, 110px);
  line-height: 1;
  text-transform: uppercase;
}
.swatch-title p { margin: 18px 0 0; font-family: var(--sans); font-size: 14.5px; }
.swatch-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  translate: -50% 0;
  margin: 0;
  z-index: 2;
  font-family: var(--ui);
  font-weight: 300;
  font-size: 13px;
  text-transform: uppercase;
  pointer-events: none;
}

.swatch-view {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  cursor: zoom-out;
}
.swatch-view[hidden] { display: none; }
.swatch-view img { max-width: 86vw; max-height: 86vh; width: auto; height: auto; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); }

@media (max-width: 720px) {
  .swatch { width: calc(var(--w) * 1.7); height: calc(var(--h) * 1.7); }
  .swatch-hint { display: none; }
}

/* ---------- Page Projets : carrousel 3D ---------- */

.flow-page { overflow: hidden; }
.flow {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
}
.flow-title { width: 100%; text-align: center; margin-bottom: clamp(24px, 5vh, 56px); padding: 0 var(--gutter); }
.flow-title h1 {
  position: relative;
  height: 1.15em;
  font-size: clamp(48px, 9vw, 140px);
  line-height: 1.15;
  white-space: nowrap;
  /* Filtre de seuil (défini dans la page) : rend nets les contours flous, d'où l'effet liquide */
  filter: url(#morph-threshold) blur(0.6px);
}
.flow-title h1 span { position: absolute; inset: 0; text-align: center; }
.flow-sub { margin: 12px 0 0; font-family: var(--ui); font-weight: 300; font-size: 15px; min-height: 1.4em; }

.flow-stage {
  position: relative;
  width: 100%;
  height: calc(var(--card-w) * 1.25);
  --card-w: clamp(220px, 23vw, 360px);
  perspective: 1200px;
  touch-action: pan-y;
  cursor: grab;
}
.flow-stage.is-dragging { cursor: grabbing; }
.flow-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.flow-card {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--card-w);
  height: 100%;
  margin-left: calc(var(--card-w) / -2);
  will-change: transform;
}
/* La face de la carte flotte doucement ; chaque carte a son propre rythme */
.flow-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--placeholder);
  animation: float 7s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.83s);
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-5px) rotate(0.25deg); }
  65% { transform: translateY(3px) rotate(-0.2deg); }
}
.flow-card img { height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
/* Léger assombrissement des cartes tournées, pour la profondeur */
.flow-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to var(--shade-side, right), rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
  opacity: var(--shade, 0);
  pointer-events: none;
}

.flow-arrow {
  position: absolute;
  top: 50%;
  z-index: 200;
  width: 58px;
  height: 58px;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.14));
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(255, 255, 255, 0.15),
    0 10px 30px rgba(0, 0, 0, 0.12);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s, box-shadow 0.35s;
}
.flow-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.flow-arrow:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 36px rgba(0, 0, 0, 0.16);
}
.flow-arrow.is-prev:hover svg { transform: translateX(-2px); }
.flow-arrow.is-next:hover svg { transform: translateX(2px); }
.flow-arrow:active { transform: scale(0.95); }
.flow-arrow.is-prev { left: calc(var(--gutter) + 29px); }
.flow-arrow.is-next { left: calc(100% - var(--gutter) - 29px); }

.flow-dots { display: flex; gap: 10px; margin-top: clamp(24px, 4vh, 44px); }
.flow-dots i { width: 6px; height: 6px; border-radius: 50%; background: #cfcfcf; transition: background 0.3s, transform 0.3s; }
.flow-dots i.is-active { background: var(--ink); transform: scale(1.3); }

@media (max-width: 720px) {
  .flow-stage { --card-w: 62vw; }
  .flow-arrow { display: none; }
  .flow-title h1 { font-size: clamp(40px, 13vw, 64px); }
}

/* ---------- À propos : « HELLO » sur papier rose ---------- */

/* Lamar Pen (Three Islands Press) : police commerciale, vérifier la licence web avant la mise en ligne */
@font-face {
  font-family: "Lamar Pen";
  src: url("/fonts/lamarpen.ttf") format("truetype");
  font-display: swap;
}

.paper-page {
  position: relative;
  min-height: 100vh;
  background: #e9a6bf;
}
/* Toute la page est une feuille de papier rose plié (photo de texture) */
.paper-page main, .paper-page footer { position: relative; z-index: 1; }
.paper-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/img/textures/papier-rose.jpg") center / cover no-repeat;
  pointer-events: none;
}
.paper-page footer p { color: rgba(40, 30, 30, 0.6); }

.hello { padding: 96px var(--gutter) 0; overflow: hidden; }
/* HELLO sur toute la largeur : la taille est ajustée en direct pour remplir la ligne */
.hello-title {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  font-size: 30vw;
  line-height: 0.8;
  letter-spacing: -0.01em;
  color: #1d1a17;
  cursor: default;
}
.hello-a { display: flex; justify-content: center; }
.hello-a span { display: block; }
/* Au survol, « Hello » en Lamar Pen remplace HELLO, par morphing */
.hello-b {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Lamar Pen", var(--serif);
  text-transform: none;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
}
/* Filtre de seuil autour du titre : quand il est flou, ses contours restent nets (effet morphing) */
.hello-morph { filter: url(#morph-threshold) blur(0.6px); }
.js .hello-title { opacity: 0; }

.hello-body {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(28px, 4vw, 60px);
}
.hello-photo {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  justify-self: end;
  animation: rise 1.2s 0.45s var(--ease) both;
}
/* Au survol, la photo se redresse et s'approche un peu, comme prise en main */
.hello-photo img {
  transform: rotate(-1.5deg);
  transition: transform 0.7s cubic-bezier(0.34, 1.4, 0.5, 1);
}
.hello-photo:hover img { transform: rotate(0.5deg) scale(1.04) translateY(-6px); }
.hello-text {
  position: relative;
  z-index: 3;
  max-width: 480px;
  padding-top: clamp(20px, 6vw, 90px);
  font-size: 16.5px;
  line-height: 1.6;
  text-align: justify;
  hyphens: auto;
  animation: rise 1.1s 0.65s var(--ease) both;
}
.hello-text p { margin: 0 0 16px; }
.hello-lead { font-family: var(--display); font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; text-transform: uppercase; text-align: left; }
.hello-cta { margin-top: 36px !important; font-family: var(--display); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.05; text-transform: uppercase; text-align: left; color: #fff; }
.hello-links { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 26px; font-family: var(--serif); font-size: 21px; color: #fff; }
.hello-links a { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size 0.35s var(--ease); }
.hello-links a:hover { background-size: 0 1px; background-position: 100% 100%; }

@media (max-width: 720px) {
  .hello { padding-top: 80px; }
  .hello-body { grid-template-columns: 1fr; gap: 28px; }
  .hello-photo { justify-self: center; width: 82%; }
  .hello-text { padding-top: 0; max-width: none; text-align: left; }
}
