/* ==========================================================================
   Glimpses — landing page
   Manual da Marca v1.0: papel claro, tinta escura, um vermelhão por tela,
   sem degradê na interface, sem sombra difusa, sem canto arredondado em card.
   Mobile-first; o layout desktop entra em --bp-lg.
   ========================================================================== */

/* ── Tokens ───────────────────────────────────────────────────────────── */
:root {
  /* Paleta */
  --paper: #F4F0E6;
  --paper-2: #FDFBF6;
  --ink: #1A1612;
  --ink-2: #23201B;
  --ink-3: #3A362E;
  --accent: #C4402A;
  --muted: #8A8272;
  --muted-strong: #6E6759;
  --body: #4A443C;
  --hair: #DCD5C6;
  --hair-2: #C8C0B4;

  /* Tipografia */
  --serif: 'Zen Old Mincho', 'Times New Roman', serif;
  --sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Espaçamento · base 4 */
  --s1: 4px;  --s2: 8px;  --s3: 16px; --s4: 24px; --s5: 40px; --s6: 64px;

  /* Margem lateral da página */
  --gutter: 22px;
  --section-y: 54px;
}

@media (min-width: 1024px) {
  :root { --gutter: 64px; --section-y: 96px; }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  padding-bottom: 96px; /* espaço do CTA fixo */
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, dl, dd, blockquote, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* Foco visível de 2 px em vermelhão (Manual, Acessibilidade). */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  font-size: 12px;
  letter-spacing: .18em;
  transition: top .15s;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.wrap { padding-inline: var(--gutter); }

/* ── Primitivas de texto ──────────────────────────────────────────────── */
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 9vw, 64px);
  line-height: 1.16;
  text-wrap: pretty;
}
.display--sm { font-size: clamp(32px, 7.5vw, 48px); line-height: 1.25; }

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.25;
}
h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--accent);
}

.lede {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--body);
  text-wrap: pretty;
}
.lede--sm { font-size: 14px; }
.lede--invert { color: rgba(244, 240, 230, .78); }

/* Neutro só a partir de 16 px, ou reforçado — Manual, contraste. */
.label {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted-strong);
}
.label--xs { font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.label--invert { color: rgba(244, 240, 230, .78); }
.label--between { display: flex; justify-content: space-between; gap: var(--s3); }
.label--action { color: var(--accent); padding-top: 14px; }
.is-accent { color: var(--accent); }

.figure { font-family: var(--serif); font-size: 34px; line-height: 1; }
.figure--md { font-size: 32px; }
.figure--sm { font-size: 22px; }
.figure--xs { font-size: 21px; }
.figure--accent { color: var(--accent); }

.note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: var(--s4);
  font-size: 11.5px;
  color: var(--muted-strong);
}

.quote { font-family: var(--serif); font-size: 19px; line-height: 1.55; }
.quote--sm { font-size: 13px; color: var(--body); padding-top: 12px; }
.quote--xs { font-size: 11px; line-height: 1.5; color: var(--body); }

.section__head { display: flex; align-items: baseline; gap: 14px; }
.section__head .num { font-size: 12px; color: var(--accent); }

/* ── Matriz de pontos (o símbolo) ─────────────────────────────────────── */
.dot {
  display: block;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--ink);
  flex: none;
}
.dot--accent { background: var(--accent); }
.dot--muted  { background: var(--muted); }
.dot--hair   { background: var(--hair); }

.dots { display: inline-flex; gap: 6px; align-items: center; }
.dots--xs .dot { width: 5px; height: 5px; }
.dots--lg { gap: 9px; }
.dots--lg .dot { width: 10px; height: 10px; }
.dots--v { flex-direction: column; gap: 4px; }
.dots--v .dot { width: 4px; height: 4px; }
.dots--matrix {
  display: grid;
  grid-template-columns: repeat(6, 8px);
  gap: 8px;
}
.dots--matrix .dot { width: 8px; height: 8px; }

