/* CHROMA — Nail Atelier. Revista de arte gráfica: blocos de cor, grotesca expressiva, recorte em forma de unha. */

:root {
  --blue: #2345e8;
  --red: #e63d39;
  --red-deep: #b72a26;
  --milk: #f4efe7;
  --ink: #1d1a20;
  --chrome: #c5c8d1;
  --chrome-deep: #8a8e99;

  --paper: var(--milk);
  --paper-2: #ebe4d8;
  --text: var(--ink);
  --muted: #5b5560;
  --line: rgb(29 26 32 / 0.16);
  --accent-text: #b8221f;

  --display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;

  --pad: clamp(20px, 4vw, 64px);
  --nail: 50% 50% 22px 22px / 34% 34% 22px 22px;
  --nail-sm: 50% 50% 10px 10px / 40% 40% 10px 10px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --topbar: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1d1a20;
    --paper-2: #27232b;
    --text: #f4efe7;
    --muted: #b8b1aa;
    --line: rgb(244 239 231 / 0.18);
    --accent-text: #ff7a6e;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
  font-optical-sizing: auto;
  overflow-x: clip;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.on-dark :focus-visible,
.manifesto :focus-visible,
.faq :focus-visible,
.menu :focus-visible,
.collections[data-tone="red"] :focus-visible,
.collections[data-tone="blue"] :focus-visible,
.collections[data-tone="ink"] :focus-visible,
.services :focus-visible,
.closing :focus-visible,
.footer :focus-visible {
  outline-color: var(--milk);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--milk);
  border-radius: 999px;
  transition: top 0.2s var(--ease);
}

.skip:focus {
  top: 12px;
}

.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 85;
}

.num {
  font-variant-numeric: tabular-nums;
}

/* Botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    background-color 0.18s var(--ease),
    color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.btn--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}

.btn--red {
  background: var(--red-deep);
  color: #fff;
}

.btn--ink {
  background: var(--ink);
  color: var(--milk);
}

.btn--milk {
  background: var(--milk);
  color: var(--ink);
}

.btn--line {
  border-color: currentColor;
  color: var(--text);
}

.btn--line-milk {
  border-color: var(--milk);
  color: var(--milk);
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -10px rgb(29 26 32 / 0.55);
  }
  .btn--red:hover {
    background: var(--red);
    color: var(--ink);
  }
  .btn--ink:hover {
    background: var(--blue);
  }
  .btn--line:hover {
    background: var(--text);
    color: var(--paper);
  }
  .btn--line-milk:hover {
    background: var(--milk);
    color: var(--red-deep);
  }
}

/* Barra do topo */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar);
  padding: 0 var(--pad);
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.chip-mark {
  display: inline-grid;
  padding: 7px 12px 6px;
  background: var(--blue);
  color: var(--milk);
  text-decoration: none;
  border-radius: 6px 6px 6px 18px;
  line-height: 1;
  transform: translateY(-180%);
  transition: transform 0.4s var(--ease-out);
}

.chip-mark span {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variation-settings: "wdth" 75;
}

.chip-mark small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 3px;
}

.topbar.is-scrolled .chip-mark,
.chip-mark:focus-visible {
  transform: none;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar__cta {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.topbar.is-scrolled .topbar__cta {
  opacity: 1;
  visibility: visible;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--milk);
  font-weight: 700;
  cursor: pointer;
}

.menu-button__dots {
  display: flex;
  gap: 3px;
}

.menu-button__dots i {
  width: 5px;
  height: 9px;
  border-radius: 50% 50% 2px 2px / 60% 60% 2px 2px;
  background: var(--red);
}

.menu-button__dots i:nth-child(2) { background: var(--blue); }
.menu-button__dots i:nth-child(3) { background: var(--milk); }
.menu-button__dots i:nth-child(4) { background: var(--chrome); }
.menu-button__dots i:nth-child(5) { background: var(--red); }

@media (hover: hover) {
  .menu-button:hover {
    background: var(--blue);
  }
}

/* Menu em tela cheia */

.menu {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--blue);
  color: var(--milk);
}

.menu::backdrop {
  background: transparent;
}

.menu[open] {
  animation: wipe-down 0.45s var(--ease-out);
}

.menu__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px var(--pad) 32px;
}

.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.menu__close,
.look__close,
.concierge__close {
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.menu__list {
  list-style: none;
  margin: auto 0;
  padding: 32px 0;
  display: grid;
  gap: 2px;
}

.menu__list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 4px 0;
  font-size: clamp(34px, 6.4vw, 92px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-decoration: none;
  font-variation-settings: "wdth" 78;
  transition: color 0.2s var(--ease), transform 0.25s var(--ease);
}

.menu__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transform: translateY(-1.4em);
}

@media (hover: hover) {
  .menu__list a:hover {
    color: var(--ink);
    transform: translateX(12px);
  }
}

.menu__note {
  max-width: 44ch;
  font-size: 14px;
  opacity: 0.85;
}

@keyframes wipe-down {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0);
  }
}

/* 01 · Hero */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: 16px;
  min-height: 100svh;
  padding: calc(var(--topbar) + 4px) var(--pad) 22px;
  overflow: hidden;
  background: var(--paper);
}

.hero__wordmark {
  grid-column: 1 / -1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  margin: 0 -0.02em;
  font-size: clamp(84px, 20.4vw, 340px);
  font-weight: 800;
  line-height: 0.76;
  letter-spacing: -0.05em;
  font-variation-settings: "wdth" 75, "opsz" 96;
  color: var(--text);
}

.hero__wordmark span {
  display: inline-block;
}

.hero__wordmark span:nth-child(4) {
  color: var(--blue);
}

