/* =========================================================
   Ju Abel Nail Designer — Light Minimalist Editorial
   ========================================================= */

:root {
  --bg: #F7F4EF;
  --surface: #EDE7DE;
  --subtle: #E4DCCF;
  --frame: #EAE3D9;
  --ink: #1A1715;
  --ink-2: rgba(26, 23, 21, 0.64);
  --ink-3: rgba(26, 23, 21, 0.42);
  --bronze: #9A7B56;
  --line: rgba(26, 23, 21, 0.12);
  --hair: 1px solid var(--line);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4.4vw, 72px);
  --max: 1760px;
  --top-h: clamp(64px, 6.2vw, 84px);
  --sec-pad: clamp(96px, 14vw, 220px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html.is-loading body { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
em { font-style: italic; color: var(--bronze); }
::selection { background: var(--subtle); color: var(--ink); }

:focus-visible { outline: 1px solid var(--bronze); outline-offset: 4px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- micro typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1.5;
}
.eyebrow--bronze { color: var(--bronze); }
.dot { color: var(--bronze); margin-inline: .35em; }

.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; will-change: transform; }

/* ---------- grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.028;
  background: url("assets/grain.png") repeat;
  background-size: 128px 128px;
}

/* ---------- preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(20px, 3vw, 44px) var(--gutter);
  clip-path: inset(0 0 0 0);
}
html:not(.js) .preloader { display: none; }
.preloader__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.preloader__mark { font-weight: 500; color: var(--ink); }
.preloader__meta { color: var(--ink-2); }
.preloader__count {
  align-self: end;
  justify-self: end;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(6rem, 22vw, 20rem);
  line-height: .8;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  color: var(--ink);
  padding-bottom: clamp(16px, 2vw, 28px);
}
.preloader__pct { font-size: .32em; vertical-align: top; margin-left: .08em; color: var(--bronze); font-style: italic; letter-spacing: 0; }
.preloader__line { height: 1px; background: var(--line); position: relative; overflow: hidden; }
.preloader__line span { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
  html.has-cursor select, html.has-cursor select * { cursor: none !important; }
  .cursor { display: block; position: fixed; inset: 0 auto auto 0; z-index: 300; pointer-events: none; }
  .cursor__dot, .cursor__ring {
    position: fixed; top: 0; left: 0; pointer-events: none; border-radius: 50%;
    will-change: transform;
  }
  .cursor__dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: var(--ink); transition: opacity .3s; }
  .cursor__ring {
    width: 34px; height: 34px; margin: -17px 0 0 -17px;
    border: 1px solid rgba(26, 23, 21, .38);
    display: grid; place-items: center;
    transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .45s, border-color .45s, opacity .3s;
  }
  .cursor__label {
    font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
    color: var(--ink); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .45s var(--ease-out);
    white-space: nowrap;
  }
  .cursor.is-hover .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: rgba(26, 23, 21, .5); }
  .cursor.has-label .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgba(247, 244, 239, .78); border-color: rgba(26, 23, 21, .24); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .cursor.has-label .cursor__label { opacity: 1; transform: none; }
  .cursor.has-label .cursor__dot, .cursor.is-hover .cursor__dot { opacity: 0; }
  .cursor.is-hidden .cursor__dot, .cursor.is-hidden .cursor__ring { opacity: 0; }
}

/* ---------- progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; transition: opacity .5s; }
.progress span { display: block; height: 100%; background: var(--bronze); transform-origin: 0 50%; transform: scaleX(0); }
.progress.is-off { opacity: 0; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  height: 44px; padding: 0 22px;
  font-family: var(--sans); font-size: 11.5px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--ink); border-radius: 0;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-out), border-color .5s;
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .6s var(--ease-out);
}
.btn--line { color: var(--ink); background: transparent; }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--bg); }
.btn--line:hover::before { transform: scaleY(1); }
.btn--solid { color: var(--bg); background: var(--ink); }
.btn--solid::before { background: var(--bronze); }
.btn--solid:hover { border-color: var(--bronze); }
.btn--solid:hover::before { transform: scaleY(1); }
.btn--xl { height: 64px; padding: 0 40px; font-size: 12px; }

.link {
  display: inline-block; position: relative;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400;
  padding-bottom: 6px;
}
.link::after, .link::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
}
.link::before { background: var(--line); }
.link::after { background: var(--ink); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .7s var(--ease-out); }
.link:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

/* ---------- topbar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--top-h);
  display: flex; align-items: center; gap: clamp(16px, 3vw, 48px);
  padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color .6s var(--ease-out), border-color .6s, -webkit-backdrop-filter .6s, backdrop-filter .6s;
}
.topbar.is-scrolled {
  background: rgba(247, 244, 239, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; margin-right: auto; }
.brand__logo { display: none; height: clamp(40px, 3.6vw, 52px); width: auto; }
.brand.has-logo .brand__logo { display: block; }
.brand.has-logo .brand__word { display: none; }
.brand__word { display: flex; flex-direction: column; line-height: 1; gap: 6px; }
.brand__name { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: .26em; margin-right: -.26em; }
.brand__sub { font-size: 8.5px; letter-spacing: .44em; text-transform: uppercase; color: var(--ink-2); font-weight: 400; }

.nav { display: flex; gap: clamp(20px, 2.6vw, 44px); }
.nav a {
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 400;
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .6s var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

.menu-toggle {
  display: none; align-items: center; gap: 12px;
  background: none; border: 0; padding: 10px 0; cursor: pointer;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
}
.menu-toggle__lines { display: grid; gap: 6px; width: 22px; }
.menu-toggle__lines i { display: block; height: 1px; background: var(--ink); transition: transform .5s var(--ease-out); }
html.drawer-open .menu-toggle__lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
html.drawer-open .menu-toggle__lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 95;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--top-h) + 40px) var(--gutter) max(32px, env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
  visibility: hidden;
}
html.drawer-open .drawer { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.drawer__nav { display: flex; flex-direction: column; border-top: var(--hair); }
.drawer__nav a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1.1;
  padding: 14px 0; border-bottom: var(--hair);
}
.drawer__nav a span { font-family: var(--sans); font-size: 10px; letter-spacing: .2em; color: var(--bronze); }
.drawer__foot { display: grid; gap: 16px; }
.drawer__foot .btn { width: 100%; height: 54px; }
.drawer__foot p { font-size: 12px; color: var(--ink-2); letter-spacing: .04em; }

/* =========================================================
   STAGE
   ========================================================= */
.stage { position: relative; height: 700vh; background: var(--bg); }
.sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100lvh;
  overflow: hidden;
}
.film {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  background: var(--surface);
}
.film--canvas { background: transparent; opacity: 0; transition: opacity .4s; }
.film--canvas.is-ready { opacity: 1; }
.veil { position: absolute; inset: 0; pointer-events: none; }
.veil--base {
  background:
    linear-gradient(to bottom, rgba(247, 244, 239, .42) 0%, rgba(247, 244, 239, 0) 22%),
    linear-gradient(to top, rgba(247, 244, 239, .30) 0%, rgba(247, 244, 239, 0) 26%);
}
.veil--hero {
  background:
    linear-gradient(98deg, rgba(247, 244, 239, .55) 0%, rgba(247, 244, 239, .42) 38%, rgba(247, 244, 239, .12) 64%, rgba(247, 244, 239, 0) 80%),
    linear-gradient(to top, rgba(247, 244, 239, .5) 0%, rgba(247, 244, 239, 0) 46%);
}
.veil--center {
  opacity: 0;
  background: radial-gradient(ellipse 58% 44% at 50% 52%, rgba(247, 244, 239, .66) 0%, rgba(247, 244, 239, .5) 45%, rgba(247, 244, 239, .28) 72%, rgba(247, 244, 239, 0) 100%);
}

