/* ==========================================================================
   Prospecta Media
   Direção: parede de galeria, texto em tinta, preço marcado a caneta.
   Tokens e justificativas em work/CREATIVE-BRIEF.md
   ========================================================================== */

@font-face {
  font-family: "Bricolage";
  src: url("assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* superfícies: paper e wall mostram obra, ink argumenta */
  --paper: #FFFFFF;
  --wall: #EEF0F4;
  --ink: #12193A;

  --signal: #2A2FD4;      /* marca, CTA, foco */
  --signal-dark: #1F23A8;
  --marker: #FFC53D;      /* destaque do argumento comercial, sempre como traço */
  --whatsapp: #25D366;    /* só o glifo */

  --ink-60: #5B6480;      /* secundário sobre paper */
  --paper-70: #A9B2CC;    /* secundário sobre ink */
  --line: #DCE0E9;
  --line-ink: rgba(255, 255, 255, .16);

  --r-sm: 6px;            /* controles */
  --r-md: 12px;           /* cards de obra */
  --r-lg: 20px;           /* modal */

  --lift: 0 24px 60px -20px rgba(18, 25, 58, .35);

  --display: "Bricolage", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; }
/* o display:block acima vence o [hidden] da folha do navegador; o sprite de
   ícones precisa continuar fora do fluxo */
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--display);
  font-optical-sizing: auto;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 640;
  line-height: .99;
  letter-spacing: -.03em;
}

h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.75rem);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -.022em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.012em;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-200%);
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}
.skip:focus { transform: none; }