.hero__film {
  grid-column: 7 / -1;
  grid-row: 1 / 4;
  align-self: end;
  position: relative;
  z-index: 2;
  margin: 0;
  height: calc(100svh - var(--topbar) - 0.4 * clamp(84px, 20.4vw, 340px));
  min-height: 420px;
}

.hero__frame {
  position: relative;
  height: calc(100% - 28px);
  border-radius: var(--nail);
  overflow: hidden;
  background: var(--blue) url("../media/hero-wide.jpg") 60% center / cover;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}

.hero__caption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.film-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgb(29 26 32 / 0.72);
  color: var(--milk);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.film-toggle__icon {
  width: 10px;
  height: 12px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.film-toggle[aria-pressed="true"] .film-toggle__icon {
  border: 0;
  border-left: 10px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.hero__copy {
  grid-column: 1 / 7;
  grid-row: 2;
  align-self: end;
  position: relative;
  z-index: 3;
  padding-bottom: 36px;
}

.hero__label {
  color: var(--accent-text);
  margin-bottom: 14px;
}

.hero__title {
  font-size: clamp(54px, 8.2vw, 136px);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.03em;
  word-spacing: 0.08em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 78, "opsz" 96;
}

.hero__title .line {
  display: inline-block;
}

.hero__title .line--red {
  color: var(--red);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 1.12em;
}

.hero__lede {
  max-width: 30ch;
  margin-top: 20px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.35;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero__scroll {
  grid-column: 1 / 4;
  grid-row: 3;
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  width: max-content;
}

.hero__drip {
  position: relative;
  width: 2px;
  height: 30px;
  background: var(--red);
  border-radius: 2px;
  transform-origin: top;
}

.hero__drip::after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: -6px;
  width: 8px;
  height: 10px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--red);
}

.hero__credit {
  grid-column: 4 / 7;
  grid-row: 3;
  align-self: end;
  justify-self: end;
  padding-bottom: 12px;
  font-size: 12px;
  color: var(--muted);
}

/* Entrada orquestrada da hero (só com JS e sem "reduzir movimento") */

@media (prefers-reduced-motion: no-preference) {
  .js .hero__wordmark span {
    animation: rise 0.9s var(--ease-out) both;
  }
  .js .hero__wordmark span:nth-child(2) { animation-delay: 0.05s; }
  .js .hero__wordmark span:nth-child(3) { animation-delay: 0.1s; }
  .js .hero__wordmark span:nth-child(4) { animation-delay: 0.15s; }
  .js .hero__wordmark span:nth-child(5) { animation-delay: 0.2s; }
  .js .hero__wordmark span:nth-child(6) { animation-delay: 0.25s; }

  .js .hero__frame {
    animation: open-frame 1.1s 0.2s var(--ease-out) both;
  }

  .js .hero__title .line {
    animation: rise 0.8s var(--ease-out) both;
  }
  .js .hero__title .line:nth-child(1) { animation-delay: 0.45s; }
  .js .hero__title .line:nth-child(2) { animation-delay: 0.55s; }
  .js .hero__title .line:nth-child(3) { animation-delay: 0.68s; }

  .js .hero__lede,
  .js .hero__ctas,
  .js .hero__label {
    animation: fade-up 0.7s 0.85s var(--ease-out) both;
  }

  .hero__drip {
    animation: drip 2.2s 1.4s var(--ease) 2 both;
  }
}

@keyframes rise {
  from {
    transform: translateY(0.6em);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes fade-up {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes open-frame {
  from {
    clip-path: inset(100% 0 0 0 round 40px);
  }
  to {
    clip-path: inset(0 0 0 0 round 0);
  }
}

@keyframes drip {
  0% {
    transform: scaleY(0.2);
  }
  60%,
  100% {
    transform: scaleY(1);
  }
}

/* Revelação por seção */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1s var(--ease-out);
  }
  .js .reveal.is-in {
    clip-path: inset(0);
  }
  .js .rise {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.62s var(--ease),
      transform 0.62s var(--ease);
  }
  .js .rise.is-in {
    opacity: 1;
    transform: none;
  }
}

/* 02 · Manifesto */

.manifesto {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  padding: clamp(80px, 10vw, 150px) var(--pad) clamp(60px, 8vw, 110px);
  background: var(--blue);
  color: var(--milk);
  overflow: hidden;
}

.manifesto__head {
  grid-column: 1 / 9;
  grid-row: 1;
  position: relative;
  z-index: 2;
}

.manifesto__title {
  display: grid;
  margin-top: 20px;
  font-size: clamp(72px, 14vw, 230px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 75, "opsz" 96;
}

.m-not {
  font-size: 0.42em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  padding-left: 0.2em;
}

.m-just {
  padding-left: 12%;
}

.m-nails em {
  font-style: normal;
  color: var(--red);
}

.manifesto__text {
  grid-column: 1 / 6;
  grid-row: 2;
  margin-top: clamp(32px, 5vw, 64px);
  font-size: 19px;
  max-width: 40ch;
}

.serif-lede {
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
  margin-bottom: 18px;
}

.manifesto__photo {
  margin: 0;
  overflow: hidden;
}

.manifesto__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manifesto__photo--a {
  grid-column: 9 / -1;
  grid-row: 1 / 3;
  aspect-ratio: 9 / 13;
  border-radius: 999px 999px 18px 18px / 42% 42% 18px 18px;
  align-self: start;
  margin-top: 40px;
}

.manifesto__photo--b {
  grid-column: 6 / 9;
  grid-row: 2 / 4;
  aspect-ratio: 7 / 8;
  border-radius: var(--nail);
  align-self: start;
  margin-top: clamp(40px, 6vw, 90px);
  position: relative;
  z-index: 1;
}

.manifesto__credit {
  grid-column: 9 / -1;
  grid-row: 3;
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.85;
}

.manifesto__words {
  grid-column: 1 / -1;
  grid-row: 4;
  list-style: none;
  margin: clamp(60px, 8vw, 120px) 0 0;
  padding: 24px 0 0;
  border-top: 2px solid rgb(244 239 231 / 0.4);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.manifesto__words li {
  display: grid;
  gap: 6px;
}

.manifesto__words .num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.w {
  font-size: clamp(34px, 5.2vw, 84px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 75;
}

.w--color {
  color: var(--red);
  text-shadow: 0 0 0 transparent;
  background: var(--milk);
  width: max-content;
  padding: 0 0.12em;
}

.w--form {
  color: transparent;
  -webkit-text-stroke: 2px var(--milk);
}

.w--texture {
  background: linear-gradient(100deg, #f7f8fb 0%, #8a8e99 22%, #ffffff 40%, #c5c8d1 55%, #6f7380 72%, #eef0f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.w--attitude {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* 03 · Portfólio */

.work {
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--paper);
}

.work__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  align-items: end;
}

.work__head .label {
  grid-column: 1 / -1;
  color: var(--accent-text);
  margin-bottom: 14px;
}

.work__title {
  grid-column: 1 / 9;
  font-size: clamp(56px, 9vw, 150px);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 75, "opsz" 96;
}

.work__title span {
  display: inline-block;
  padding-left: 1.2em;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--blue);
}

@media (prefers-color-scheme: dark) {
  .work__title span {
    color: #8fa2ff;
  }
}

.work__note {
  grid-column: 9 / -1;
  font-size: 14px;
  color: var(--muted);
  max-width: 34ch;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(32px, 4vw, 56px);
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 10px;
  border: 2px solid var(--text);
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.filter__swatch {
  width: 12px;
  height: 18px;
  border-radius: var(--nail-sm);
  background: var(--swatch, var(--red));
}

.filter__count {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.7;
}

.filter[aria-pressed="true"] {
  background: var(--text);
  color: var(--paper);
}

.filter--collection {
  border-style: dashed;
}

@media (hover: hover) {
  .filter:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--milk);
  }
}

.filters__status {
  min-height: 24px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.work__grid {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(110px, 11vw, 170px);
  grid-auto-flow: dense;
  gap: 16px;
}

.tile {
  grid-column: span 4;
  grid-row: span 2;
}

.tile--a {
  grid-column: span 5;
  grid-row: span 3;
}

.tile--b {
  grid-column: span 4;
  grid-row: span 2;
}

.tile--c {
  grid-column: span 3;
  grid-row: span 2;
}

.tile__button {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.tile__media {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--paper-2);
  transition: border-radius 0.5s var(--ease-out);
}

.tile__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.tile__caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}

.tile__name {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
}

.tile__meta {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.tile__num {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--milk);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

@media (hover: hover) {
  .tile__button:hover .tile__media {
    border-radius: var(--nail);
  }
  .tile__button:hover img {
    transform: scale(1.05);
  }
}

.tile__button:focus-visible .tile__media {
  border-radius: var(--nail);
}

/* Diálogo do design */

.look {
  width: min(1100px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  color: var(--text);
  overflow: auto;
}

.look::backdrop {
  background: rgb(29 26 32 / 0.72);
}

.look[open] {
  animation: fade-up 0.4s var(--ease-out);
}

.look__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.look__media {
  margin: 0;
  min-height: 420px;
  background: var(--paper-2);
}

.look__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 0 0;
}

.look__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px clamp(20px, 3vw, 40px) 32px;
}

.look__close {
  align-self: flex-end;
}

.look__body > .label {
  color: var(--accent-text);
}

.look__title {
  font-size: clamp(40px, 4.4vw, 68px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 78;
}

.look__desc {
  font-size: 19px;
}

.look__insp {
  display: grid;
  gap: 4px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
}

.look__insp .label {
  font-family: var(--display);
  color: var(--muted);
}

.look__spec {
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.look__spec .label {
  color: var(--muted);
}

.look__spec dl,
.spec__list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: 14px;
}

.look__spec dt,
.spec__list dt {
  color: var(--muted);
}

.look__spec dd,
.spec__list dd {
  margin: 0;
}

.look__fine {
  font-size: 12px;
  color: var(--muted);
}

/* 04 · Coleções */

.collections {
  --c-bg: var(--red);
  --c-fg: var(--milk);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 32px;
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--c-bg);
  color: var(--c-fg);
  transition:
    background-color 0.6s var(--ease),
    color 0.6s var(--ease);
}

.collections[data-tone="red"] { --c-bg: #c8302c; --c-fg: var(--milk); }
.collections[data-tone="blue"] { --c-bg: var(--blue); --c-fg: var(--milk); }
.collections[data-tone="chrome"] { --c-bg: var(--chrome); --c-fg: var(--ink); }
.collections[data-tone="ink"] { --c-bg: #141216; --c-fg: var(--milk); }

.collections__head {
  grid-column: 1 / 5;
}

.collections__title {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 3.6vw, 56px);
  line-height: 1;
}

.collections__title em {
  font-style: italic;
}

.collections__tabs {
  grid-column: 1 / 5;
  grid-row: 2;
  display: grid;
  align-content: start;
  gap: 4px;
}

.collection-tab {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 48px;
  padding: 6px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: inherit;
  text-align: left;
  font-size: clamp(26px, 2.8vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings: "wdth" 75;
  opacity: 0.75;
  cursor: pointer;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}

.collection-tab .num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.collection-tab[aria-selected="true"] {
  opacity: 1;
  border-bottom-color: currentColor;
}

@media (hover: hover) {
  .collection-tab:hover {
    opacity: 1;
  }
}

.collections__panel {
  grid-column: 5 / -1;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  gap: 16px;
  outline-offset: 8px;
}

.spread__big {
  grid-column: 1 / 5;
  grid-row: 1 / 4;
  margin: 0;
  aspect-ratio: 3 / 4.2;
  border-radius: 999px 999px 16px 16px / 40% 40% 16px 16px;
  overflow: hidden;
}

.spread__small {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
}

.spread__small--1 {
  grid-column: 5 / 7;
  grid-row: 1;
  aspect-ratio: 1;
}

.spread__small--2 {
  grid-column: 7 / 9;
  grid-row: 1;
  aspect-ratio: 1;
  margin-top: 48px;
  border-radius: var(--nail);
}

.spread__big img,
.spread__small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spread__text {
  grid-column: 5 / 9;
  grid-row: 2 / 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.spread__name {
  font-size: clamp(44px, 5.4vw, 96px);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.05em;
  font-variation-settings: "wdth" 75, "opsz" 96;
}

.spread__statement {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.1;
}

.spread__body {
  max-width: 44ch;
}

.spread__palette {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.spread__palette li {
  width: 26px;
  height: 38px;
  border-radius: var(--nail-sm);
  background: var(--chip);
  box-shadow: inset 0 0 0 1.5px rgb(29 26 32 / 0.25);
}

.spread__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spread__credit {
  font-size: 12px;
  opacity: 0.85;
}

.collections[data-tone="chrome"] .btn--line-milk {
  border-color: var(--ink);
  color: var(--ink);
}

.collections[data-tone="chrome"] .btn--milk {
  background: var(--ink);
  color: var(--milk);
}

@media (prefers-reduced-motion: no-preference) {
  .spread-enter .spread__big,
  .spread-enter .spread__small {
    animation: open-frame 0.8s var(--ease-out) both;
  }
  .spread-enter .spread__small--1 { animation-delay: 0.08s; }
  .spread-enter .spread__small--2 { animation-delay: 0.16s; }
  .spread-enter .spread__text {
    animation: fade-up 0.6s 0.1s var(--ease-out) both;
  }
}

/* 05 · Studio */

.studio {
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--paper);
}

.studio__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.studio__head .label {
  grid-column: 1 / -1;
  color: var(--accent-text);
  margin-bottom: 14px;
}

.studio__title {
  grid-column: 1 / 9;
  font-size: clamp(54px, 8.6vw, 144px);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 75, "opsz" 96;
}

.studio__title span {
  color: var(--red);
}

.studio__lede {
  grid-column: 9 / -1;
  font-size: 19px;
  max-width: 30ch;
}

.studio__layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  align-items: start;
}

.studio__stage-wrap {
  grid-column: 1 / 7;
  position: sticky;
  top: calc(var(--topbar) + 8px);
}

.stage {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1.02;
  max-height: calc(100svh - var(--topbar) - 90px);
  width: 100%;
  border-radius: var(--nail);
  background:
    radial-gradient(120% 70% at 50% 110%, rgb(197 200 209 / 0.55), transparent 60%),
    var(--blue);
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
}

.stage__canvas {
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 7% 6% 0;
}

.stage__canvas .hand {
  width: 100%;
  height: 100%;
  max-height: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .stage__canvas.is-updating .hand {
    animation: pop 0.38s var(--ease-out);
  }
}

@keyframes pop {
  0% {
    transform: scale(0.985);
    filter: brightness(1.12);
  }
  100% {
    transform: none;
    filter: none;
  }
}

.stage__readout {
  margin: 0 18px 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgb(29 26 32 / 0.78);
  color: var(--milk);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  backdrop-filter: blur(6px);
}

.stage__disclaimer {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  max-width: 52ch;
}

.studio__controls {
  grid-column: 8 / -1;
  display: grid;
  gap: 28px;
}

.reference-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--milk);
  font-size: 14px;
}

.reference-chip[hidden] {
  display: none;
}

.reference-chip button {
  min-height: 36px;
  padding: 0 14px;
  border: 1.5px solid var(--milk);
  border-radius: 999px;
  background: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.config {
  display: grid;
  gap: 28px;
}

.config__group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.config__group legend {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 0;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.config__letter {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 36px;
  border-radius: var(--nail-sm);
  background: var(--blue);
  color: var(--milk);
  font-size: 15px;
}

.config__hint {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.config__group--skin legend {
  font-size: 15px;
}

.choices {
  display: grid;
  gap: 8px;
}

.choices--shape {
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
}

.choices--length {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choices--color {
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
}

.choices--finish {
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
}

.choices--art {
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
}

.choices--skin {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  min-height: 48px;
  padding: 10px 6px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.18s var(--ease),
    background-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.choice__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.choice__visual {
  display: grid;
  place-items: center;
  height: 76px;
  width: 100%;
}

.choice__visual .nail-icon {
  height: 100%;
  width: auto;
}

.choice__text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
}

.choice__text small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.choice:has(:checked) {
  border-color: var(--text);
  background: var(--paper-2);
}

.choice:has(:checked)::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 9px;
  height: 13px;
  border-radius: var(--nail-sm);
  background: var(--red);
}

.choice:has(:focus-visible) {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

@media (hover: hover) {
  .choice:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
  }
}

.choices--length .choice {
  align-content: center;
  padding: 10px;
}

.length-bar {
  display: block;
  width: 10px;
  border-radius: 5px 5px 2px 2px;
  background: var(--text);
}

.choice__swatch {
  width: 44px;
  height: 56px;
  border-radius: var(--nail-sm);
  background: var(--chip);
  box-shadow:
    inset 0 0 0 1.5px rgb(29 26 32 / 0.2),
    inset 6px 0 0 rgb(255 255 255 / 0.18);
}

.choices--skin .choice {
  grid-template-columns: auto 1fr;
  justify-items: start;
  align-items: center;
  padding: 6px 10px;
}

.choices--skin .choice__swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.custom-color {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
}

.custom-color input {
  width: 64px;
  height: 44px;
  padding: 2px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
}

.custom-color__hex {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
}

.custom-color.is-active input {
  border-color: var(--text);
}

.spec {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--milk);
}

.spec .label {
  color: var(--chrome);
}

.spec .spec__list dt {
  color: var(--chrome);
}

.spec__list dd {
  color: #ffd2ce;
}

.studio__actions {
  display: grid;
  gap: 10px;
}

.studio__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.tool {
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--text);
  border-radius: 999px;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.tool--quiet {
  border-style: dashed;
}

@media (hover: hover) {
  .tool:hover {
    background: var(--text);
    color: var(--paper);
  }
}

.studio__status {
  min-height: 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-text);
}

.copy-fallback {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.copy-fallback[hidden] {
  display: none;
}

.copy-fallback textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 13px;
}

/* 06 · Serviços */

.services {
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--ink);
  color: var(--milk);
}

@media (prefers-color-scheme: dark) {
  .services {
    background: #121014;
  }
}

.services__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  align-items: end;
}

.services__head .label {
  grid-column: 1 / -1;
  color: var(--chrome);
  margin-bottom: 14px;
}

.services__title {
  grid-column: 1 / 7;
  font-size: clamp(64px, 11vw, 190px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 75, "opsz" 96;
}

.services__note {
  grid-column: 8 / -1;
  max-width: 44ch;
  font-size: 14px;
  color: var(--chrome);
}

.rack {
  list-style: none;
  margin: clamp(40px, 5vw, 72px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.rack li:nth-child(even) {
  margin-top: 48px;
}

.rack li:nth-child(3n) {
  margin-top: 24px;
}

.strip {
  display: grid;
  width: 100%;
  min-height: 330px;
  grid-template-rows: auto 1fr;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #2a262e;
  color: var(--milk);
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.strip__chip {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 170px;
  padding: 14px;
  background: var(--strip-bg);
  color: var(--strip-fg);
}

.strip__chip .num {
  font-size: 54px;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 75;
}

.strip__en {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.strip__body {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
}

.strip__name {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.strip__short {
  font-size: 14px;
  color: var(--chrome);
}

.strip__meta {
  font-size: 13px;
  font-weight: 600;
}

.strip[data-tone="milk"] { --strip-bg: var(--milk); --strip-fg: var(--ink); }
.strip[data-tone="red"] { --strip-bg: var(--red-deep); --strip-fg: #fff; }
.strip[data-tone="blue"] { --strip-bg: var(--blue); --strip-fg: var(--milk); }
.strip[data-tone="ink"] { --strip-bg: #000; --strip-fg: var(--milk); }
.strip[data-tone="chrome"] {
  --strip-bg: linear-gradient(115deg, #eef0f4 0%, #8a8e99 28%, #ffffff 46%, #b8bcc7 62%, #6f7380 80%, #e6e8ee 100%);
  --strip-fg: var(--ink);
}

.strip[aria-pressed="true"] {
  box-shadow: 0 0 0 3px var(--red);
  transform: translateY(-8px);
}

@media (hover: hover) {
  .strip:hover {
    transform: translateY(-8px);
  }
}

.service-detail {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid rgb(244 239 231 / 0.25);
}

.service-detail__name {
  grid-column: 1 / 7;
  font-size: clamp(36px, 4.6vw, 76px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 78;
}

.service-detail__desc {
  grid-column: 1 / 7;
  font-size: 19px;
  max-width: 46ch;
}

.service-detail__meta {
  grid-column: 8 / -1;
  grid-row: 1 / 3;
  display: grid;
  align-content: start;
  gap: 18px;
}

.service-detail dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  margin: 0;
}

.service-detail dt {
  color: var(--chrome);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 3px;
}

.service-detail dd {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.service-detail ul {
  margin: 0;
  padding-left: 18px;
  color: var(--chrome);
  display: grid;
  gap: 6px;
}

.service-detail .btn {
  justify-self: start;
}

/* 07 · Pedido de horário */

.inquiry {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--chrome);
  color: var(--ink);
  color-scheme: light;
}

.inquiry__side {
  grid-column: 1 / 6;
}

.inquiry__side .label {
  margin-bottom: 14px;
  color: #8f1a17;
}

.inquiry__title {
  font-size: clamp(50px, 6.6vw, 112px);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 75, "opsz" 96;
}

.inquiry__lede {
  margin-top: 18px;
  font-size: 19px;
  max-width: 32ch;
}

.steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.step-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 48px;
  padding: 4px 8px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--ink);
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.step-link:disabled {
  cursor: not-allowed;
  color: #4a4650;
}

.step-link__nail {
  flex: none;
  width: 20px;
  height: 30px;
  border: 2px solid var(--ink);
  border-radius: var(--nail-sm);
  background: transparent;
  transition: background-color 0.3s var(--ease);
}

.step-link.is-done .step-link__nail {
  background: var(--ink);
}

.step-link[aria-current="step"] {
  background: var(--milk);
}

.step-link[aria-current="step"] .step-link__nail {
  border-color: var(--red-deep);
  background: var(--red-deep);
}

.step-link__state {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
}

@media (hover: hover) {
  .step-link:not(:disabled):hover {
    background: rgb(244 239 231 / 0.6);
  }
}

.inquiry__fine {
  margin-top: 24px;
  font-size: 14px;
  max-width: 42ch;
}

.inquiry__panel {
  grid-column: 7 / -1;
  align-self: start;
  display: grid;
  gap: 22px;
  padding: clamp(22px, 3vw, 40px);
  border-radius: 28px 28px 28px 80px;
  background: var(--milk);
  color: var(--ink);
  box-shadow: 0 30px 60px -40px rgb(29 26 32 / 0.6);
}

.panel__count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8f1a17;
}

.panel__title {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.panel__help {
  color: #4a4650;
}

.inquiry__panel fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  display: grid;
  gap: 10px;
}

.inquiry__panel legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 800;
}

.option-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
}

.option {
  position: relative;
  display: grid;
  gap: 2px;
  min-height: 56px;
  padding: 12px 14px 12px 44px;
  border: 2px solid rgb(29 26 32 / 0.2);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s var(--ease);
}

.option input {
  position: absolute;
  left: 14px;
  top: 15px;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--red-deep);
}

.option strong {
  font-size: 16px;
}

.option span {
  font-size: 13px;
  color: #4a4650;
}

.option:has(:checked) {
  border-color: var(--ink);
  background: #fff7f6;
}

.option:has(:focus-visible) {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

@media (hover: hover) {
  .option:hover {
    border-color: var(--blue);
  }
}

.field {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.field input,
.field select {
  min-height: 48px;
  padding: 0 12px;
  border: 2px solid rgb(29 26 32 / 0.25);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
}

.field small {
  font-weight: 500;
  color: #4a4650;
}

.prefs {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: start;
}

.prefs__preview {
  border-radius: var(--nail);
  background: var(--blue);
  aspect-ratio: 1 / 1.1;
  padding: 8px;
  display: grid;
  place-items: center;
}

.prefs__preview .hand {
  width: 100%;
  height: 100%;
}

.prefs__fields {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.panel__error {
  padding: 10px 14px;
  border-radius: 10px;
  background: #fde3e1;
  color: #8f1a17;
  font-weight: 700;
}

.panel__error[hidden] {
  display: none;
}

.panel__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgb(29 26 32 / 0.15);
}

.panel__nav .btn--line {
  color: var(--ink);
}

.summary {
  margin: 0;
  display: grid;
  gap: 0;
}

.summary__row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgb(29 26 32 / 0.12);
}

.summary__row dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a4650;
}

.summary__row dd {
  margin: 0;
  font-weight: 600;
}

.summary__edit {
  min-height: 40px;
  padding: 0 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.summary__actions .tool {
  border-color: var(--ink);
  color: var(--ink);
}

@media (hover: hover) {
  .summary__actions .tool:hover {
    background: var(--ink);
    color: var(--milk);
  }
}

.demo-notice {
  padding: 16px 18px;
  border-radius: 16px 16px 16px 40px;
  background: var(--ink);
  color: var(--milk);
  font-weight: 600;
}

.demo-notice strong {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}

/* 08 · Atelier */

.atelier {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--paper);
}

.atelier__label {
  grid-column: 1 / -1;
  color: var(--accent-text);
}

.atelier__title {
  grid-column: 1 / 9;
  grid-row: 2;
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.atelier__title em {
  color: var(--red);
}

.atelier__photo {
  margin: 0;
  overflow: hidden;
}

.atelier__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atelier__photo--a {
  grid-column: 9 / -1;
  grid-row: 2 / 4;
  aspect-ratio: 9 / 11;
  border-radius: var(--nail);
}

.atelier__photo--b {
  grid-column: 1 / 6;
  grid-row: 3;
  margin-top: clamp(40px, 6vw, 90px);
  aspect-ratio: 9 / 7;
  border-radius: 6px;
}

.atelier__photo--c {
  grid-column: 6 / 9;
  grid-row: 3;
  margin-top: clamp(120px, 14vw, 220px);
  aspect-ratio: 7 / 9;
  border-radius: 999px 999px 10px 10px / 50% 50% 10px 10px;
}

.atelier__principles {
  grid-column: 1 / -1;
  grid-row: 4;
  list-style: none;
  margin: clamp(48px, 6vw, 96px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.atelier__principles li {
  display: grid;
  gap: 6px;
  padding-top: 16px;
  border-top: 2px solid var(--text);
}

.atelier__principles .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent-text);
}

.atelier__principles h3 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.atelier__credit {
  grid-column: 1 / -1;
  grid-row: 5;
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted);
}

/* 09 · Perguntas */

.faq {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--blue);
  color: var(--milk);
}

.faq__title {
  grid-column: 1 / 5;
  align-self: start;
  position: sticky;
  top: calc(var(--topbar) + 20px);
  font-size: clamp(48px, 6vw, 100px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 75, "opsz" 96;
}

.faq__title span {
  color: var(--red);
  font-family: var(--serif);
  font-weight: 400;
}

.faq__list {
  grid-column: 6 / -1;
}

.faq details {
  border-top: 2px solid rgb(244 239 231 / 0.35);
}

.faq details:last-child {
  border-bottom: 2px solid rgb(244 239 231 / 0.35);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 14px 0;
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 16px;
  height: 24px;
  border: 2px solid var(--milk);
  border-radius: var(--nail-sm);
  transition: background-color 0.2s var(--ease), transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(180deg);
}

.faq details p {
  padding: 0 0 22px;
  max-width: 60ch;
  font-size: 17px;
}

/* 10 · Encerramento */

.closing {
  position: relative;
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--red);
  color: var(--ink);
  overflow: hidden;
}

.closing__title {
  display: grid;
  font-size: clamp(56px, 11.5vw, 200px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 75, "opsz" 96;
}

.closing__title span:last-child {
  justify-self: end;
  color: var(--milk);
}

.closing__row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(32px, 4vw, 56px);
}

.closing__lede {
  max-width: 28ch;
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.05;
}

.closing__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.closing .btn--milk {
  background: var(--ink);
  color: var(--milk);
}

.closing .btn--line-milk {
  border-color: var(--milk);
  background: var(--milk);
  color: var(--ink);
}

.closing__set .label {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--milk);
}

@media (hover: hover) {
  .closing .btn--milk:hover {
    background: var(--milk);
    color: var(--ink);
  }
  .closing .btn--line-milk:hover {
    background: var(--ink);
    color: var(--milk);
  }
}

.closing__set {
  margin: clamp(40px, 5vw, 72px) 0 0;
  display: grid;
  justify-items: start;
  gap: 12px;
}

.closing__nails {
  display: flex;
  align-items: flex-end;
  gap: clamp(8px, 2vw, 28px);
  padding: 24px clamp(18px, 3vw, 40px) 0;
  border-radius: 999px 999px 0 0 / 120px 120px 0 0;
  background: var(--milk);
}

.closing__nails .nail-icon {
  height: clamp(90px, 12vw, 170px);
  width: auto;
}

/* Rodapé */

.footer {
  padding: 0 var(--pad) calc(96px + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--milk);
  overflow: hidden;
}

.footer__mark {
  margin: 0 -0.03em;
  padding-top: 24px;
  font-size: clamp(84px, 23vw, 380px);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.06em;
  font-variation-settings: "wdth" 75, "opsz" 96;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--chrome);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 24px;
  margin-top: 40px;
  font-size: 15px;
}

.footer__statement {
  grid-column: 1 / 5;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
}

.footer__nav {
  grid-column: 5 / 8;
}

.footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.footer__nav a {
  display: inline-block;
  padding: 6px 0;
  text-decoration: none;
}

@media (hover: hover) {
  .footer__nav a:hover {
    color: var(--red);
  }
}

.footer__disclosure {
  grid-column: 8 / -1;
  color: var(--chrome);
}

.footer__credit {
  grid-column: 8 / -1;
  color: var(--chrome);
}

.footer__credit a {
  color: var(--milk);
  font-weight: 700;
}

/* Concierge */

.concierge-launch {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px 0 14px;
  border: 2px solid var(--milk);
  border-radius: 999px;
  background: var(--ink);
  color: var(--milk);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 30px -12px rgb(29 26 32 / 0.6);
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease);
}

.concierge-launch__dot {
  width: 14px;
  height: 20px;
  border-radius: var(--nail-sm);
  background: linear-gradient(110deg, #f4f5f8, #8a8e99 40%, #fff 60%, #6f7380);
}

@media (hover: hover) {
  .concierge-launch:hover {
    transform: translateY(-2px);
    background: var(--blue);
  }
}

.concierge {
  position: fixed;
  inset: auto 24px 24px auto;
  width: min(420px, calc(100% - 32px));
  height: min(680px, calc(100svh - 48px));
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 28px 28px 28px 8px;
  background: var(--paper);
  color: var(--text);
  box-shadow:
    0 0 0 1.5px var(--line),
    0 30px 80px -30px rgb(0 0 0 / 0.7);
  overflow: hidden;
}

.concierge[open] {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  animation: fade-up 0.35s var(--ease-out);
}

.concierge::backdrop {
  background: rgb(29 26 32 / 0.35);
}

.concierge__head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  padding: 18px 18px 14px 20px;
  background: var(--blue);
  color: var(--milk);
}

.concierge__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.concierge__mode {
  margin-top: 4px;
  font-size: 13px;
}

.concierge__log {
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overscroll-behavior: contain;
}

.msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  background: var(--paper-2);
  font-size: 15px;
  line-height: 1.45;
}

.msg--user {
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
  background: var(--ink);
  color: var(--milk);
}

@media (prefers-color-scheme: dark) {
  .msg--user {
    background: var(--blue);
  }
}

.msg--note {
  max-width: 100%;
  background: transparent;
  border: 1.5px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}

.msg ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.concierge__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 18px 10px;
}

