/* Reparaí — site institucional.
   Mesma marca do app (apps/web/src/app/globals.css): azul-marinho do wordmark, azul da
   chave e o laranja do arco da logo. O laranja aparece em poucos lugares de propósito:
   o arco do topo, o botão de cadastro e os números das etapas. O verde é só do "aprovado"
   — é a mesma cor do botão Aprovar orçamento do app. Texto em cima de laranja é sempre
   grafite, porque branco sobre #f48e20 reprova em contraste.

   Escrito do celular pra cima: as regras soltas valem pra tela pequena, e os @media
   (min-width) acrescentam o layout largo. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #093864;
  --ink-deep: #062a4c;
  --blue: #175f91;
  --signal: #f48e20;
  --signal-hover: #ffa240;
  --ok: #147a4a;
  --ok-hover: #0f6a3f;
  --ok-soft: #e2f1e9;
  --plate-band: #0b3ea8;
  --graphite: #0d1b26;
  --steel: #5c6b78;
  --concrete: #e8edf1;
  --paper: #f7f9fb;
  --white: #ffffff;
  --line: #d2dbe3;
  --on-ink: #e6eef7;
  --on-ink-muted: #a9c0d6;

  --wrap: 1180px;
  --gutter: 16px;
  --section-y: 72px;
  --radius-control: 8px;
}

@media (min-width: 600px) {
  :root {
    --gutter: clamp(24px, 5vw, 48px);
    --section-y: clamp(88px, 10vw, 136px);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--signal);
  color: var(--graphite);
  font-weight: 700;
  border-radius: var(--radius-control);
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Tipografia ---------- */

/* O Archivo largo (wdth 125) é a voz da marca nos títulos; o texto corrido fica na
   largura normal. Os valores em dinheiro usam a versão estreita, com algarismos de
   largura fixa, como numa nota. */
.display {
  margin: 0;
  font-size: clamp(2.25rem, 5.2vw + 1rem, 4.25rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-title {
  margin: 0;
  font-size: clamp(1.875rem, 3vw + 1rem, 3rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.section-lede {
  max-width: 38em;
  margin-top: 16px;
  color: var(--steel);
  font-size: 1.125rem;
  text-wrap: pretty;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-control);
  font: inherit;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn__icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn--signal {
  background: var(--signal);
  color: var(--graphite);
}

.btn--signal:hover {
  background: var(--signal-hover);
}

.btn--ghost {
  border-color: rgba(230, 238, 247, 0.4);
  color: var(--on-ink);
}

.btn--ghost:hover {
  border-color: var(--on-ink);
  background: rgba(230, 238, 247, 0.06);
}

.btn--approve {
  background: var(--ok);
  color: var(--white);
}

.btn--approve:hover {
  background: var(--ok-hover);
}

.btn--small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.9375rem;
}

/* ---------- Topo ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink);
  border-bottom: 1px solid rgba(230, 238, 247, 0.1);
}

.top__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  min-height: 60px;
  margin: 0 auto;
  padding: 8px var(--gutter);
}

.top__brand {
  margin-right: auto;
}

.top__brand img {
  width: auto;
  height: 38px;
}

.top__nav {
  display: none;
}

.top__nav a,
.top__login {
  color: var(--on-ink);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 8px 4px;
}

.top__nav a:hover,
.top__login:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.top__cta {
  display: none;
}

@media (min-width: 480px) {
  .top__cta {
    display: inline-flex;
  }
}

@media (min-width: 900px) {
  .top__inner {
    min-height: 68px;
  }

  .top__brand img {
    height: 44px;
  }

  .top__nav {
    display: flex;
    gap: 24px;
    margin-right: 16px;
  }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: 40px;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 36px var(--gutter) 56px;
}

.hero__copy {
  max-width: 36rem;
}

.hero__lede {
  margin-top: 20px;
  color: var(--on-ink-muted);
  font-size: 1.125rem;
  text-wrap: pretty;
}

.hero__actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.hero__note {
  margin-top: 14px;
  color: var(--on-ink-muted);
  font-size: 0.9375rem;
}

@media (min-width: 480px) {
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 48px;
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .hero__copy {
    max-width: 40rem;
  }

  .hero .display {
    font-size: clamp(2.75rem, 3.4vw + 0.6rem, 3.9rem);
  }
}

/* ---------- Moldura de celular ---------- */

.phone {
  position: relative;
  padding: 3.4%;
  background: var(--graphite);
  border-radius: 14% / 6.5%;
  box-shadow:
    inset 0 0 0 1.5px #2c3e4e,
    0 1px 0 1px rgba(255, 255, 255, 0.04),
    0 40px 60px -30px rgba(5, 29, 54, 0.55);
}

.phone__screen {
  position: relative;
  width: 100%;
  padding-top: 9%;
  background: var(--bar, var(--ink));
  border-radius: 10.5% / 4.9%;
  overflow: hidden;
  container-type: inline-size;
}

.phone__screen::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  width: 28%;
  height: 0;
  padding-top: 7.4%;
  margin-top: 2.2%;
  translate: -50% 0;
  background: #05090d;
  border-radius: 999px;
}

/* ---------- Demonstração do hero ---------- */

/* Três telas empilhadas dentro de um celular: a oficina monta, o link vai pelo WhatsApp,
   o cliente aprova. O site.js toca a sequência uma vez quando ela aparece; sem JS (ou
   com movimento reduzido) fica parada na última tela, já aprovada. */
.demo {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 400px;
}

.demo__stage {
  position: relative;
  display: grid;
  justify-items: center;
}

.demo__arc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 118%;
  translate: -50% -50%;
  fill: none;
  stroke: var(--signal);
  stroke-width: 3;
  stroke-linecap: round;
  pointer-events: none;
}

.phone--demo {
  width: min(300px, 80vw);
}

.demo__screen {
  aspect-ratio: 390 / 844;
  padding-top: 0;
  background: var(--white);
  line-height: 1.35;
  color: var(--graphite);
}

.scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding-top: 9cqi;
  /* cqi aqui mede a tela do celular (o contêiner é o .phone__screen) */
  font-size: 11px;
  font-size: 4.6cqi;
  background: linear-gradient(var(--top, var(--ink)) 0 9cqi, var(--bg, var(--concrete)) 9cqi);
  opacity: 0;
  visibility: hidden;
  translate: 8% 0;
  transition: opacity 0.35s ease, translate 0.35s ease, visibility 0s linear 0.35s;
}