.wrap {
  width: min(100% - calc(var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.measure { max-width: 62ch; }

/* ---------- superfícies ---------- */

.band { padding-block: clamp(64px, 8vw, 112px); }
.band-paper { background: var(--paper); }
.band-wall  { background: var(--wall); }
.band-ink   { background: var(--ink); color: #fff; }

.band-ink h2, .band-ink h3 { color: #fff; }
.band-ink p { color: var(--paper-70); }
.band-ink a:not(.btn) { color: #fff; }

.lede + .lede { margin-top: 16px; }

.lede {
  margin-top: 18px;
  max-width: 58ch;
  color: var(--ink-60);
  font-size: 1.0625rem;
}
.band-ink .lede { color: var(--paper-70); }

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--signal);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--signal-dark); }

/* o glifo acompanha a cor do texto do botão: branco no azul, escuro no claro */
.btn .wa { width: 20px; height: 20px; flex: none; fill: currentColor; }

.btn-ghost {
  background: transparent;
  border-color: rgba(18, 25, 58, .5);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(18, 25, 58, .05); border-color: rgba(18, 25, 58, .4); }

.band-ink .btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.band-ink .btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #E7E9F5; }

.btn-block { width: 100%; }

.link-line {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--signal);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  line-height: 1.2;
}
.band-ink .link-line { color: #fff; }

/* ---------- preço marcado a caneta ---------- */

.claim-mark {
  position: relative;
  z-index: 0;
  display: inline-block;
  font-weight: 640;
  white-space: nowrap;
}
.claim-mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.14em;
  right: -.14em;
  bottom: .13em;
  height: .5em;
  background: var(--marker);
  border-radius: 1px 5px 2px 6px;
  transform: rotate(-.5deg);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 680;
  letter-spacing: -.03em;
}
.brand .mark {
  width: 24px;
  height: 24px;
  flex: none;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 14px;
  color: var(--ink-60);
  font-size: .96rem;
  border-radius: var(--r-sm);
}
.nav a:hover { color: var(--ink); background: rgba(18, 25, 58, .05); }
/* .nav a é mais específico que .btn e roubava a cor do texto do CTA */
.nav a.btn { color: #fff; padding-inline: 24px; }
.nav a.btn:hover { background: var(--signal-dark); color: #fff; }

.header-cta { min-height: 46px; padding-inline: 18px; }

.burger {
  display: none;
  align-items: center;
  gap: 9px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(18, 25, 58, .5);
  border-radius: var(--r-sm);
  background: transparent;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
}
.burger span { display: grid; gap: 4px; }
.burger span i { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- hero: bancada ---------- */

.hero { padding: clamp(36px, 5vw, 62px) 0 clamp(40px, 5vw, 64px); }

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, auto);
  align-items: end;
  gap: 24px 56px;
}

.hero h1 { max-width: 17ch; }

.hero-offer { text-align: right; }
.hero-offer strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 620;
  letter-spacing: -.02em;
}
 /* precisa de classe: o seletor de elemento também pegava o <span> do preço
    dentro do <strong> e roubava display, tamanho e cor dele */
.hero-offer .offer-note {
  display: block;
  margin-top: 8px;
  max-width: 30ch;
  margin-left: auto;
  color: var(--ink-60);
  font-size: .96rem;
  line-height: 1.45;
}

.bench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  gap: 22px;
  margin-top: clamp(30px, 4vw, 46px);
}

.slot { min-width: 0; }

.slot figcaption {
  margin-top: 13px;
  color: var(--ink-60);
  font-size: .9rem;
  line-height: 1.35;
}
.slot figcaption b {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 620;
}

/* moldura de navegador: a obra é sempre apresentada como um site, não como
   uma imagem solta */
.device {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
}
.slot-main .device { box-shadow: var(--lift); }

.bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding-inline: 12px;
  background: var(--wall);
  border-bottom: 1px solid var(--line);
}
.bar i { width: 7px; height: 7px; border-radius: 50%; background: #C6CBD8; flex: none; }
.bar span {
  margin-left: 6px;
  min-width: 0;
  font-size: 12px;
  overflow: hidden;
  padding: 2px 10px;
  border-radius: 99px;
  background: #fff;
  color: var(--ink-60);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen { position: relative; overflow: hidden; background: #fff; }
.slot-side .screen { aspect-ratio: 16 / 11; }
.slot-main .screen { aspect-ratio: 16 / 10; }

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* o iframe renderiza a 1280px e é reduzido, para mostrar o layout inteiro
   como um navegador de verdade, não um recorte ampliado */
.screen iframe {
  position: absolute;
  inset: 0;
  width: 1280px;
  max-width: none;
  height: calc(100% / var(--s, .45));
  border: 0;
  transform: scale(var(--s, .45));
  transform-origin: top left;
  opacity: 0;
  transition: opacity .3s ease;
}
.screen.is-live iframe { opacity: 1; }
.screen.is-live img { visibility: hidden; }

/* o selo vive na barra do navegador, não sobre a página: dentro do quadro ele
   cobria o CTA do site do cliente */


.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 26px;
}
.hero-hint { color: var(--ink-60); font-size: .96rem; }

/* ---------- portfólio ---------- */

.section-head { display: grid; gap: 18px; }
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: end;
    gap: 48px;
  }
  .section-head > div > .lede:first-child,
  .section-head > .lede { margin-top: 0; }
}

/* único grid de cards da página: aqui o card é literalmente uma janela para
   um site, então a moldura significa alguma coisa */
.grid-work {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
  gap: 22px;
  margin-top: clamp(32px, 4vw, 52px);
}

.work {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}
.work:hover { border-color: var(--signal); transform: translateY(-2px); }


/* spans dentro de <button> precisam de display explícito: como inline,
   aspect-ratio e overflow eram ignorados e o recorte não acontecia */
.work-shot {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--wall);
}
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.work-meta { display: block; padding: 18px 20px 20px; }
.work-meta b {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 620;
  letter-spacing: -.015em;
}
.work-desc {
  display: block;
  margin-top: 5px;
  color: var(--ink-60);
  font-size: .92rem;
  line-height: 1.45;
}
/* ---------- incluído: lista editorial, sem cards ---------- */

