/* ==========================================================
   Guillaume Argento — Photographe vidéaste Bordeaux
   Palette & typographies reprises du site d'origine :
   blanc, gris anthracite #424242 / #5C5C5C, Cormorant Garamond + sans light
   ========================================================== */
:root {
  --bg: #f6f4f0;
  --paper: #ffffff;
  --ink: #2a2a2a;
  --ink-2: #424242;
  --muted: #5c5c5c;
  --soft: #b0b0b0;
  --line: rgba(42, 42, 42, .14);
  --dark: #141414;
  --accent: #8a6f4e;          /* touche chaude discrète (bois / vin) */
  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 500; color: var(--ink); }
em, .italic { font-style: italic; }
::selection { background: var(--ink); color: var(--bg); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow--light { color: rgba(255,255,255,.75); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 112px);
  line-height: .95;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-top: 18px;
}
.section-title .italic { font-weight: 300; color: var(--muted); }
.section-head { padding: 0 var(--gutter); margin-bottom: clamp(60px, 9vw, 140px); }

/* split letters */
.split { display: inline-block; }
.char { display: inline-block; will-change: transform; transform-origin: 50% 100%; }
.word { display: inline-block; white-space: nowrap; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--paper);
  display: grid; place-items: center;
  grid-template-rows: 1fr auto auto; padding-bottom: 8vh;
}
.loader__mark {
  font-family: var(--serif); font-size: clamp(120px, 20vw, 240px);
  color: var(--ink-2); line-height: 1; align-self: end;
  animation: breathe 2.4s var(--ease) infinite;
}
.loader__count { font-size: 13px; letter-spacing: .3em; color: var(--muted); margin: 24px 0 12px; }
.loader__bar { width: min(240px, 60vw); height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader__bar span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
@keyframes breathe { 50% { opacity: .45; transform: scale(.97); } }

/* ---------- Curseur ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: var(--ink);
  pointer-events: none; mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s;
}
.cursor { background: #fff; }
.cursor__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; }
.cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; mix-blend-mode: normal; background: rgba(255,255,255,.92); backdrop-filter: blur(4px); }
.cursor.is-big .cursor__label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: transform .6s var(--ease), background .4s, padding .4s;
}
.header.is-scrolled { background: rgba(246,244,240,.82); backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark {
  font-family: var(--serif); font-size: 42px; line-height: 1; color: var(--ink-2);
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; padding-bottom: 4px;
  transition: transform .8s var(--ease);
}
.brand:hover .brand__mark { transform: rotateY(360deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: .04em; color: var(--ink); }
.brand__text em { font-style: normal; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: clamp(18px, 2.6vw, 40px); align-items: center; }
.nav a { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; position: relative; padding: 6px 0; color: var(--ink-2); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .nav__cta { border: 1px solid var(--ink); border-radius: 40px; padding: 9px 22px; }
.nav .nav__cta::after { display: none; }
.nav .nav__cta:hover { background: var(--ink); color: var(--bg); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--bg); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(246,244,240,.85) 0%, rgba(246,244,240,.35) 45%, rgba(246,244,240,0) 70%),
              linear-gradient(0deg, rgba(246,244,240,.9) 0%, rgba(246,244,240,0) 40%),
              linear-gradient(180deg, rgba(246,244,240,.9) 0%, rgba(246,244,240,0) 16%);
}
.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) clamp(28px, 5vh, 56px);
  pointer-events: none;
}
.hero__content a { pointer-events: auto; }
.hero__eyebrow { margin-bottom: 18px; }
.hero__title {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(58px, 12.5vw, 220px); line-height: .86; letter-spacing: -.02em;
  perspective: 900px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line--small { font-size: .42em; padding-top: .15em; color: var(--muted); letter-spacing: 0; }
.hero__title .italic { font-weight: 300; padding-left: 8vw; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 28px; }
.hero__lead { max-width: 380px; font-size: 15px; color: var(--muted); }
.scroll-hint { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-hint i { width: 1px; height: 58px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ink); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Manifeste ---------- */
.manifesto { position: relative; padding: clamp(140px, 22vw, 320px) var(--gutter); overflow: hidden; }
.manifesto__inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; }
.manifesto__text {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(32px, 4.6vw, 72px); line-height: 1.12; margin-top: 28px;
}
.manifesto__text .word { opacity: .12; transition: none; }
.manifesto__float { position: absolute; z-index: 1; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.manifesto__float img { width: 100%; height: 100%; object-fit: cover; }
.f1 { width: clamp(120px, 14vw, 230px); aspect-ratio: 3/4; top: 8%; left: 4%; }
.f2 { width: clamp(110px, 12vw, 200px); aspect-ratio: 1; top: 12%; right: 8%; }
.f3 { width: clamp(100px, 11vw, 180px); aspect-ratio: 3/4; bottom: 6%; left: 18%; }
.f4 { width: clamp(130px, 15vw, 250px); aspect-ratio: 4/5; bottom: 10%; right: 4%; }

/* ---------- Services ---------- */
.services { padding: clamp(80px, 10vw, 160px) 0; }
.service {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 120px);
  align-items: center; padding: 0 var(--gutter); margin-bottom: clamp(100px, 14vw, 220px);
}
.service--rev .service__media { order: 2; }
.service__media { position: relative; perspective: 1200px; }
.service__frame {
  position: relative; overflow: hidden; aspect-ratio: 4/5; max-height: 82vh; width: 100%;
  clip-path: inset(18% 12% 18% 12%);
  transform-style: preserve-3d; will-change: transform, clip-path;
  background: #ddd;
}
.service__frame--dark { background: #000; }
.service__frame img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.service__num {
  position: absolute; top: -.4em; font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(80px, 11vw, 180px); line-height: 1; color: var(--ink); z-index: 3; pointer-events: none;
  mix-blend-mode: difference; color: #fff;
}
.service:not(.service--rev) .service__num { right: -.25em; }
.service--rev .service__num { left: -.25em; }
.service__body h3 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.8vw, 60px); line-height: 1.02; color: var(--ink);
  margin-bottom: 28px;
}
.service__body h3 em { font-weight: 300; color: var(--muted); }
.service__body p { max-width: 520px; color: var(--muted); }
.link { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); position: relative; padding-bottom: 8px; }
.link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform-origin: left; transition: transform .6s var(--ease); }
.link:hover::after { transform: scaleX(.3); }
.link i { font-style: normal; transition: transform .5s var(--ease); }
.link:hover i { transform: translateX(8px); }

