/* Ateliê Moda Arte — por Mayara Mendes
   Paleta da proposta de identidade: terracota #B07060 e dourado #E5BB6D. */

@font-face {
  font-family: 'Italiana';
  src: url('assets/fonts/italiana-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('assets/fonts/hanken-grotesk-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('assets/fonts/hanken-grotesk-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bodoni Moda';
  src: url('assets/fonts/bodoni-moda-500-latin.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Pinyon Script';
  src: url('assets/fonts/pinyon-script-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --terra: #b07060;
  --terra-deep: #8e4f43;
  --terra-ink: #7a3f33;
  --terra-mist: #ead7cd;
  --choco: #2b1714;
  --choco-2: #3a211c;
  --choco-3: #221210;
  --gold: #e5bb6d;
  --gold-deep: #b8872f;
  --paper: #f7efe9;
  --paper-2: #efe2d8;
  --blush: #fbf4ee;
  --wa: #1e6b47;
  --on-terra: #1a0c0a;

  --surface: var(--paper);
  --surface-2: var(--paper-2);
  --on-surface: var(--choco);
  --on-surface-soft: #5e4540;
  --line: rgb(43 23 20 / 0.16);
  --stage: radial-gradient(120% 90% at 50% 20%, #f3e4db 0%, #e4cabd 62%, #d8b8a9 100%);

  --ff-display: 'Italiana', 'Didot', 'Bodoni 72', serif;
  --ff-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --section: clamp(6rem, 13vw, 11.5rem);
  --maxw: 1360px;
  --radius: 14px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #1f1412;
    --surface-2: #281a17;
    --on-surface: #f5e9e1;
    --on-surface-soft: #cdb5ab;
    --line: rgb(245 233 225 / 0.16);
    --stage: radial-gradient(120% 90% at 50% 20%, #4a2f29 0%, #36221e 62%, #2a1a17 100%);
    color-scheme: dark;
  }
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--ff-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  font-feature-settings: 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  caret-color: var(--terra);
}

::selection {
  background: var(--gold);
  color: var(--choco);
}

html {
  scrollbar-color: var(--terra) var(--surface);
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--choco);
  color: var(--blush);
  padding: 0.7rem 1rem;
  border-radius: 10px;
}
.skip:focus {
  top: 1rem;
}

/* ---------- botões ---------- */
.btn {
  --bg: var(--choco);
  --fg: var(--blush);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bg);
  color: var(--fg);
  font: 600 0.98rem/1 var(--ff-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active {
  transform: scale(0.97);
}
.btn--small {
  min-height: 2.6rem;
  padding: 0 1.1rem;
  font-size: 0.9rem;
}
.btn--ink {
  --bg: var(--choco);
  --fg: var(--blush);
}
.btn--gold {
  --bg: var(--gold);
  --fg: var(--choco);
}
.btn--line {
  --bg: transparent;
  --fg: var(--on-terra);
  border-color: rgb(26 12 10 / 0.55);
}
.close .btn--line {
  --fg: var(--blush);
  border-color: rgb(251 244 238 / 0.55);
}
.btn--line-ink {
  --bg: transparent;
  --fg: var(--on-surface);
  border-color: var(--line);
  border-color: color-mix(in srgb, var(--on-surface) 40%, transparent);
}
.btn--wa {
  --bg: var(--wa);
  --fg: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover {
    --bg: #412520;
  }
  .btn--gold:hover {
    --bg: #edc983;
  }
  .btn--line:hover {
    --bg: rgb(26 12 10 / 0.08);
  }
  .close .btn--line:hover {
    --bg: rgb(251 244 238 / 0.12);
  }
  .btn--line-ink:hover {
    --bg: color-mix(in srgb, var(--on-surface) 8%, transparent);
  }
  .btn--wa:hover {
    --bg: #185a3b;
  }
}

/* ---------- navegação ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem var(--gutter);
  padding-top: max(0.85rem, env(safe-area-inset-top));
  color: var(--blush);
  background: rgb(43 23 20 / 0.94);
  transition: background-color 280ms ease, box-shadow 280ms ease;
}
.nav.is-solid {
  background: rgb(43 23 20 / 0.96);
  box-shadow: 0 10px 30px -18px rgb(0 0 0 / 0.6);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--ff-display);
  font-size: 1.28rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav__brand img {
  width: 40px;
  height: auto;
}
.nav__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  font-size: 0.94rem;
}
.nav__links a {
  text-decoration: none;
  opacity: 0.88;
  padding: 0.4rem 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 240ms var(--ease-out), opacity 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover {
    opacity: 1;
    background-size: 100% 1px;
  }
}
@media (max-width: 820px) {
  .nav__links {
    display: none;
  }
  .nav .btn {
    margin-left: auto;
  }
  .nav__brand span {
    font-size: 1.05rem;
  }
}
@media (max-width: 440px) {
  .nav__brand span {
    display: none;
  }
}
.nav__brand span {
  white-space: nowrap;
}

/* ---------- abertura ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background:
    radial-gradient(90% 70% at 85% 10%, rgb(255 214 190 / 0.22), transparent 60%),
    radial-gradient(70% 60% at 0% 100%, rgb(90 35 28 / 0.35), transparent 70%),
    var(--terra);
  color: var(--blush);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2.5rem);
  align-items: end;
  min-height: 100svh;
  padding: clamp(7rem, 14vh, 9rem) var(--gutter) clamp(3rem, 8vh, 5rem);
}
.hero__copy {
  grid-column: 1 / span 8;
  position: relative;
  z-index: 2;
  padding-bottom: clamp(1rem, 4vh, 3rem);
}
.hero__title {
  font-size: clamp(3.1rem, 7.4vw, 6rem);
  line-height: 0.98;
  color: var(--blush);
  max-width: 14ch;
}
.hero__title br {
  display: none;
}
@media (min-width: 900px) {
  .hero__title {
    max-width: none;
  }
  .hero__title br {
    display: inline;
  }
}
.hero__lede {
  margin-top: clamp(1.4rem, 3vh, 2rem);
  max-width: 38rem;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--on-terra);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: clamp(1.8rem, 4vh, 2.6rem);
}
.hero__photo {
  grid-column: 9 / span 4;
  margin: 0;
  position: relative;
  z-index: 1;
  align-self: end;
  transform: translateY(clamp(4rem, 12vh, 8rem));
}
.arch {
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  aspect-ratio: 0.64;
  box-shadow: 0 40px 80px -40px rgb(40 12 8 / 0.7);
  outline: 1px solid rgb(229 187 109 / 0.55);
  outline-offset: 10px;
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.hero__foil {
  position: absolute;
  z-index: 0;
  right: 18%;
  top: 8%;
  width: clamp(280px, 38vw, 620px);
  height: auto;
  opacity: 0.2;
  mix-blend-mode: screen;
  pointer-events: none;
}
@media (max-width: 899px) {
  .hero {
    align-items: start;
    min-height: auto;
    padding-bottom: 0;
  }
  .hero__copy {
    grid-column: 1 / -1;
  }
  .hero__photo {
    grid-column: 3 / span 8;
    margin-top: 3rem;
    transform: translateY(4rem);
  }
  .hero__foil {
    right: -20%;
    top: 30%;
    width: 90vw;
  }
}
@media (max-width: 520px) {
  .hero__photo {
    grid-column: 2 / span 10;
  }
  .hero__ctas .btn {
    flex: 1 1 100%;
  }
}

/* ---------- cena 1: a bolsa se monta ---------- */
.build {
  position: relative;
  background: var(--surface);
  padding: calc(var(--section) + 3rem) var(--gutter) var(--section);
}
.build__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}
.build__title {
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  color: var(--terra-ink);
}
@media (prefers-color-scheme: dark) {
  .build__title {
    color: var(--gold);
  }
}
.build__steps {
  list-style: none;
  padding: 0;
  margin: clamp(2rem, 5vh, 3rem) 0 0;
  display: grid;
  gap: 1.6rem;
}
.build__step h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  margin-bottom: 0.35rem;
}
.build__step p {
  max-width: 34rem;
  color: var(--on-surface-soft);
}
.build__step a {
  color: var(--on-surface);
  font-weight: 600;
}
.build__ticks {
  display: none;
}
.build__stage {
  position: relative;
  width: 100%;
  max-width: 680px;
  justify-self: center;
}
.build__stage svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* estado pinado (desktop, com JS e sem redução de movimento) */
.build.is-pinned {
  padding: 0 var(--gutter);
}
.build.is-pinned .build__inner {
  height: 100vh;
}
.build.is-pinned .build__steps {
  position: relative;
  display: block;
  min-height: 11rem;
}
.build.is-pinned .build__step {
  position: absolute;
  inset: 0 0 auto;
}
.build.is-pinned .build__ticks {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.2rem;
}
.build__ticks span {
  width: 2.6rem;
  height: 2px;
  background: var(--line);
  overflow: hidden;
  position: relative;
}
.build__ticks span::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--terra);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.build.is-pinned .build__stage svg {
  max-height: 82vh;
}
@media (max-width: 767px) {
  .build__inner {
    grid-template-columns: 1fr;
  }
  .build__stage {
    order: -1;
    max-width: 440px;
  }
}

/* ---------- ocasiões ---------- */
.occ {
  background: var(--choco);
  color: var(--blush);
  padding: var(--section) var(--gutter);
}
.occ__title {
  max-width: var(--maxw);
  margin: 0 auto clamp(3rem, 7vw, 5.5rem);
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  color: var(--gold);
}
.occ__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: var(--maxw);
}
.occ__row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.2rem clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.6rem, 3.4vw, 2.6rem) 0;
  border-top: 1px dashed rgb(229 187 109 / 0.38);
}
.occ__row:last-child {
  border-bottom: 1px dashed rgb(229 187 109 / 0.38);
}
.occ__name {
  font-family: var(--ff-display);
  font-size: clamp(2.3rem, 6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.015em;
}
.pill {
  display: inline-block;
  vertical-align: middle;
  width: 1.9em;
  height: 0.86em;
  margin: 0 0.12em;
  border-radius: 999px;
  overflow: hidden;
  transform: translateY(-0.06em);
  outline: 1px solid rgb(229 187 109 / 0.5);
  outline-offset: 3px;
}
.pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .occ__row:hover .pill img {
    transform: scale(1.12);
  }
}
.occ__note {
  color: #e2cfc6;
  max-width: 30rem;
}
@media (max-width: 767px) {
  .occ__row {
    grid-template-columns: 1fr;
  }
}

