/*
 * PROVOWT — provador virtual com IA
 * Layout no padrão VOWT (hero escuro, folhas claras arredondadas, botões em pílula, Geist)
 * com paleta de moda: marfim, areia, café expresso, caramelo e rosé.
 *
 * Compatibilidade: CSS "plano" (sem aninhamento, sem @layer, sem color-mix) para funcionar
 * em iOS 15+, Android e navegadores embutidos de apps (Instagram, WhatsApp, Facebook).
 * Fonte Geist © 2023 Vercel — SIL Open Font License 1.1 (auto-hospedada).
 */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --ink: #1b1714;
  --ink-2: #3a322c;
  --muted: #756d66;
  --subtle: #a39a92;
  --paper: #faf7f2;
  --card: #ffffff;
  --sand: #f3eee7;
  --sand-2: #ebe3d8;
  --line: #e8e0d5;
  --line-2: #d9cfc2;
  --blush: #f4e7e0;
  --accent: #8f5434;
  --accent-2: #b37a55;
  --accent-dark: #d4a382;
  --noir: #15110e;
  --noir-2: #1f1915;
  --on-dark: #f7f1ea;
  --on-dark-2: rgba(247, 241, 234, .74);
  --on-dark-3: rgba(247, 241, 234, .5);
  --glass: rgba(247, 241, 234, .07);
  --glass-line: rgba(247, 241, 234, .14);
  --good: #2f8f62;
  --bad: #c8433a;
  --disabled: #bdb4ab;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-sheet: 48px;
  --radius-card: 22px;
  --radius: 16px;
  --shadow-card: 0 1px 2px rgba(27, 23, 20, .04), 0 18px 40px -18px rgba(27, 23, 20, .16);
  --shadow-float: 0 30px 80px -24px rgba(0, 0, 0, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
dialog:not([open]) { display: none; }

/* ---------- base ---------- */
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink);
  background: var(--noir);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html.is-modal-open, html.is-modal-open body { overflow: hidden; }
