/* ══════════════════════════════════════════════════════════════
   CENTRA · CAPTAÇÃO (LINK NA BIO)
   Experiência editorial, mobile-first. Preto, beige e dourado
   como acento. Fraunces para a voz, Montserrat para a interface.
   Sem gradientes, sem vidro, sem cantos arredondados.
   ══════════════════════════════════════════════════════════════ */

:root {
  --black:  #161616;
  --beige:  #ede3d9;
  --gold:   #af8b5c;
  --gold-lt:#c9a97a;
  --alert:  #c9755a;

  --hair:      rgba(237, 227, 217, 0.16);
  --hair-soft: rgba(237, 227, 217, 0.09);
  --dim:       rgba(237, 227, 217, 0.5);
  --dimmer:    rgba(237, 227, 217, 0.32);

  --gut: clamp(22px, 6vw, 96px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; background: var(--black); }

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--black);
  color: var(--beige);
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

[hidden] { display: none !important; }

/* Grão fino: tira o brilho digital ao preto chapado. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── TOPO ── */
.top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 4vw, 30px) var(--gut);
  animation: fade 0.8s var(--ease) both;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
}
.mark-sign { width: 30px; height: 30px; display: block; flex-shrink: 0; }
.mark-name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--beige);
  padding-left: 2px;
}
.mark-name em { font-style: normal; color: var(--gold); }

/* Progresso: contagem discreta + cinco traços. */
.meter { display: flex; align-items: center; gap: 14px; }
.meter-count {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--dimmer);
  font-variant-numeric: tabular-nums;
}
.meter-count b { font-weight: 500; color: var(--gold); }
.meter-count span { padding: 0 3px; }
.meter-bars { display: flex; gap: 5px; }
.meter-bars i {
  display: block;
  width: 13px;
  height: 1px;
  background: var(--hair);
  position: relative;
}
.meter-bars i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.meter-bars i.on::after { transform: scaleX(1); }

/* ── PALCO ── */
.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  padding: 0 var(--gut);
}
#flow { flex: 1; display: flex; min-width: 0; }

.scene {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 5vw, 40px) 0 clamp(22px, 5vw, 40px);
}
.scene:not(.is-active) { display: none; }
.scene--open { justify-content: center; }

/* ── VOZ ── */
.over {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dimmer);
  line-height: 1.9;
  margin-bottom: clamp(20px, 5vw, 34px);
}
.over .idx {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  position: relative;
  padding-right: 14px;
}
.over .idx::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.lede {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(38px, 11vw, 124px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--beige);
}
.lede .line { display: block; }
.lede em { font-style: italic; color: var(--gold); }
.lede--end { margin-bottom: clamp(18px, 4vw, 26px); }

/* Do invisível ao inesquecível: contorno vs. cheio. */
.hollow {
  color: transparent;
  -webkit-text-stroke: 1px rgba(237, 227, 217, 0.45);
}
@supports not (-webkit-text-stroke: 1px #000) {
  .hollow { color: rgba(237, 227, 217, 0.38); }
}

.ask {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(33px, 9vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--beige);
  max-width: 16ch;
  text-wrap: balance;
}
.ask em { font-style: italic; color: var(--gold); }
.ask .tight { white-space: nowrap; }

.say {
  margin-top: clamp(20px, 4.5vw, 30px);
  font-size: clamp(14px, 3.7vw, 16px);
  line-height: 1.95;
  color: var(--dim);
  max-width: 42ch;
  text-wrap: pretty;
}
/* Folga extra sob o título: a descendente itálica não encosta ao texto. */
.lede + .say { margin-top: clamp(22px, 3.2vw, 44px); }

.note {
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--dimmer);
  max-width: 46ch;
}
.note--live #dores-count { color: var(--gold); }

.privacy {
  margin-top: clamp(26px, 6vw, 40px);
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--dimmer);
  max-width: 52ch;
}
.privacy a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; transition: color 0.3s ease; }
.privacy a:hover, .privacy a:focus-visible { color: var(--gold-lt); }

.tag {
  margin: clamp(26px, 6vw, 40px) 0 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.tick {
  margin-top: 18px;
  font-size: 10px;
  letter-spacing: 0.22em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--dimmer);
}

/* Pistas de teclado: só onde há teclado. */
.key { display: none; }
.key b {
  font-weight: 500;
  color: var(--dim);
  border-bottom: 1px solid var(--hair);
  padding-bottom: 1px;
}

.warn {
  min-height: 0;
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--alert);
  display: none;
}
.warn.on { display: block; }
.warn--soft { color: var(--dim); }

/* ── CAMPOS ── */
.fields {
  margin-top: clamp(26px, 6vw, 44px);
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 5vw, 30px);
}