/* ---------- cena 2: galeria horizontal ---------- */
.reel {
  background: var(--terra);
  color: var(--blush);
  padding: var(--section) 0;
  overflow: hidden;
}
.reel__head {
  max-width: var(--maxw);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 1.5rem 3rem;
  align-items: end;
}
.reel__title {
  font-size: clamp(2.6rem, 6vw, 5.6rem);
}
.reel__lede {
  color: var(--on-terra);
  max-width: 28rem;
}
.reel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 var(--gutter) 0.5rem;
  scroll-padding: 0 var(--gutter);
}
.reel__viewport::-webkit-scrollbar {
  display: none;
}
.reel__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(1rem, 2vw, 1.8rem);
  width: max-content;
}
.shot {
  scroll-snap-align: start;
  margin: 0;
}
.shot img,
.shot video {
  height: clamp(300px, 56vh, 580px);
  width: auto;
  aspect-ratio: 0.8;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--terra-deep);
}
.shot--tall img,
.shot--video video {
  aspect-ratio: 0.62;
}
.shot p {
  margin-top: 0.9rem;
  font-size: 0.93rem;
  color: var(--on-terra);
  max-width: 22rem;
}
.shot b {
  display: block;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--blush);
  line-height: 1.1;
}
.reel.is-pinned {
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.reel.is-pinned .reel__viewport {
  overflow: visible;
  scroll-snap-type: none;
}
.reel.is-pinned .reel__head {
  margin-bottom: 2rem;
}
.reel.is-pinned .shot img,
.reel.is-pinned .shot video {
  height: clamp(280px, 52vh, 560px);
}
@media (max-width: 767px) {
  .reel__head {
    grid-template-columns: 1fr;
  }
  .shot img,
  .shot video {
    height: 62vw;
    min-height: 280px;
  }
}

/* ---------- modelos ---------- */
.models {
  background: var(--surface);
  padding: var(--section) var(--gutter);
}
.models__title {
  max-width: var(--maxw);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  color: var(--terra-ink);
  max-width: min(var(--maxw), 22ch);
  margin-left: max(0px, calc((100% - var(--maxw)) / 2));
}
@media (prefers-color-scheme: dark) {
  .models__title {
    color: var(--gold);
  }
}
.bento {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(220px, 24vw, 330px);
  grid-auto-flow: dense;
  gap: clamp(0.75rem, 1.4vw, 1.2rem);
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
  margin: 0;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover img {
    transform: scale(1.045);
  }
}
.tile--a {
  grid-column: span 2;
  grid-row: span 2;
}
.tile--b {
  grid-row: span 2;
}
.tile__cap {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 1rem 1.1rem 1.05rem;
  background: rgb(247 239 233 / 0.95);
  color: var(--choco);
  border-radius: 12px;
  max-width: 26rem;
}
.tile__cap h3 {
  font-size: 1.75rem;
  margin-bottom: 0.2rem;
}
.tile__cap p {
  font-size: 0.92rem;
  line-height: 1.45;
  color: #5e4540;
}
.tile--a .tile__cap {
  left: 1.2rem;
  bottom: 1.2rem;
  padding: 1.4rem 1.5rem;
}
.tile--a .tile__cap h3 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}
@media (max-width: 900px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 260px;
  }
}
@media (max-width: 560px) {
  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 360px;
  }
  .tile--a,
  .tile--b {
    grid-column: auto;
    grid-row: auto;
  }
  .tile--a {
    grid-row: span 1;
    height: auto;
  }
}
.also {
  max-width: var(--maxw);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  padding-top: clamp(1.5rem, 3vw, 2.2rem);
  border-top: 1px dashed var(--line);
}
.also img {
  width: clamp(88px, 10vw, 120px);
  aspect-ratio: 0.75;
  object-fit: cover;
  border-radius: 999px 999px 10px 10px;
  flex: none;
}
.also p {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  max-width: 38rem;
  color: var(--on-surface-soft);
}
.also strong {
  color: var(--on-surface);
  font-weight: 600;
}

