/* =========================================================
   Nana Tattoo — « Atelier nocturne · encre & laiton »
   Dark + brass, grain, condensed display + editorial serif
   ========================================================= */

:root {
  --ink:    #0c0b0e;
  --ink-2:  #131217;
  --ink-3:  #1a181f;
  --line:   rgba(201,160,86,.22);
  --brass:  #c79a4b;
  --brass-2:#e7c984;
  --bone:   #ece5d8;
  --fg:     #e9e3d7;
  --muted:  #9a9287;
  --maxw:   1180px;
  --font-display: "Anton", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Spectral", Georgia, serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; }

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

/* anchor offset so fixed ticker+header don't cover section tops */
section[id], [id].band { scroll-margin-top: 7rem; }

/* ---- film grain overlay ---- */
.grain::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- shared type ---- */
.kicker, .index-label {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--brass); font-weight: 500;
}
.index-label { display: inline-block; margin-bottom: 1.4rem; }
.index-label::before {
  content: ""; display: inline-block; width: 1.8rem; height: 1px;
  background: var(--brass); vertical-align: middle; margin-right: .7rem;
}
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.sec-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 2.4rem; line-height: .92;
  letter-spacing: .01em; text-transform: uppercase;
}
.sec-lead { color: var(--muted); max-width: 46ch; margin-top: 1.2rem; font-size: 1.05rem; }
.sec-head { margin-bottom: 2.8rem; }

/* =================== TICKER =================== */
.ticker {
  position: fixed; top: 0; left: 0; right: 0; z-index: 56;
  background: var(--brass); color: var(--ink);
  overflow: hidden; white-space: nowrap; border-bottom: 1px solid #00000022;
}
.ticker-track {
  display: flex; width: max-content;
  padding: .5rem 0; font-family: var(--font-mono); font-size: .72rem;
  font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  animation: ticker 44s linear infinite; will-change: transform;
}
/* chaque séquence a une largeur STRICTEMENT identique (gap interne + padding final
   = même espacement à la jonction) : -50% tombe pile sur une frontière de séquence */
.ticker-seq { display: flex; align-items: center; gap: 1.5rem; padding-right: 1.5rem; flex-shrink: 0; }
.ticker .dot { opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =================== HEADER =================== */
.site-header {
  position: fixed; top: 33px; left: 0; right: 0; z-index: 50;
  transition: background .35s ease, border-color .35s ease, padding .35s ease;
  border-bottom: 1px solid transparent; padding: .35rem 0;
}
.site-header.scrolled {
  background: rgba(12,11,14,.82); backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; }
.brand {
  font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .04em;
  text-transform: uppercase; line-height: 1; color: var(--bone);
}
.brand span { color: var(--brass); margin-left: .18em; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--fg); transition: color .2s;
}
.nav a:hover { color: var(--brass-2); }
.nav-cta {
  border: 1px solid var(--brass); color: var(--brass) !important;
  padding: .5rem .9rem; border-radius: 2px;
}
.nav-cta:hover { background: var(--brass); color: var(--ink) !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; cursor: pointer; padding: .4rem;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--bone); transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================== HERO =================== */
.hero {
  position: relative; min-height: 100vh; display: grid; place-items: center;
  text-align: center; padding: 7rem 0 4rem; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(199,160,86,.14), transparent 58%),
    linear-gradient(180deg, rgba(14,11,9,.78), rgba(13,11,9,.92) 78%),
    image-set(url("../assets/studio/hero.webp") type("image/webp"),
              url("../assets/studio/hero.jpg") type("image/jpeg")) center/cover no-repeat;
}
.hero-glow {
  position: absolute; width: 70vw; height: 70vw; max-width: 820px; max-height: 820px;
  border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-46%);
  background: radial-gradient(circle, rgba(199,160,86,.16), transparent 62%);
  filter: blur(20px); pointer-events: none;
}
/* pas de z-index ici : un stacking context isolerait le mix-blend-mode du logo */
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero .kicker { margin-bottom: 1.6rem; }
.hero-logo-wrap { margin: .6rem 0 0; }
.hero-logo {
  width: min(640px, 88vw);
  height: auto;
  mix-blend-mode: screen; /* le fond noir pur du JPG disparaît sur la photo */
  filter: drop-shadow(0 6px 30px rgba(0,0,0,.55));
}
.hero-sub {
  margin-top: 1.8rem; max-width: 34ch; font-size: clamp(1rem,2.4vw,1.25rem);
  color: var(--muted); font-weight: 300;
}
.hero-sub strong { color: var(--fg); font-weight: 500; }
.hero-cta { display: flex; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; justify-content: center; }
.scroll-hint {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  z-index: 2; font-family: var(--font-mono); color: var(--brass); font-size: 1.2rem;
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* =================== BUTTONS =================== */
.btn {
  position: relative; display: inline-block; font-family: var(--font-mono);
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  padding: .95rem 1.7rem; border-radius: 2px; overflow: hidden; transition: color .3s, border-color .3s;
}
.btn-fill { background: var(--brass); color: var(--ink); }
.btn-fill::after {
  content: ""; position: absolute; inset: 0; background: var(--brass-2);
  transform: translateY(101%); transition: transform .35s ease; z-index: -1;
}
.btn-fill:hover::after { transform: translateY(0); }
.btn-ghost { border: 1px solid var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-2); }

