/* MRK Studio, direction "carte d'altitude" : charte #C05016 / #131212 / Montserrat */
:root {
  --orange: #c05016;
  --orange-dark: #9a4012;
  --orange-light: #e5601c;
  --black: #131212;
  --black-2: #181716;
  --black-3: #1d1c1a;
  --white: #f4f2ef;
  --muted: #9a948e;
  --line: rgba(244, 242, 239, .14);
  --bg: var(--black);
  --fg: var(--white);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; line-height: 1.6;
  transition: background-color .9s var(--ease), color .9s var(--ease);
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange-light); outline-offset: 4px; }

/* Fond : courbes de niveau générées */
#topo { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .9; }
main, footer { position: relative; z-index: 1; }

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  mix-blend-mode: normal;
}
.nav .brand img { height: 34px; width: auto; }
.nav .center { font-size: 13px; color: var(--fg); opacity: .65; transition: color .9s; }
.nav .right { justify-self: end; display: flex; gap: 10px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 40px;
  font-size: 14px; font-weight: 500; background: var(--orange); color: #fff;
  transition: background .3s, transform .4s var(--ease);
}
.pill:hover { background: var(--orange-light); transform: scale(1.04); }
.pill.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px currentColor; }
.pill.ghost:hover { background: var(--fg); color: var(--bg); }
.nav .brand img, .pill { transition: filter .9s var(--ease), background .6s, color .6s, transform .4s var(--ease); }
body.on-orange .nav .brand img { filter: brightness(0) saturate(0) opacity(.85); }
body.on-orange .pill:not(.ghost) { background: var(--black); }
@media (max-width: 720px) { .nav .center, .pill.ghost { display: none; } .nav { grid-template-columns: 1fr auto; } }

/* Typo */
.title { font-size: clamp(28px, 3.4vw, 46px); font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
.text { font-size: clamp(16px, 1.25vw, 18px); color: var(--muted); line-height: 1.7; max-width: 44ch; }
.link-u { align-self: flex-start; font-size: 16px; font-weight: 500; color: var(--orange-light); border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .3s; }
.link-u:hover { color: var(--fg); }
.intro-anim { opacity: 0; transform: translateY(18px); animation: rise 1.6s var(--ease) .2s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* 1. Accueil : la photo aérienne s'ouvre au défilement */
.zoom { height: 260vh; position: relative; }
.zoom-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.zoom-img { position: absolute; inset: 0; clip-path: inset(24% 31% 24% 31% round 6px); will-change: clip-path; }
.zoom-img img, .zoom-img video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); will-change: transform; background: var(--black-2); }
.zoom-img::after { content: ""; position: absolute; inset: 0; background: rgba(19,18,18,.15); }
.zoom-title {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter); pointer-events: none;
  font-size: clamp(40px, 8.4vw, 150px); font-weight: 600; letter-spacing: -.05em; line-height: .9; text-transform: uppercase;
}
.zoom-title span { display: block; will-change: transform, opacity; }
.zoom-title .r { text-align: right; }
.zoom-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.scroll-cue { display: inline-flex; gap: 10px; align-items: center; }
.scroll-cue i { width: 1px; height: 28px; background: var(--muted); transform-origin: top; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 720px) {
  .zoom-img { clip-path: inset(30% 12% 30% 12% round 6px); }
  .zoom-title { flex-direction: column; justify-content: center; gap: 46vh; align-items: flex-start; }
  .zoom-title .r { align-self: flex-end; }
}

/* 2. Manifeste : fond orange, mots qui se remplissent */
.manifest { min-height: 100vh; display: grid; place-items: center; padding: 22vh var(--gutter); }
.manifest p {
  font-size: clamp(30px, 5.2vw, 84px); font-weight: 600; text-transform: uppercase; letter-spacing: -.035em; line-height: 1.02;
  text-align: center; max-width: 18ch;
}
.manifest .w { opacity: .22; transition: opacity .35s; }
.manifest .w.on { opacity: 1; }

