/* ═══════════════════════════════════════════════
   Lume Imóveis — projeto conceito (Gabriel Studio)
   Editorial claro, serifa Fraunces + Manrope, latão como acento.
   Sem backdrop-filter, blur ou máscara: tudo que anima mexe só em
   transform/opacity, para rolar liso no celular.
   ═══════════════════════════════════════════════ */

:root {
  --ink: #141312;
  --ink-2: #2a2724;
  --paper: #f4f0e8;
  --paper-2: #ebe5d8;
  --white: #fffdf9;
  --line: rgba(20, 19, 18, 0.12);
  --muted: #6e675d;
  --brass: #b08d57;
  --brass-2: #c9a46a;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 16px;
  --container: min(1200px, 100% - 40px);
  --header-h: 72px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}

/* um display: grid/flex de classe não pode vencer o atributo hidden */
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper);
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.container { width: var(--container); margin-inline: auto; }

/* ── Tipografia de seção ── */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow--light { color: var(--brass-2); }

.section { padding: clamp(72px, 10vw, 136px) 0; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section__title {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.section__title em { font-style: italic; font-weight: 300; color: var(--brass); }
.section__title--light { color: var(--paper); }
.section__title--light em { color: var(--brass-2); }

.section__note { max-width: 34ch; color: var(--muted); }

/* ── Botões ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.btn:active { transform: scale(0.98); }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-2); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-2); }
.btn--line { border-color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { border-color: rgba(255, 253, 249, 0.45); background: transparent; color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }

.link {
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── Header ── */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.header.is-solid {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--container);
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand__mark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brass);
  transform: translateY(-2px);
}
.brand__sub {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.7;
}

.nav { display: none; gap: 32px; font-size: 14px; font-weight: 600; }
.nav a { text-decoration: none; opacity: 0.85; }
.nav a:hover { opacity: 1; }

.header__cta { min-height: 42px; padding: 8px 18px; font-size: 13px; white-space: nowrap; }
.show-sm { display: none; }
@media (max-width: 599px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
}
.header.is-solid .btn--ghost { border-color: var(--ink); color: var(--ink); }

@media (min-width: 960px) {
  .nav { display: flex; }
}

/* ── Hero ── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  /* espaço embaixo para o selo "Projeto conceito" não cobrir a busca */
  padding: calc(var(--header-h) + 40px) 0 64px;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}