.link-arrow {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brass); display: inline-flex; gap: .5rem;
  margin-top: 1.8rem; border-bottom: 1px solid var(--line); padding-bottom: .3rem;
}
.link-arrow span { transition: transform .3s; }
.link-arrow:hover span { transform: translateX(6px); }

/* =================== BANDS =================== */
.band { padding: clamp(4.5rem, 11vw, 8rem) 0; position: relative; }
.band + .band { border-top: 1px solid var(--line); }

.intro { background: var(--ink-2); }
.lede {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(1.5rem, 4.2vw, 2.7rem); line-height: 1.32; max-width: 22ch + 40ch;
  max-width: 60rem;
}
.lede em { font-style: italic; color: var(--brass-2); }

/* =================== ARTISTS =================== */
.artists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.artist-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 4px; background: var(--ink-3);
  transition: border-color .3s ease, transform .3s ease;
}
.artist-card:hover { border-color: var(--brass); transform: translateY(-5px); }
.artist-photo { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--ink); }
.artist-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: transform .5s ease, opacity .3s; }
.artist-card:hover .artist-photo img { transform: scale(1.05); opacity: 1; }
.artist-photo figcaption {
  position: absolute; bottom: .85rem; left: .9rem; font-family: var(--font-mono);
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.artist-body { padding: 1.5rem 1.5rem 1.9rem; }
.artist-name {
  font-family: var(--font-display); font-weight: 400; font-size: 1.75rem;
  letter-spacing: .03em; text-transform: uppercase; color: var(--bone); line-height: 1;
}
.artist-role {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brass); margin: .55rem 0 1rem;
}
.artist-bio { color: var(--muted); font-size: 1rem; }

/* =================== FEATURE (split) =================== */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature.alt { background: var(--ink-2); }
.feature-photo { position: relative; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; aspect-ratio: 4/5; background: var(--ink-3); }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.feature-photo figcaption {
  position: absolute; bottom: 1rem; left: 1rem; font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
/* ---- section 03 : mise en scène vidéo ---- */
.feature-grid--video { align-items: center; grid-template-columns: 1fr auto; }
.feature-points {
  list-style: none; padding: 0; margin: 1.8rem 0 2rem;
  display: flex; flex-direction: column; gap: .8rem;
}
.feature-points li {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--fg);
  padding-left: 1.1rem; border-left: 2px solid var(--brass);
}
.studio-stage {
  position: relative; display: flex; flex-direction: column;
  align-items: center; gap: 1.1rem; padding: 1rem 0;
}
.studio-stage::before {
  content: ""; position: absolute; inset: -8% -18%;
  background: radial-gradient(closest-side, rgba(199,160,86,.13), transparent 70%);
  filter: blur(14px); pointer-events: none;
}
.stage-label {
  position: relative; font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .32em; text-transform: uppercase; color: var(--brass);
}
.stage-label::before, .stage-label::after {
  content: ""; display: inline-block; width: 2rem; height: 1px;
  background: var(--brass); vertical-align: middle; opacity: .7;
}
.stage-label::before { margin-right: .8rem; }
.stage-label::after { margin-left: .8rem; }
.video-frame {
  /* format élargi : la vidéo verticale est recadrée en 4:5 (centre conservé) */
  position: relative; width: min(520px, 88vw); margin: 0;
  border: 1px solid var(--brass); border-radius: 4px;
  padding: .6rem; background: var(--ink-2);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.video-frame::before {
  content: ""; position: absolute; inset: .55rem; z-index: 0;
  border: 1px solid var(--line); border-radius: 2px; pointer-events: none;
}
.video-frame .studio-video {
  position: relative; z-index: 1; display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px;
}
.video-frame figcaption {
  position: relative; z-index: 1; padding: .8rem .2rem .3rem; text-align: center;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}

/* =================== GALERIE / PORTFOLIO =================== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.shot {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  border: 1px solid var(--line); border-radius: 4px;
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2));
  display: grid; place-items: center;
  transition: border-color .3s ease, transform .3s ease;
}
.shot:hover { border-color: var(--brass); transform: translateY(-4px); }
.shot img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s ease, opacity .3s; }
.shot:hover img { transform: scale(1.05); opacity: 1; }
.shot-ph {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.shot::after {
  content: ""; position: absolute; top: .6rem; right: .6rem;
  width: .5rem; height: .5rem; border-top: 1px solid var(--brass);
  border-right: 1px solid var(--brass); opacity: .5;
}
.gallery-cta { margin-top: 2.4rem; }

/* =================== AVIS / CONFIANCE =================== */
/* =================== BIJOUX =================== */
.bijoux-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.bijou {
  aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line);
  border-radius: 2px; background: var(--ink-2); margin: 0;
}
.bijou img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: transform .5s ease, opacity .3s; }
.bijou:hover img { transform: scale(1.05); opacity: 1; }