/* ── Botões e campos ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;                 /* área de toque mínima */
  padding: 12px 26px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: .2em;
  border: 1px solid transparent;
  border-radius: 0;                 /* sem cantos arredondados */
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--accent); color: var(--paper); }
.btn--ghost { border-color: currentColor; background: none; }
.btn--ghost:hover { color: var(--accent); }
.btn--sm { padding: 12px 22px; }
.btn--xs { min-height: 0; padding: 11px 16px; font-size: 9px; letter-spacing: .2em; }

.link-underline {
  font-size: 11px;
  letter-spacing: .22em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.link-underline:hover { border-color: var(--accent); }

/* ── Nav ──────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: 16px var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand__name { font-family: var(--serif); font-size: 19px; }
.brand__name--sm { font-size: 15px; }

.nav__links { display: none; }

.nav__toggle {
  width: 44px; height: 44px;
  margin-right: -10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.nav__toggle span { width: 22px; height: 1.5px; background: var(--ink); }

.menu {
  position: sticky;
  top: 61px;
  z-index: 19;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  padding: var(--s3) var(--gutter) var(--s4);
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu a {
  font-size: 12px;
  letter-spacing: .2em;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
}
.menu .btn { margin-top: var(--s3); border-bottom: 0; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: var(--s5) var(--gutter) 0; }
.hero__text .display { padding-top: 20px; }
.hero__text .lede { padding-top: 20px; }
.hero__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: var(--s4);
}
.hero__device { display: flex; justify-content: center; padding: var(--s5) 0; }

/* ── Mockup de celular ────────────────────────────────────────────────── */
.phone {
  width: 300px;
  flex: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border-radius: 32px;
  box-shadow: 0 0 0 1px var(--hair), 0 24px 50px rgba(26, 22, 18, .16);
}
.phone--tall { height: 470px; }
.phone--top { border-radius: 32px 32px 0 0; } /* sangra para fora da seção */
.phone--round { width: 290px; height: 470px; border-radius: 30px; }
.phone--card {
  width: 250px;
  height: 470px;
  border-radius: 28px;
  padding: 26px 20px 0;
  scroll-snap-align: start;
}

.phone__status {
  height: 34px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 9px;
  color: var(--body);
}
.battery { width: 14px; height: 7px; border: 1px solid var(--body); border-radius: 2px; }

.phone__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: var(--s2) 18px 0;
}
.phone__meta {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  font-weight: 300;
  letter-spacing: .22em;
  color: var(--muted);
}
.phone__meta--accent { color: var(--accent); }
.phone__caption { font-family: var(--serif); font-size: 14px; padding-top: 12px; }
.phone__title { font-family: var(--serif); font-size: 25px; line-height: 1.2; padding-top: 11px; }
.phone__title--sm { font-size: 22px; line-height: 1.25; padding-top: 10px; }
.phone__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding-bottom: 22px;
}
.phone__foot--split .btn { flex: 1; }

.viewfinder {
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 12px;
  padding-top: 10px;
}
.controls {
  width: 16px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: var(--s1);
}
.ico { width: 10px; height: 10px; border: 1px solid var(--ink); }
.ico--circle { border-radius: 999px; }
.rule { width: 12px; height: 1px; background: var(--hair); }

.shutter-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: var(--s3) 0 var(--s4);
}
.shutter {
  width: 58px; height: 58px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--hair);
}
.shutter--accent { background: var(--accent); box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px rgba(196, 64, 42, .4); }
.tick { display: block; width: 28px; height: 1px; background: var(--accent); margin-top: 7px; }