.demo[data-scene="0"] [data-scene-id="0"],
.demo[data-scene="1"] [data-scene-id="1"],
.demo[data-scene="2"] [data-scene-id="2"] {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition: opacity 0.35s ease, translate 0.35s ease, visibility 0s;
}

.demo b {
  font-weight: 700;
}

.demo small {
  display: block;
  color: var(--steel);
  font-size: 0.82em;
}

/* Tela 1 — app da oficina */

.app-bar {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.7em 1.1em 0.8em;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05em;
}

.app-bar svg {
  width: 1.3em;
  height: 1.3em;
  color: var(--signal);
}

.app-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55em;
  padding: 0.9em 1.1em;
  overflow: hidden;
}

.app-title {
  font-weight: 800;
  font-size: 1.45em;
  line-height: 1.1;
}

.app-vehicle {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
}

.app-muted {
  color: var(--steel);
}

.pub-strong {
  color: var(--graphite);
}

.app-template {
  display: flex;
  gap: 0.5em;
}

.app-select {
  flex: 1;
  padding: 0.55em 0.75em;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.5em;
}

.app-apply,
.app-send {
  display: grid;
  place-items: center;
  padding: 0.55em 0.9em;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  border-radius: 0.5em;
  transition: scale 0.15s ease, filter 0.15s ease;
}

[data-press].is-pressed {
  scale: 0.94;
  filter: brightness(0.85);
}

.sheet {
  padding: 0.35em 0.8em;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.6em;
}

.sheet__label {
  padding: 0.35em 0 0.4em;
  color: var(--steel);
  font-size: 0.88em;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6em;
  padding: 0.45em 0;
}

.line + .line {
  border-top: 1px solid var(--concrete);
}

.line b {
  white-space: nowrap;
  font-stretch: 85%;
  font-variant-numeric: tabular-nums;
}

.scene--build .line {
  opacity: 0;
  translate: 0 -0.4em;
  transition: opacity 0.3s ease, translate 0.3s ease;
}

.scene--build .line.is-in {
  opacity: 1;
  translate: 0 0;
}

.app-foot {
  display: grid;
  gap: 0.5em;
  padding: 0.7em 1.1em 1.1em;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.app-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.1em;
}

.app-total b {
  font-size: 1.3em;
  font-weight: 800;
  font-stretch: 85%;
  font-variant-numeric: tabular-nums;
}

.app-send {
  padding: 0.75em;
}