.trust { background: var(--ink); }
.trust-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.quote {
  border: 1px solid var(--line); border-radius: 4px; background: var(--ink-2);
  padding: 1.8rem 1.6rem 1.5rem; display: flex; flex-direction: column; gap: 1.1rem;
}
.quote::before {
  content: "\201C"; font-family: var(--font-display); color: var(--brass);
  font-size: 2.6rem; line-height: .4; opacity: .8;
}
.quote p { color: var(--fg); font-size: 1.02rem; font-style: italic; }
.quote cite {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brass); font-style: normal; margin-top: auto;
}
.stats {
  list-style: none; padding: 0; margin: 3rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  border-top: 1px solid var(--line); padding-top: 2.6rem; text-align: center;
}
.stats li { display: flex; flex-direction: column; gap: .4rem; }
.stat-num {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1; color: var(--brass-2);
}
.stat-lbl {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}

/* =================== SERVICES =================== */
.services { background: var(--ink); text-align: center; }
.services .sec-head { text-align: center; }
.services .index-label::before { display: none; }
.svc-list {
  list-style: none; padding: 0; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2.4rem;
}
.svc-list li {
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--fg);
  border: 1px solid var(--line); border-radius: 2px; padding: 1.1rem 1.2rem;
  background: var(--ink-2);
}
.svc-note {
  max-width: 50ch; margin: 0 auto; border: 1px solid var(--line); border-radius: 4px;
  padding: clamp(2rem, 5vw, 3.2rem); background: var(--ink-2);
}
.svc-note p { color: var(--muted); margin-bottom: 1.8rem; }

/* =================== CONTACT =================== */
.contact { background: var(--ink-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,6vw,4rem); align-items: stretch; }
.ct-sub {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--brass); margin: 1.8rem 0 .8rem;
}
.hours { margin: 0 0 .6rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--line); max-width: 26rem; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; color: var(--fg); }
.direct-links { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.contact-info a:hover { color: var(--brass-2); }

/* =================== FORMULAIRE =================== */
.form-block { grid-column: 1 / -1; margin-top: 3rem; }
.form-block > p { max-width: 52ch; margin-top: .4rem; }
.hidden-field { position: absolute; left: -9999px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; margin: 1.6rem 0 1.8rem; }
.form-full { grid-column: 1 / -1; }
.soumission-form label {
  display: flex; flex-direction: column; gap: .45rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.soumission-form input, .soumission-form select, .soumission-form textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--fg);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 2px;
  padding: .75rem .9rem;
}
.soumission-form input:focus, .soumission-form select:focus, .soumission-form textarea:focus {
  outline: 2px solid var(--brass-2); outline-offset: 1px;
}
.soumission-form input[type="file"] { padding: .55rem; font-size: .85rem; color: var(--muted); }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }
.contact-info { font-style: normal; display: flex; flex-direction: column; gap: .35rem; margin: 1.6rem 0 1rem; }
.ci-line strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: .03em; color: var(--bone); }
.map-wrap { min-height: 340px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; filter: grayscale(.4) contrast(1.05); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* =================== FOOTER =================== */
.site-footer { padding: 3rem 0; border-top: 1px solid var(--line); background: var(--ink); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap; }
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.footer-links a:hover { color: var(--brass-2); }

/* =================== REVEAL ANIMATION =================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal.is-in { transition-duration: .9s; }

/* =================== RESPONSIVE =================== */
@media (max-width: 860px) {
  .feature-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature.alt .feature-photo { order: 2; }
  .artists, .gallery-grid, .trust-quotes, .bijoux-grid, .svc-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .artists, .trust-quotes, .bijoux-grid { grid-template-columns: 1fr; max-width: 22rem; margin-inline: auto; }
  .stats { grid-template-columns: 1fr; gap: 1.8rem; }
  .svc-list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-toggle { display: flex; z-index: 60; }
  .nav {
    position: fixed; inset: 0 0 0 30%; flex-direction: column; justify-content: center;
    align-items: flex-start; gap: 1.6rem; padding: 2rem; background: var(--ink-2);
    border-left: 1px solid var(--line); transform: translateX(100%);
    transition: transform .4s cubic-bezier(.6,0,.2,1);
  }
  .nav.open { transform: none; }
  .nav a { font-size: 1rem; }
}

/* fixed type scale by breakpoint — size never changes on scroll */
@media (min-width: 560px)  { .sec-title { font-size: 3rem; } }
@media (min-width: 860px)  { .sec-title { font-size: 3.8rem; } }
@media (min-width: 1200px) { .sec-title { font-size: 4.6rem; } }

/* =================== REDUCED MOTION =================== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track, .scroll-hint { animation: none; }
  html { scroll-behavior: auto; }
}