.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 19, 18, 0.55) 0%, rgba(20, 19, 18, 0.05) 30%, rgba(20, 19, 18, 0.35) 60%, rgba(20, 19, 18, 0.9) 100%);
}
.hero__content { width: var(--container); margin-inline: auto; }
.hero__title {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 9vw, 6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero__title em { font-style: italic; font-weight: 300; color: var(--brass-2); }
.hero__lead {
  max-width: 46ch;
  margin-top: 18px;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: rgba(255, 253, 249, 0.82);
}

.search {
  margin-top: 28px;
  padding: 14px;
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.search__deal { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.search__deal button {
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.search__deal button.is-active { background: var(--ink); color: var(--paper); }

.search__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.search__submit { grid-column: 1 / -1; }

@media (min-width: 900px) {
  .search { max-width: 980px; padding: 16px; }
  .search__fields { grid-template-columns: repeat(4, 1fr) auto; align-items: end; }
  .search__submit { grid-column: auto; }
}

.field { display: grid; gap: 4px; min-width: 0; }
.field > span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field select,
.field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-size: 15px;
  appearance: none;
}
.field select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141312' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.hero__pillars {
  display: none;
  width: var(--container);
  margin: 40px auto 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 253, 249, 0.2);
  font-size: 14px;
  color: rgba(255, 253, 249, 0.72);
}
.hero__pillars strong { display: block; font-weight: 700; color: var(--white); }

@media (min-width: 900px) {
  .hero__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* ── Catálogo ── */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.chips {
  display: flex;
  gap: 8px;
  margin-inline: -20px;
  padding-inline: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .chips { margin-inline: 0; padding-inline: 0; } }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.chip--fav.is-active svg { fill: var(--brass); stroke: var(--brass); }
.chip__count {
  min-width: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 12px;
  text-align: center;
}

.toolbar__right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.toolbar__count { font-size: 14px; color: var(--muted); white-space: nowrap; }
.sort select {
  min-height: 40px;
  padding: 8px 34px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141312' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px;
  font-size: 14px;
  font-weight: 600;
  appearance: none;
}

.active-filters {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.active-filters button {
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 3vw, 40px) 28px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.card { position: relative; }
.card__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}
.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--paper-2);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (hover: hover) {
  .card:hover .card__media img { transform: scale(1.04); }
}
.card__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card__deal {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(20, 19, 18, 0.72);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
}
.card__fav {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  transition: transform 0.2s ease;
}
.card__fav svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.card__fav[aria-pressed="true"] svg { fill: var(--brass); stroke: var(--brass); }
.card__fav:active { transform: scale(0.9); }

.card__body { padding: 16px 2px 0; }
.card__price {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.card__price small { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.card__title { margin-top: 4px; font-size: 1.02rem; font-weight: 700; line-height: 1.35; }
.card__place { margin-top: 2px; font-size: 14px; color: var(--muted); }
.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 12px 0 0;
  padding: 12px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}
.specs li { display: inline-flex; align-items: center; gap: 6px; }
.specs svg { width: 17px; height: 17px; fill: none; stroke: var(--brass); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.empty {
  margin-top: 40px;
  padding: 40px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}
.empty__title { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

/* ── Bairros ── */
.neighborhoods { background: var(--paper-2); }
.neighborhoods__inner { display: grid; gap: 40px; }
.neighborhoods__intro p:last-child { max-width: 40ch; margin-top: 16px; color: var(--muted); }
@media (min-width: 900px) {
  .neighborhoods__inner { grid-template-columns: 5fr 7fr; align-items: start; }
  .neighborhoods__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

.hoods { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hood {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 20px;
  width: 100%;
  padding: 22px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
}
.hood__name { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 400; letter-spacing: -0.01em; }
.hood__desc { grid-column: 1; font-size: 14px; color: var(--muted); }
.hood__count {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.hood__count svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 0.25s ease; }
@media (hover: hover) {
  .hood:hover .hood__count svg { transform: translateX(4px); }
  .hood:hover .hood__name { color: var(--brass); }
}

/* ── Corretora ── */
.about__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about__inner { grid-template-columns: 5fr 6fr; gap: 72px; } }

.about__photo { position: relative; margin: 0; }
.about__photo img { width: 100%; aspect-ratio: 9 / 11; object-fit: cover; border-radius: var(--radius); }
.about__photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--paper);
  font-family: var(--serif);
  font-size: 1.15rem;
}
.about__photo figcaption span { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); }
.about__text > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); }

.steps { display: grid; gap: 18px; margin: 32px 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; }
.steps span { font-family: var(--serif); font-size: 1.4rem; color: var(--brass); line-height: 1.2; }
.steps strong { display: block; font-size: 1rem; }
.steps div { font-size: 15px; color: var(--muted); }
.steps div strong { color: var(--ink); }

/* ── Anuncie ── */
.sell { background: var(--ink); color: var(--paper); }
.sell__inner { display: grid; gap: 40px; align-items: center; }
.sell__text > p:last-child { max-width: 44ch; margin-top: 18px; color: rgba(244, 240, 232, 0.7); }
@media (min-width: 900px) { .sell__inner { grid-template-columns: 1fr 1fr; gap: 72px; } }

.sell__form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(244, 240, 232, 0.14);
  border-radius: 22px;
  background: var(--ink-2);
}
.field--light > span { color: rgba(244, 240, 232, 0.6); }
.field--light input,
.field--light select { border-color: rgba(244, 240, 232, 0.16); background-color: var(--ink); color: var(--paper); }
.field--light select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f0e8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.field--light input::placeholder { color: rgba(244, 240, 232, 0.35); }
.sell__form .btn { margin-top: 6px; }