/* Placa Mercosul, igual à do app */
.plate {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid var(--graphite);
  border-radius: 0.3em;
  overflow: hidden;
  background: var(--white);
  color: var(--graphite);
  font-weight: 700;
  font-size: 0.9em;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.plate__band {
  display: grid;
  place-items: center;
  padding: 0 0.3em;
  background: var(--plate-band);
  color: var(--white);
  font-size: 0.6em;
  letter-spacing: 0.04em;
}

.plate__text {
  padding: 0.3em 0.45em;
}

/* Tela 2 — conversa */

.scene--chat {
  --top: #f4f2ee;
  --bg: #ece5dd;
}

.chat-bar {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.5em 1em 0.7em;
  background: #f4f2ee;
  border-bottom: 1px solid #ddd6cc;
}

.chat-bar__avatar {
  display: grid;
  place-items: center;
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  background: #c9d8e6;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9em;
}

.demo .chat-bar__who small {
  color: #2f7d4b;
}

.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  padding: 0.9em 0.8em;
  overflow: hidden;
}

.chat-day {
  align-self: center;
  padding: 0.25em 0.8em;
  background: var(--white);
  border-radius: 0.6em;
  color: var(--steel);
  font-size: 0.82em;
}

.bubble {
  position: relative;
  max-width: 86%;
  padding: 0.45em 0.6em 0.35em;
  border-radius: 0.7em;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.12);
  opacity: 0;
  translate: 0 0.6em;
  transition: opacity 0.3s ease, translate 0.3s ease;
}

.bubble.is-in {
  opacity: 1;
  translate: 0 0;
}

.bubble--out {
  align-self: flex-end;
  background: #d9fdd3;
  border-top-right-radius: 0.15em;
}

.bubble--in {
  align-self: flex-start;
  background: var(--white);
  border-top-left-radius: 0.15em;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 0.45em;
  padding: 0.55em;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0.45em;
}

.link-card__logo,
.pub-head__logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.6em;
  height: 2.6em;
  border-radius: 0.35em;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9em;
}

.link-card b {
  display: block;
  font-size: 0.92em;
  line-height: 1.2;
}

.bubble__link {
  display: block;
  color: #027eb5;
  text-decoration: underline;
}

.demo .bubble__meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.25em;
  margin-top: 0.1em;
  font-size: 0.72em;
}

.bubble__meta svg {
  width: 1.4em;
  height: 1.4em;
  color: #34b7f1;
}

.chat-input {
  padding: 0.6em 0.8em 1.1em;
}

.chat-input span {
  display: block;
  padding: 0.65em 1em;
  background: var(--white);
  border-radius: 999px;
  color: var(--steel);
}

/* Tela 3 — página pública do orçamento */

.scene--client {
  --top: var(--white);
  --bg: var(--concrete);
}

.pub-head {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.5em 1.1em 0.8em;
  background: var(--white);
  border-bottom: 3px solid var(--signal);
  font-size: 1.05em;
}

.pub-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  padding: 0.8em 1.1em;
  overflow: hidden;
}

.pub-status {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.chip {
  display: inline-block;
  padding: 0.2em 0.6em;
  border-radius: 999px;
  font-size: 0.85em;
  font-weight: 700;
  line-height: 1.3;
}

.chip--sent {
  background: #e5edf6;
  color: #1d4e89;
}

.chip--ok {
  background: var(--ok-soft);
  color: var(--ok);
}

/* Na página pública, só um dos dois status aparece por vez */
.pub-status .chip--ok,
.demo[data-approved="true"] .pub-status .chip--sent {
  display: none;
}

.demo[data-approved="true"] .pub-status .chip--ok {
  display: inline-block;
}

.pub-pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-left: auto;
  padding: 0.35em 0.6em;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.45em;
  font-weight: 600;
  font-size: 0.9em;
}

.pub-pdf svg {
  width: 1.2em;
  height: 1.2em;
}

.pub-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.2em 0.1em 0;
}

.pub-total b {
  font-size: 1.45em;
  font-weight: 800;
  font-stretch: 85%;
  font-variant-numeric: tabular-nums;
}

.pub-actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.6em;
  padding: 0.8em 1.1em 1.2em;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.pub-approve,
.pub-refuse {
  display: grid;
  place-items: center;
  padding: 0.8em 0.4em;
  border-radius: 0.5em;
  font-weight: 700;
  transition: scale 0.15s ease, filter 0.15s ease;
}

.pub-approve {
  background: var(--ok);
  color: var(--white);
}

.pub-refuse {
  border: 1px solid var(--line);
}

.pub-done {
  display: none;
  align-items: center;
  gap: 0.6em;
  padding: 1em 1.1em 1.3em;
  background: var(--ok-soft);
  border-top: 1px solid #b9dcc8;
  color: var(--ok);
  font-weight: 700;
}