.viewport {
  position: absolute; left: 0; right: 0; top: 0;
  height: 100vh; height: 100svh;
}

/* hero */
.hero {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--top-h) + 24px) var(--gutter) clamp(72px, 12vh, 132px);
  max-width: var(--max); margin-inline: auto;
  will-change: opacity, transform;
}
.hero__eyebrow { margin-bottom: clamp(18px, 2.4vh, 32px); color: var(--ink); }
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.3rem, 9vw, 10.5rem);
  line-height: .9; letter-spacing: -0.025em;
  margin-left: -.04em;
}
.hero__title em { font-weight: 300; }
.hero__body {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 48px;
  margin-top: clamp(22px, 3.4vh, 40px);
  max-width: 980px;
}
.hero__sub { max-width: 40ch; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.6; color: var(--ink); }
.hero__techs {
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); font-weight: 400;
}
.hero__techs i { font-style: normal; color: var(--bronze); margin-inline: .5em; }

/* quick contact bar */
.quick {
  margin-top: clamp(24px, 3.6vh, 44px);
  display: grid; grid-template-columns: 1fr 1fr auto;
  max-width: 980px;
  background: rgba(247, 244, 239, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: var(--hair);
}
.quick__field {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  padding: 12px 44px 12px 22px; min-height: 68px;
  border-right: var(--hair);
  cursor: pointer;
}
.quick__field::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 7px; height: 7px; margin-top: -2px;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  transform: translateY(-50%) rotate(45deg); pointer-events: none;
}
.quick__label { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); font-weight: 400; }
.quick select {
  -webkit-appearance: none; appearance: none;
  background: transparent; border: 0; border-radius: 0; padding: 2px 0; margin: 0;
  font-family: var(--serif); font-size: 19px; font-weight: 400; color: var(--ink);
  width: 100%; outline: none; text-overflow: ellipsis;
}
.quick select:focus-visible { outline: none; }
.quick__field:focus-within { background: rgba(228, 220, 207, .45); }
.quick__submit {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 0 30px; border: 0; border-radius: 0;
  background: var(--ink); color: var(--bg);
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400;
  cursor: pointer; transition: background-color .5s var(--ease-out);
}
.quick__submit svg { transition: transform .6s var(--ease-out); }
.quick__submit:hover { background: var(--bronze); }
.quick__submit:hover svg { transform: translateX(4px); }