/* ---------- cena 3: lotes empilhando ---------- */
.pile {
  background: var(--choco);
  color: var(--blush);
  padding: var(--section) var(--gutter);
  overflow: hidden;
}
.pile__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.pile__title {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  color: var(--gold);
}
.pile__text p {
  margin: 1.4rem 0 2rem;
  color: #e2cfc6;
  max-width: 30rem;
  font-size: 1.08rem;
}
.pile__stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--choco-2);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
}
.card img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
}
.card:last-child:nth-child(odd) {
  grid-column: span 2;
}
.card:last-child:nth-child(odd) img {
  aspect-ratio: 1.5;
}
.pile.is-pinned {
  padding: 0 var(--gutter);
}
.pile.is-pinned .pile__inner {
  height: 100vh;
}
.pile.is-pinned .pile__stack {
  display: block;
  position: relative;
  height: min(76vh, 640px);
}
.pile.is-pinned .card {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(100%, calc(min(76vh, 640px) * 0.78));
  height: 100%;
}
.pile.is-pinned .card img,
.pile.is-pinned .card:last-child:nth-child(odd) img {
  height: 100%;
  aspect-ratio: auto;
}
@media (max-width: 767px) {
  .pile__inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- personalizador ---------- */
.studio {
  background: var(--surface-2);
  padding: var(--section) var(--gutter);
}
.studio__head {
  max-width: var(--maxw);
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1rem 3rem;
  align-items: end;
}
.studio__title {
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--terra-ink);
}
@media (prefers-color-scheme: dark) {
  .studio__title {
    color: var(--gold);
  }
}
.studio__head p {
  color: var(--on-surface-soft);
  max-width: 30rem;
}
.studio__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.studio__stage {
  position: sticky;
  top: 5.5rem;
}
.stage {
  background: var(--stage);
  border-radius: 24px;
  height: min(calc(100vh - 8.5rem), 720px);
  min-height: 420px;
  width: 100%;
  display: block;
  padding: clamp(0.75rem, 2.5vw, 2rem);
  overflow: hidden;
}
/* a bolsa cabe inteira no palco: o SVG ocupa a área útil e se ajusta sem cortar */
.stage svg {
  display: block;
  width: 100%;
  height: 100%;
}
.stage noscript img {
  border-radius: 16px;
  max-height: 100%;
}
.stage__summary {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--on-surface-soft);
  min-height: 3em;
}
.stage__summary::first-letter {
  text-transform: uppercase;
}
@media (max-width: 899px) {
  .studio__head,
  .studio__grid {
    grid-template-columns: 1fr;
  }
  .studio__stage {
    top: 3.6rem;
    z-index: 5;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0.5rem var(--gutter) 0.6rem;
    background: var(--surface-2);
    box-shadow: 0 14px 18px -16px rgb(0 0 0 / 0.35);
  }
  .stage {
    aspect-ratio: auto;
    height: 40svh;
    min-height: 300px;
    border-radius: 18px;
    padding: 0.4rem;
  }
  .stage__summary {
    display: none;
  }
}

