/* ============ SoHo Beleza e Cuidado ============ */
:root {
  --bg: #121212;
  --bg-2: #1a1918;
  --paper: #f2eee8;
  --muted: rgba(242, 238, 232, .64);
  --faint: rgba(242, 238, 232, .4);
  --line: rgba(242, 238, 232, .13);
  --champ: #d4b483;
  --sans: 'Jost', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --gutter: clamp(20px, 4.5vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--champ); }
::selection { background: var(--champ); color: #111; }
main, .foot { position: relative; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; }
.loader__word { display: flex; font-size: clamp(56px, 12vw, 150px); font-weight: 200; line-height: 1; overflow: hidden; }
.loader__word span { display: inline-block; transform: translateY(110%); }
html:not(.js) .loader { display: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 20px var(--gutter);
  padding-top: max(20px, env(safe-area-inset-top));
  transition: padding .5s var(--ease), background .5s, transform .6s var(--ease);
}
.nav.is-scrolled { padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: 12px; background: rgba(18,18,18,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav.is-hidden { transform: translateY(-110%); }
.logo { display: flex; flex-direction: column; line-height: 1; margin-right: auto; position: relative; z-index: 2; }
.logo__word { font-size: 28px; font-weight: 300; }
.logo__sub { font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { font-size: 14px; letter-spacing: .06em; color: var(--muted); transition: color .3s; }
.nav__links a:hover { color: var(--paper); }
.nav__burger { display: none; position: relative; z-index: 2; background: none; border: 0; padding: 12px; margin-right: -12px; cursor: pointer; }
.nav__burger span { display: block; width: 24px; height: 1.5px; background: var(--paper); margin: 6px 0; transition: transform .4s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mnav {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 100px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.mnav.is-open { opacity: 1; visibility: visible; }
.mnav a:not(.btn) { font-size: 38px; font-weight: 200; line-height: 1.3; padding: 4px 0; }
.mnav .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 400;
  transition: background .35s, color .35s, border-color .35s;
}
.btn--sm { min-height: 40px; padding: 0 20px; font-size: 12px; }
.btn--light { background: var(--paper); color: #111; }
.btn--light:hover { background: var(--champ); }
.btn--ghost { border: 1px solid var(--line); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); }
.arrow { width: 16px; height: 1px; background: currentColor; position: relative; display: inline-block; transition: width .4s var(--ease); }
.arrow::after { content: ''; position: absolute; right: 0; top: -3.5px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow, .link-ig:hover .arrow { width: 24px; }

.eyebrow { font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--champ); margin: 0 0 20px; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center; gap: clamp(32px, 6vw, 100px);
  padding: 130px var(--gutter) 70px;
}
.hero__title { font-weight: 200; font-size: clamp(52px, 7.6vw, 140px); line-height: .95; letter-spacing: -.035em; margin: 0 0 32px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .word { display: inline-block; }
.hero__title em { letter-spacing: -.01em; }
.hero__lead { max-width: 34ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); margin: 0 0 36px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__photo {
  margin: 0; position: relative; overflow: hidden;
  aspect-ratio: 3 / 4; max-height: 76vh; width: 100%; justify-self: end;
  border-radius: 999px 999px 24px 24px;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

/* ---------- MANIFESTO ---------- */
.manifesto { padding: clamp(110px, 22vh, 240px) var(--gutter); }
.manifesto__text { font-size: clamp(28px, 4.2vw, 68px); font-weight: 200; line-height: 1.16; letter-spacing: -.02em; max-width: 18em; margin: 0; }
.split-words .w { display: inline-block; opacity: .15; }

/* ---------- SERVIÇOS (desktop: horizontal fixo) ---------- */
.services__pin { height: 100vh; height: 100svh; overflow: hidden; position: relative; }
.services__head { position: absolute; top: 108px; left: var(--gutter); right: var(--gutter); z-index: 3; display: flex; justify-content: space-between; align-items: center; }
.services__head .eyebrow { margin: 0; }
.services__progress { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .15em; color: var(--muted); font-variant-numeric: tabular-nums; }
.services__progress i { width: 120px; height: 1px; background: var(--line); position: relative; }
.services__progress b { position: absolute; inset: 0; background: var(--champ); transform-origin: left; transform: scaleX(.2); }
.services__track { display: flex; height: 100%; will-change: transform; }
.svc {
  flex: 0 0 100vw; height: 100%;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  align-items: center; gap: clamp(40px, 6vw, 110px);
  padding: 160px var(--gutter) 70px;
}
.svc__card { aspect-ratio: 4 / 5; max-height: calc(100svh - 240px); width: 100%; justify-self: end; border-radius: 20px; overflow: hidden; }
.svc__card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.svc__num { font-size: 13px; letter-spacing: .2em; color: var(--faint); display: block; margin-bottom: 14px; }
.svc__title { font-size: clamp(48px, 5.6vw, 100px); font-weight: 200; line-height: .95; letter-spacing: -.035em; margin: 0 0 26px; }
.svc__title em { display: block; font-size: .5em; letter-spacing: 0; margin-top: 8px; }
.svc__text { color: var(--muted); max-width: 38ch; margin: 0 0 24px; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.svc__tags li { font-size: 12px; letter-spacing: .06em; padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

/* ---------- STUDIO ---------- */
.studio { height: 240vh; position: relative; }
.studio__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.studio__mask { position: absolute; inset: 0; clip-path: inset(24% 30% 24% 30% round 24px); will-change: clip-path; }
.studio__mask img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.25); }
.studio__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,12,.86), rgba(12,12,12,.45) 60%, rgba(12,12,12,.2)); opacity: 0; }
.studio__copy { position: relative; z-index: 2; padding: 0 var(--gutter); max-width: 1100px; }
.studio__title { font-size: clamp(40px, 5.8vw, 100px); font-weight: 200; line-height: 1; letter-spacing: -.03em; margin: 0 0 26px; }
.studio__title > * { display: inline-block; }
.studio__lead { max-width: 38ch; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); margin: 0; }
.studio__copy .eyebrow, .studio__title > *, .studio__lead { opacity: 0; transform: translateY(30px); }

/* ---------- PILARES ---------- */
.pillars { padding: clamp(100px, 16vh, 170px) var(--gutter); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 36px 36px 0 0; }
.pillar + .pillar { padding-left: 36px; border-left: 1px solid var(--line); }
.pillar__n { font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--champ); line-height: 1; display: block; margin-bottom: 28px; }
.pillar h3 { font-weight: 300; font-size: 24px; margin: 0 0 10px; }
.pillar p { color: var(--muted); margin: 0; }

/* ---------- GALERIA ---------- */
.gal { padding: clamp(80px, 12vh, 140px) var(--gutter); }
.gal__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 40px; margin-bottom: clamp(40px, 6vh, 70px); }
.gal__head .eyebrow { grid-column: 1 / -1; margin-bottom: 4px; }
.gal__title { font-size: clamp(40px, 5.4vw, 92px); font-weight: 200; line-height: 1; letter-spacing: -.03em; margin: 0; }
.link-ig { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .06em; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 6px; transition: color .3s, border-color .3s; }
.link-ig:hover { color: var(--paper); border-color: var(--champ); }
.gal__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(220px, 26vw, 420px); grid-auto-flow: dense; gap: clamp(10px, 1.4vw, 20px); }
.gal__item { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.gal__item--tall { grid-row: span 2; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal__item:hover img { transform: scale(1.04); }
.gal__item figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-size: 13px; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.gal__item::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.5)); pointer-events: none; }