.included {
  display: grid;
  gap: 0;
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 2px solid var(--ink);
}
@media (min-width: 860px) {
  .included { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
}
.included li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.included .ico {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border-left: 2px solid var(--signal);
  color: var(--ink);
}
.included .ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.included b { font-family: var(--display); font-size: 1.05rem; font-weight: 620; }
.included p { color: var(--ink-60); font-size: .95rem; line-height: 1.55; }

/* ---------- processo ---------- */

.steps { margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }

.steps li { padding: 22px 0; border-top: 2px solid var(--ink); }
@media (max-width: 759px) { .steps li + li { padding-top: 22px; } }

.steps .n {
  display: block;
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 620;
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}
.steps b { display: block; font-family: var(--display); font-size: 1.05rem; font-weight: 620; }
.steps p { margin-top: 7px; color: var(--ink-60); font-size: .95rem; line-height: 1.55; }

.process-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.deadline-note { max-width: 52ch; color: var(--ink-60); font-size: .93rem; }

/* ---------- investimento ---------- */

.invest {
  display: grid;
  gap: clamp(32px, 4vw, 56px);
  margin-top: clamp(32px, 4vw, 48px);
}
@media (min-width: 940px) {
  .invest { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: start; }
}

.cost { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cost th, .cost td { padding: 14px 0; border-bottom: 1px solid var(--line-ink); text-align: left; }
.cost td { text-align: right; white-space: nowrap; color: #fff; font-weight: 600; }
.cost th { color: var(--paper-70); font-weight: 400; font-size: .98rem; }
.cost td small { display: block; color: var(--paper-70); font-weight: 400; font-size: .82rem; }
.cost .total th, .cost .total td { border-bottom: 0; padding-top: 20px; font-size: 1.05rem; }
.cost .total th { color: #fff; font-weight: 600; }

.domain-note {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--line-ink);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05);
}
.domain-note b { display: block; margin-bottom: 8px; color: #fff; font-family: var(--display); font-weight: 620; }
.domain-note p { font-size: .95rem; }

.card-price {
  padding: 30px;
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--lift);
  text-align: center;
}
.card-price h3 { font-size: 1.05rem; color: var(--ink-60); font-weight: 600; }
.card-price .amount {
  display: block;
  margin: 6px 0 22px;
  font-family: var(--display);
  font-size: 3.75rem;
  font-weight: 640;
  line-height: 1;
  letter-spacing: -.04em;
}
.card-price .amount small { font-size: .42em; vertical-align: .55em; margin-right: 2px; }

.card-price ul { display: grid; gap: 11px; margin-bottom: 26px; text-align: left; }
.card-price li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  font-size: .94rem;
  line-height: 1.45;
}
.card-price li::before {
  content: "";
  width: 14px;
  height: 8px;
  margin-top: 6px;
  border-left: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg);
}
.pay { margin-top: 16px; color: var(--ink-60); font-size: .88rem; }

/* ---------- dúvidas ---------- */

.faq { margin-top: clamp(32px, 4vw, 48px); border-top: 2px solid var(--ink);
       max-width: 68ch; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 14px 0;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}
.faq summary i::before, .faq summary i::after {
  content: "";
  position: absolute;
  background: var(--signal);
  inset: 8px 0 auto;
  height: 2px;
}
.faq summary i::after { transform: rotate(90deg); transition: transform .2s ease; }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .answer { padding: 0 0 22px; max-width: 64ch; color: var(--ink-60); font-size: .98rem; }

.faq-foot { margin-top: 28px; }

/* ---------- fecho ---------- */

.closing { display: grid; gap: 22px; justify-items: start; }
.closing h2 { max-width: 20ch; }
.closing p { max-width: 46ch; }

/* ---------- rodapé ---------- */

.site-footer { padding: clamp(48px, 6vw, 72px) 0 32px; background: var(--ink); color: #fff; }
.footer-top {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-ink);
}
@media (min-width: 820px) {
  .footer-top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}
