/* ============================================================
   LA FONT ART — Tattoo Studio
   Dark · monocromático · tipografia pesada
   ============================================================ */

:root {
  --bg:        #0a0a0a;
  --bg-2:      #111111;
  --bg-3:      #181818;
  --line:      #2a2a2a;
  --fg:        #f4f4f4;
  --fg-dim:    #9a9a9a;
  --fg-faint:  #5c5c5c;
  --white:     #ffffff;

  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 72px);

  --font-display: "Anton", "Archivo", sans-serif;
  --font-cond:    "Bebas Neue", "Archivo", sans-serif;
  --font-body:    "Archivo", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* film grain overlay sobre tudo */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- helpers ---------- */
.section__eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 1rem;
}

.mockup-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--fg-faint);
  border: 1px solid var(--line);
  padding: 4px 8px;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(2px);
}

/* mockup texture base (usado por todos placeholders) */
.hero__media,
.about__photo,
.tile {
  position: relative;
  background-color: var(--bg-2);
  background-image:
    radial-gradient(120% 80% at 30% 20%, #1c1c1c 0%, #0d0d0d 55%, #050505 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.015) 0 2px, transparent 2px 9px);
  overflow: hidden;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  background: linear-gradient(180deg, rgba(0,0,0,.85), transparent);
  transition: background .3s ease, padding .3s ease;
}
.nav.is-scrolled {
  background: rgba(8,8,8,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav__brand { display: flex; flex-direction: row; align-items: center; gap: 12px; line-height: 1; opacity: 0; will-change: opacity, transform; }
.nav__brand-text { display: flex; flex-direction: column; }
.nav__logo { height: 44px; width: auto; display: block; transition: height .3s ease; }
.nav.is-scrolled .nav__logo { height: 38px; }
.nav__title { height: 34px; width: auto; display: block; transition: height .3s ease; }
.nav.is-scrolled .nav__title { height: 30px; }
.nav__brand-main {
  font-family: "Cinzel", serif;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: .04em;
}
.nav__brand-sub {
  font-family: var(--font-body);
  font-size: .58rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 3px;
}

.nav__links { display: flex; gap: 2.4rem; }
.nav__links a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  position: relative;
  transition: color .25s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--white);
  transition: width .25s ease;
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }

.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span {
  display: block; width: 26px; height: 2px;
  background: var(--fg); margin: 5px 0;
  transition: transform .3s ease, opacity .3s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100vh; width: min(78vw, 320px);
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 0 var(--pad);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.6,.05,.2,1);
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  font-family: var(--font-cond);
  font-size: 2rem;
  letter-spacing: .05em;
  color: var(--fg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--pad) clamp(48px, 8vh, 96px);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* >>> TROCAR MOCKUP: descomente e aponte para a foto real <<<
     background-image: url("images/hero.jpg");
     background-size: cover;
     background-position: center 30%;
  */
  background-size: cover;
  background-position: center;
  filter: grayscale(.2) contrast(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.55) 70%, #0a0a0a 100%),
    linear-gradient(90deg, rgba(0,0,0,.7) 0%, transparent 60%);
}

.hero__content { max-width: 980px; display: flex; flex-direction: column; align-items: center; }

/* ---- lockup estilo JCM INK ---- */
.lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: center top;
  will-change: transform, opacity;
}
.lockup__eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(.7rem, 1.6vw, .95rem);
  letter-spacing: .55em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding-left: .55em;
}
.lockup__divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(360px, 64vw);
  margin: 16px 0 24px;
}
.lockup__divider span {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 30%, var(--fg-dim), var(--line) 70%, transparent);
}
.lockup__divider i { font-style: normal; color: var(--fg-dim); font-size: .72rem; }

/* título em PNG (lettering extraído da logo) */
.lockup__title { margin: 0; line-height: 0; }
.lockup__title img {
  display: block;
  width: min(680px, 86vw);
  height: auto;
  filter: drop-shadow(0 3px 20px rgba(0,0,0,.55));
}

.lockup__desc {
  max-width: 56ch;
  margin: 22px auto 0;
  color: var(--fg-dim);
  font-size: clamp(.84rem, 1.4vw, 1rem);
  line-height: 1.75;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2.6rem; }

.hero__scroll {
  position: absolute;
  right: var(--pad);
  bottom: clamp(48px, 8vh, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--fg-faint);
}
.hero__scroll span {
  font-size: .6rem; letter-spacing: .3em; writing-mode: vertical-rl;
}
.hero__scroll i {
  width: 1px; height: 46px;
  background: linear-gradient(var(--fg-faint), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.3;transform:scaleY(.6)} 50%{opacity:1;transform:scaleY(1)} }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 16px 34px;
  border: 1px solid var(--white);
  transition: background .25s ease, color .25s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--white); color: #000; }