/* ---------- TRANSFORMAÇÃO ---------- */
.transform { padding: clamp(80px, 14vh, 160px) var(--gutter); }
.transform__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; max-width: 1400px; margin: 0 auto; }
.transform__img { margin: 0; position: relative; border-radius: 20px; overflow: hidden; }
.transform__img img { width: 100%; aspect-ratio: 481 / 640; object-fit: cover; transform: scale(1.1); }
.transform__img figcaption { position: absolute; left: 16px; top: 16px; z-index: 1; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: rgba(18,18,18,.7); padding: 7px 13px; border-radius: 999px; }
.transform__copy h2 { font-size: clamp(38px, 4.8vw, 80px); font-weight: 200; line-height: 1.02; letter-spacing: -.03em; margin: 0 0 26px; }
.transform__copy p { color: var(--muted); max-width: 42ch; margin: 0 0 34px; }

/* ---------- MARQUEE ---------- */
.marquee { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee__row { display: flex; gap: 36px; white-space: nowrap; width: max-content; font-size: clamp(34px, 5vw, 80px); font-weight: 200; letter-spacing: -.02em; line-height: 1.1; }
.marquee__row span:nth-child(4n+1) { font-family: var(--serif); font-style: italic; color: var(--champ); }
.marquee__row i { font-style: normal; color: var(--faint); font-size: .4em; align-self: center; }

/* ---------- VISITE ---------- */
.visit { padding: clamp(90px, 15vh, 170px) var(--gutter); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); max-width: 1500px; margin: 0 auto; }
.visit__title { font-size: clamp(42px, 5.6vw, 96px); font-weight: 200; line-height: 1; letter-spacing: -.035em; margin: 0 0 44px; }
.visit__info { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin: 0 0 40px; }
.visit__info dt { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.visit__info dd { margin: 0; font-size: 18px; line-height: 1.45; }
.visit__info a { border-bottom: 1px solid var(--line); }
.visit__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.visit__map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); min-height: 420px; position: relative; }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.9); }