.panel {
  display: grid;
  gap: 0;
}
.group {
  border: 0;
  margin: 0;
  padding: 1.6rem 0;
  border-top: 1px dashed var(--line);
  min-width: 0;
}
.group:first-child {
  border-top: 0;
  padding-top: 0;
}
.group__title {
  font-family: var(--ff-display);
  font-size: 1.75rem;
  line-height: 1.1;
  padding: 0;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  width: 100%;
}
.group__title output,
.sub output {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--on-surface-soft);
}
.group.is-off {
  opacity: 0.5;
}
.sub {
  margin: 1.2rem 0 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

/* modelos */
.models-pick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}
.mp {
  position: relative;
  cursor: pointer;
}
.mp input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.mp__card {
  display: grid;
  gap: 0.3rem;
  justify-items: center;
  padding: 0.55rem 0.3rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  transition: border-color 180ms ease, background-color 180ms ease, transform 160ms var(--ease-out);
}
.mp__card svg {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.mp__card span {
  font-size: 0.86rem;
  font-weight: 600;
}
.mp input:checked + .mp__card {
  border-color: var(--terra);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--terra);
}
.mp input:focus-visible + .mp__card {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
}
.mp:active .mp__card {
  transform: scale(0.97);
}
@media (max-width: 420px) {
  .models-pick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* amostras de cor */
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.sw {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
}
.swatches--thread .sw {
  width: 2.1rem;
  height: 2.1rem;
}
.sw input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.sw__dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.14), inset 0 -6px 10px rgb(0 0 0 / 0.1);
  transition: transform 160ms var(--ease-out), box-shadow 180ms ease;
}
.sw--auto .sw__dot {
  background: conic-gradient(#c99a35 0 25%, #efe4cc 0 50%, #161616 0 75%, #d98a9a 0);
}
.sw input:checked + .sw__dot {
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.14), 0 0 0 3px var(--surface-2), 0 0 0 5px var(--on-surface);
}
.sw input:focus-visible + .sw__dot {
  outline: 2px solid var(--terra);
  outline-offset: 5px;
}
.sw:active .sw__dot {
  transform: scale(0.92);
}
@media (hover: hover) and (pointer: fine) {
  .sw:hover .sw__dot {
    transform: scale(1.08);
  }
}
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* campos */
.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}
.field label {
  font-size: 0.9rem;
  font-weight: 600;
}
.opt {
  font-weight: 400;
  color: var(--on-surface-soft);
}
.field input[type='text'],
.field input[type='number'] {
  font: inherit;
  font-size: 1rem;
  color: var(--on-surface);
  background: var(--surface);
  border: 1px solid var(--line);
  border-color: color-mix(in srgb, var(--on-surface) 24%, transparent);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  min-height: 3rem;
  width: 100%;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field input::placeholder {
  color: color-mix(in srgb, var(--on-surface-soft) 85%, transparent);
}
.field input:focus {
  outline: none;
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgb(176 112 96 / 0.28);
}
.field input:disabled {
  opacity: 0.55;
}
.field__hint {
  font-size: 0.84rem;
  color: var(--on-surface-soft);
}
.seg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--on-surface) 7%, transparent);
  margin-bottom: 1rem;
}
.seg--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.seg label {
  position: relative;
  cursor: pointer;
}
.seg input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.seg span {
  display: block;
  text-align: center;
  padding: 0.6rem 0.3rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--on-surface-soft);
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}
.seg input:checked + span {
  background: var(--surface);
  color: var(--on-surface);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.12), 0 4px 10px -6px rgb(0 0 0 / 0.25);
}
.seg input:focus-visible + span {
  outline: 2px solid var(--terra);
  outline-offset: 2px;
}
.seg input:disabled + span {
  opacity: 0.45;
}
@media (max-width: 420px) {
  .seg--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 18px;
  }
}
.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.95rem;
}
.check input {
  appearance: none;
  flex: none;
  width: 1.3rem;
  height: 1.3rem;
  margin: 0.15rem 0 0;
  border-radius: 6px;
  border: 1.5px solid color-mix(in srgb, var(--on-surface) 45%, transparent);
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.check input::after {
  content: '';
  width: 0.36rem;
  height: 0.68rem;
  border: solid var(--blush);
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg) scale(0.6);
  opacity: 0;
  transition: transform 180ms var(--ease-out), opacity 120ms ease;
}
.check input:checked {
  background: var(--terra-ink);
  border-color: var(--terra-ink);
}
.check input:checked::after {
  opacity: 1;
  transform: translateY(-1px) rotate(45deg) scale(1);
}
.range {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0;
}
.range label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
}
.range output {
  font-weight: 400;
  color: var(--on-surface-soft);
  font-variant-numeric: tabular-nums;
}
.range input {
  width: 100%;
  margin: 0;
  accent-color: var(--terra-ink);
  cursor: pointer;
}
.check--big {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.check b {
  font-weight: 600;
}
.drop {
  display: grid;
  gap: 0.25rem;
  padding: 1.1rem 1.2rem;
  border: 1.5px dashed color-mix(in srgb, var(--on-surface) 32%, transparent);
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.drop:focus-within {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgb(176 112 96 / 0.28);
}
.drop.is-over {
  border-color: var(--terra);
  background: color-mix(in srgb, var(--terra) 8%, transparent);
}
.drop__title {
  font-weight: 600;
}
.drop__hint {
  font-size: 0.84rem;
  color: var(--on-surface-soft);
}
.field .check {
  margin-top: 0.8rem;
}
.warn {
  margin-top: 0.7rem;
  font-size: 0.86rem;
  color: var(--terra-ink);
  padding-left: 0.9rem;
  position: relative;
}
.warn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
}
@media (prefers-color-scheme: dark) {
  .warn {
    color: var(--gold);
  }
}
.order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 0 0.8rem;
}
@media (max-width: 420px) {
  .order {
    grid-template-columns: 1fr;
  }
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0.6rem 0 1.1rem;
}
.actions .btn {
  flex: 1 1 14rem;
}
.fine {
  font-size: 0.82rem;
  color: var(--on-surface-soft);
  max-width: 34rem;
}
.fine + .fine {
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--on-surface);
}