.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 12px;
}
.field label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(175, 139, 92, 0.85);
}
.field label .opt {
  color: var(--dimmer);
  letter-spacing: 0.18em;
  text-transform: none;
  font-weight: 400;
}

.field input {
  width: 100%;
  font-family: inherit;
  font-weight: 300;
  font-size: clamp(19px, 5.2vw, 26px);
  line-height: 1.3;
  color: var(--beige);
  background: transparent;
  border: none;
  outline: none;
  padding: 4px 0 8px;
}
.field input::placeholder { color: rgba(237, 227, 217, 0.22); }

.rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--hair);
}
.rule::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.field input:focus + .rule::after { transform: scaleX(1); }
.field input.filled + .rule { background: rgba(237, 227, 217, 0.34); }
.field.bad .rule { background: var(--alert); }

/* ── GRELHA DE DORES ── */
/* Sem cartões: células separadas por fios de 1px. */
/* Fios desenhados pelas próprias células: sem células-fantasma
   quando a última linha não fica cheia. */
.grid {
  margin-top: clamp(26px, 6vw, 40px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--hair-soft);
  border-left: 1px solid var(--hair-soft);
}

.cell {
  position: relative;
  cursor: pointer;
  border-right: 1px solid var(--hair-soft);
  border-bottom: 1px solid var(--hair-soft);
}
.cell input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cell-in {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  height: 100%;
  min-height: 64px;
  padding: 13px 14px 13px 16px;
  background: var(--black);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.cell-n {
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--dimmer);
  font-variant-numeric: tabular-nums;
  transition: color 0.4s var(--ease);
}
.cell-t {
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--beige);
  transition: transform 0.45s var(--ease), color 0.4s var(--ease);
}

.cell:hover .cell-t { transform: translateX(4px); color: var(--gold-lt); }
.cell:hover .cell-n { color: var(--gold); }

/* Seleccionado: a célula inverte. Leitura imediata, zero checkbox. */
.cell input:checked + .cell-in { background: var(--beige); }
.cell input:checked + .cell-in .cell-t { color: var(--black); transform: none; }
.cell input:checked + .cell-in .cell-n { color: rgba(22, 22, 22, 0.55); }
.cell input:focus-visible + .cell-in { outline: 1px solid var(--gold); outline-offset: -1px; }

/* ── QUALIFICAÇÃO (passo 05) ──
   As mesmas células da grelha de dores, com escolha única. As perguntas
   usam o texto de apoio (.say) em bege; o separador é o fio de 1px das
   grelhas. */
.say--ask { color: var(--beige); }
.grid--pick { margin-top: 18px; }
.pick-sep {
  display: block;
  width: 100%;
  max-width: 880px;
  height: 1px;
  margin-top: clamp(30px, 7vw, 44px);
  background: var(--hair-soft);
}

/* ── AGENDA ── */
.days, .hours {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--hair-soft);
  border-left: 1px solid var(--hair-soft);
}

.day, .hour {
  position: relative;
  cursor: pointer;
  border-right: 1px solid var(--hair-soft);
  border-bottom: 1px solid var(--hair-soft);
}
.day input, .hour input { position: absolute; opacity: 0; width: 0; height: 0; }

.day-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-height: 78px;
  padding: 14px 4px;
  background: var(--black);
  transition: background 0.4s var(--ease);
}
.day-dow {
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dimmer);
  transition: color 0.4s var(--ease);
}
.day-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(24px, 6.6vw, 32px);
  font-weight: 400;
  line-height: 1;
  color: var(--beige);
  transition: color 0.4s var(--ease);
}
.day-mon {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dimmer);
  transition: color 0.4s var(--ease);
}

.hour-in {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 4px;
  background: var(--black);
  font-size: clamp(12px, 3.4vw, 14px);
  letter-spacing: 0.06em;
  color: var(--beige);
  font-variant-numeric: tabular-nums;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.day:hover .day-num, .hour:hover .hour-in { color: var(--gold-lt); }

.day input:checked + .day-in { background: var(--beige); }
.day input:checked + .day-in .day-num { color: var(--black); }
.day input:checked + .day-in .day-mon { color: rgba(22, 22, 22, 0.6); }
.day input:checked + .day-in .day-dow { color: #8a6a3f; }
.hour input:checked + .hour-in { background: var(--beige); color: var(--black); }

.day input:focus-visible + .day-in,
.hour input:focus-visible + .hour-in { outline: 1px solid var(--gold); outline-offset: -1px; }

/* Horários reais: o mesmo cartão do dia, com a hora em destaque. */
.slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--hair-soft);
  border-left: 1px solid var(--hair-soft);
}

/* Dia primeiro: fila de dias com scroll lateral no telemóvel. O min-width
   impede a fila de alargar a página para lá do ecrã. */