.site-footer .brand { color: #fff; }
.site-footer 
.footer-about { margin-top: 12px; max-width: 34ch; color: var(--paper-70); font-size: .95rem; }
.footer-col h3 { margin-bottom: 8px; font-size: .95rem; color: var(--paper-70); font-weight: 500; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  /* palavras curtas como "Preço" não chegavam aos 44px de largura; o padding
     cresce a área de toque e a margem negativa devolve o alinhamento */
  padding-inline: 10px;
  margin-inline: -10px;
  color: #fff;
  font-size: .98rem;
}
.footer-col a:hover { color: var(--marker); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 24px;
  color: var(--paper-70);
  font-size: .88rem;
}

/* ---------- botão flutuante ---------- */

.float {
  position: fixed;
  z-index: 55;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 10px 28px rgba(18, 25, 58, .3);
  transition: transform .18s ease;
}
.float:hover { transform: translateY(-2px); }
.float svg { width: 29px; height: 29px; fill: #fff; }

/* ---------- modal do portfólio ---------- */
/* Contenção: o visitante nunca perde de vista que está no site da Prospecta.
   No desktop é uma caixa recuada com o fundo aparecendo em volta; no celular
   é um bottom sheet que deixa uma faixa da página visível no topo. */

.modal { position: fixed; z-index: 100; inset: 0; }
.modal[hidden] { display: none; }

/* A visibilidade NUNCA depende de uma animação rodar: o estado final é o
   visível e a entrada é um @keyframes que só enfeita. Com transição a partir
   de opacity:0, uma aba em segundo plano ou uma página renderizada fora de
   tela deixaria o diálogo aberto e invisível. */
.modal-veil {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 34, .72);
  backdrop-filter: blur(6px);
}
.modal.is-open .modal-veil { animation: veil-in .25s ease; }
.modal.is-closing .modal-veil { animation: veil-in .2s ease reverse forwards; }

@keyframes veil-in { from { opacity: 0; } }

.modal-box {
  position: absolute;
  inset: 40px;
  max-width: 1240px;
  max-height: 88vh;
  margin: auto;
  /* flex em coluna, não grid: a alça é display:none no desktop e o grid
     perdia uma faixa, jogando o 1fr no rodapé e achatando o palco */
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--ink);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .6);
  overflow: hidden;
}
.modal.is-open .modal-box { animation: box-in .28s cubic-bezier(.22, .8, .3, 1); }
.modal.is-closing .modal-box { animation: box-in .22s ease reverse forwards; }

@keyframes box-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }

/* a alça só existe no celular */
.modal-grip { display: none; }

.modal-head {
  flex: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line-ink);
}

.modal-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line-ink);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
}
.modal-back:hover { background: rgba(255, 255, 255, .13); }
.modal-back svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.modal-back-short { display: none; }

.modal-title { min-width: 0; color: #fff; }
.modal-title b {
  display: block;
  overflow: hidden;
  font-family: var(--display);
  font-size: .98rem;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.modal-title span { display: block; color: var(--paper-70); font-size: .8rem; }

.viewport-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-ink);
  border-radius: 99px;
  background: rgba(255, 255, 255, .05);
}
.viewport-switch button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--paper-70);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
}
.viewport-switch button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }

.modal-stage {
  position: relative;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 18px;
  background: #0A0E22;
}

.modal-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--r-md);
  background: #fff;
  transition: width .25s ease;
}
.modal-stage.is-mobile .modal-frame {
  width: 390px;
  max-width: 100%;
  border: 8px solid #05070F;
  border-radius: 26px;
}
.modal-frame iframe { width: 100%; height: 100%; border: 0; }