/* ---------- dúvidas ---------- */
.faq {
  background: var(--surface);
  padding: var(--section) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
}
.faq__title {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  color: var(--terra-ink);
}
@media (prefers-color-scheme: dark) {
  .faq__title {
    color: var(--gold);
  }
}
.faq__list details {
  border-top: 1px dashed var(--line);
}
.faq__list details:last-child {
  border-bottom: 1px dashed var(--line);
}
.faq__list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem 0;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  font-weight: 500;
}
.faq__list summary::-webkit-details-marker {
  display: none;
}
.faq__list summary::after {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform 220ms var(--ease-out);
}
.faq__list details[open] summary::after {
  transform: rotate(45deg);
}
.faq__list details p {
  padding: 0 0 1.5rem;
  max-width: 40rem;
  color: var(--on-surface-soft);
}
@media (max-width: 767px) {
  .faq {
    grid-template-columns: 1fr;
  }
}

/* ---------- fechamento ---------- */
.close {
  background:
    radial-gradient(60% 60% at 50% 30%, rgb(176 112 96 / 0.35), transparent 70%),
    var(--choco);
  color: var(--blush);
  text-align: center;
  padding: var(--section) var(--gutter);
  display: grid;
  justify-items: center;
}
.close__logo {
  width: clamp(180px, 22vw, 280px);
  height: auto;
}
.close__title {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  max-width: 16ch;
}
.close__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 2.4rem;
}

.foot {
  background: var(--choco-3);
  color: #d9c3b9;
  padding: 2.5rem var(--gutter) calc(2.5rem + env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  align-items: baseline;
  font-size: 0.92rem;
}
.foot__brand {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  color: var(--blush);
  letter-spacing: 0.04em;
}
.foot__brand span {
  font-size: 1rem;
  color: var(--gold);
}
.foot__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  padding: 0;
  margin: 0;
}
.foot__links a {
  display: inline-block;
  padding: 0.3rem 0;
}
.foot__fine {
  margin-left: auto;
  font-size: 0.82rem;
  opacity: 0.8;
}
@media (max-width: 767px) {
  .foot__fine {
    margin-left: 0;
    width: 100%;
  }
}