#pick-slots, #day-hours { min-width: 0; max-width: 100%; }
.days-strip {
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 0px) / 4.4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-top: 1px solid var(--hair-soft);
  border-left: 1px solid var(--hair-soft);
}
.days-strip::-webkit-scrollbar { display: none; }
.days-strip .day { scroll-snap-align: start; }
.days-strip .day-dow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
}

/* Horas do dia: quatro por linha no telemóvel. */
.times { grid-template-columns: repeat(4, 1fr); }
.day-part[hidden] { display: none; }
.day-part .tag { margin-top: 26px; }

/* Alternativa às vagas: combinar outra hora. */
.alt {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--dim);
  max-width: 46ch;
}
.alt-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--gold-lt);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.alt-btn:hover, .alt-btn:focus-visible { color: var(--beige); }

.go[disabled] { opacity: 0.55; cursor: progress; }

/* Agenda cheia: o recado vem com a voz da marca, em destaque. */
.full-say {
  margin: 12px 0 22px;
  max-width: 560px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(19px, 4.6vw, 24px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--beige);
}

/* ── AÇÕES ── */
.act {
  margin-top: clamp(30px, 7vw, 46px);
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}
/* No fecho o botão principal vem primeiro: é o que se toca. */
.act--end { flex-direction: column; gap: 2px; }
/* Rótulos longos no fecho (ex.: "Enviar disponibilidade por WhatsApp"):
   no telemóvel cabem numa linha; se partirem, ficam centrados. */
@media (max-width: 599px) {
  .act--end .go {
    display: block;
    min-height: 54px;
    padding: 18px 14px;
    line-height: 18px;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-align: center;
    text-wrap: balance;
  }
  .act--end .go i { margin-left: 8px; }
}
@media (max-width: 379px) {
  .act--end .go { padding-left: 12px; padding-right: 12px; letter-spacing: 0.1em; }
}
/* Ecrãs muito estreitos: o rótulo parte em duas linhas compactas. */
@media (max-width: 359px) {
  .act--end .go { padding-top: 14px; padding-bottom: 14px; line-height: 16px; }
}
.act--open { margin-top: clamp(34px, 8vw, 52px); gap: 14px; }

.go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 18px 30px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  background: var(--gold);
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.go i { font-style: normal; transition: transform 0.4s var(--ease); }
.go:hover { background: var(--beige); }
.go:hover i { transform: translateX(5px); }
.go:active { background: var(--gold-lt); }

.back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 10px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dimmer);
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.4s var(--ease);
}
.back i { font-style: normal; transition: transform 0.4s var(--ease); }
.back:hover { color: var(--beige); }
.back:hover i { transform: translateX(-4px); }

.go:focus-visible, .back:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

/* ── FECHO ── */
.recap {
  margin-top: clamp(26px, 6vw, 36px);
  border-top: 1px solid var(--hair-soft);
}
.recap-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair-soft);
}
.recap-row dt {
  flex: 0 0 108px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 3px;
}
.recap-row dd {
  flex: 1 1 180px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--beige);
  word-break: break-word;
}

.signoff {
  margin-top: clamp(28px, 6vw, 40px);
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 5vw, 26px);
  color: var(--dimmer);
}

/* ── BASE ── */
.base {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 16px var(--gut) calc(16px + env(safe-area-inset-bottom));
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(237, 227, 217, 0.22);
}
.base a { color: inherit; text-decoration: none; transition: color 0.4s var(--ease); }
.base a:hover { color: var(--gold); }

/* ══════════ MOVIMENTO ══════════ */

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@keyframes up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Revelação tipográfica: a linha sobe por dentro do seu próprio corte. */
@keyframes typeline {
  from { opacity: 0; transform: translateY(0.36em); clip-path: inset(0 0 106% 0); }
  to   { opacity: 1; transform: translateY(0);      clip-path: inset(0 0 -12% 0); }
}

.scene.is-active > * { animation: up 0.42s var(--ease) both; }
.scene.is-active > *:nth-child(1) { animation-delay: 0.02s; }
.scene.is-active > *:nth-child(2) { animation-delay: 0.07s; }
.scene.is-active > *:nth-child(3) { animation-delay: 0.12s; }
.scene.is-active > *:nth-child(4) { animation-delay: 0.17s; }
.scene.is-active > *:nth-child(5) { animation-delay: 0.21s; }
.scene.is-active > *:nth-child(6) { animation-delay: 0.24s; }
.scene.is-active > *:nth-child(n+7) { animation-delay: 0.27s; }