/* phrases */
.phrases { position: absolute; inset: 0; pointer-events: none; }
.phrase {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--top-h) var(--gutter) 0;
  opacity: 0; visibility: hidden;
  will-change: opacity, transform;
}
.phrase .eyebrow { margin-bottom: clamp(18px, 2.6vh, 30px); font-weight: 500; }
.phrase h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.7rem, 7.2vw, 8.4rem);
  line-height: .98; letter-spacing: -0.02em;
  text-shadow: 0 0 32px rgba(247, 244, 239, .85), 0 0 2px rgba(247, 244, 239, .5);
}
.phrase h2 em { color: #86663F; }
.hero__title { text-shadow: 0 0 36px rgba(247, 244, 239, .55); }

.hint {
  position: absolute; left: 50%; bottom: clamp(20px, 3.4vh, 36px); transform: translateX(-50%);
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); font-weight: 400;
  white-space: nowrap;
}
.hint__in { display: inline-block; transition: opacity .7s var(--ease-out); }
.hint__arrow { display: inline-block; margin-left: .5em; animation: hint 2.4s var(--ease-io) infinite; }
.hint.is-off .hint__in { opacity: 0; }
@keyframes hint { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { position: relative; padding-block: var(--sec-pad); }

.sec-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 28px;
  margin-bottom: clamp(56px, 8vw, 120px);
}
.sec-head .eyebrow { grid-column: 1 / -1; padding-top: 18px; border-top: var(--hair); }
.sec-title {
  grid-column: 1 / span 8;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 6.4rem);
  line-height: .98; letter-spacing: -0.02em;
}
.sec-title--xl { font-size: clamp(3.2rem, 8vw, 8.4rem); }
.sec-lead {
  grid-column: 9 / -1; align-self: end;
  font-size: clamp(15px, 1.05vw, 17px); color: var(--ink-2); max-width: 44ch;
}

/* works */
.works {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
}
.work { display: flex; flex-direction: column; }
.work:nth-child(even) { margin-top: clamp(0px, 6vw, 110px); }
.work__meta { padding-top: 22px; display: grid; gap: 12px; align-content: start; }
.work__idx { font-size: 10.5px; letter-spacing: .2em; color: var(--bronze); font-weight: 500; }
.work__idx span { color: var(--ink-3); font-weight: 400; }
.work h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.9vw, 2.1rem); line-height: 1.05; letter-spacing: -0.005em; }
.work p:not(.work__idx) { font-size: 14.5px; color: var(--ink-2); max-width: 34ch; }
.work .link { justify-self: start; margin-top: 8px; }

/* frame + editorial fallback */
.frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background-color: var(--frame);
  background-image:
    url("assets/textura.png"),
    linear-gradient(160deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 55%);
}
.frame__fallback {
  position: absolute; inset: 0;
  transition: opacity .8s var(--ease-out);
}
.frame__fallback::before {
  /* inner hairline frame */
  content: ""; position: absolute; inset: clamp(12px, 1.4vw, 20px);
  border: var(--hair);
}
.frame__fallback::after {
  /* horizon line */
  content: ""; position: absolute; left: clamp(12px, 1.4vw, 20px); right: clamp(12px, 1.4vw, 20px); top: 68%;
  height: 1px; background: var(--line);
}
.frame__arch {
  position: absolute; left: 50%; top: 22%; width: 42%; height: 46%;
  transform: translateX(-50%);
  border: var(--hair); border-bottom: 0;
  border-radius: 999px 999px 0 0;
}
.frame__num {
  position: absolute; left: clamp(24px, 2.6vw, 38px); top: clamp(20px, 2.2vw, 32px);
  font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1;
  color: var(--ink); font-variant-numeric: lining-nums;
}
.frame__cap {
  position: absolute; left: clamp(24px, 2.6vw, 38px); right: clamp(24px, 2.6vw, 38px); bottom: clamp(22px, 2.4vw, 34px);
  font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); font-weight: 400;
  display: flex; justify-content: space-between; gap: 12px;
}
.frame__cap::after { content: "Ju Abel"; color: var(--bronze); }
.frame__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.1s var(--ease-out), transform 1.6s var(--ease-out);
}
.frame.is-loaded .frame__img { opacity: 1; transform: none; }
.frame.is-loaded .frame__fallback { opacity: 0; }
.work:hover .frame.is-loaded .frame__img { transform: scale(1.025); }

/* ritual band */
.ritualband {
  position: relative; min-height: 72vh;
  display: grid; place-items: center;
  overflow: hidden; background: var(--surface);
  border-block: var(--hair);
}
.ritualband__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ritualband__veil {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(247, 244, 239, .55) 0%, rgba(247, 244, 239, .32) 55%, rgba(247, 244, 239, .18) 100%);
}
.ritualband__inner {
  position: relative; text-align: center; padding: clamp(96px, 12vw, 180px) var(--gutter);
  display: grid; justify-items: center; gap: clamp(20px, 2.6vw, 32px);
}
.band-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.5rem, 6.4vw, 7rem); line-height: 1; letter-spacing: -0.02em;
}
.band-sub { max-width: 52ch; font-size: clamp(15px, 1.05vw, 17px); color: var(--ink); }