.sentinel { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* sanduíche: chrome em cima e CTA embaixo tornam impossível achar que saiu */
.modal-foot {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 12px 16px;
  border-top: 1px solid var(--line-ink);
}
.modal-foot .btn { min-height: 46px; }

.modal-nav { display: flex; align-items: center; gap: 6px; }
.modal-step {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-ink);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
}
.modal-step:hover { background: rgba(255, 255, 255, .14); }
.modal-step svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.modal-count {
  min-width: 68px;
  color: var(--paper-70);
  font-size: .85rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

body.is-locked { overflow: hidden; }

/* ---------- responsivo ---------- */

@media (max-width: 1000px) {
  /* no celular o CTA sobe para antes do quadro: a doutrina exige proposta e
     CTA na primeira tela, e o aparelho fica aparecendo logo abaixo como
     pista de continuidade */
  .hero .wrap { display: flex; flex-direction: column; }
  .hero-top { order: 1; }
  .hero-foot { order: 2; display: contents; }
  .hero-foot .btn { order: 2; margin-top: 22px; }
  .bench { order: 3; margin-top: 26px; }
  .hero-foot .hero-hint { order: 5; margin-top: 14px; }

  .hero-top { grid-template-columns: 1fr; align-items: start; }
  .hero-offer { text-align: left; }
  /* o seletor foi renomeado para .offer-note; sem isto o margin-left:auto
     da regra de desktop continuava recuando a linha no celular */
  .hero-offer .offer-note { margin-left: 0; max-width: 42ch; }
  .bench { grid-template-columns: 1fr; gap: 26px; }
  .slot-side { display: none; }
  .slot-main .screen { aspect-ratio: 16 / 10; }
}

@media (max-width: 880px) {
  .nav, .header-cta { display: none; }
  .burger { display: inline-flex; }

  .site-header.is-open .nav {
    position: absolute;
    z-index: 5;
    top: 100%;
    right: var(--gutter);
    left: var(--gutter);
    display: grid;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    box-shadow: var(--lift);
  }
  .site-header.is-open .nav a { min-height: 48px; padding-inline: 14px; }
  .site-header.is-open .header-cta { display: inline-flex; margin-top: 6px; }

  .hero h1 { max-width: none; }
  .hero-foot .btn { width: 100%; }
}

@media (max-width: 720px) {
  /* Bottom sheet. A faixa de 56px no topo deixa a página da Prospecta
     visível e escurecida, que é o que impede a sensação de ter saído do site.
     dvh para não brigar com a barra do Safari; vh como reserva. */
  .modal-box {
    inset: auto 0 0 0;
    max-width: none;
    height: 92vh;
    height: 92dvh;
    max-height: none;
    margin: 0;
    border-radius: 22px 22px 0 0;
  }
  .modal.is-open .modal-box { animation: sheet-in .3s cubic-bezier(.22, .8, .3, 1); }
  .modal.is-closing .modal-box { animation: sheet-in .24s ease reverse forwards; }

  @keyframes sheet-in { from { transform: translateY(100%); } }

  /* durante o arrasto o transform vem do JS e a animação sai do caminho */
  .modal-box.is-dragging { animation: none !important; }

  .modal-grip {
    flex: none;
    display: grid;
    place-items: center;
    height: 26px;
    padding-top: 8px;
    cursor: grab;
    touch-action: none;
  }
  .modal-grip i {
    width: 42px;
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .34);
  }

  .modal-head {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 6px 14px 10px;
    touch-action: none;
  }
  .modal-back-full { display: none; }
  .modal-back-short { display: inline; }
  .viewport-switch { display: none; }

  .modal-stage { padding: 0; }
  .modal-stage.is-mobile .modal-frame,
  .modal-frame { width: 100%; border: 0; border-radius: 0; }

  .modal-foot {
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .modal-nav { order: 2; width: 100%; justify-content: center; }
  .modal-foot .btn { order: 1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .modal-box, .modal-veil { animation: none !important; }
}

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .card-price { padding: 24px 20px; }
  .card-price .amount { font-size: 3.1rem; }}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- 404 ---------- */

.page-404 { min-height: 100vh; display: grid; place-content: center; }
.page-404 .closing { max-width: 52ch; margin-inline: auto; }
.page-404 .brand { margin-bottom: 8px; }

/* ---------- portfólio no celular ---------- */

.more { display: none; }

@media (max-width: 700px) {
  /* o portfólio sozinho ocupava 4,9 telas de 844px. O card fecha e os três
     últimos entram sob demanda: quem quer ver tudo clica, quem quer o preço
     chega mais rápido. Nada sai do HTML. */
  .grid-work { gap: 16px; margin-top: 28px; }

  .work-shot { aspect-ratio: 16 / 9; }
  .work-meta { padding: 14px 16px 16px; }
  .work-meta b { font-size: 1.02rem; }
  .work-desc { font-size: .88rem; line-height: 1.4; }
  

  .grid-work .work:nth-child(n+7) { display: none; }
  .grid-work.is-expanded .work:nth-child(n+7) { display: flex; }

  .more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 16px;
    padding: 0 20px;
    border: 1px solid rgba(18, 25, 58, .22);
    border-radius: var(--r-sm);
    background: transparent;
    color: var(--ink);
    font-weight: 600;
    cursor: pointer;
  }
  .more:hover { background: rgba(18, 25, 58, .05); }
  .grid-work.is-expanded + .more { display: none; }

  .band { padding-block: 56px; }
}