/* 3. Galerie éparpillée */
.collage { position: relative; height: 205vh; }
.shot { position: absolute; will-change: transform; }
.shot img { width: 100%; height: auto; border-radius: 3px; }
.shot figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); }
.collage .quote {
  position: absolute; left: 50%; top: 46%; transform: translateX(-50%); width: min(520px, 80vw); text-align: center;
  font-size: clamp(20px, 2vw, 28px); line-height: 1.35; letter-spacing: -.015em;
}
.collage .quote small { display: block; margin-top: 16px; font-size: 13px; color: var(--muted); letter-spacing: 0; }
@media (max-width: 720px) {
  .collage { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 10vh var(--gutter); }
  .shot { position: static; width: auto !important; }
  .shot:nth-child(even) { margin-top: 12vh; }
  .collage .quote { position: static; transform: none; grid-column: 1 / -1; width: auto; order: -1; margin-bottom: 6vh; }
}

/* 4. Clients en texte géant qui glisse */
.marquee { padding: 16vh 0; overflow: hidden; }
.track { display: flex; gap: .4em; white-space: nowrap; will-change: transform; font-size: clamp(56px, 11vw, 190px); font-weight: 600; letter-spacing: -.05em; line-height: 1; text-transform: uppercase; }
.track + .track { margin-top: .08em; }
.track.outline { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.track .sep { display: inline-block; width: .42em; height: .42em; align-self: center; background: var(--orange); clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* 5. Prestations : liste, l'image suit le curseur */
.services { padding: 18vh var(--gutter); }
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 7vh; }
.svc { border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc a { display: grid; grid-template-columns: 1fr minmax(0, 40ch); gap: 24px; align-items: center; padding: 4.2vh 0; }
.svc h3 { font-size: clamp(30px, 5vw, 76px); font-weight: 600; letter-spacing: -.04em; line-height: 1; text-transform: uppercase; transition: color .4s, transform .6s var(--ease); }
.svc p { color: var(--muted); font-size: 16px; }
.svc a:hover h3 { color: var(--orange-light); transform: translateX(12px); }
.svc .m-img { display: none; }
.cursor-img {
  position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 4 / 5; z-index: 40; pointer-events: none;
  border-radius: 4px; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.85);
  transition: opacity .35s, transform .5s var(--ease);
}
.cursor-img.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.cursor-img img.on { opacity: 1; }
@media (hover: none), (max-width: 820px) {
  .svc a { grid-template-columns: 1fr; gap: 12px; }
  .svc .m-img { display: block; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border-radius: 3px; margin-top: 8px; }
  .cursor-img { display: none; }
}

/* 6. Tarifs */
.pricing { padding: 16vh var(--gutter); display: grid; grid-template-columns: 4fr 7fr; gap: 6vw; align-items: start; }
.pricing .title { margin-bottom: 20px; }
.rows { width: 100%; border-collapse: collapse; }
.rows tr { border-bottom: 1px solid var(--line); }
.rows tr:first-child { border-top: 1px solid var(--line); }
.rows th { text-align: left; font-weight: 500; font-size: clamp(17px, 1.5vw, 20px); padding: 22px 24px 22px 0; }
.rows th span { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--muted); }
.rows td { text-align: right; white-space: nowrap; font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; vertical-align: top; padding-top: 22px; }
.rows td::before { content: "dès "; font-size: 13px; font-weight: 400; color: var(--muted); }
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; } }

/* 7. Fin : espace client + contact */
.end { min-height: 100vh; padding: 18vh var(--gutter) 10vh; display: flex; flex-direction: column; justify-content: space-between; gap: 12vh; }
.end-top { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.end .big {
  display: block; font-size: clamp(34px, 8.6vw, 156px); font-weight: 600; letter-spacing: -.055em; line-height: .95;
  text-transform: lowercase; word-break: break-word; transition: color .4s;
}
.end .big:hover { color: var(--orange-light); }
.end-meta { display: flex; gap: 48px; flex-wrap: wrap; font-size: 15px; }
.end-meta span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }

footer { padding: 26px var(--gutter) 34px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
footer img { height: 20px; }
footer nav { display: flex; gap: 26px; }
footer a:hover { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .intro-anim { opacity: 1; transform: none; }
  .zoom { height: auto; }
  .zoom-stage { position: relative; }
  .zoom-img { clip-path: none; }
  .manifest .w { opacity: 1; }
}