.pub-done svg {
  flex: none;
  width: 1.6em;
  height: 1.6em;
}

.demo[data-approved="true"] .pub-actions {
  display: none;
}

.demo[data-approved="true"] .pub-done {
  display: flex;
}

/* O que muda do lado da oficina quando o cliente aprova */
.receipt {
  position: relative;
  z-index: 2;
  width: min(320px, 86vw);
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--graphite);
  border-radius: 10px;
  box-shadow: 0 18px 40px -14px rgba(5, 29, 54, 0.6);
  font-size: 0.875rem;
  line-height: 1.35;
  opacity: 0;
  translate: 0 12px;
  transition: opacity 0.35s ease, translate 0.35s ease;
}

.demo[data-approved="true"] .receipt {
  opacity: 1;
  translate: 0 0;
}

.receipt__label {
  margin-bottom: 8px;
  color: var(--steel);
  font-size: 0.8125rem;
}

.receipt__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.receipt__who small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--steel);
}

.receipt__right {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.receipt__right b {
  font-stretch: 85%;
  font-variant-numeric: tabular-nums;
}

.plate--tiny {
  font-size: 0.75rem;
}

/* Etapas embaixo do celular: também são os controles da demonstração */
.demo__caption {
  margin-top: 20px;
}

.demo__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo__steps button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 64px;
  padding: 10px 4px 6px;
  background: transparent;
  border: 0;
  border-top: 3px solid rgba(230, 238, 247, 0.18);
  color: var(--on-ink-muted);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.demo__steps button span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 0.75rem;
  font-weight: 700;
}

.demo__steps button:hover {
  color: var(--on-ink);
}

.demo__steps button[aria-pressed="true"] {
  border-top-color: var(--signal);
  color: var(--white);
}

.demo__steps button[aria-pressed="true"] span {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--graphite);
}

.demo__replay {
  display: block;
  margin: 6px auto 0;
  padding: 8px 12px;
  background: none;
  border: 0;
  color: var(--on-ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.demo__replay[hidden] {
  display: none;
}

@media (min-width: 960px) {
  .phone--demo {
    width: 316px;
  }

  .receipt {
    position: absolute;
    left: -40px;
    bottom: 108px;
    width: 290px;
    margin-top: 0;
  }
}

/* ---------- Recursos ---------- */

.features {
  padding: var(--section-y) 0;
}

.feature {
  display: grid;
  gap: 28px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.feature h3 {
  margin: 0;
  font-size: clamp(1.375rem, 1.2vw + 1rem, 1.75rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.15;
  text-wrap: balance;
}

.feature p {
  margin-top: 12px;
  max-width: 34em;
  color: var(--steel);
  text-wrap: pretty;
}

.ticks {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ok-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23147a4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-8.5'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

/* Um pedaço do celular aparecendo, cortado embaixo: mostra a tela sem ocupar a
   altura inteira dela. */
.peek {
  justify-self: center;
  width: min(300px, 78vw);
  height: 400px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 78%, transparent);
  mask-image: linear-gradient(#000 78%, transparent);
}

.peek .phone {
  box-shadow: inset 0 0 0 1.5px #2c3e4e;
}

@media (min-width: 860px) {
  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
    margin-top: 72px;
    padding-top: 0;
    border-top: 0;
  }

  .feature:nth-of-type(even) .feature__copy {
    order: 2;
  }

  .feature__copy {
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .peek {
    width: 320px;
    height: 470px;
  }
}

.extras {
  margin-top: 72px;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.extras__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  font-stretch: 112%;
}

.extras__list {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--steel);
}

.extras__list b {
  color: var(--graphite);
}

@media (min-width: 720px) {
  .extras {
    padding: 36px 40px;
  }

  .extras__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 40px;
  }
}

@media (min-width: 1080px) {
  .extras__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Preço ---------- */

.pricing {
  padding: var(--section-y) 0;
  background: var(--concrete);
}

.pricing__inner {
  display: grid;
  gap: 40px;
}

.pricing__fine {
  margin-top: 16px;
  max-width: 34em;
  color: var(--steel);
  font-size: 0.9375rem;
}

/* O preço vestido de orçamento do Reparaí: mesmo cabeçalho com a faixa laranja,
   mesma folha de itens, total em destaque e o botão verde do "aprovar". */
.bill {
  width: 100%;
  max-width: 440px;
  justify-self: center;
  background: var(--paper);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(5, 29, 54, 0.45);
}

.bill__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  border-bottom: 3px solid var(--signal);
  font-size: 1.125rem;
}

.bill__logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  font-stretch: 125%;
}

.bill__body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.bill__meta {
  color: var(--steel);
}

.bill__meta b {
  color: var(--graphite);
}

.bill .sheet {
  padding: 4px 16px 8px;
  border-radius: 10px;
}

.bill .sheet__label {
  font-size: 0.875rem;
}

.bill__items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bill__items li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  font-size: 0.9375rem;
}

.bill__items li + li {
  border-top: 1px solid var(--concrete);
}

.bill__items b {
  color: var(--ok);
  font-size: 0.875rem;
  white-space: nowrap;
}

.bill__trial,
.bill__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 0 4px;
}