/* Fotos dos mockups. O gradiente fica só como fundo enquanto a imagem carrega. */
.frame {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(168deg, #CFC7B6, #A79E8C 52%, #6E6759);
}
/* Visores: recorte de câmera mesmo — o quadro é retrato e a foto preenche.
   object-position sobe um pouco para não cortar rosto. */
.frame--a,
.frame--moment { flex: 1; min-width: 0; object-position: center 38%; }
.frame--moment { box-shadow: inset 0 0 0 1.5px rgba(196, 64, 42, .6); }

/* Fora do visor as fotos guardam o 3:2 do original: sem faixa esmagada.
   Aqui a altura vem do flex e a largura sai da proporção — assim a foto
   nunca vira faixa e o mock mantém a altura fixa. */
.frame--b {
  flex: 1;
  min-height: 0;
  width: auto;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  align-self: flex-start;
  margin-top: 10px;
}
.frame--c,
.frame--d,
.frame--e { aspect-ratio: 3 / 2; height: auto; }

/* ── Números ──────────────────────────────────────────────────────────── */
.stats {
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.stat {
  padding: 26px var(--gutter);
  border-bottom: 1px solid var(--hair);
}
.stat:nth-child(odd) { border-right: 1px solid var(--hair); }
.stat .label { padding-top: var(--s2); display: block; }

/* ── Seções e carrosséis ──────────────────────────────────────────────── */
.section { padding-top: var(--section-y); }

.rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 26px var(--gutter) 6px;
}
.rail::-webkit-scrollbar { display: none; }

.rail__hint {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: var(--s3);
  font-size: 11px;
  color: var(--muted-strong);
}
.rail__bars { display: flex; gap: 6px; flex: 1; }
.rail__bars i { width: 22px; height: 2px; background: var(--hair); }
.rail__bars i.is-on { background: var(--ink); }
.rail__hint--invert { color: rgba(244, 240, 230, .72); }
.rail__hint--invert .rail__bars i { background: rgba(244, 240, 230, .25); }
.rail__hint--invert .rail__bars i.is-on { background: var(--paper); }

/* ── 01 Como funciona ─────────────────────────────────────────────────── */
.step {
  width: 268px;
  flex: none;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 0;
  border: 1px solid var(--hair);
  background: var(--paper-2);
  position: relative;
}
.step .dots { position: absolute; }
.step__num {
  font-size: 12px;
  color: var(--accent);
  padding-left: 60px;   /* alinhado à direita dos três pontos */
  display: block;
}
.step h3 { padding-top: 18px; }
.step > p {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--body);
  padding-top: 10px;
  text-wrap: pretty;
}

.mock {
  margin: 20px 0 0;
  height: 158px;         /* os três mocks terminam na mesma linha */
  overflow: hidden;
  padding: 18px 18px 0;
  border: 1px solid var(--hair);
  border-bottom: none;
  border-radius: 16px 16px 0 0;   /* prévia de tela: mantém o topo do device */
  background: var(--paper);
}
.mock--sheet { background: var(--paper); }
.mock--paper { background: var(--paper); }
.mock--col { display: flex; flex-direction: column; }