.chip {
  min-height: 40px;
  padding: 0 14px;
  border: 1.5px solid var(--text);
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

@media (hover: hover) {
  .chip:hover {
    background: var(--text);
    color: var(--paper);
  }
}

.concierge__form {
  display: flex;
  gap: 8px;
  padding: 10px 14px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}

.concierge__form input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.concierge__form input:focus-visible {
  outline-offset: 0;
}

/* Responsivo */

@media (max-width: 1100px) {
  .rack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rack li:nth-child(n) {
    margin-top: 0;
  }
  .collections__panel {
    grid-column: 1 / -1;
    grid-row: 3;
  }
  .collections__head {
    grid-column: 1 / 8;
  }
  .collections__tabs {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
  }
}

@media (max-width: 900px) {
  .studio__stage-wrap {
    grid-column: 1 / 7;
  }
  .studio__controls {
    grid-column: 7 / -1;
  }
  .inquiry__side,
  .inquiry__panel {
    grid-column: 1 / -1;
  }
  .inquiry__panel {
    margin-top: 32px;
  }
}

@media (max-width: 760px) {
  :root {
    --topbar: 60px;
  }

  body {
    font-size: 16px;
  }

  .topbar__cta {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    padding-top: calc(var(--topbar) + 2px);
    padding-bottom: 18px;
  }

  .hero__wordmark {
    font-size: 21.5vw;
  }

  .hero__film {
    grid-column: 1;
    grid-row: 2;
    height: 42svh;
    min-height: 260px;
    margin-top: -5vw;
  }

  .hero__frame {
    height: calc(100% - 24px);
    background-image: url("../media/hero-portrait.jpg");
    background-position: center;
  }

  .hero__video {
    object-position: center;
  }

  .hero__caption {
    font-size: 11px;
  }

  .hero__copy {
    grid-column: 1;
    grid-row: 3;
    padding-bottom: 0;
    margin-top: 10px;
  }

  .hero__label {
    display: none;
  }

  .hero__title {
    font-size: 13vw;
  }

  .hero__lede {
    margin-top: 10px;
    font-size: 17px;
  }

  .hero__ctas {
    margin-top: 14px;
  }

  .hero__ctas .btn {
    flex: 1 1 auto;
    min-height: 48px;
    padding: 0 16px;
    font-size: 15px;
  }

  .hero__scroll {
    display: none;
  }

  .hero__credit {
    grid-column: 1;
    grid-row: 4;
    justify-self: start;
    padding: 14px 0 0;
  }

  .manifesto,
  .work__head,
  .studio__head,
  .studio__layout,
  .services__head,
  .atelier,
  .faq,
  .footer__grid,
  .collections {
    grid-template-columns: minmax(0, 1fr);
  }

  .manifesto > *,
  .work__head > *,
  .studio__head > *,
  .services__head > *,
  .atelier > *,
  .faq > *,
  .footer__grid > *,
  .collections > * {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  .m-just {
    padding-left: 8%;
  }

  .manifesto__photo--a {
    width: 78%;
    justify-self: end;
    margin-top: 40px;
  }

  .manifesto__photo--b {
    width: 56%;
    margin-top: -38%;
  }

  .manifesto__credit {
    margin-top: 12px;
  }

  .manifesto__words {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

  .work__note {
    margin-top: 18px;
  }

  .work__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 120px;
    gap: 12px;
  }

  .tile,
  .tile--b,
  .tile--c {
    grid-column: span 1;
    grid-row: span 2;
  }

  .tile--a {
    grid-column: span 2;
    grid-row: span 3;
  }

  .tile__caption {
    flex-direction: column;
    gap: 0;
  }

  .look__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .look__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .look__body {
    padding-top: 18px;
  }

  .look__close {
    position: absolute;
    top: -64px;
    right: 14px;
    background: var(--milk);
    color: var(--ink);
    border-color: var(--milk);
  }

  .collections__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spread__big {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 4 / 4.4;
  }

  .spread__small--1 {
    grid-column: 1;
    grid-row: 2;
  }

  .spread__small--2 {
    grid-column: 2;
    grid-row: 2;
    margin-top: 32px;
  }

  .spread__text {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .collections__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-tab {
    font-size: 24px;
  }

  .studio__lede {
    margin-top: 16px;
  }

  .studio__stage-wrap {
    top: var(--topbar);
    z-index: 5;
    margin: 0 calc(-1 * var(--pad));
    padding: 6px var(--pad) 10px;
    background: var(--paper);
    box-shadow: 0 12px 18px -16px rgb(29 26 32 / 0.5);
  }

  .stage {
    aspect-ratio: auto;
    height: 34svh;
    min-height: 220px;
    border-radius: 24px;
    grid-template-columns: 1fr;
  }

  .stage__canvas {
    padding: 8px 8px 0;
  }

  .stage__readout {
    margin: 0 10px 10px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .stage__disclaimer {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.3;
  }

  .studio__controls {
    margin-top: 24px;
  }

  .choices--shape {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .choices--color,
  .choices--art {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .choices--finish,
  .choices--skin {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice__visual {
    height: 56px;
  }

  .studio__actions .btn {
    width: 100%;
  }

  .services__note {
    margin-top: 16px;
  }

  .rack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strip {
    min-height: 260px;
  }

  .strip__chip {
    min-height: 120px;
  }

  .strip__chip .num {
    font-size: 40px;
  }

  .strip__name {
    font-size: 17px;
  }

  .service-detail {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-detail > * {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .inquiry {
    grid-template-columns: minmax(0, 1fr);
  }

  .inquiry__panel {
    border-radius: 22px 22px 22px 48px;
  }

  .prefs {
    grid-template-columns: minmax(0, 1fr);
  }

  .prefs__preview {
    width: 160px;
  }

  .summary__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .summary__row dt {
    grid-column: 1 / -1;
  }

  .atelier__photo--a {
    width: 82%;
    margin-top: 32px;
  }

  .atelier__photo--b {
    width: 100%;
  }

  .atelier__photo--c {
    width: 52%;
    justify-self: end;
    margin-top: -26%;
  }

  .atelier__principles {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq__title {
    position: static;
    margin-bottom: 24px;
  }

  .closing__title span:last-child {
    justify-self: start;
  }

  .closing__ctas .btn {
    flex: 1 1 auto;
  }

  .closing__nails {
    width: 100%;
    justify-content: center;
  }

  .concierge-launch {
    min-height: 48px;
    padding: 0 16px 0 12px;
    font-size: 15px;
  }

  .concierge {
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.closing__nails .nail-icon:nth-child(1) { height: clamp(70px, 9vw, 128px); }
.closing__nails .nail-icon:nth-child(2) { height: clamp(86px, 11.4vw, 160px); }
.closing__nails .nail-icon:nth-child(4) { height: clamp(84px, 11vw, 156px); }
.closing__nails .nail-icon:nth-child(5) { height: clamp(66px, 8.4vw, 118px); }