.btn--solid:hover { background: transparent; color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  padding: 22px 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg);
}
.marquee__track i { color: var(--fg-faint); font-style: normal; font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(72px, 12vh, 160px) var(--pad);
}
.about__photo {
  aspect-ratio: 4 / 5;
  /* >>> TROCAR MOCKUP: background-image: url("images/patrick.jpg"); background-size: cover; <<< */
  filter: grayscale(.25) contrast(1.05);
}
.about__name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: .9;
  text-transform: uppercase;
}
.about__role {
  font-family: var(--font-cond);
  font-size: 1.2rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin: .6rem 0 1.8rem;
}
.about__body p { color: var(--fg-dim); margin-bottom: 1.1rem; max-width: 52ch; }

.about__stats {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  list-style: none;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.about__stats li { display: flex; flex-direction: column; }
.about__stats strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}
.about__stats span {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-top: .4rem;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(40px, 6vh, 80px) clamp(12px, 2vw, 28px) clamp(72px, 12vh, 140px);
}
.gallery__head { text-align: center; margin-bottom: clamp(36px, 6vh, 64px); }
.gallery__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 6rem);
  line-height: .9;
  text-transform: uppercase;
}
.gallery__sub { color: var(--fg-dim); max-width: 44ch; margin: 1rem auto 0; font-size: .92rem; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 14px;
}
.tile {
  position: relative;
  grid-row: span 2;                 /* retrato padrão: 1 coluna × 2 linhas */
  overflow: hidden;
  filter: grayscale(.35);
  cursor: pointer;
  transition: filter .4s ease;
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.tile::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: rgba(0,0,0,.28);
  transition: background .4s ease;
}
.tile:hover { filter: grayscale(0); }
.tile:hover::before { background: rgba(0,0,0,0); }
.tile:hover img { transform: scale(1.05); }
.tile--lg { grid-column: span 2; grid-row: span 3; }  /* destaque: maior, mantém retrato */

.gallery__more {
  display: block;
  text-align: center;
  margin-top: clamp(36px, 6vh, 56px);
  font-family: var(--font-cond);
  font-size: 1.5rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color .25s ease;
}
.gallery__more:hover { color: var(--white); }

/* ============================================================
   FOOTER / CONTATO
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  text-align: left;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(72px, 14vh, 160px) var(--pad);
}
.footer__addr {
  font-style: normal;
  font-size: .92rem;
  letter-spacing: .04em;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.footer__addr a {
  color: var(--fg-dim);
  transition: color .25s ease;
  border-bottom: 1px solid transparent;
}
.footer__addr a:hover { color: var(--white); border-bottom-color: var(--line); }
.footer__map {
  width: 100%;
  aspect-ratio: 16 / 11;
  border: 1px solid var(--line);
  overflow: hidden;
  filter: grayscale(1) contrast(1.05) brightness(.85);
  transition: filter .45s ease;
}
.footer__map:hover { filter: grayscale(0) brightness(1); }
.footer__map iframe { display: block; width: 100%; height: 100%; }
.footer__cta .section__eyebrow { margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.footer__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 8rem);
  line-height: .88;
  text-transform: uppercase;
  margin-bottom: 2.4rem;
}
.footer__buttons { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; }

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 26px var(--pad);
  border-top: 1px solid var(--line);
}
.footer__brand { display: flex; flex-direction: column; line-height: 1; }
.footer__brand-main { font-family: "Cinzel", serif; font-weight: 900; font-size: 1.2rem; letter-spacing: .04em; }
.footer__brand-sub {
  font-size: .55rem; letter-spacing: .42em; text-transform: uppercase;
  color: var(--fg-dim); margin-top: 3px;
}
.footer__copy { font-size: .72rem; letter-spacing: .1em; color: var(--fg-faint); }

/* ============================================================
   REVEAL ANIM
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__logo { height: 38px; }
  .nav__title { height: 28px; }

  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }

  .footer__cta { grid-template-columns: 1fr; }
  .footer__map { aspect-ratio: 16 / 12; }

  .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }

  .hero { align-items: center; padding-top: 110px; padding-bottom: 120px; }
  .hero__scroll {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    gap: 8px;
  }
  .hero__scroll i { height: 30px; }
}

@media (max-width: 640px) {
  .about__stats { flex-wrap: wrap; gap: 18px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 175px; }
  .tile--lg { grid-column: span 2; grid-row: span 3; }
}