.bill__trial b {
  color: var(--ok);
}

.bill__total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.bill__total b {
  font-size: 2.25rem;
  font-weight: 800;
  font-stretch: 85%;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.bill__total small {
  font-size: 0.9375rem;
  font-weight: 600;
  font-stretch: 100%;
  color: var(--steel);
}

.bill__actions {
  display: grid;
  gap: 10px;
  padding: 16px 20px 20px;
  background: var(--white);
  border-top: 1px solid var(--line);
  text-align: center;
}

.bill__actions p {
  color: var(--steel);
  font-size: 0.875rem;
}

@media (min-width: 900px) {
  .pricing__inner {
    grid-template-columns: minmax(0, 1fr) 440px;
    align-items: center;
    gap: 72px;
  }
}

/* ---------- Dúvidas ---------- */

.faq {
  padding: var(--section-y) 0;
}

.faq__inner {
  display: grid;
  gap: 32px;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -9px;
  border-right: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  rotate: 45deg;
  transition: rotate 0.2s ease, margin-top 0.2s ease;
}

.faq details[open] summary::after {
  rotate: 225deg;
  margin-top: -3px;
}

.faq details p {
  max-width: 40em;
  padding: 0 0 22px;
  color: var(--steel);
  text-wrap: pretty;
}

.faq__more {
  color: var(--steel);
}

.faq__more a {
  color: var(--blue);
  font-weight: 700;
}

@media (min-width: 900px) {
  .faq__inner {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 32px 72px;
    align-items: start;
  }

  .faq__more {
    grid-column: 2;
  }
}

/* ---------- Fechamento ---------- */

.close {
  padding: var(--section-y) 0;
  background: var(--ink-deep);
  color: var(--on-ink);
}

.close__inner {
  display: grid;
  justify-items: start;
}

.display--close {
  font-size: clamp(2.25rem, 5vw + 1rem, 4.5rem);
  max-width: 12em;
}

.close__lede {
  max-width: 34em;
  margin-top: 20px;
  color: var(--on-ink-muted);
  font-size: 1.125rem;
}

.close__actions {
  display: grid;
  gap: 12px;
  width: 100%;
  margin-top: 32px;
}

.close__login {
  margin-top: 20px;
  padding: 8px 0;
  color: var(--on-ink);
  font-weight: 600;
  text-underline-offset: 4px;
}

@media (min-width: 480px) {
  .close__actions {
    display: flex;
    flex-wrap: wrap;
    width: auto;
  }
}

/* ---------- Rodapé ---------- */

.foot {
  padding: 48px 0 calc(96px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--steel);
  font-size: 0.9375rem;
}

.foot__inner {
  display: grid;
  gap: 28px;
}

.foot__brand img {
  width: auto;
  height: 44px;
}

.foot__brand p {
  margin-top: 12px;
  max-width: 26em;
}

.foot__nav {
  display: grid;
  gap: 4px;
}

.foot__nav a {
  padding: 6px 0;
  color: var(--graphite);
  font-weight: 600;
  text-decoration: none;
}

.foot__nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 760px) {
  .foot {
    padding-bottom: 48px;
  }

  .foot__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .foot__nav {
    grid-template-columns: repeat(2, auto);
    gap: 4px 40px;
  }

  .foot__copy {
    grid-column: 1 / -1;
  }
}

/* ---------- Botão fixo no celular ---------- */

.dock {
  position: fixed;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 249, 251, 0.94);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  translate: 0 110%;
  visibility: hidden;
  transition: translate 0.25s ease, visibility 0s linear 0.25s;
}

.dock .btn {
  width: 100%;
}

.dock.is-visible {
  translate: 0 0;
  visibility: visible;
  transition: translate 0.25s ease, visibility 0s;
}

@media (min-width: 760px) {
  .dock {
    display: none;
  }
}

/* ---------- Menos movimento ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}