.row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0 9px;
  border-bottom: 1px solid var(--hair);
}
.row__time { font-size: 10px; color: var(--accent); width: 36px; flex: none; }
.row__name { font-family: var(--serif); font-size: 14px; flex: 1; }
.row--off .row__time { color: #B3ABA0; }
.row--off .row__name { color: var(--muted-strong); }

.placeholder { font-family: var(--serif); font-size: 13px; color: #A9A08F; padding-top: 11px; }
.input-line { display: block; height: 1px; background: var(--ink); margin: 7px 34px 16px 0; }

.collage { display: flex; gap: var(--s2); padding-top: 12px; }
.collage figure { flex: 1; }
.collage figure:first-child { flex: 1.4; }
.collage .is-offset { padding-top: 14px; }
.collage figcaption { font-size: 7.5px; color: var(--muted); padding-top: 6px; }

/* ── Frase editorial ──────────────────────────────────────────────────── */
.editorial {
  margin-top: var(--s5);
  padding: 60px var(--gutter);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.editorial p {
  font-family: var(--serif);
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.5;
  max-width: 980px;
  text-wrap: pretty;
}
.mark { border-bottom: 1px solid var(--accent); }
.dim { color: var(--muted-strong); }

/* ── 02 Momentos / 04 Wrapped (split) ─────────────────────────────────── */
.split { padding: var(--section-y) 0 0; }
.split__text { padding-inline: var(--gutter); }
.split__text .lede { padding-top: 18px; }
.split__device { display: flex; justify-content: center; padding: 34px 0 0; }

.timeline { padding: 34px 0 var(--section-y); }
.timeline li {
  display: flex;
  align-items: baseline;
  gap: var(--s3);
  padding: 13px 0;
  border-bottom: 1px solid var(--hair);
}
.timeline .mono { font-size: 12px; width: 48px; flex: none; color: var(--muted-strong); }
.timeline__name { font-family: var(--serif); font-size: 17px; flex: 1; }
.timeline .is-active,
.timeline li.is-active { border-color: var(--accent); }
.timeline .is-active .mono { color: var(--accent); }

.duo { gap: 16px; }
.rules { display: flex; flex-direction: column; gap: 12px; padding-top: var(--s3); }
.rules li { display: flex; gap: 11px; font-size: 10.5px; line-height: 1.6; color: var(--body); }
.rules .mono { font-size: 8px; color: var(--accent); padding-top: 2px; }
.hair { display: block; height: 1px; background: var(--hair); margin: var(--s3) 40px 0 0; }
.brand--inphone { padding-bottom: 18px; }

.film {
  position: relative;
  flex: none;
  aspect-ratio: 3 / 2;
  margin-top: 14px;
  background: linear-gradient(168deg, #C4BBA9, #7E7566 60%, #4E483E);
  display: flex;
  align-items: flex-end;
  gap: var(--s2);
  padding: 0 12px 10px;
}
.film__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film > :not(.film__img) { position: relative; }
.film__play {
  width: 22px; height: 22px;
  border: 1px solid var(--paper);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  color: var(--paper);
}
.wrapped div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s2);
  padding: 11px 0;
  border-bottom: 1px solid var(--hair);
}
.wrapped div:first-child { padding-top: 13px; }
.wrapped div:last-child { border-bottom: 0; }
.wrapped dd { font-family: var(--serif); font-size: 13px; margin: 0; }

/* Empurra o rodapé do device para baixo dentro do card. */
.phone--card > .phone__foot { margin-top: auto; }

/* ── 03 Portal ────────────────────────────────────────────────────────── */
.portal {
  background: var(--ink);
  color: var(--paper);
  padding: var(--section-y) 0 46px;
}
.portal a:hover { color: var(--accent); }
.portal__intro { padding-top: 18px; }
.portal__stats { display: flex; flex-wrap: wrap; gap: 30px; padding-top: 30px; }
.portal__stats dd { margin: 0; padding-top: var(--s2); }

.browser-wrap { padding: 30px var(--gutter) 0; }
.browser {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  box-shadow: 0 -16px 40px rgba(0, 0, 0, .4);
}
.browser__bar {
  height: 28px;
  background: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}
.browser__bar > i { width: 7px; height: 7px; border-radius: 999px; background: var(--ink-3); }
.browser__url {
  flex: 1;
  text-align: center;
  font-size: 7.5px;
  color: rgba(244, 240, 230, .45);
}
.browser__screen {
  background: var(--paper);
  color: var(--ink);
  padding: 18px 18px 16px;
}
.browser__top { display: flex; flex-direction: column; gap: 14px; }
.browser__brand { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.browser__actions { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.tabs { display: flex; gap: 14px; }
.tabs .is-current { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.browser__caption {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--serif);
  font-size: 13px;
  padding-top: 14px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  align-items: start;
  gap: 6px;
  padding-top: 10px;
}
.gallery .frame--g1 { grid-row: span 2; aspect-ratio: 3 / 2; height: auto; background: linear-gradient(168deg, #CFC7B6, #877F6F); }
.gallery .frame--g2 { aspect-ratio: 3 / 2; height: auto; background: linear-gradient(168deg, #BDB4A2, #6E6759); }
.gallery .frame--g3 { aspect-ratio: 3 / 2; height: auto; margin-top: 10px; background: linear-gradient(168deg, #C7BEAC, #7B7365); }
.gallery .frame--g4,
.gallery .gallery__more,
.gallery .gallery__angles { display: none; }
.gallery .quote--xs { grid-column: 2; }

.scrubber { padding-top: 14px; }
.scrubber__rule { display: block; height: 1px; background: var(--hair); }
.scrubber__bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 18px;
  margin-top: -18px;
}
.scrubber__bars i { width: 2px; height: var(--h); background: var(--hair-2); }
.scrubber__times {
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  color: var(--muted);
  padding-top: 6px;
}
.scrubber__times .is-marked { position: relative; color: var(--accent); }
.scrubber__times .is-marked::before,
.scrubber__times .is-marked::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  background: var(--accent);
}
.scrubber__times .is-marked::before { margin-bottom: 6px; width: 2px; height: 18px; transform: translateX(-1px); }
.scrubber__times .is-marked::after { margin-bottom: 26px; width: 6px; height: 6px; border-radius: 999px; transform: translateX(-3px); }

.cards { padding: 30px var(--gutter) 6px; }
.card {
  width: 210px;
  flex: none;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--ink-2);
}
.card--wide { width: 260px; }
.card__label { font-size: 8px; letter-spacing: .18em; color: rgba(244, 240, 230, .5); }
.card__foot {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  font-size: 8px;
  color: rgba(244, 240, 230, .5);
  padding-top: 12px;
}
.card__foot--cite { justify-content: flex-start; align-items: center; gap: 7px; letter-spacing: .14em; }

.bars {
  flex: 1;
  min-height: 96px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 16px 0 var(--s2);
}
.bars i { flex: 1; height: var(--h); background: var(--ink-3); }
.bars i.is-peak { background: var(--accent); }

.angles {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding-top: var(--s3);
}
/* O desencontro vem só das margens — a proporção das quatro é a mesma. */
.angles > * {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--ink-3);
}
.angles > *:nth-child(2) { margin-top: 12px; }
.angles > *:nth-child(3) { margin-top: -12px; }

.card .quote { flex: 1; display: flex; align-items: center; font-size: 17px; }

/* ── 05 Perguntas ─────────────────────────────────────────────────────── */
.faq {
  margin-top: var(--s5);
  padding: var(--section-y) var(--gutter) 0;
  border-top: 1px solid var(--hair);
}
.faq__sub {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--body);
  padding-top: var(--s3);
}
.faq__list { padding-top: 22px; }

.qa { border-bottom: 1px solid var(--hair); }
.qa summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  min-height: 44px;
  padding: 18px 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent); }
/* Cor nunca é o único indicador: o sinal +/− acompanha o estado. */
.qa summary i {
  flex: none;
  width: 44px; height: 44px;
  margin: 0 -12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 21px;
  color: var(--muted-strong);
}
/* O sinal +/− é desenhado em motion.css com dois fios de 1 px, para poder
   virar − ao abrir. O estado real continua sendo o do <details>. */
.qa > p {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--body);
  padding: 0 0 18px;
  max-width: 560px;
}

/* ── CTA final ────────────────────────────────────────────────────────── */
.cta {
  padding: 66px var(--gutter) var(--section-y);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta .display { padding-top: 26px; }
.cta__sub {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--body);
  padding-top: var(--s3);
  max-width: 440px;
}

.signup { width: 100%; max-width: 460px; padding-top: 26px; text-align: left; }
/* Todo campo tem rótulo visível — Manual, acessibilidade. */
.signup__label {
  display: block;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-strong);
  padding-bottom: var(--s2);
}
.signup__field { display: flex; flex-direction: column; gap: 10px; }
.signup input {
  width: 100%;
  min-height: 52px;
  padding: 15px 18px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
}
.signup input::placeholder { color: var(--muted-strong); }
.signup input[aria-invalid="true"] { border-color: var(--accent); }
.signup .btn { width: 100%; min-height: 52px; }
.signup__msg { min-height: 22px; padding-top: 10px; font-size: 12.5px; color: var(--body); }
.signup__msg[data-state="error"] { color: var(--accent); }

/* Aviso de consentimento: presente e legível, sem competir com o botão.
   11 px é o piso do manual para texto de interface. */
.signup__consent {
  padding-top: var(--s3);
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted-strong);
  text-wrap: pretty;
}
.signup__consent a { color: var(--ink); border-bottom: 1px solid var(--accent); }

