/* Luz Paciente integration (used by index-luz.html only) */

/* Solar routes: each motor carries a clean line mark of the law that keeps light its way */
.route-ask { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; row-gap: 2px; align-content: start; align-items: center; }
.route-icon { grid-row: 1 / span 2; width: 48px; height: 48px; display: block; color: var(--cyan); }
.route-ask .route-question { grid-column: 2; }
.route-ask .route-name { grid-column: 2; }

/* Closing section: the plate forms live behind the call to action */
.std-luz { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); }
.luz-plate { position: absolute; inset: 0; z-index: -1; }
.luz-plate img, .luz-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: 50% 50%;
}
/* With motion allowed, the still image steps aside and the light builds from dark */
.luz-live .luz-plate img { display: none; }
/* Keeps the copy on calm ground: dark on the text side, open where the light forms */
.luz-plate::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(7, 20, 38, 0.92) 30%, rgba(7, 20, 38, 0.55) 52%, rgba(7, 20, 38, 0) 74%);
}
.std-luz .std-inner { position: relative; }
.std-luz { padding-block: clamp(7rem, 13vw, 12rem); }
.luz-heading { max-width: 13ch; }
.std-luz .std-lead { max-width: 46ch; }

@media (max-width: 767px) {
  .route-ask { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
  .route-icon { width: 40px; height: 40px; }
  /* Phones: copy on top, the plate opens underneath */
  .std-luz { padding-block: 4.5rem 72vw; }
  .luz-plate img, .luz-canvas { object-position: 50% 50%; }
  .luz-plate::after { background: linear-gradient(180deg, var(--navy) 0%, rgba(7, 20, 38, 0.9) 42%, rgba(7, 20, 38, 0) 70%); }
}

/* ===================== Art direction from the reference (items 1-9) ===================== */

[hidden] { display: none !important; }

/* 8: one ratio per image type */
:root { --ratio-pessoa: 4 / 5; --ratio-relatorio: 16 / 10; }
.about-photo { aspect-ratio: var(--ratio-pessoa); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.std-about { background: var(--navy-alt); }

/* 1: two-beat headings. The turn sits on its own line, lighter weight, in the accent */
.std-heading .beat { display: block; font-weight: 400; color: var(--cyan); }

/* 4: the paper register, only for what is written and contractual (promises, questions) */
.std-paper {
  --paper-bg: #eef3f8; --paper-ink: #0b1b31; --paper-soft: #3f4f63; --paper-accent: #0a5fd0;
  --paper-line: rgba(11, 27, 49, 0.14);
  background: var(--paper-bg); color: var(--paper-ink);
}
.std-paper + .std, .std + .std-paper { border-top: 0; }
.std-paper .std-heading { color: var(--paper-ink); }
.std-paper .std-heading .beat { color: var(--paper-accent); }
.std-paper .promise-figure .count { color: var(--paper-ink); }
.std-paper .promise-unit { color: var(--paper-accent); }
.std-paper .promise-text, .std-paper .std-note, .std-paper .std-lead { color: var(--paper-soft); }
.std-paper .std-note { border-top-color: var(--paper-line); }
.std-paper .faq-list details { border-top-color: var(--paper-line); }
.std-paper .faq-list details:last-child { border-bottom-color: var(--paper-line); }
.std-paper .faq-list summary { color: var(--paper-ink); }
.std-paper .faq-list summary::after { color: var(--paper-accent); }
.std-paper .faq-list details p { color: var(--paper-soft); }
.std-paper :focus-visible { outline-color: var(--paper-accent); }

/* 7: a filled primary next to a ghost for a lighter action */
.cta-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-ghost {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 1.05rem 1.5rem; border: 1px solid rgba(238, 244, 251, 0.38); border-radius: 8px;
  color: var(--text-on-dark); text-decoration: none; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.cta-ghost-sm { padding: 0.6rem 1rem; font-size: 0.9375rem; }
@media (hover: hover) { .cta-ghost:hover { border-color: var(--text-on-dark); background-color: rgba(238, 244, 251, 0.06); } }

/* 3: guided choice, one question per screen */
.momento { margin-top: 2.5rem; }
.momento-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 1.5rem; }
.momento-progress span { width: 44px; height: 3px; border-radius: 2px; background: rgba(75, 196, 255, 0.18); transition: background-color 0.3s var(--ease-out); }
.momento-progress span.on { background: var(--cyan); }
.momento-count { margin-left: 10px; font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.momento-question {
  margin: 0; max-width: 24ch; outline: none;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2.1rem);
  line-height: 1.2; letter-spacing: -0.02em; color: var(--text-on-dark);
}
.momento-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 12px; margin-top: 1.5rem; }
.momento-choice {
  appearance: none; cursor: pointer; text-align: left; min-height: 64px; padding: 1.1rem 1.25rem;
  border: 1px solid rgba(75, 196, 255, 0.32); border-radius: 8px; background: rgba(7, 20, 38, 0.45);
  color: var(--text-on-dark); font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
@media (hover: hover) { .momento-choice:hover { border-color: var(--cyan); background: rgba(20, 121, 255, 0.14); } }
.momento-choice:active { transform: scale(0.98); }
.momento-link {
  appearance: none; background: none; border: 0; padding: 0.5rem 0; margin-top: 1.25rem; cursor: pointer;
  color: var(--cyan); font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem;
  text-decoration: underline; text-underline-offset: 4px;
}
.momento-all-toggle { display: block; margin-top: 2rem; }
.momento-result { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2rem 3.5rem; align-items: start; }
.result-head { display: flex; align-items: center; gap: 14px; }
.result-head .route-icon { grid-row: auto; }
.result-for { margin: 0; color: var(--text-faint); font-size: 0.9375rem; }
.result-name { margin: 1rem 0 0; outline: none; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 2vw + 1.2rem, 2.8rem); letter-spacing: -0.03em; line-height: 1.05; }
.result-body { margin: 0.8rem 0 0; max-width: 52ch; color: var(--text-soft); }
.momento-result .route-guarantee { margin: 1rem 0 0; color: var(--text-on-dark); font-weight: 600; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 1.5rem; }
.result-actions .momento-link { margin-top: 0; }
.momento-all { margin-top: 1.5rem; }

/* 2: what the visitor receives, shown as the document itself (structure, no invented figures) */
.paper-sheet {
  background: #eef3f8; color: #0b1b31; border-radius: 4px; padding: 1.5rem 1.6rem 1.4rem;
  box-shadow: 0 18px 40px rgba(2, 7, 15, 0.45); transform: rotate(0.8deg);
}
.sheet-kicker { margin: 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #3f4f63; }
.sheet-title { margin: 0.35rem 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; }
.sheet-list { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 1px solid rgba(11, 27, 49, 0.14); }
.sheet-list li { position: relative; padding: 0.65rem 0 0.65rem 1.5rem; border-bottom: 1px solid rgba(11, 27, 49, 0.14); font-size: 0.975rem; line-height: 1.45; }
.sheet-list li::before { content: ""; position: absolute; left: 0; top: 0.95rem; width: 0.6rem; height: 0.6rem; border: 1.5px solid #0a5fd0; border-radius: 2px; }
.sheet-note { margin: 0.9rem 0 0; font-size: 0.875rem; color: #3f4f63; }

/* 5: the process, ending on the real first message */
.std-como { background: var(--navy); }
.como-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 3rem 4.5rem; align-items: center; }
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; padding: 1.25rem 0; border-top: 1px solid rgba(75, 196, 255, 0.16); }
.step-n { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--cyan); font-variant-numeric: tabular-nums; }
.step-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--text-on-dark); }
.step-text { margin: 0.3rem 0 0; max-width: 52ch; color: var(--text-soft); }
.first-message {
  margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  padding: 1.5rem; border: 1px solid rgba(75, 196, 255, 0.16); border-radius: 12px; background: var(--navy-alt);
}
.first-message figcaption { font-size: 0.875rem; color: var(--text-faint); }
.bubble {
  align-self: flex-end; margin: 0; max-width: 30ch; padding: 0.85rem 1.1rem;
  border-radius: 16px 16px 4px 16px; background: var(--btn); color: #fff; font-size: 1rem; line-height: 1.45;
}

/* 6: proof slot styles, ready for when an authorized testimonial exists */
.provas-list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.prova blockquote { margin: 0; font-size: 1.125rem; line-height: 1.5; color: var(--text-on-dark); }
.prova-meta { margin: 0.75rem 0 0; font-size: 0.875rem; color: var(--text-faint); }

/* 9: the place, once, with a way to get there */
.footer-place { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }

@media (max-width: 900px) {
  .momento-result, .como-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .momento-choices { grid-template-columns: 1fr; }
  .paper-sheet { transform: none; }
  .steps li { grid-template-columns: 48px minmax(0, 1fr); }
  .step-n { font-size: 1.6rem; }
  .cta-pair .cta-ghost { padding: 1rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .momento-choice, .cta-ghost, .momento-progress span { transition: none; }
  .momento-choice:active { transform: none; }
}