h1, h2, h3 { line-height: 1.1; font-weight: 400; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: break-word; }
p { text-wrap: pretty; overflow-wrap: break-word; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
section[id], details[id], aside[id], .upload-card { scroll-margin-top: 88px; }
::selection { background: var(--blush); color: var(--ink); }

.container { width: calc(100% - 2 * var(--gutter)); max-width: var(--container); margin-left: auto; margin-right: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon--xl { width: 40px; height: 40px; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  color: var(--on-dark);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(21, 17, 14, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--glass-line);
}
.site-header__inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-nav { display: flex; gap: 28px; font-size: 14.5px; font-weight: 450; }
.site-nav a { text-decoration: none; color: var(--on-dark-2); transition: color .2s; }
.site-nav a:hover { color: var(--on-dark); }

/* marca */
.brand { display: inline-flex; text-decoration: none; color: inherit; flex: none; }
.wordmark { display: inline-flex; align-items: baseline; gap: 3px; line-height: 1; color: inherit; white-space: nowrap; }
.wordmark__pro { font-size: 27px; font-weight: 600; letter-spacing: .005em; }
.wordmark__vowt { height: 22px; width: auto; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 0;
  overflow: hidden;
  color: var(--on-dark);
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(116, 80, 61, .55), rgba(116, 80, 61, 0) 70%),
    radial-gradient(70% 70% at 0% 100%, rgba(75, 47, 42, .5), rgba(75, 47, 42, 0) 70%),
    var(--noir);
  padding: clamp(112px, 13vw, 156px) 0 calc(var(--radius-sheet) + clamp(48px, 7vw, 96px));
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background-image: radial-gradient(circle, #fff .6px, rgba(255, 255, 255, 0) .9px);
  background-size: 6px 6px;
  opacity: .07;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 85%);
}
.hero__inner { display: grid; gap: clamp(36px, 6vw, 64px); }
.hero__copy { display: grid; justify-items: center; text-align: center; gap: 20px; max-width: 860px; margin: 0 auto; }
.hero__title { font-size: clamp(36px, calc(6vw + 10px), 72px); font-weight: 300; letter-spacing: -.045em; line-height: 1.04; }
.hero__subtitle { font-size: clamp(15.5px, 1.6vw, 19px); line-height: 1.6; color: var(--on-dark-2); font-weight: 300; max-width: 640px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.hero__stage { position: relative; display: grid; place-items: center; }

/* ---------- folhas e seções ---------- */
.sheet {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border-radius: var(--radius-sheet);
  padding: clamp(40px, 7vw, 96px) 0;
}
.sheet--first { margin-top: calc(-1 * var(--radius-sheet)); }
.dark-section { color: var(--on-dark); padding: clamp(56px, 9vw, 112px) 0; }
.cta { color: var(--on-dark); padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.cta__inner { display: grid; justify-items: center; gap: 18px; max-width: 760px; }
.cta h2 { font-size: clamp(28px, 4.6vw, 52px); font-weight: 300; letter-spacing: -.04em; }
.cta p { color: var(--on-dark-2); font-size: 17px; max-width: 560px; font-weight: 300; }
.site-footer { color: var(--on-dark); border-top: 1px solid var(--glass-line); padding: 28px 0 calc(36px + env(safe-area-inset-bottom)); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.site-footer__links a { color: var(--on-dark-2); text-decoration: none; }
.site-footer__links a:hover { color: var(--on-dark); }
.site-footer__copy { width: 100%; font-size: 13px; color: var(--on-dark-3); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-decoration: none;
  text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .icon { width: 17px; height: 17px; }
.btn:active { transform: scale(.98); }
.btn:disabled { cursor: not-allowed; transform: none; }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { background: var(--glass); color: var(--on-dark); border-color: var(--glass-line); }
.btn--ghost:hover { border-color: rgba(247, 241, 234, .32); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #000; }
.btn--outline { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--card { border-radius: 14px; min-height: 50px; }
.btn--block { width: 100%; }
.btn--cta { background: var(--ink); color: #fff; min-height: 58px; font-size: 16.5px; font-weight: 600; }
.btn--cta:hover { background: #000; box-shadow: 0 12px 28px -12px rgba(27, 23, 20, .5); }
.btn--cta:disabled { background: var(--disabled); color: #fff; box-shadow: none; }

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--sand);
  transition: background-color .2s;
  flex: none;
}
.icon-btn:hover { background: var(--sand-2); }
.icon-btn .icon { width: 19px; height: 19px; }
.icon-btn--glass { background: rgba(255, 255, 255, .14); color: #fff; }
.icon-btn--glass:hover { background: rgba(255, 255, 255, .24); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 450;
}
.chip .icon { width: 15px; height: 15px; color: var(--accent-dark); }
.chip--dark { background: var(--glass); border: 1px solid var(--glass-line); color: var(--on-dark); }
.badge { font-size: 11.5px; font-weight: 500; padding: 4px 9px; border-radius: 8px; background: var(--sand); color: var(--ink-2); white-space: nowrap; }
.eyebrow { font-size: 12.5px; font-weight: 550; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

.section-head { display: grid; justify-items: center; text-align: center; gap: 14px; max-width: 720px; margin: 0 auto clamp(28px, 5vw, 56px); }
.section-head h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 400; letter-spacing: -.035em; }
.section-head__lead { color: var(--muted); font-size: 17px; max-width: 600px; }
.section-head--dark .eyebrow { color: var(--accent-dark); }
.section-head--dark .section-head__lead { color: var(--on-dark-2); }
.section-head--left { justify-items: start; text-align: left; margin: 0 0 24px; }

/* ---------- demonstração do hero ---------- */
.demo-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  background: var(--card);
  color: var(--ink);
  border-radius: 24px;
  padding: 14px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow-float);
}
.demo-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 0; }
.demo-card__title { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; }
.demo-card__title .icon { color: var(--accent); }
.demo-card__caption { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--muted); padding-bottom: 2px; text-align: center; }
.demo-card__caption .icon { width: 14px; height: 14px; }

.float-chip {
  position: absolute;
  z-index: 1;
  display: none;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  color: var(--on-dark);
  padding: 12px 14px;
  font-size: 13.5px;
}
.float-chip--product { align-items: center; gap: 12px; left: calc(50% - 440px); top: 24%; }
.float-chip--product img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.float-chip--product strong { display: block; font-weight: 550; }
.float-chip--product small { color: var(--on-dark-2); font-size: 12.5px; }
.float-chip--steps { right: calc(50% - 450px); top: 46%; gap: 8px; }
.float-chip--steps li { display: flex; align-items: center; gap: 8px; color: var(--on-dark-2); }
.float-chip--steps .icon { width: 15px; height: 15px; color: var(--accent-dark); }

/* ---------- comparador antes/depois ---------- */
.compare {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  cursor: ew-resize;
  isolation: isolate;
}
.compare img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}
.compare:focus { outline: none; }
.compare:focus-visible .compare__handle { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.compare--demo { aspect-ratio: 3 / 4; }
.compare--demo img { object-position: 50% 30%; }
.compare__before { -webkit-clip-path: inset(0 calc(100% - var(--pos)) 0 0); clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 2;
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08);
  pointer-events: none;
}
.compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  transition: transform .2s var(--ease);
}
.compare__handle .icon { width: 18px; height: 18px; }
.compare.is-dragging .compare__handle { transform: scale(1.08); }
.compare__tag {
  position: absolute;
  top: 10px;
  z-index: 2;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  pointer-events: none;
}
.compare__tag--before { left: 10px; }
.compare__tag--after { right: 10px; }
.compare__download {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .16);
  cursor: pointer;
  transition: background-color .2s;
}
.compare__download:hover { background: #f7f2eb; }
.compare__download .icon { width: 20px; height: 20px; }
.compare__mock {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}
.compare.is-mock .compare__after { filter: sepia(.55) saturate(1.4) hue-rotate(-12deg) contrast(1.05); }

/* ---------- provador ---------- */
.tryon {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(20px, 3.4vw, 44px);
  display: grid;
  gap: clamp(20px, 2.6vw, 28px);
  box-shadow: var(--shadow-card);
}
.tryon > * { min-width: 0; }
.tryon__head { display: grid; gap: 10px; text-align: center; justify-items: center; }
.tryon__head h2 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 500; letter-spacing: -.04em; }
.tryon__head p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 560px; }

.stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; padding: 16px 8px 14px; }
.stepper__item { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; color: var(--subtle); padding: 0 4px; }
.stepper__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  left: calc(50% + 24px);
  right: calc(-50% + 24px);
  height: 1px;
  background: var(--line-2);
}
.stepper__item.is-done:not(:last-child)::after { background: var(--ink); }
.stepper__num {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  background: var(--card);
  border: 1px solid var(--line-2);
  color: var(--subtle);
  transition: background-color .25s, color .25s, border-color .25s;
}
.stepper__label { font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.stepper__item.is-active { color: var(--ink); }
.stepper__item.is-active .stepper__num { background: var(--ink); border-color: var(--ink); color: #fff; }
.stepper__item.is-active .stepper__label { font-weight: 600; }
.stepper__item.is-done { color: var(--ink-2); }
.stepper__item.is-done .stepper__num { background: var(--blush); border-color: var(--blush); color: var(--accent); }

.tryon__grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.upload-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--card);
}
.upload-card__title { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.upload-card__title span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: var(--sand);
  color: var(--ink);
  flex: none;
}
.upload-card__sub { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.upload-card__error { font-size: 13.5px; color: var(--bad); }

.slot { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; }
.drop {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 210px;
  padding: 24px 16px;
  text-align: center;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fdfbf8, var(--paper));
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .2s, background-color .2s;
}
.drop:hover, .drop.is-dragover { border-color: var(--accent-2); background: #fbf4ec; }
.drop:focus-within { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.drop.is-busy { pointer-events: none; opacity: .6; }
.drop--static { cursor: default; }
.drop--static:hover { border-color: var(--line-2); background: linear-gradient(180deg, #fdfbf8, var(--paper)); }
.drop__icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--line);
  margin-bottom: 4px;
}
.drop__icon .icon { width: 22px; height: 22px; }
.drop__title { font-size: 16px; font-weight: 600; }
.drop__hint { font-size: 13px; color: var(--muted); max-width: 290px; line-height: 1.45; }

.slot__preview { position: relative; aspect-ratio: 4 / 5; max-height: 70vh; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
/* peça escolhida, lembrada no passo da foto (só no celular, onde os cartões ficam empilhados) */
.picked { display: none; }
.picked__text { flex: 1 1 auto; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.3; font-size: 14.5px; color: var(--ink-2); }
.picked img { width: 44px; height: 44px; flex: none; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.picked__change { flex: none; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: 13.5px; color: var(--ink); }
.slot__preview img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
.slot__change {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 550;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .14);
}
.slot__change .icon { width: 15px; height: 15px; }
.slot__label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 130px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: 38px;
  line-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(27, 23, 20, .72);
  color: #fff;
  font-size: 13px;
}

.samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.sample {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  transition: border-color .2s, box-shadow .2s;
}
.sample img { width: 100%; height: 100%; object-fit: cover; }
.sample:hover { border-color: var(--line-2); }
.sample[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }

.photo-tips-wrap { display: grid; gap: 12px; width: 100%; max-width: 640px; margin: 0 auto; }
.photo-tips__title { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.photo-tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.photo-tip { display: grid; gap: 8px; align-content: start; min-width: 0; }
.photo-tip__img { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--sand); }
.photo-tip__img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-tip__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9);
}
.photo-tip__badge .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.photo-tip--good .photo-tip__badge { background: var(--good); }
.photo-tip--bad .photo-tip__badge { background: var(--bad); }
.photo-tip__caption { font-size: 12.5px; line-height: 1.35; color: var(--muted); font-weight: 500; text-align: center; }