.signup [disabled] { opacity: .55; cursor: default; }
.signup [disabled]:hover { background: var(--ink); }

/* Isca para robô: fora da tela, fora do fluxo, fora do foco. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ── Páginas de texto (privacidade, termos) ───────────────────────────── */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.legal__meta { font-size: 10px; letter-spacing: .24em; color: var(--accent); }
.legal .display { padding-top: 20px; }
.legal .lede { padding-top: 20px; }

.legal section { padding-top: var(--s5); }
.legal h2 {
  font-size: 21px;
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--hair);
  margin-bottom: var(--s3);
}
.legal p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--body);
  padding-bottom: 14px;
  text-wrap: pretty;
}
.legal strong { font-weight: 500; color: var(--ink); }
.legal a { border-bottom: 1px solid var(--accent); }

.legal__list { padding: 0 0 14px; }
.legal__list li {
  position: relative;
  padding: 0 0 10px 22px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--body);
}
/* O ponto da matriz também marca a lista. */
.legal__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .72em;
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--hair-2);
}
.legal__back { padding-top: var(--s6); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--hair);
  padding: 26px var(--gutter) 34px;
}
.footer__brand { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.footer__brand .label { width: 100%; padding-top: 12px; }
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 11.5px;
  font-style: normal;
  color: var(--muted-strong);
  padding-top: 18px;
}