/* diferenciais */
.sec-head--row .sec-title { grid-column: 1 / span 9; }
.pillars {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--hair);
}
.pillar {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; column-gap: clamp(24px, 3vw, 56px); row-gap: 14px;
  align-content: start;
  padding: clamp(40px, 5vw, 80px) clamp(0px, 4vw, 72px) clamp(40px, 5vw, 80px) 0;
  border-bottom: var(--hair);
}
.pillar:nth-child(odd) { border-right: var(--hair); }
.pillar:nth-child(even) { padding-left: clamp(24px, 4vw, 72px); padding-right: 0; }
.pillar__idx { position: absolute; top: 18px; right: clamp(0px, 1.4vw, 24px); font-size: 10.5px; letter-spacing: .2em; color: var(--ink-3); }
.pillar:nth-child(even) .pillar__idx { right: 0; }
.pillar__icon { grid-row: 1 / span 2; color: var(--bronze); width: 48px; height: 48px; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2.4rem); line-height: 1.05; }
.pillar p { grid-column: 2; font-size: 15px; color: var(--ink-2); max-width: 42ch; }

/* sobre */
.sobre { border-top: var(--hair); }
.sobre__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px); align-items: start;
}
.frame--portrait { grid-column: 1 / span 5; }
.sobre__text { grid-column: 7 / span 6; padding-top: clamp(0px, 6vw, 120px); display: grid; gap: clamp(24px, 3vw, 40px); }
.sobre__text > * { grid-column: 1 / -1; min-width: 0; }
.sobre__text .eyebrow { padding-top: 18px; border-top: var(--hair); }
.bio { display: grid; gap: 1.1em; max-width: 52ch; }
.bio p { font-size: clamp(15px, 1.05vw, 17px); color: var(--ink-2); }
.bio .bio__lead { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.6rem, 2.2vw, 2.3rem); line-height: 1.2; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--hair); }
.facts > div { padding: 18px 16px 0 0; }
.facts > div + div { padding-left: 16px; border-left: var(--hair); }
.facts dt { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); margin-bottom: 6px; font-weight: 400; }
.facts dd { font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; }
.signature { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2rem, 3vw, 3rem); color: var(--bronze); line-height: 1; }

/* formação */
.formacao { background: var(--surface); border-block: var(--hair); }
.formacao .sec-head .eyebrow { border-top-color: rgba(26, 23, 21, .14); }
.offers {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: var(--hair); border-bottom: var(--hair);
}
.offer { padding: clamp(36px, 4.4vw, 72px) clamp(0px, 4vw, 72px) clamp(36px, 4.4vw, 72px) 0; display: grid; gap: 16px; align-content: start; }
.offer + .offer { border-left: var(--hair); padding-left: clamp(24px, 4vw, 72px); padding-right: 0; }
.offer__idx { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--bronze); }
.offer h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.4vw, 3.6rem); line-height: 1; letter-spacing: -0.01em; }
.offer p:not(.offer__idx):not(.offer__meta) { font-size: 15px; color: var(--ink-2); max-width: 46ch; }
.offer__meta { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); font-weight: 400; margin-top: 8px; }
.formacao__cta { margin-top: clamp(48px, 6vw, 88px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.formacao__cta .btn { height: 58px; padding: 0 34px; }
.formacao__note { font-size: 12px; color: var(--ink-2); letter-spacing: .04em; }

/* contacto */
.contacto { padding-block: clamp(120px, 18vw, 280px); }
.contacto .eyebrow { margin-bottom: clamp(28px, 4vw, 56px); }
.contact-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 10.4vw, 12.5rem); line-height: .92; letter-spacing: -0.03em;
  margin-left: -.04em;
}
.contacto__row {
  margin-top: clamp(48px, 7vw, 110px);
  padding-top: clamp(28px, 3vw, 44px);
  border-top: var(--hair);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.contacto__info { display: flex; gap: clamp(28px, 5vw, 88px); }
.contacto__info dt { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); margin-bottom: 6px; font-weight: 400; }
.contacto__info dd { font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.8rem); line-height: 1.2; font-variant-numeric: lining-nums; }
.contacto__info a { background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat; transition: background-size .7s var(--ease-out); }
.contacto__info a:hover { background-size: 100% 1px; }

/* footer */
.footer { border-top: var(--hair); padding: clamp(64px, 8vw, 120px) 0 clamp(28px, 3vw, 40px); }
.footer__mark { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 4.6vw, 5rem); letter-spacing: .14em; line-height: 1; }
.footer__mark span { color: var(--bronze); }
.footer__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 96px); border-top: var(--hair);
}
.footer__grid > div { padding: 24px 24px 0 0; }
.footer__grid > div + div { padding-left: 24px; border-left: var(--hair); }
.footer__h { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); margin-bottom: 16px; font-weight: 400; }
.footer__grid li { font-size: 14px; color: var(--ink-2); line-height: 2; }
.footer__grid a { transition: color .3s; }
.footer__grid a:hover { color: var(--ink); }
.footer__base { margin-top: clamp(56px, 7vw, 100px); font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; }

/* =========================================================
   HERO RETRATO + PORTAL EM ARCO + PRELOADER DA UNHA
   ========================================================= */