.tryon__run { display: grid; gap: 12px; width: 100%; max-width: 640px; margin: 0 auto; }
.consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
  cursor: pointer;
}
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.consent a { color: var(--accent); font-weight: 500; }
.tryon__note { font-size: 12.5px; color: var(--muted); text-align: center; }
.tryon__status { font-size: 13.5px; color: var(--accent); text-align: center; font-weight: 500; }
.tryon__status:empty { display: none; }
.turnstile-slot { display: flex; justify-content: center; }
.turnstile-slot:empty { display: none; }

/* verificação inteligente da foto */
.photo-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--sand);
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.4;
}
.photo-check__icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--subtle);
}
.photo-check__icon .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.photo-check__body { display: grid; gap: 2px; min-width: 0; }
.photo-check__body strong { font-size: 14px; color: var(--ink); }
.photo-check[data-level="checking"] .photo-check__icon { background: transparent; border: 2.5px solid var(--line-2); border-top-color: var(--accent-2); animation: spin .8s linear infinite; }
.photo-check[data-level="ok"] { background: #e8f4ed; }
.photo-check[data-level="ok"] .photo-check__icon { background: var(--good); }
.photo-check[data-level="warn"] { background: #fbf1dc; }
.photo-check[data-level="warn"] .photo-check__icon { background: #c98a12; }
.photo-check[data-level="block"] { background: #fbe8e6; }
.photo-check[data-level="block"] .photo-check__icon { background: var(--bad); }

/* câmera: orientação ao vivo */
.camera__view[data-guide="loading"] .camera__hint,
.camera__view[data-guide="off"] .camera__hint { background: rgba(0, 0, 0, .55); }
.camera__view[data-guide="none"] .camera__hint { background: rgba(200, 67, 58, .92); }
.camera__view[data-guide="adjust"] .camera__hint { background: rgba(201, 138, 18, .95); }
.camera__view[data-guide="good"] .camera__hint { background: rgba(47, 143, 98, .95); }
.camera__guide { transition: stroke .25s; }
.camera__view[data-guide="none"] .camera__guide { stroke: rgba(240, 120, 110, .9); }
.camera__view[data-guide="adjust"] .camera__guide { stroke: rgba(245, 190, 80, .95); }
.camera__view[data-guide="good"] .camera__guide { stroke: rgba(90, 210, 150, .95); stroke-dasharray: none; stroke-width: 3; }
.btn:disabled[data-action="camera-use"] { opacity: .45; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- janelas (dialog) ---------- */
.modal {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: visible;
  margin: auto;
  overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(21, 17, 14, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .32s var(--ease); }
/* navegadores sem <dialog> (iOS < 15.4): o JS adiciona .is-shim */
.modal.is-shim[open] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(21, 17, 14, .62);
}
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 6; }

.result-modal {
  --arn: .75;
  position: relative;
  width: 600px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--card);
  border-radius: 28px;
  padding: 64px clamp(16px, 3vw, 28px) clamp(16px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.stage {
  position: relative;
  flex: none;
  width: 100%;
  max-width: calc((100vh - 260px) * var(--arn));
  max-width: calc((100dvh - 260px) * var(--arn));
  min-width: 240px;
  aspect-ratio: var(--arn);
  border-radius: 20px;
  overflow: hidden;
  background: var(--sand);
}
.stage > .wait, .stage > .result, .stage > .stage__error {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s .45s;
}
.stage[data-state="waiting"] > .wait,
.stage[data-state="result"] > .result,
.stage[data-state="error"] > .stage__error { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.result .compare { position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 0; }
.result__caption { font-size: 12.5px; color: var(--muted); text-align: center; max-width: 520px; }
.result-modal__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; }
.result-modal__actions .btn { flex: 1 1 200px; }

/* compartilhar o resultado: vídeo da revelação feito no aparelho */
.share { flex: 1 1 100%; display: grid; gap: 8px; justify-items: center; }
.btn--share { position: relative; width: 100%; overflow: hidden; isolation: isolate; background: var(--accent); color: #fff; }
.btn--share:hover { background: #7a462b; }
.btn--share::before { content: ""; position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; width: 0; background: rgba(255, 255, 255, .22); }
.btn--share.is-busy { cursor: progress; }
.btn--share.is-busy::before { width: var(--p, 0%); transition: width .25s linear; }
.btn--share .share__ico-down, .btn--share.is-download .share__ico-share { display: none; }
.btn--share.is-download .share__ico-down { display: inline-block; }
.share__opt { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; -webkit-user-select: none; user-select: none; }
.share__opt input { width: 17px; height: 17px; margin: 0; accent-color: var(--accent); }
.btn__short { display: none; }
.result-modal.has-share .stage { max-width: calc((100vh - 350px) * var(--arn)); max-width: calc((100dvh - 350px) * var(--arn)); }

/* espera: foto desfocada + ícone + mensagens */
.wait { display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--noir-2); }
.wait__bg {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  max-width: none;
  object-fit: cover;
  -webkit-filter: blur(28px) saturate(1.05);
  filter: blur(28px) saturate(1.05);
  animation: wait-breathe 3.4s ease-in-out infinite;
}
.wait::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(65% 55% at 50% 50%, rgba(0, 0, 0, .12), rgba(0, 0, 0, .34)); }
.wait__center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 0 24px; text-align: center; }
.wait__icon {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.wait__icon .icon { width: 28px; height: 28px; }
.wait__icon::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .4);
  animation: wait-ring 2.4s var(--ease) infinite;
}
.wait__msg { color: #fff; font-size: 17px; font-weight: 650; letter-spacing: -.01em; text-shadow: 0 1px 14px rgba(0, 0, 0, .35); min-height: 1.5em; }

.stage__error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
  background: var(--sand);
}
.stage__error p { color: var(--ink-2); font-size: 15px; max-width: 320px; }
.stage__error .stage__icon { width: 56px; height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: #fbe6e3; color: var(--bad); }
.stage__error .stage__icon .icon { width: 26px; height: 26px; }

/* câmera */
.camera {
  position: relative;
  width: 520px;
  max-width: 100vw;
  height: 880px;
  max-height: 100vh;
  max-height: 100dvh;
  background: #0d0b0a;
  color: #fff;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-radius: 26px;
  overflow: hidden;
}
.camera__bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 20px; }
.camera__bar h2 { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.camera__view { position: relative; overflow: hidden; background: #000; min-height: 0; }
.camera__video, .camera__shot { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
.camera__video.is-mirrored { transform: scaleX(-1); }
.camera__guide { position: absolute; left: 10%; top: 4%; width: 80%; height: 86%; fill: none; stroke: rgba(255, 255, 255, .6); stroke-width: 2; stroke-dasharray: 7 7; stroke-linejoin: round; pointer-events: none; }
.camera__hint { position: absolute; left: 50%; bottom: 14px; z-index: 2; width: max-content; max-width: calc(100% - 24px); -webkit-transform: translateX(-50%); transform: translateX(-50%); padding: 9px 16px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; text-align: center; font-size: 13.5px; font-weight: 600; line-height: 1.35; transition: background-color .25s; }
.camera__count { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; font-size: 132px; font-weight: 200; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.camera__msg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; padding: 32px; text-align: center; background: #0d0b0a; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .86); }
.camera__controls { display: grid; justify-items: center; gap: 14px; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); }
.camera__controls--review { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.camera__row { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.camera__side { display: flex; justify-content: center; }
.segmented { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); max-width: 100%; }
.segmented button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; color: rgba(255, 255, 255, .78); white-space: nowrap; }
.segmented button[aria-checked="true"] { background: #fff; color: var(--ink); }
.segmented .icon { width: 14px; height: 14px; }
.shutter {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  border: 4px solid #fff;
  background: #fff;
  box-shadow: inset 0 0 0 4px #0d0b0a;
  transition: transform .15s var(--ease);
}
.shutter:active { transform: scale(.93); }
.shutter:disabled { opacity: .4; }

/* código de acesso */
.code-form {
  position: relative;
  width: 420px;
  max-width: calc(100vw - 24px);
  background: var(--card);
  border-radius: 26px;
  padding: 36px 24px 24px;
  display: grid;
  gap: 12px;
  text-align: center;
}
.code-form h2 { font-size: 23px; font-weight: 500; letter-spacing: -.02em; }
.code-form > p { color: var(--muted); font-size: 14.5px; }
.code-form__icon { width: 54px; height: 54px; margin: 0 auto 4px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--blush); color: var(--accent); }
.code-form__icon .icon { width: 24px; height: 24px; }
.field input {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  padding: 0 16px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(27, 23, 20, .08); }
.field input::placeholder { color: var(--subtle); letter-spacing: .1em; }
.field-error { font-size: 13.5px; color: var(--bad); }
.field-error:empty { display: none; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- como funciona + dicas ---------- */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.how__item { display: grid; gap: 12px; align-content: start; padding-top: 24px; border-top: 1px solid var(--glass-line); }
.how__item h3 { font-size: 21px; font-weight: 450; letter-spacing: -.02em; }
.how__item p { color: var(--on-dark-2); font-size: 15.5px; font-weight: 300; }
.how__num { font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--accent-dark); }
.how__icon { width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--glass); border: 1px solid var(--glass-line); }
.how__icon .icon { width: 20px; height: 20px; }
.tips { margin-top: clamp(40px, 6vw, 64px); padding: clamp(20px, 3vw, 32px); border-radius: 26px; background: var(--glass); border: 1px solid var(--glass-line); }
.tips__title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 550; margin-bottom: 18px; }
.tips__title .icon { color: var(--accent-dark); }
.tips__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.tips__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark-2); font-size: 15px; font-weight: 300; }
.tips__list .icon { width: 17px; height: 17px; margin-top: 3px; color: var(--accent-dark); }

/* ---------- privacidade + dúvidas ---------- */
.info-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.privacy-card {
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.privacy-card h2 { font-size: clamp(23px, 2.6vw, 30px); font-weight: 450; letter-spacing: -.03em; }
.privacy-card p { color: var(--muted); font-size: 15.5px; }
.privacy-card__icon { width: 52px; height: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--blush); color: var(--accent); }
.privacy-card__icon .icon { width: 24px; height: 24px; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary, .terms summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
}
.faq__plus { width: 18px; height: 18px; color: var(--muted); transition: transform .25s var(--ease); }
details[open] > summary .faq__plus { transform: rotate(45deg); }
.faq__answer { padding: 0 2px 18px; color: var(--muted); font-size: 15.5px; }
.faq__answer p + p { margin-top: 10px; }
.terms { margin-top: 28px; border-radius: 18px; background: var(--sand); padding: 0 20px; }
.terms summary { font-size: 15.5px; justify-content: flex-start; }
.terms summary span { flex: 1; }
.terms summary > .icon:first-child { color: var(--accent); }
.terms__body { padding: 0 0 20px; font-size: 14.5px; color: var(--ink-2); }
.terms__body p + p { margin-top: 12px; }

/* ---------- utilidades ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--on-dark); color: var(--ink); text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- animações ---------- */
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes wait-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes wait-ring { from { transform: scale(1); opacity: .75; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- responsivo ---------- */
@media (min-width: 1100px) {
  .float-chip--product { display: flex; }
  .float-chip--steps { display: grid; }
}

/* tablet */
@media (max-width: 1024px) {
  .tryon { border-radius: 26px; }
}
@media (max-width: 860px) {
  .site-nav { display: none; }
}

/* celular grande / tablet pequeno */
@media (max-width: 760px) {
  :root { --radius-sheet: 32px; }
  .tryon__grid { grid-template-columns: minmax(0, 1fr); }
  .picked:not([hidden]) { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 8px 8px 8px 10px; border-radius: 14px; background: var(--sand); }
  .how { grid-template-columns: minmax(0, 1fr); }
  .tips__list { grid-template-columns: minmax(0, 1fr); }
  .info-grid { grid-template-columns: minmax(0, 1fr); }
  .privacy-card { position: static; }
  .drop { min-height: 170px; }
  .slot__preview { max-height: 62vh; }
}

/* celular */
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .site-header__inner { height: 64px; }
  .hero__title { font-size: clamp(36px, 10.5vw, 52px); }
  .hero__subtitle { font-size: 17px; }
  .hero__actions { width: 100%; flex-direction: column; align-items: stretch; max-width: 420px; }
  .hero__actions .btn { width: 100%; min-height: 54px; font-size: 16.5px; }
  .chip { font-size: 14.5px; padding: 8px 16px 8px 13px; }
  .demo-card { max-width: 100%; padding: 12px; }
  .demo-card__title { font-size: 15.5px; }
  .demo-card__caption { font-size: 13.5px; }
  .compare__tag { font-size: 12.5px; padding: 5px 10px; }

  .section-head h2, .tryon__head h2 { font-size: clamp(30px, 8.8vw, 42px); }
  .tryon__head p:not(.eyebrow), .section-head__lead, .cta p { font-size: 17px; }
  .eyebrow { font-size: 13px; }
  .tryon { background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 0; gap: 20px; }
  .stepper { background: var(--card); padding: 16px 4px 14px; }
  .stepper__num { width: 36px; height: 36px; font-size: 13px; }
  .stepper__item:not(:last-child)::after { top: 18px; left: calc(50% + 26px); right: calc(-50% + 26px); }
  .stepper__label { font-size: 13.5px; }
  .upload-card { padding: 16px; gap: 14px; }
  .upload-card__title { font-size: 17px; }
  .upload-card__title span { width: 28px; height: 28px; font-size: 13px; }
  .upload-card__sub { font-size: 14px; }
  .drop { min-height: 200px; gap: 10px; }
  .drop__icon { width: 56px; height: 56px; }
  .drop__icon .icon { width: 26px; height: 26px; }
  .drop__title { font-size: 18px; }
  .drop__hint { font-size: 14.5px; }
  .btn--card { min-height: 56px; font-size: 16.5px; }
  .btn--cta { min-height: 60px; font-size: 17.5px; }
  .slot__change { min-height: 44px; font-size: 15px; padding: 0 16px; }
  .slot__label { height: 44px; line-height: 44px; font-size: 14px; }
  .samples { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
  .photo-tips__title { font-size: 13.5px; }
  .photo-tips { gap: 10px; }
  .photo-tip__badge { width: 26px; height: 26px; }
  .photo-tip__caption { font-size: 13px; }
  .consent { font-size: 15px; gap: 12px; }
  .consent input { width: 22px; height: 22px; }
  .tryon__note { font-size: 14px; }
  .tryon__status { font-size: 15px; }
  .how__item h3 { font-size: 23px; }
  .how__item p, .tips__list li, .faq__answer, .privacy-card p { font-size: 16.5px; }
  .faq__item summary, .terms summary { font-size: 17px; padding: 20px 2px; }
  .terms__body { font-size: 15.5px; }

  /* janelas em tela cheia; a foto da prova ocupa quase toda a tela */
  .modal--result, .modal--camera { width: 100%; height: 100%; margin: 0; max-width: none; max-height: none; }
  .result-modal {
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    padding: calc(60px + env(safe-area-inset-top)) 10px calc(12px + env(safe-area-inset-bottom));
    gap: 12px;
    justify-content: flex-start;
  }
  .result-modal .modal__close { top: calc(10px + env(safe-area-inset-top)); right: 10px; width: 44px; height: 44px; }
  .stage { flex: 1 1 auto; width: 100%; max-width: none; min-width: 0; min-height: 0; aspect-ratio: auto; border-radius: 18px; }
  .result .compare img { object-fit: contain; }
  .wait__icon { width: 76px; height: 76px; }
  .wait__icon .icon { width: 32px; height: 32px; }
  .wait__msg { font-size: 19px; }
  .result__caption { font-size: 13.5px; }
  .result-modal__actions .btn { flex: 1 1 100%; }
  .has-share .result-modal__actions > .btn { flex: 1 1 calc(50% - 5px); padding: 0 12px; }
  .has-share .btn__long { display: none; }
  .has-share .btn__short { display: inline; }
  .share__opt { font-size: 14px; }
  .compare__handle { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .compare__download { width: 48px; height: 48px; }
  .camera { width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; }
  .camera__bar { padding-top: calc(10px + env(safe-area-inset-top)); }
  .camera__hint { font-size: 14.5px; }
  .segmented button { min-height: 40px; font-size: 14.5px; }
  .shutter { width: 82px; height: 82px; }
  .code-form { width: calc(100vw - 24px); padding: 36px 18px 22px; }
  .code-form > p { font-size: 15.5px; }
}

/* celular pequeno (320–380 px) */
@media (max-width: 380px) {
  :root { --gutter: 14px; --radius-sheet: 26px; }
  .wordmark__pro { font-size: 23px; }
  .wordmark__vowt { height: 19px; }
  .site-header .btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .stepper__num { width: 32px; height: 32px; font-size: 12px; }
  .stepper__item:not(:last-child)::after { top: 16px; left: calc(50% + 22px); right: calc(-50% + 22px); }
  .stepper__label { font-size: 12.5px; }
  .photo-tips { gap: 8px; }
  .photo-tip__badge { width: 22px; height: 22px; top: 6px; right: 6px; }
  .photo-tip__badge .icon { width: 12px; height: 12px; }
  .photo-tip__caption { font-size: 12px; }
  .segmented button { padding: 0 11px; font-size: 13.5px; }
  .demo-card__head .badge { display: none; }
}

/* celular deitado (pouca altura) */
@media (orientation: landscape) and (max-height: 560px) {
  .hero { padding-top: 96px; }
  .slot__preview { max-height: 80vh; }
  .modal--result, .modal--camera { width: 100%; height: 100%; margin: 0; max-width: none; max-height: none; }
  .result-modal {
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    padding: 12px 64px 12px calc(12px + env(safe-area-inset-left));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 20px;
  }
  .stage { grid-row: 1 / span 2; flex: none; width: auto; height: calc(100vh - 24px); height: calc(100dvh - 24px); max-width: none; min-width: 0; aspect-ratio: var(--arn); }
  .result__caption { align-self: end; text-align: left; }
  .result-modal__actions { align-self: start; flex-direction: column; max-width: 380px; }
  .result__caption { max-width: 380px; }
  .result-modal__actions .btn { flex: none; width: 100%; }
  .share { flex: none; width: 100%; }
  .has-share .result-modal__actions > .btn { flex: none; width: 100%; }
  .has-share .btn__long { display: inline; }
  .has-share .btn__short { display: none; }
  .camera {
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr);
  }
  .camera__bar { position: absolute; top: 0; left: 0; z-index: 3; padding: 8px 12px; }
  .camera__bar h2 { display: none; }
  .camera__view { grid-row: 1; grid-column: 1; }
  .camera__controls { grid-row: 1; grid-column: 2; align-content: center; padding: 12px 16px; }
  .camera__controls--review { flex-direction: column; justify-content: center; }
  .camera__row { grid-template-columns: auto; grid-template-rows: auto auto; justify-items: center; gap: 12px; }
  .segmented { flex-direction: column; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