/* ---------- FOOTER ---------- */
.foot { padding: 50px var(--gutter) max(32px, env(safe-area-inset-bottom)); overflow: hidden; border-top: 1px solid var(--line); }
.foot__big { font-size: clamp(110px, 30vw, 540px); font-weight: 200; line-height: .8; letter-spacing: -.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(242,238,232,.2); user-select: none; }
.foot__row { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.to-top:hover { color: var(--paper); }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: #111;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.7);
  transform: scale(0); transition: transform .5s var(--ease), background .3s;
}
.wa-float.is-on { transform: scale(1); }
.wa-float:hover { background: var(--champ); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }

/* =============== celular / tablet =============== */
@media (max-width: 1000px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }

  .hero { grid-template-columns: 1fr; align-items: end; gap: 28px; padding-top: 100px; padding-bottom: 44px; }
  .hero__photo { order: -1; justify-self: start; width: min(46vw, 280px); max-height: none; }
  .hero__title { font-size: clamp(46px, 13.4vw, 96px); margin-bottom: 22px; }
  .hero__lead { margin-bottom: 28px; }

  /* serviços viram lista vertical */
  .services { padding: 40px 0 20px; }
  .services__pin { height: auto; overflow: visible; }
  .services__head { position: static; padding: 0 var(--gutter); margin-bottom: 8px; }
  .services__progress { display: none; }
  .services__track { display: block; height: auto; }
  .svc { display: grid; grid-template-columns: 1fr; gap: 24px; height: auto; padding: 36px var(--gutter) 48px; border-bottom: 1px solid var(--line); }
  .svc:last-child { border-bottom: 0; }
  .svc__card { justify-self: stretch; aspect-ratio: 4 / 3; max-height: none; border-radius: 16px; }
  .svc__card img { transform: none; }
  .svc__title { font-size: clamp(44px, 12vw, 72px); margin-bottom: 18px; }
  .svc__text { font-size: 16px; }
  .svc__tags { margin-bottom: 24px; }

  .studio { height: 200vh; }
  .studio__mask { clip-path: inset(22% 16% 22% 16% round 20px); }
  .studio__shade { background: linear-gradient(0deg, rgba(12,12,12,.9) 10%, rgba(12,12,12,.35) 70%); }
  .studio__pin { align-items: flex-end; padding-bottom: 60px; }

  .pillars__grid { grid-template-columns: 1fr; border-top: 0; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .pillar__n { font-size: 36px; margin-bottom: 16px; }

  .gal__head { grid-template-columns: 1fr; }
  .gal__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 58vw; }
  .gal__item--tall { grid-row: auto; }
  .gal__item figcaption { font-size: 12px; left: 10px; bottom: 8px; }

  .transform__grid, .visit__grid { grid-template-columns: 1fr; }
  .visit__map { min-height: 320px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .visit__info { grid-template-columns: 1fr; }
  .visit__ctas .btn { flex: 1 1 100%; }
  .svc .btn { width: 100%; }
  .foot__row { flex-direction: column; }
}
@media (max-height: 760px) and (min-width: 1001px) {
  .svc { padding-top: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .gal__item img { transition: none; }
}