/* ── Footer ── */
.footer { padding: 64px 0 96px; background: #0e0d0c; color: rgba(244, 240, 232, 0.72); font-size: 14px; }
.footer__inner { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
.brand--footer { color: var(--paper); }
.footer__tag { margin-top: 12px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer__cols h3 { margin-bottom: 10px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-2); }
.footer__cols a { display: block; padding: 4px 0; text-decoration: none; }
.footer__cols a:hover,
.footer .link:hover { color: var(--paper); }
.footer .link { margin-top: 8px; color: rgba(244, 240, 232, 0.9); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 240, 232, 0.1);
  font-size: 13px;
  color: rgba(244, 240, 232, 0.5);
}

.concept-badge {
  position: fixed;
  left: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.35);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
/* some depois da capa; o rodapé e o aviso do WhatsApp continuam dizendo que é conceito */
.is-past-hero .concept-badge { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* ── Ficha do imóvel (dialog) ── */
dialog { padding: 0; border: 0; color: var(--ink); }
dialog::backdrop { background: rgba(20, 19, 18, 0.62); }

.sheet {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  background: var(--paper);
}
.sheet[open] { animation: sheet-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px); } }

@media (min-width: 900px) {
  .sheet {
    width: min(1120px, 100% - 48px);
    /* auto esticaria até o max-height: o dialog modal é fixed com inset 0 */
    height: fit-content;
    max-height: calc(100% - 48px);
    margin: auto;
    border-radius: 24px;
  }
}

.sheet__close {
  position: sticky;
  top: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 12px 12px -56px auto;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.4);
}
.sheet__close svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

.sheet__body { display: grid; }
@media (min-width: 900px) { .sheet__body { grid-template-columns: 7fr 5fr; } }

.gallery { background: var(--ink); }
.gallery__main { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; opacity: 0.6; transition: opacity 0.2s ease, border-color 0.2s ease; }
.gallery__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--brass); }
.gallery__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  /* a foto principal ocupa a altura que a coluna de texto pedir */
  .gallery { display: flex; flex-direction: column; }
  .gallery__main { flex: 1 1 0; min-height: 380px; aspect-ratio: auto; }
}

.detail { padding: 28px 24px 40px; }
@media (min-width: 900px) { .detail { padding: 48px 40px; } }
.detail__code { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.detail__title { margin-top: 10px; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; }
.detail__place { margin-top: 6px; color: var(--muted); }
.detail__price { margin-top: 18px; font-family: var(--serif); font-size: 2rem; }
.detail__price small { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.detail__specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 22px 0; padding: 0; list-style: none; }
.detail__specs li { padding: 12px 8px; border: 1px solid var(--line); border-radius: 12px; text-align: center; font-size: 12px; color: var(--muted); }
.detail__specs strong { display: block; font-size: 1.1rem; color: var(--ink); }
.detail__desc { color: var(--ink-2); }
.features { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; padding: 0; list-style: none; }
.features li { padding: 6px 12px; border-radius: 999px; background: var(--paper-2); font-size: 13px; font-weight: 600; }
.detail__actions { display: grid; gap: 10px; }
@media (min-width: 520px) { .detail__actions { grid-template-columns: 1fr auto; } }

/* ── Aviso de demonstração ── */
.demo {
  width: min(460px, 100% - 32px);
  margin: auto;
  padding: 28px;
  border-radius: 22px;
  background: var(--paper);
}
.demo[open] { animation: sheet-in 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.demo h2 { margin-top: 8px; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; line-height: 1.15; }
.demo > p:not(.eyebrow) { margin-top: 10px; color: var(--muted); font-size: 15px; }
.demo__msg {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 14px 14px 14px 4px;
  background: #dcf8c6;
  color: #10261a;
  font-size: 15px;
}
.demo__actions { display: grid; gap: 10px; margin-top: 22px; }

/* ── Toast ── */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 60;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── Entrada suave (só com JS e sem "reduzir movimento") ── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