.preloader__stage { align-self: center; justify-self: center; display: grid; justify-items: center; gap: 28px; }
.nail { width: clamp(96px, 8.5vw, 124px); height: auto; overflow: visible; }
.nail__outline { fill: none; stroke: rgba(26, 23, 21, .55); stroke-width: 1; vector-effect: non-scaling-stroke; }
.nail__coat {
  fill: none; stroke: #DDB8A8; stroke-opacity: .82; stroke-width: 40; stroke-linecap: round;
  stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0;
}
#nailS1 { stroke-width: 46; }
.preloader__phase {
  display: flex; align-items: baseline; gap: 14px;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); font-weight: 400;
}
.preloader__phase .preloader__pct {
  font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0; vertical-align: baseline;
  margin: 0; color: var(--bronze); font-variant-numeric: tabular-nums lining-nums;
}

.portal {
  position: absolute; inset: 0; overflow: hidden;
  background: var(--surface);
  clip-path: inset(100% 0 0 0); -webkit-clip-path: inset(100% 0 0 0);
}
.portal__portrait {
  position: absolute; left: 0; top: 0; width: 1px; height: 1px;
  object-fit: cover; object-position: 50% 16%;
  transform-origin: 50% 50%; will-change: transform, opacity;
}
.veil--base { opacity: 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  column-gap: clamp(32px, 6vw, 120px);
  align-items: end;
  padding-bottom: clamp(56px, 9vh, 104px);
}
.hero__content { min-width: 0; align-self: end; will-change: opacity, transform; }
.hero__aside { align-self: center; justify-self: end; display: flex; flex-direction: column; padding-top: 12px; }
.hero__arch { height: min(70vh, 780px); aspect-ratio: 40 / 64; }
.hero__caption {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding-top: 12px; border-top: var(--hair);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); font-weight: 400;
}
.hero__caption span:last-child { color: var(--bronze); }
.hero__title { font-size: clamp(4.2rem, 10.5vw, 12.5rem); line-height: .86; letter-spacing: -0.035em; }
.hero__statement {
  margin-top: clamp(20px, 3vh, 34px); max-width: 24ch;
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.1vw, 2.4rem); line-height: 1.14; letter-spacing: -0.005em;
}
.hero__statement em { color: var(--bronze); }
.hero__body { margin-top: clamp(14px, 2.2vh, 24px); max-width: 760px; }
.hero__sub { color: var(--ink-2); max-width: 46ch; }
.quick { max-width: 760px; }

@media (max-width: 1180px) and (min-width: 768px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .hero__arch { height: min(54vh, 620px); }
  .quick { grid-template-columns: 1fr 1fr; }
  .quick__submit { grid-column: 1 / -1; min-height: 56px; }
}
@media (min-width: 768px) and (max-height: 780px) {
  .hero__title { font-size: clamp(3.8rem, 8.6vw, 9rem); }
  .hero__sub { display: none; }
  .hero__arch { height: 60vh; }
}

/* componentes exclusivos do mobile — ocultos por defeito (desktop intocado) */
.hero__cta, .sheet, .works-nav, .dock { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(48px, 7vw, 80px); }
  .work:nth-child(even) { margin-top: clamp(0px, 8vw, 90px); }
  .sec-title { grid-column: 1 / -1; }
  .sec-lead { grid-column: 1 / span 9; }
}

@media (max-width: 960px) {
  .nav, .topbar__cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .sobre__grid { row-gap: 56px; }
  .frame--portrait { grid-column: 1 / span 10; }
  .sobre__text { grid-column: 1 / -1; padding-top: 0; }
  .pillar, .pillar:nth-child(even) { padding-right: clamp(16px, 3vw, 32px); }
}