/* ── CTA fixo ─────────────────────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px var(--gutter) max(18px, env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--hair);
}
.sticky-cta > div { flex: 1; }
.sticky-cta__title { font-size: 12px; font-weight: 500; }
.sticky-cta__sub { font-size: 12px; color: var(--muted-strong); padding-top: 3px; }
.sticky-cta .btn { flex: none; min-height: 48px; }

/* ══════════════════════════════════════════════════════════════════════
   DESKTOP — ≥1024px
   ══════════════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  body { padding-bottom: 0; }

  .sticky-cta, .nav__toggle, .menu, .rail__hint { display: none; }

  .nav { padding: 26px var(--gutter); }
  .brand__name { font-size: 21px; }
  .nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
    font-size: 11px;
    letter-spacing: .18em;
  }

  /* Hero em duas colunas */
  .hero {
    display: grid;
    grid-template-columns: 1.1fr auto;
    gap: 60px;
    align-items: end;
    padding: 0 var(--gutter);
    border-bottom: 1px solid var(--hair);
  }
  .hero__text { padding: var(--section-y) 0; align-self: center; }
  .hero__text .display,
  .hero__text .lede { padding-top: 26px; }
  .hero__text .lede { max-width: 460px; }
  .hero__actions { padding-top: var(--s5); }
  .hero__text .note { padding-top: 56px; }
  .hero__device { padding: 72px 0 0; align-items: flex-end; }
  .hero .phone--tall { width: 360px; height: 700px; border-radius: 40px 40px 0 0; }
  .hero .phone__status { height: 40px; padding: 0 24px; font-size: 10px; }
  .hero .phone__body { padding: 10px 22px 0; }
  .hero .phone__meta { font-size: 9px; letter-spacing: .24em; }
  .hero .viewfinder { gap: 14px; padding-top: 12px; }
  .hero .controls { width: 20px; gap: 22px; }
  .hero .ico { width: 12px; height: 12px; }
  .hero .shutter-row { padding: 20px 0 30px; }
  .hero .shutter { width: 72px; height: 72px; box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--hair); }
  .hero .figure--sm { font-size: 25px; }

  /* Números em faixa */
  .stats { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .stat { padding: 44px var(--gutter); border-right: 1px solid var(--hair); }
  .stat:last-child { border-right: 0; }
  .figure { font-size: 44px; }

  /* Como funciona: grade de três */
  .section { padding: var(--section-y) var(--gutter); border-bottom: 1px solid var(--hair); }
  .section__head { gap: 20px; }
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
    overflow: visible;
    padding: 56px 0 0;
  }
  .step {
    width: auto;
    border: 0;
    background: none;
    padding: 0;
  }
  .step h3 { font-size: 21px; padding-top: 26px; }
  .step > p { font-size: 12.5px; line-height: 1.9; padding-top: 12px; }
  .step .dots--lg { gap: 14px; }
  .step .dots--lg .dot { width: 14px; height: 14px; }
  .step__num { padding-left: 76px; font-size: 11px; letter-spacing: .18em; color: var(--muted-strong); }
  .mock {
    height: 240px;
    margin-top: 28px;
    padding: 24px 24px 0;
    border-radius: 22px 22px 0 0;
  }
  .mock--sheet { background: var(--paper-2); }
  .mock .label--xs { font-size: 8px; letter-spacing: .24em; }
  .row__time { font-size: 11px; width: 42px; }
  .row__name { font-size: 15px; }
  .collage figcaption { font-size: 7.5px; }

  .editorial { margin-top: 0; padding: 110px var(--gutter); border-top: 0; }

  /* Split em duas colunas */
  .split {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: var(--section-y) var(--gutter);
    gap: 60px;
    border-bottom: 1px solid var(--hair);
  }
  .split__text { padding-inline: 0; }
  .split__text .lede { padding-top: 26px; max-width: 460px; }
  .split__device { padding: 0; }
  .split--wide { grid-template-columns: 380px 1fr; gap: 72px; align-items: center; }
  .split__text--narrow { max-width: 380px; }

  .timeline { padding: var(--s5) 0 0; max-width: 440px; }
  .timeline li { padding: 14px 0; gap: 22px; }
  .timeline .mono { font-size: 13px; width: 56px; }
  .timeline__name { font-size: 19px; }

  .split--wide .duo {
    overflow: visible;
    gap: var(--s5);
    justify-content: center;
    align-items: flex-start;
    padding: 0;
  }
  .phone--card { width: 290px; height: 560px; border-radius: 34px; padding: 30px 24px 0; }
  .phone--stagger { margin-top: 48px; }
  .phone__title { font-size: 27px; }
  .phone__title--sm { font-size: 24px; }
  .film { margin-top: var(--s3); }

  .split .phone--round { width: 340px; height: 640px; border-radius: 38px; }
  .split .phone__status { height: 38px; padding: 0 22px; }
  .split .phone__body { padding: 8px 20px 0; }
  .split .shutter--accent { width: 66px; height: 66px; box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px rgba(196, 64, 42, .4); }
  .split .phone__caption { font-size: 15px; padding-top: 14px; }
  .split .figure--sm { font-size: 23px; }

  /* Portal */
  .portal { padding: var(--section-y) 0 0; }
  .portal__head { padding-bottom: 80px; }
  .portal__intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 72px;
    padding-top: 30px;
  }
  .portal__intro .lede { max-width: 440px; }
  .portal__stats { gap: 56px; padding-top: 0; flex-wrap: nowrap; }
  .figure--md { font-size: 46px; }

  .browser-wrap { padding: 0 var(--gutter) 26px; margin-top: -54px; }
  .browser { border-radius: 12px 12px 0 0; box-shadow: 0 -20px 60px rgba(0, 0, 0, .3); }
  .browser__bar { height: 38px; gap: var(--s2); padding: 0 18px; }
  .browser__bar > i { width: 9px; height: 9px; }
  .browser__url {
    flex: 0 1 auto;
    margin: 0 auto;
    background: #1A1712;
    border-radius: 6px;
    padding: 4px 22px;
    font-size: 9px;
  }
  .browser__screen { padding: 34px 40px 34px; }
  .browser__top { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .browser__brand { gap: 16px; }
  .browser__actions { gap: 22px; }
  .tabs { gap: 20px; }
  .browser__caption { padding-top: 26px; font-size: 15px; }

  /* Galeria completa do portal */
  .gallery {
    grid-template-columns: 30% 17% 21% 12% 9%;
    justify-content: space-between;
    gap: 0 2%;
    padding-top: 18px;
  }
  .gallery .frame--g1 { grid-row: 1 / span 2; aspect-ratio: 3 / 2; height: auto; }
  .gallery .frame--g2 { grid-column: 2; grid-row: 1; aspect-ratio: 3 / 2; height: auto; }
  .gallery .quote--xs { grid-column: 2; grid-row: 2; align-self: start; padding-top: 14px; }
  .gallery .frame--g3 { grid-column: 3; grid-row: 1 / span 2; aspect-ratio: 3 / 2; height: auto; margin-top: 40px; }
  .gallery .frame--g4 {
    display: block;
    grid-column: 4; grid-row: 1;
    aspect-ratio: 3 / 2;
    height: auto;
    background: linear-gradient(168deg, #B3AA98, #625B4E);
  }
  .gallery .gallery__more { display: block; grid-column: 4; grid-row: 2; align-self: start; padding-top: 14px; }
  .gallery .gallery__angles {
    display: flex;
    grid-column: 5; grid-row: 1;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
  }
  .gallery__angles i { width: 22px; height: 1px; background: var(--accent); }

  .scrubber { padding-top: 34px; }
  .scrubber__bars { height: 24px; margin-top: -24px; }
  .scrubber__times { font-size: 8px; padding-top: 7px; }
  .scrubber__times .is-marked::before { margin-bottom: 7px; height: 26px; }
  .scrubber__times .is-marked::after { margin-bottom: 33px; width: 8px; height: 8px; transform: translateX(-4px); }

  .cards {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2px;
    overflow: visible;
    padding: 0 var(--gutter) var(--section-y);
  }
  .card { width: auto; padding: 30px; min-height: 300px; }
  .card__label { font-size: 9px; letter-spacing: .2em; }
  .card__foot { font-size: 9px; }
  .bars { padding: 26px 0 14px; }
  .angles { padding-top: var(--s4); gap: var(--s2); }
  .angles > *:nth-child(2) { margin-top: var(--s3); }
  .angles > *:nth-child(3) { margin-top: -16px; }
  .card .quote { font-size: 19px; }

  /* Perguntas em duas colunas */
  .faq {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 72px;
    margin-top: 0;
    padding: var(--section-y) var(--gutter);
    border-top: 0;
    border-bottom: 1px solid var(--hair);
  }
  .faq__list { padding-top: 0; }
  .qa summary { font-size: 19px; padding: 22px 0; }
  .qa > p { padding-bottom: 22px; }

  /* CTA final */
  .cta { padding: 130px var(--gutter); border-bottom: 1px solid var(--hair); }
  .cta .display { padding-top: 34px; }
  .cta__sub { padding-top: 20px; }
  .signup { padding-top: var(--s5); }
  .signup__label { text-align: left; }
  .signup__field { flex-direction: row; gap: 0; }
  .signup input { border-right: 0; }
  .signup .btn { width: auto; flex: none; padding: 17px 28px; }

  /* Footer */
  .footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s5);
    border-top: 0;
    padding: 30px var(--gutter) 40px;
  }
  .footer__brand { flex-wrap: nowrap; gap: 12px; }
  .footer__brand .label { width: auto; padding: 0 0 0 10px; font-size: 10px; letter-spacing: .2em; }
  .footer__meta { gap: 30px; padding-top: 0; font-size: 10px; }
}

/* Telas muito largas: o conteúdo respira, mas não estica sem fim. */
@media (min-width: 1680px) {
  :root { --gutter: calc((100vw - 1552px) / 2); }
}