.play { position: absolute; z-index: 4; left: 50%; top: 50%; width: 170px; height: 170px; transform: translate(-50%, -50%); display: grid; place-items: center; pointer-events: none; }
.play__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.play__ring text { fill: #fff; font-family: var(--sans); font-size: 13.5px; letter-spacing: .28em; text-transform: uppercase; }
.play__btn { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; font-size: 18px; padding-left: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--paper); }
.marquee__track { display: flex; width: max-content; gap: 44px; align-items: center; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(38px, 5vw, 76px); font-style: italic; font-weight: 300; color: var(--ink); white-space: nowrap; }
.marquee b { color: var(--accent); font-weight: 400; font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Galerie horizontale ---------- */
.hgallery { position: relative; background: var(--dark); color: #eee; }
.hgallery__pin { height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hgallery__head { position: absolute; top: clamp(90px, 13vh, 140px); left: var(--gutter); right: var(--gutter); display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 40px; z-index: 2; pointer-events: none; }
.hgallery__head .eyebrow { width: 100%; color: #999; }
.hgallery .section-title { color: #f2f2f2; font-size: clamp(40px, 6vw, 96px); }
.hgallery .section-title .italic { color: #8f8f8f; }
.hgallery__progress { margin-left: auto; font-family: var(--serif); font-size: 26px; color: #aaa; }
.hgallery__progress span:first-child { color: #fff; }
.hgallery__track {
  display: flex; gap: clamp(24px, 3vw, 56px); padding: 0 50vw 0 calc(var(--gutter) + 34vw);
  width: max-content;
  margin-top: clamp(120px, 16vh, 180px);
}
.hcard { position: relative; flex: none; width: clamp(240px, 28vw, 440px); aspect-ratio: 3/4; transform-style: preserve-3d; will-change: transform; }
.hcard img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: filter .6s; }
.hcard:hover img { filter: none; }
.hcard figcaption { position: absolute; left: 0; bottom: -46px; font-family: var(--serif); font-size: 22px; color: #ddd; display: flex; gap: 14px; align-items: baseline; }
.hcard figcaption span { font-family: var(--sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: #8a8a8a; }

/* ---------- Studio ---------- */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; padding: clamp(120px, 16vw, 240px) var(--gutter); }
.studio__visual { position: relative; aspect-ratio: 4/5; }
.layer { position: absolute; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.45); }
.layer img { width: 100%; height: 100%; object-fit: cover; }
.layer--back { width: 52%; aspect-ratio: 3/4; top: 0; right: 0; }
.layer--main { width: 66%; aspect-ratio: 3/4; top: 16%; left: 0; z-index: 2; }
.layer--front { width: 42%; aspect-ratio: 1; bottom: -4%; right: 6%; z-index: 3; }
.studio__badge {
  position: absolute; z-index: 4; left: 52%; top: 4%; width: 140px; height: 140px; border-radius: 50%;
  background: var(--ink); color: #eee; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; line-height: 1.2;
}
.studio__badge span { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #aaa; }
.studio__badge strong { font-family: var(--serif); font-size: 30px; font-weight: 400; color: #fff; font-style: italic; }
.studio__body p { color: var(--muted); max-width: 540px; margin-top: 22px; }
.studio__body .section-title { margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--line); margin-top: 44px; padding-top: 28px; max-width: 540px; }
.stats strong { display: block; font-family: var(--serif); font-size: clamp(40px, 4.4vw, 64px); font-weight: 400; line-height: 1; }
.stats span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.btn {
  display: inline-flex; margin-top: 44px; padding: 20px 38px; border-radius: 60px; background: var(--ink); color: var(--bg);
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase; position: relative; overflow: hidden;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); border-radius: 50% 50% 0 0; transition: transform .6s var(--ease), border-radius .6s var(--ease); }
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn span { position: relative; }

/* ---------- Cylindre 3D ---------- */
.ring { background: var(--paper); }
.ring__pin { height: 100vh; height: 100svh; overflow: hidden; position: relative; display: grid; place-items: center; }
.ring__title { position: absolute; top: clamp(90px, 12vh, 130px); left: 0; right: 0; text-align: center; z-index: 3; pointer-events: none; }
.ring__title .section-title { font-size: clamp(38px, 5.6vw, 88px); }
.ring__stage { width: 100%; height: 100%; perspective: 1600px; perspective-origin: 50% 40%; display: grid; place-items: center; padding-top: 14vh; }
.ring__cyl { position: relative; width: clamp(170px, 19vw, 280px); aspect-ratio: 3/4; transform-style: preserve-3d; will-change: transform; }
.ring__cyl figure { position: absolute; inset: 0; backface-visibility: visible; overflow: hidden; }
.ring__cyl img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Avis ---------- */
.reviews { padding: clamp(120px, 15vw, 220px) 0; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); padding: 0 var(--gutter); perspective: 1200px; }
.review {
  background: var(--paper); padding: clamp(32px, 3.4vw, 52px); border: 1px solid var(--line);
  transform-style: preserve-3d; will-change: transform; display: flex; flex-direction: column;
}
.review__stars { color: var(--accent); letter-spacing: .3em; font-size: 14px; transform: translateZ(30px); }
.review p { font-family: var(--serif); font-size: clamp(21px, 1.7vw, 26px); line-height: 1.35; color: var(--ink); margin: 22px 0 32px; transform: translateZ(40px); flex: 1; }
.review cite { font-style: normal; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); transform: translateZ(20px); }
.review cite::before { content: "— "; }

/* ---------- Contact ---------- */
.contact { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: grid; place-items: center; text-align: center; color: #fff; background: #111; }
.contact__bg { position: absolute; inset: -20% 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.38) saturate(.8); }
.contact__inner { position: relative; z-index: 2; padding: 0 var(--gutter); }
.contact__title { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 13vw, 230px); line-height: .9; margin: 20px 0 50px; perspective: 900px; }
.contact__title .italic { font-weight: 300; color: rgba(255,255,255,.7); }
.contact__links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.contact__links a { display: inline-block; padding: 18px 34px; border: 1px solid rgba(255,255,255,.4); border-radius: 60px; font-size: clamp(14px, 1.4vw, 18px); letter-spacing: .06em; transition: background .4s, color .4s; }
.contact__links a:hover { background: #fff; color: var(--ink); }
.socials { margin-top: 40px; display: flex; gap: 32px; justify-content: center; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.socials a:hover { color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #8c8c8c; padding: 40px var(--gutter) 30px; font-size: 13px; }
.footer__seo { font-size: 12px; max-width: 900px; margin-bottom: 28px; color: #6e6e6e; }
.footer__row { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; border-top: 1px solid #2c2c2c; padding-top: 22px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer a:hover { color: #fff; }
.footer__credit { margin-top: 18px; font-size: 12px; letter-spacing: .08em; color: #6e6e6e; text-align: center; }
.footer__credit a { color: #b5b5b5; border-bottom: 1px solid #444; padding-bottom: 1px; transition: color .3s, border-color .3s; }
.footer__credit a:hover { border-color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav {
    position: fixed; inset: 0; background: var(--bg); flex-direction: column; justify-content: center; gap: 28px;
    clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease); z-index: -1;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .nav a { font-family: var(--serif); font-size: 38px; letter-spacing: 0; text-transform: none; }
  .nav .nav__cta { font-size: 30px; }
  .burger { display: block; }
  .brand__mark { width: 44px; height: 44px; font-size: 34px; }
  .brand__text strong { font-size: 18px; }
  .brand__text em { font-size: 9px; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .scroll-hint { display: none; }
  .service, .studio { grid-template-columns: 1fr; }
  .service--rev .service__media { order: 0; }
  .service__frame { aspect-ratio: 4/5; }
  .service__num { font-size: 80px; }
  .studio__visual { max-width: 520px; width: 100%; margin: 0 auto 40px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .hgallery__track { padding-left: var(--gutter); padding-right: 30vw; }
  .hcard { width: 68vw; }
  .manifesto__float { opacity: .55; }
  .f2, .f3 { display: none; }
}
@media (max-width: 520px) {
  .studio__badge { width: 104px; height: 104px; left: 58%; }
  .studio__badge strong { font-size: 22px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stats span { font-size: 9px; letter-spacing: .1em; }
  .contact__links a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .service__frame { clip-path: none; }
  .manifesto__text .word { opacity: 1; }
}