@media (max-width: 767px) {
  .stage { height: 500vh; }
  .hero { padding-bottom: clamp(64px, 10svh, 96px); padding-top: calc(var(--top-h) + 12px); }
  .hero__title { font-size: clamp(3.1rem, 14.4vw, 5rem); }
  .hero__body { gap: 14px; margin-top: 18px; }
  .hero__sub { font-size: 15px; }
  .hero__techs { font-size: 9.5px; letter-spacing: .16em; line-height: 1.9; }
  .hero__techs i { margin-inline: .35em; }
  .veil--hero {
    background:
      linear-gradient(to top, rgba(247, 244, 239, .55) 0%, rgba(247, 244, 239, .42) 52%, rgba(247, 244, 239, .2) 78%, rgba(247, 244, 239, .1) 100%);
  }
  .quick { grid-template-columns: 1fr; margin-top: 22px; }
  .quick__field { min-height: 58px; padding: 9px 40px 9px 16px; border-right: 0; border-bottom: var(--hair); }
  .quick__field::after { right: 18px; }
  .quick select { font-size: 18px; }
  .quick__submit { height: 54px; }
  .hint { bottom: 18px; }

  .sec-head { margin-bottom: 48px; row-gap: 22px; }
  .sec-lead { grid-column: 1 / -1; }
  .works { grid-template-columns: 1fr; row-gap: 56px; }
  .work:nth-child(even) { margin-top: 0; }

  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(even) { padding: 36px 0; border-right: 0; grid-template-columns: 1fr; }
  .pillar:nth-child(odd) { border-right: 0; }
  .pillar__icon { grid-row: auto; margin-bottom: 8px; }
  .pillar p { grid-column: 1; }
  .pillar__idx, .pillar:nth-child(even) .pillar__idx { top: 36px; right: 0; }

  .frame--portrait { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div + div { padding: 14px 0; border-left: 0; border-bottom: var(--hair); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .facts dt { margin: 0; }

  .offers { grid-template-columns: 1fr; }
  .offer, .offer + .offer { padding: 36px 0; border-left: 0; }
  .offer + .offer { border-top: var(--hair); }
  .formacao__cta .btn { width: 100%; }

  .contacto__row { flex-direction: column; align-items: stretch; }
  .contacto__row .btn--xl { width: 100%; height: 60px; }
  .contacto__info { justify-content: space-between; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__grid > div, .footer__grid > div + div { padding: 22px 0; border-left: 0; border-bottom: var(--hair); }
  .footer__mark { letter-spacing: .08em; }
}

@media (max-width: 767px) and (max-height: 700px) {
  .hint { display: none; }
  .hero__sub { font-size: 14px; }
  .hero { padding-bottom: 28px; }
}


/* =========================================================
   MOBILE UPGRADE (≤960px tablet/menu · ≤767px telemóvel)
   Desktop (>1024px) não é afetado por nada abaixo.
   ========================================================= */
@media (max-width: 960px) {
  html.drawer-open, html.sheet-open { overflow: hidden; }
  .menu-toggle { min-height: 44px; }
  .drawer {
    bottom: auto;
    height: 100vh; height: 100svh;
    padding: calc(var(--top-h) + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  }
  .drawer__nav a {
    opacity: 0; transform: translate3d(0, 28px, 0);
    transition: opacity .6s var(--ease-out), transform .9s var(--ease-out);
  }
  html.drawer-open .drawer__nav a { opacity: 1; transform: none; }
  html.drawer-open .drawer__nav a:nth-child(1) { transition-delay: .28s; }
  html.drawer-open .drawer__nav a:nth-child(2) { transition-delay: .34s; }
  html.drawer-open .drawer__nav a:nth-child(3) { transition-delay: .40s; }
  html.drawer-open .drawer__nav a:nth-child(4) { transition-delay: .46s; }
  .drawer__nav a { font-weight: 300; font-size: clamp(2.5rem, 11.5vw, 3.6rem); padding: 16px 0; }
  .drawer__foot { gap: 18px; opacity: 0; transition: opacity .6s .5s; }
  html.drawer-open .drawer__foot { opacity: 1; }
  .drawer__loc { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
  .drawer__loc span { font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
  .drawer__foot .drawer__wa { width: 100%; height: 56px; }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --safe-top: env(safe-area-inset-top, 0px);
    --top-h: calc(64px + var(--safe-top));
    --sec-pad: 80px;
  }
  body { font-size: 15px; line-height: 1.6; }
  .eyebrow { font-size: 10.5px; letter-spacing: .18em; }

  /* topbar compacta + safe area */
  .topbar { height: var(--top-h); padding: var(--safe-top) 20px 0; gap: 16px; }
  .brand__logo { height: 34px; }

  /* preloader */
  .preloader { bottom: auto; height: 100vh; height: 100svh; padding: calc(20px + var(--safe-top)) 20px calc(24px + env(safe-area-inset-bottom)); }
  .preloader__count { justify-self: center; align-self: center; padding-bottom: 0; font-size: clamp(5.5rem, 30vw, 8rem); }

  /* stage: scrub mais ágil */
  .stage { height: 360vh; height: 360svh; }
  .veil--center {
    background: radial-gradient(ellipse 95% 44% at 50% 50%, rgba(247, 244, 239, .58) 0%, rgba(247, 244, 239, .34) 52%, rgba(247, 244, 239, 0) 100%);
  }
  .phrase h2 { font-size: clamp(2.4rem, 10.6vw, 3.2rem); line-height: 1.02; }

  /* hero limpa: título + subtítulo + um só botão */
  .hero { padding: calc(var(--top-h) + 16px) 20px calc(76px + env(safe-area-inset-bottom)); }
  .hero__eyebrow { margin-bottom: 16px; }
  .hero__title { font-size: clamp(2.6rem, 11vw, 3.6rem); line-height: .98; letter-spacing: -0.02em; }
  .hero__body { margin-top: 16px; }
  .hero__sub { font-size: 15px; line-height: 1.55; max-width: 34ch; }
  .hero__techs, .quick { display: none; }
  .hero__cta {
    display: flex; align-items: center; gap: 14px;
    width: 100%; min-height: 56px; margin-top: 24px; padding: 0 18px;
    border: 1px solid var(--ink); border-radius: 0;
    background: rgba(247, 244, 239, .72);
    color: var(--ink); cursor: pointer; text-align: left;
    font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400;
    transition: background-color .4s, color .4s;
  }
  .hero__cta:active { background: var(--ink); color: var(--bg); }
  .hero__cta-meta {
    margin-left: auto; font-family: var(--serif); font-style: italic; font-size: 15px;
    letter-spacing: 0; text-transform: none; color: var(--bronze);
  }
  .hint { bottom: calc(18px + env(safe-area-inset-bottom)); font-size: 9.5px; }
  .veil--hero {
    background: linear-gradient(to top, rgba(247, 244, 239, .84) 0%, rgba(247, 244, 239, .72) 38%, rgba(247, 244, 239, .4) 60%, rgba(247, 244, 239, .08) 78%, rgba(247, 244, 239, 0) 88%);
  }
  .hero__title em { color: #86663F; }
  .phrase .eyebrow { color: #7A5C38; text-shadow: 0 0 18px rgba(247, 244, 239, .9); }
  .phrase h2 em { color: #7A5C38; }

  /* ritmo das secções */
  .sec-head { margin-bottom: 40px; row-gap: 18px; }
  .sec-head .eyebrow { padding-top: 16px; }
  .sec-title, .sec-title--xl { font-size: clamp(2.1rem, 9.6vw, 2.6rem); line-height: 1.05; letter-spacing: -0.015em; }
  .sec-lead { font-size: 15px; line-height: 1.6; }

  /* especialidades: lookbook horizontal */
  .works {
    display: flex; gap: 16px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
    margin-inline: -20px; padding: 0 20px 4px;
    scrollbar-width: none; overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .works::-webkit-scrollbar { display: none; }
  .work { flex: 0 0 82vw; scroll-snap-align: center; }
  .work__meta { padding-top: 18px; gap: 10px; }
  .work h3 { font-size: 1.6rem; }
  .work p:not(.work__idx) { font-size: 14.5px; }
  .works-nav {
    display: flex; align-items: center; gap: 16px; margin-top: 28px;
    font-size: 11px; letter-spacing: .14em; color: var(--ink-2);
  }
  .works-nav__count { font-variant-numeric: tabular-nums; white-space: nowrap; }
  .works-nav__count b { font-weight: 500; color: var(--bronze); }
  .works-nav__bar { position: relative; flex: 1; height: 1px; background: var(--line); overflow: hidden; }
  .works-nav__bar i { position: absolute; inset: 0; background: var(--bronze); transform-origin: 0 50%; transform: scaleX(.25); }
  .works-nav__hint { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }

  /* faixa */
  .ritualband { min-height: 54vh; min-height: 54svh; }
  .ritualband__inner { padding: 72px 20px; gap: 18px; }
  .band-title { font-size: clamp(2.1rem, 9.4vw, 2.6rem); line-height: 1.05; }
  .band-sub { font-size: 15px; }

  /* diferenciais: lista editorial */
  .pillar, .pillar:nth-child(even) {
    grid-template-columns: 36px 1fr; column-gap: 18px; row-gap: 6px;
    padding: 28px 0; border-right: 0;
  }
  .pillar__icon { grid-row: 1 / span 2; width: 34px; height: 34px; margin: 2px 0 0; }
  .pillar h3 { font-size: 1.45rem; line-height: 1.1; padding-right: 34px; }
  .pillar p { grid-column: 2; font-size: 14.5px; line-height: 1.55; }
  .pillar__idx, .pillar:nth-child(even) .pillar__idx { top: 32px; right: 0; }

  /* sobre */
  .sobre__grid { row-gap: 36px; }
  .frame--portrait { max-height: 56vh; max-height: 56svh; }
  .frame--portrait .frame__img { object-position: 50% 22%; }
  .sobre__text { gap: 22px; }
  .bio .bio__lead { font-size: 1.5rem; }
  .bio p { font-size: 15px; }
  .signature { font-size: 2rem; }

  /* formação */
  .offer, .offer + .offer { padding: 28px 0; gap: 12px; }
  .offer h3 { font-size: 2rem; }
  .formacao__cta { margin-top: 36px; gap: 14px; }
  .formacao__cta .btn { min-height: 52px; height: 56px; }
  .formacao__note { width: 100%; text-align: center; }

  /* contacto */
  .contacto { padding-block: 88px; }
  .contacto .eyebrow { margin-bottom: 24px; }
  .contact-title { font-size: clamp(2.4rem, 11vw, 3rem); line-height: 1; }
  .contacto__row { margin-top: 40px; padding-top: 28px; gap: 28px; }
  .contacto__row .btn--xl { min-height: 56px; height: 58px; }

  /* footer compacto: 2 colunas + linha legal */
  .footer { padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); }
  .footer__mark { font-size: 1.5rem; letter-spacing: .1em; }
  .footer__grid { grid-template-columns: 1fr 1fr; margin-top: 36px; }
  .footer__grid > div, .footer__grid > div + div { padding: 20px 0 0; border: 0; }
  .footer__grid > div:nth-child(2) { padding-left: 16px; border-left: var(--hair); }
  .footer__grid > div:nth-child(3) {
    grid-column: 1 / -1; display: flex; align-items: baseline; gap: 20px;
    margin-top: 24px; padding-top: 16px; border-top: var(--hair);
  }
  .footer__grid > div:nth-child(3) .footer__h { margin: 0; }
  .footer__grid > div:nth-child(3) ul { display: flex; gap: 20px; }
  .footer__grid li { font-size: 14px; line-height: 2.1; }
  .footer__base { margin-top: 36px; font-size: 11px; }

  /* dock WhatsApp flutuante */
  .dock {
    display: inline-flex; align-items: center; gap: 10px;
    position: fixed; z-index: 80;
    right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
    height: 40px; padding: 0 14px;
    background: rgba(247, 244, 239, .95); color: var(--ink);
    border: 1px solid rgba(26, 23, 21, .24); border-radius: 0;
    font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 400;
    opacity: 0; transform: translate3d(0, 16px, 0); pointer-events: none;
    transition: opacity .45s var(--ease-out), transform .6s var(--ease-out);
  }
  .dock svg { color: var(--bronze); }
  .dock.is-on { opacity: 1; transform: none; pointer-events: auto; }
  html.drawer-open .dock, html.sheet-open .dock { opacity: 0; pointer-events: none; }

  /* bottom sheet */
  .sheet {
    display: block; position: fixed; inset: 0; z-index: 150;
    visibility: hidden; pointer-events: none;
    transition: visibility 0s .65s;
  }
  html.sheet-open .sheet { visibility: visible; pointer-events: auto; transition: visibility 0s; }
  .sheet__backdrop { position: absolute; inset: 0; background: rgba(26, 23, 21, .34); opacity: 0; transition: opacity .5s var(--ease-out); touch-action: none; }
  html.sheet-open .sheet__backdrop { opacity: 1; }
  .sheet__panel {
    position: absolute; left: 0; right: 0; bottom: 0;
    max-height: 90vh; max-height: 90svh; overflow-y: auto; overscroll-behavior: contain;
    background: var(--bg); border-top: var(--hair);
    padding: 6px 20px calc(22px + env(safe-area-inset-bottom));
    transform: translate3d(0, 100%, 0);
    transition: transform .65s var(--ease-io);
  }
  html.sheet-open .sheet__panel { transform: none; }
  .sheet__panel.is-dragging { transition: none; }
  .sheet__grip { display: flex; justify-content: center; padding: 8px 0 10px; }
  .sheet__grip i { width: 40px; height: 1px; background: rgba(26, 23, 21, .4); }
  .sheet__head { display: flex; align-items: center; justify-content: space-between; }
  .sheet__close {
    min-height: 44px; padding: 0 0 0 16px; background: none; border: 0; cursor: pointer;
    font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  }
  .sheet__title { font-family: var(--serif); font-weight: 300; font-size: 2.3rem; line-height: 1.02; letter-spacing: -0.015em; margin: 10px 0 22px; }
  .sheet__form { display: grid; border-top: var(--hair); }
  .sheet__field {
    position: relative; display: flex; flex-direction: column; gap: 4px;
    min-height: 70px; padding: 14px 32px 14px 0; border-bottom: var(--hair);
  }
  .sheet__field::after {
    content: ""; position: absolute; right: 6px; top: 50%; width: 7px; height: 7px; margin-top: 6px;
    border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
    transform: translateY(-50%) rotate(45deg); pointer-events: none;
  }
  .sheet__field select {
    -webkit-appearance: none; appearance: none; width: 100%;
    background: transparent; border: 0; border-radius: 0; padding: 2px 0; margin: 0;
    font-family: var(--serif); font-size: 20px; color: var(--ink); outline: none;
  }
  .sheet__submit { width: 100%; min-height: 56px; height: 56px; margin-top: 22px; }
  .sheet__note { margin-top: 14px; font-size: 12px; color: var(--ink-2); text-align: center; letter-spacing: .02em; }
}

@media (max-width: 380px) {
  .hero__cta-meta { display: none; }
}
@media (max-width: 767px) and (max-height: 700px) {
  .hero { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .hero__title { font-size: clamp(2.4rem, 10vw, 3rem); }
  .hero__cta { margin-top: 18px; }
}


/* hero retrato — telemóvel */
@media (max-width: 767px) {
  .hero {
    display: flex; flex-direction: column; justify-content: flex-start;
    padding: calc(var(--top-h) + 14px) 20px calc(64px + env(safe-area-inset-bottom));
  }
  .hero__aside { order: -1; align-self: center; justify-self: auto; padding-top: 0; margin-bottom: 22px; }
  .hero__arch { height: 38vh; height: 38svh; }
  .hero__caption { margin-top: 10px; padding-top: 9px; font-size: 9px; letter-spacing: .18em; }
  .hero__content { align-self: stretch; }
  .hero__eyebrow { margin-bottom: 10px; }
  .hero__title { font-size: clamp(2.8rem, 13vw, 3.8rem); line-height: .95; letter-spacing: -0.03em; }
  .hero__title .line { display: inline-block; vertical-align: bottom; }
  .hero__statement { margin-top: 12px; font-size: 1.32rem; line-height: 1.2; max-width: 28ch; }
  .hero__body { display: none; }
  .hero__cta { margin-top: 20px; }
  .nail { width: 104px; }
}
@media (max-width: 767px) and (max-height: 700px) {
  .hero__arch { height: 31vh; height: 31svh; }
  .hero__aside { margin-bottom: 14px; }
  .hero__statement { font-size: 1.18rem; }
}

@media (min-width: 2000px) {
  :root { --max: 2040px; }
  body { font-size: 17px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .stage { height: auto; }
  .sticky { position: relative; height: 100vh; height: 100svh; min-height: 640px; }
  .viewport { height: 100%; }
  .phrases, .hint, .progress, .preloader { display: none !important; }
  .veil--center { display: none; }
  .film--canvas, .film--poster { display: none; }
}