/* ---------- bancada: três sites do portfólio, parados ---------- */
.slot-side .screen,
.slot-main .screen { aspect-ratio: 16 / 10; }
.slot .screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.slot figcaption span { display: block; }

@media (max-width: 1000px) {
  /* o principal ocupa a largura; os outros dois dividem a linha de baixo */
  .bench { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .slot-main { order: -1; grid-column: 1 / -1; }
  .slot-side { display: block; }
  .slot-side figcaption span { display: none; }
}

/* ---------- portfólio: grade de dez ---------- */
.grid-work { display: flex; flex-wrap: wrap; justify-content: center; }
.grid-work .work { flex: 0 0 100%; }
@media (min-width: 600px) {
  .grid-work .work { flex-basis: calc((100% - 22px) / 2); }
}
@media (min-width: 1100px) {
  /* quatro por linha: a última fica com dois, centralizados, em vez de um órfão */
  .grid-work .work { flex-basis: calc((100% - 3 * 22px) / 4); }
}

.work { position: relative; display: flex; flex-direction: column; cursor: default; }
.work-meta { display: flex; flex-direction: column; flex: 1; }
.work-place { display: block; margin-top: 2px; color: var(--ink-60); font-size: .86rem; }
.work-open {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  min-height: 48px; margin-top: auto; padding-inline: 20px;
  border: 1px solid rgba(18, 25, 58, .5); border-radius: var(--r-sm);
  background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer;
}
.work-desc { margin-bottom: 16px; }
/* o card inteiro abre o site: a área do botão se estende sobre ele */
.work-open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.work-arrow { width: 18px; height: 18px; flex: none; transition: transform .15s ease; }
.work:hover .work-arrow { transform: translateX(3px); }
.work:focus-within { border-color: var(--signal); }

/* ---------- entradas ---------- */
[data-reveal] { transition: opacity .45s cubic-bezier(.2, .7, .2, 1), transform .45s cubic-bezier(.2, .7, .2, 1); }
[data-reveal].is-pending { opacity: 0; transform: translateY(12px); }

/* botão de revelar os últimos cards, com contraste próprio */
.more { border-color: rgba(18, 25, 58, .5); }

/* ---------- três caminhos: Instagram, site com mensalidade, Prospecta ---------- */
.caminhos { display: grid; gap: 16px; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) {
  .caminhos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
}
.caminho {
  padding: 24px 24px 20px; border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--r-md); background: rgba(255, 255, 255, .04);
}
.caminho h3 { margin: 0 0 16px; color: #fff; font-family: var(--display); font-size: 1.15rem; font-weight: 620; letter-spacing: -.01em; }
.caminho-lista { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.caminho-lista li {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start;
  color: var(--paper-70); font-size: .96rem; line-height: 1.5;
}
.caminho-ponto { width: 6px; height: 6px; margin: 9px 7px 0; border-radius: 50%; background: currentColor; }
.caminho-nosso { background: var(--paper); border-color: var(--paper); }
.caminho-nosso h3,
.caminho-nosso .caminho-lista li { color: var(--ink); }
.caminho-ico { width: 20px; height: 20px; margin-top: 2px; color: var(--signal); }
.caminho-selo {
  display: inline-block; margin-bottom: 12px; padding: 8px 12px; border-radius: 99px;
  background: var(--signal); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.caminhos-nota { margin-top: 28px; max-width: 56ch; font-family: var(--display); font-size: 1.12rem; font-weight: 500; line-height: 1.4; color: #fff; }