/* O bloco tipográfico tem a sua própria entrada, linha a linha. */
.scene.is-active .lede { animation: none; opacity: 1; }
.scene.is-active .lede .line { animation: typeline 0.7s var(--ease) both; }
.scene.is-active .lede .line:nth-child(1) { animation-delay: 0.06s; }
.scene.is-active .lede .line:nth-child(2) { animation-delay: 0.15s; }
.scene.is-active .lede .line:nth-child(3) { animation-delay: 0.24s; }

.scene.is-leaving > * { animation: none; }
.scene.is-leaving { opacity: 0; transform: translateY(-8px); transition: opacity 0.2s ease, transform 0.2s ease; }

/* ══════════ ECRÃS MAIORES ══════════ */

@media (min-width: 600px) {
  /* Tablets: escala intermédia, encaixa sem saltos na do desktop. */
  .lede { font-size: clamp(56px, min(10vw, 12vh), 90px); }
  .ask  { font-size: clamp(40px, min(7vw, 9vh), 64px); }

  .grid { grid-template-columns: repeat(3, 1fr); }
  .cell-in { min-height: 76px; }

  .act {
    flex-direction: row;
    align-items: center;
    gap: 22px;
  }
  .go   { width: auto; min-width: 260px; }
  .back { order: -1; padding-left: 0; }
  .act--open { flex-direction: column; align-items: flex-start; gap: 4px; }
  .act--end  { flex-direction: row-reverse; justify-content: flex-end; gap: 22px; }
}

@media (min-width: 960px) {
  .stage { align-items: center; }

  /* Composição assimétrica: o texto vive no terço esquerdo-central
     e o índice da pergunta pendura na margem. */
  .scene {
    flex: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding-left: clamp(60px, 9vw, 150px);
    justify-content: center;
  }
  .scene--open { padding-left: clamp(60px, 9vw, 150px); }

  .over { position: relative; }
  .over .idx {
    position: absolute;
    left: clamp(-150px, -9vw, -60px);
    top: 0;
    padding-right: 0;
  }
  .over .idx::after { display: none; }

  /* Escala contínua: sem saltos de tamanho entre breakpoints. */
  /* O título acompanha também a altura: em portáteis com escala do
     Windows (ex.: 1536×690) o hero inteiro cabe no ecrã. */
  .lede { font-size: clamp(64px, min(9vw, 11.5vh), 116px); }
  .ask  { font-size: clamp(46px, min(6.6vw, 8.6vh), 70px); }
  .scene--open .say { max-width: 46ch; }

  .grid  { grid-template-columns: repeat(4, 1fr); max-width: 880px; }
  .grid--pick { grid-template-columns: repeat(3, 1fr); max-width: 760px; }
  .pick-sep { max-width: 760px; }
  .cell-in { min-height: 88px; padding: 18px 20px; }
  .cell-t  { font-size: 14.5px; }
  .days, .hours { max-width: 760px; }
  .days-strip { grid-auto-columns: calc(100% / 10); max-width: 760px; }
  .times { grid-template-columns: repeat(5, 1fr); max-width: 760px; }
  .day-in  { min-height: 98px; }
  .hour-in { min-height: 68px; }
  .fields { max-width: 640px; }
  .fields--pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px 46px;
    max-width: 760px;
  }
  .fields--pair .field--wide { grid-column: 1 / -1; max-width: 380px; }
  .recap { max-width: 680px; }
  .scene:not(.scene--open) .act { margin-top: clamp(40px, 5vw, 62px); }

  .key {
    display: inline;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dimmer);
  }
  .key--inline { margin-left: 10px; }
}

/* Desktop baixo: o hero aperta os espaços verticais para caber no ecrã. */
@media (min-width: 960px) and (max-height: 820px) {
  .top { padding-top: 18px; padding-bottom: 18px; }
  .scene { padding-top: 12px; padding-bottom: 16px; }
  .over { margin-bottom: 20px; }
  .lede + .say { margin-top: 22px; }
  .say { line-height: 1.8; }
  .act--open { margin-top: 30px; }
  .tick { margin-top: 12px; }
  .scene:not(.scene--open) .act { margin-top: 34px; }
  .fields, .grid { margin-top: 26px; }
}

/* Ecrãs muito baixos: o palco deixa de ser ecrã inteiro e rola. */
/* Telemóveis estreitos: o rótulo do botão tem de caber numa linha. */
@media (max-width: 400px) {
  .go { padding: 18px 18px; font-size: 10.5px; letter-spacing: 0.17em; }
  .mark-name { letter-spacing: 0.34em; }
}

@media (max-height: 620px) and (max-width: 959px) {
  .lede { font-size: clamp(40px, 11vw, 64px); }
  .ask  { font-size: clamp(30px, 7.5vw, 44px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
  .scene.is-active .lede .line { clip-path: none; opacity: 1; }
}

/* Reunião marcada: o fecho não precisa dos botões de contacto. */
.act--end[hidden] { display: none; }
