/* =========================================================
   josefuret.com — página inicial («Contraste»)
   Depende de core.css. Regra da casa: os mini-sites do Style Lab
   vivem dentro desta página, por isso aqui não há seletores de
   elemento soltos nem descendentes genéricos nos antepassados do
   visualizador (.act--web, .gallery, .viewer, .screen…).
   ========================================================= */

/* Botões nativos usados como controlos: repor o estilo, um a um */
.style-tab, .vb-step, .vb-full, .vb-close, .device button, .sw,
.perim-list button, .chips button, .copy-mail {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   Abertura: título grande à esquerda, um exemplo em destaque à direita,
   índice dos cinco exemplos por baixo
   ========================================================= */
.hero { padding: clamp(32px, 5vw, 48px) 0 0; }
/* Em desktop as duas colunas alinham pela base: o espaço inferior da coluna de texto
   mantém a pré-visualização à mesma altura relativa do título. */
@media (min-width: 1000px) { .hero { padding-top: 30px; } .hb-copy { padding-bottom: 54px; } }
.hb-grid { display: grid; gap: 48px; align-items: end; }
.hero .kicker { margin-bottom: 22px; }
.hero-title { margin: 0; font-size: clamp(46px, 6.4vw, 96px); font-weight: 600; line-height: .94; letter-spacing: -.058em; text-wrap: balance; }
.hero-sub { margin: 26px 0 0; max-width: 30em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin: 14px 0 0; font-size: 14px; color: var(--fg-3); }
.hb-feature { margin: 0; }
.hb-frame { display: block; overflow: hidden; border-radius: 10px; border: 1px solid var(--ink); background: #fff; text-decoration: none; box-shadow: 10px 10px 0 var(--ink); transition: box-shadow .25s ease, transform .25s ease; }
.hb-frame:hover { transform: translate(-2px, -2px); box-shadow: 12px 12px 0 var(--cobalt); }
.hb-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 11.5px; color: #43454a; }
.hb-bar i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink); }
.hb-bar span { margin-left: 8px; }
.hb-frame img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: top center; }
.hb-feature figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 22px; font-size: 14.5px; color: var(--fg-3); }
@media (min-width: 1000px) {
  .hb-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: 64px; }
}

/* Índice dos cinco exemplos, em linha */
.hb-list { list-style: none; margin: clamp(56px, 7vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.hb-list a { display: grid; gap: 2px; padding: 16px 16px 24px 0; text-decoration: none; }
.hb-list li + li a { padding-left: 16px; border-left: 1px solid var(--line); }
.hb-n { font-family: var(--mono); font-size: 11.5px; color: var(--acc); }
.hb-name { font-size: 18px; font-weight: 600; letter-spacing: -.025em; transition: color .2s ease; }
.hb-line { font-size: 13.5px; color: var(--fg-3); }
.hb-list a:hover .hb-name { color: var(--acc); }
@media (max-width: 899px) {
  .hb-list { grid-template-columns: 1fr 1fr; }
  .hb-list li + li a { padding-left: 0; border-left: 0; }
  .hb-list li { border-bottom: 1px solid var(--line); }
}

/* ---------- Áreas de serviço: bloco negro com números grandes ---------- */
.services { margin-top: clamp(56px, 7vw, 88px); padding: clamp(56px, 7vw, 96px) 0; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.svc { display: grid; align-content: start; gap: 10px; }
.svc-n { font-size: clamp(44px, 5vw, 72px); font-weight: 600; line-height: 1; letter-spacing: -.05em; color: var(--acc); }
.svc-t { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 6px 0 0; font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; }
.svc-p { margin: 0; max-width: 34em; font-size: 16px; color: var(--fg-2); }
.svc-go { justify-self: start; margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--fg); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--acc); }
.svc-go:hover { color: var(--acc); }
@media (min-width: 900px) {
  .svc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .svc { padding: 0 40px 0 0; }
  .svc + .svc { padding-left: 40px; border-left: 1px solid var(--line-2); }
}

/* =========================================================
   Atos (secções)
   ========================================================= */
.act { padding: clamp(72px, 9vw, 120px) 0; }
.act--web { --c: var(--acc); }
.act--app { --c: var(--app); }
.act--sec { --c: var(--sec); }
.act--proc, .act--contact { --c: var(--fg); }

.act-note { margin: clamp(28px, 3.4vw, 40px) 0 0; font-size: 16px; color: var(--fg-3); }
.act-link { color: var(--acc); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; white-space: nowrap; }
.act-link:hover { text-decoration-thickness: 2px; }

/* ---------- Tipos de trabalho: uma linha de títulos curtos ---------- */
.kinds { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: grid; gap: 22px 32px; }
.kinds li { border-top: 1px solid var(--line-2); padding-top: 18px; }
.kind-t { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.kind-p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fg-3); }
@media (min-width: 640px) { .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .kinds { grid-template-columns: repeat(4, minmax(0, 1fr)); } .kinds--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* =========================================================
   01 · Style Lab
   ========================================================= */
.gallery { --style-accent: #8cc5b9; }
.style-list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 20px; margin-bottom: 20px; }
.style-tab {
  display: grid; align-content: start; gap: 4px; padding: 14px 0 8px; text-align: left;
  border-top: 1px solid var(--line-2); box-shadow: inset 0 2px 0 transparent; color: var(--fg-2);
  transition: border-color .3s ease, background-color .3s ease, color .3s ease;
}
.st-thumb { display: none; }
.st-row { display: flex; align-items: baseline; gap: 8px; }
.st-num { font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
.st-name { font-size: 16px; font-weight: 500; letter-spacing: -.015em; color: var(--fg); }
.st-line { font-size: 13.5px; line-height: 1.35; color: var(--fg-3); }
.style-tab:hover .st-name { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.style-tab:hover .st-thumb { opacity: .85; filter: none; }
.style-tab[aria-selected="true"] { border-top-color: var(--fg); box-shadow: inset 0 1px 0 var(--fg); }
.style-tab[aria-selected="true"] .st-thumb { opacity: 1; filter: none; }
.style-tab[aria-selected="true"] .st-num { color: var(--style-accent); }
@media (max-width: 999px) {
  .style-list { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .style-list::-webkit-scrollbar { display: none; }
  .style-tab { flex: none; width: 150px; margin-right: 16px; scroll-snap-align: center; }
  .st-line { display: none; }
}

.viewer-home { position: relative; }
.viewer { overflow-anchor: none; border: 1px solid #2b2f2d; border-radius: 12px; overflow: hidden; background: #181b1a; color: #eceae4; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .8); }
.viewer-bar { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 10px 0 16px; border-bottom: 1px solid #2b2f2d; font-size: 13px; }
.dots { display: inline-flex; gap: 6px; margin-right: 4px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #3b403d; }
.vb-step { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #3b403d; color: #b6b8b2; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.vb-step:hover { color: #fff; border-color: #6d726e; background: #222624; }
.vb-step svg { width: 16px; height: 16px; }
.vb-id { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; background: #0f1110; border-radius: 999px; white-space: nowrap; overflow: hidden; }
.vb-num { font-family: var(--mono); font-size: 11px; color: var(--style-accent, #8fd0c3); }
.vb-name { font-weight: 500; font-size: 14px; }
.url { font-family: var(--mono); font-size: 12px; color: #8b8e88; overflow: hidden; text-overflow: ellipsis; }
.url::before { content: "· "; }
.tag--bar { color: #b6b8b2; border-color: #3b403d; flex: none; }
.device { flex: none; display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid #3b403d; }
.device button { height: 26px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; color: #b6b8b2; transition: background-color .25s ease, color .25s ease; }
.device button[aria-pressed="true"] { background: #eceae4; color: #121413; }
.vb-full, .vb-close { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid #3b403d; font-size: 12.5px; color: #eceae4; transition: border-color .2s ease, background-color .2s ease; }
.vb-full:hover { border-color: #6d726e; background: #222624; }
.vb-full svg, .vb-close svg { width: 14px; height: 14px; }
.vb-close { display: none; background: #eceae4; color: #121413; border-color: #eceae4; }

.screen {
  position: relative; height: clamp(520px, calc(100vh - 300px), 780px);
  background: #0f1110;
  display: flex; justify-content: center; align-items: flex-start; transition: background .6s ease;
}
.screen-inner { width: 100%; height: 100%; transition: width .6s var(--ease), height .6s var(--ease), margin .6s var(--ease), border-radius .6s var(--ease), box-shadow .6s var(--ease); }
.viewer[data-device="mobile"] .screen-inner {
  width: 380px; max-width: calc(100% - 32px); height: calc(100% - 40px); margin: 20px 0; border-radius: 34px;
  box-shadow: 0 0 0 9px #2c302e, 0 0 0 10px #3b403d, 0 40px 80px -24px rgba(0, 0, 0, .85);
}
.viewer[data-device="mobile"] .screen-scroll { scrollbar-width: none; }
.viewer[data-device="mobile"] .screen-scroll::-webkit-scrollbar { display: none; }
.screen-error { margin: 0; padding: 48px 24px; text-align: center; font: 15px/1.5 var(--sans); color: #444; }

@media (max-width: 999px) {
  .dots, .vb-full span { display: none; }
  .vb-full { width: 34px; padding: 0; justify-content: center; }
}
@media (max-width: 699px) {
  .device, .tag--bar { display: none; }
  .viewer-bar { padding: 0 8px; gap: 6px; }
  .vb-id { padding: 0 12px; gap: 8px; }
  .url { display: none; }
  .screen { height: min(640px, calc(100svh - 170px)); min-height: 480px; }
}

/* Ecrã inteiro */
html.is-full { overflow: hidden; }
.lab-full { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0b0d0c; overflow: hidden; }
.lab-full::backdrop { background: #0b0d0c; }
.lab-full[open] { display: flex; animation: full-in .35s var(--ease) both; }
@keyframes full-in { from { opacity: 0; transform: scale(.985); } }
.lab-full .viewer { flex: 1; display: flex; flex-direction: column; border: 0; border-radius: 0; box-shadow: none; }
.lab-full .screen { flex: 1; height: auto; min-height: 0; }
.lab-full .vb-full { display: none; }
.lab-full .vb-close { display: inline-flex; }
.lab-full .vb-close[hidden] { display: none; }
@media (max-width: 699px) { .lab-full .vb-close span { display: none; } .lab-full .vb-close { width: 34px; padding: 0; justify-content: center; } }

/* Ficha do estilo */
.style-meta { display: grid; gap: 24px 40px; margin-top: 28px; padding: 0 4px; }
.sm-label { margin: 0 0 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.sm-type { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0; font-size: 15.5px; line-height: 1.4; color: var(--fg-2); }
.sm-hints { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15.5px; line-height: 1.4; color: var(--fg); }
.sm-hints li { position: relative; padding-left: 18px; }
.sm-hints li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--style-accent); }
.swatches { display: inline-flex; gap: 6px; }
.swatches i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 1px solid rgba(255, 255, 255, .18); }
.sm-cta { display: flex; align-items: flex-start; }
.sm-fict { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--fg-3); }
@media (min-width: 760px) { .style-meta { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } .sm-cta { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .style-meta { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: start; } .sm-cta { grid-column: auto; justify-content: flex-end; } }

/* =========================================================
   02 · Bancada: automação + caixa de pedidos (exemplo fictício)
   ========================================================= */
.bench { background: var(--bg-3); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 48px -36px rgba(40, 34, 20, .35); overflow: hidden; }
.bench-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.bench-name { margin: 0 auto 0 0; font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.bench-bar .pill[aria-disabled="true"] { opacity: .55; cursor: default; }
.bench-grid { display: grid; }
.bench-col { padding: 22px 20px 24px; min-width: 0; }
.bench-col--inbox { background: color-mix(in srgb, var(--app) 5%, var(--bg-3)); border-top: 1px solid var(--line); }
.bench-h { margin: 0 0 16px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }

.flow { list-style: none; margin: 0; padding: 0; }
.fnode { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px 0; }
.fnode::before { content: ""; position: absolute; left: 10px; top: 50%; height: 100%; width: 2px; background: var(--line-2); }
.fnode:last-child::before { display: none; }
.fn-mark { position: relative; z-index: 1; justify-self: center; width: 14px; height: 14px; border-radius: 50%; background: var(--app); border: 2px solid var(--app); box-shadow: 0 0 0 4px var(--bg-3); transition: transform .35s var(--ease), background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.fn-body { display: grid; gap: 2px; min-width: 0; }
.fn-body b { font-size: 16.5px; font-weight: 500; letter-spacing: -.015em; transition: color .3s ease; }
.fn-body span { font-size: 14px; line-height: 1.4; color: var(--fg-2); transition: color .3s ease; }
.fn-fixed { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; }
.fnode.is-off .fn-mark { background: var(--bg-3); border-color: var(--line-2); border-style: dashed; }
.fnode.is-off .fn-body b { color: var(--fg-2); }
.fnode.is-off .fn-body span { color: var(--fg-3); }
.fnode.is-run .fn-mark { transform: scale(1.35); box-shadow: 0 0 0 4px var(--bg-3), 0 0 0 9px color-mix(in srgb, var(--app) 25%, transparent); }
.fnode.is-run .fn-body b { color: var(--app); }

.sw { position: relative; flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--line-2); transition: background-color .3s ease; }
.sw::after { content: ""; position: absolute; inset: -9px -6px; }
.sw-knob { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .35s var(--ease); }
.sw[aria-checked="true"] { background: var(--app); }
.sw[aria-checked="true"] .sw-knob { transform: translateX(18px); }

.inbox { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 10px; height: 398px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.req { padding: 13px 14px 12px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line); }
.req.is-new { border-color: var(--app); }
.req-top { display: flex; align-items: baseline; gap: 4px 10px; }
.req-id { font-family: var(--mono); font-size: 11.5px; color: var(--app); }
.req-t { font-size: 15.5px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; min-width: 0; text-wrap: balance; }
.req-time { margin-left: auto; font-size: 12.5px; color: var(--fg-3); white-space: nowrap; }
.req-chips { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 5px; margin-top: 9px; min-height: 53px; }
.rc { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-style: normal; font-size: 12px; white-space: nowrap; }
.rc--auto { background: color-mix(in srgb, var(--app) 13%, transparent); color: var(--app); }
.rc--auto::before { content: "✓"; font-size: 11px; }
.rc--manual { border: 1px dashed var(--line-2); color: var(--fg-2); }
.rc--manual::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.bench-sum { margin: 14px 0 0; font-family: var(--mono); font-size: 12.5px; color: var(--fg-2); }
@media (min-width: 900px) {
  .bench-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .bench-col { padding: 26px 28px 28px; }
  .bench-col--inbox { border-top: 0; border-left: 1px solid var(--line); }
}

/* Em desenvolvimento (WhatsApp Business): o texto mantém-se; muda só a composição. */
.wip { display: grid; gap: 14px 32px; margin-top: clamp(56px, 7vw, 96px); padding-top: 22px; border-top: 1px solid var(--line-2); scroll-margin-top: 100px; }
.wip-label { margin: 0; }
.wip-t { margin: 0 0 12px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.wip-body p { margin: 0 0 10px; max-width: 60ch; font-size: 15.5px; color: var(--fg-2); }
.wip-body .wip-small { margin: 14px 0 0; font-size: 13px; color: var(--fg-3); }
@media (min-width: 1000px) { .wip { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wip-body { grid-column: 2 / -1; } }

/* =========================================================
   Segurança web (resumo): lista de medidas e leitura da selecionada
   ========================================================= */
.perim-side { display: grid; gap: 28px; }
.perim-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.perim-list button {
  display: flex; align-items: baseline; gap: 16px; width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); text-align: left;
  font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; color: var(--fg-3);
  transition: color .2s ease;
}
.perim-list button span { min-width: 1.8em; font-family: var(--mono); font-size: 12px; color: inherit; }
.perim-list button:hover { color: var(--fg-2); }
.perim-list button[aria-selected="true"] { color: var(--fg); }
.perim-list button[aria-selected="true"] span { color: var(--acc); }
.perim-read { padding: 24px 26px; min-height: 11.5em; border-radius: 10px; background: var(--bg-3); border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.pr-kind { margin: 0 0 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); }
.pr-what { margin: 0; font-size: 17px; line-height: 1.55; }
.pr-why { margin: 10px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--fg-2); }
.perim-cta { display: grid; gap: 12px; justify-items: start; }
.perim-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--fg-3); }
@media (min-width: 1000px) {
  .perim-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 24px; }
  .perim-list { grid-row: 1 / span 2; }
}

/* =========================================================
   Processo
   ========================================================= */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps3 li { position: relative; padding: 0 0 30px 34px; border-left: 1px solid var(--line-2); }
.steps3 li:last-child { padding-bottom: 0; border-left-color: transparent; }
.steps3 li::before { content: ""; position: absolute; left: -4px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--fg)); }
.s3-n { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.s3-t { margin: 8px 0 6px; font-size: 21px; font-weight: 500; letter-spacing: -.025em; }
.s3-p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fg-2); max-width: 44ch; }
@media (min-width: 1000px) {
  .steps3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps3 li, .steps3 li:last-child { padding: 30px 24px 0 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .steps3 li::before { left: 0; top: -4px; }
  .steps3 li:nth-child(2) { --d: .07s; } .steps3 li:nth-child(3) { --d: .14s; } .steps3 li:nth-child(4) { --d: .21s; } .steps3 li:nth-child(5) { --d: .28s; }
}

/* =========================================================
   Contacto: compositor de email (não envia nem guarda nada)
   ========================================================= */
.composer { display: grid; gap: 36px; }
.cp-fields { min-width: 0; }
.cp-group { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.cp-group legend { padding: 0; margin-bottom: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }
.cp-group .opt { text-transform: none; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 14.5px; color: var(--fg-2); transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s var(--ease);
}
.chips button:hover { border-color: var(--fg-2); color: var(--fg); }
.chips button:active { transform: scale(.97); }
.chips button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chips--area button { min-height: 50px; padding: 0 20px; font-size: 16px; color: var(--fg); }
.chips--area button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.chips--area button[data-dot="web"] { --dot: var(--web); }
.chips--area button[data-dot="app"] { --dot: var(--app); }
.chips--area button[data-dot="sec"] { --dot: var(--sec); }

.cp-out { min-width: 0; padding: 18px; border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line); }
.cp-out-label { margin: 0 0 12px 4px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }
.cp-style { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 8px; border-radius: 14px; background: var(--bg-3); }
.cp-style img { display: block; width: 84px; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 8px; }
.cp-style figcaption { font-size: 14px; color: var(--fg-2); }
.cp-mail { border-radius: 16px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.cp-head { display: flex; gap: 12px; margin: 0; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--fg); overflow-wrap: anywhere; }
.cp-head span { flex: none; width: 62px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); padding-top: 2px; }
.cp-head b { font-weight: 500; }
.cp-preview { margin: 0; padding: 16px; max-height: 330px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 14.5px/1.55 var(--sans); color: var(--fg-2); scrollbar-width: thin; }
.cp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
/* Formulário de pedido */
.cp-form { display: grid; gap: 14px; padding: 22px; }
.cp-form .cp-out-label { margin: 0; }
.cp-field { display: grid; gap: 6px; }
.cp-field > span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }
.cp-field input, .cp-field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--fg);
  font: inherit; font-size: 16px; line-height: 1.5; transition: border-color .2s ease;
}
.cp-field textarea { resize: vertical; min-height: 140px; }
.cp-field input::placeholder, .cp-field textarea::placeholder { color: var(--fg-3); }
.cp-field input:focus, .cp-field textarea:focus { outline: none; border-color: var(--acc); }
.cp-field input:focus-visible, .cp-field textarea:focus-visible { outline: 2px solid var(--acc); outline-offset: 1px; }
.cp-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--fg-2); cursor: pointer; }
.cp-check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--acc); }
.cp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cp-ts:empty { display: none; }
.cp-form .cp-actions { margin-top: 2px; }
.cp-form button[disabled] { opacity: .6; cursor: progress; }
.cp-status { margin: 0; font-size: 15px; line-height: 1.45; color: var(--fg-2); }
.cp-status:empty { display: none; }
.cp-status.is-ok { color: var(--fg); padding-left: 12px; border-left: 2px solid var(--acc); }
.cp-status.is-err { color: var(--fg); padding-left: 12px; border-left: 2px solid #ff8a7a; }
.cp-fallback, .cp-privacy { margin: 0; font-size: 14px; color: var(--fg-3); }
.cp-fallback a, .cp-privacy a { color: var(--fg-2); text-underline-offset: 3px; }
.cp-form .cp-direct { margin: 4px 0 0; }
.cp-direct { margin: 16px 4px 2px; font-size: 14px; color: var(--fg-3); }
.mail-copy { white-space: nowrap; }
.mail-copy a { color: var(--fg); text-underline-offset: 3px; }
.copy-mail { margin-left: 8px; font-size: 13px; color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; padding: 6px 2px; }
.copy-mail:hover, .copy-mail.is-done { color: var(--fg); }
@media (min-width: 1000px) {
  .composer { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
  .cp-out { position: sticky; top: 92px; }
}
@media (max-width: 520px) { .cp-actions .pill { flex: 1 1 auto; } .mail-copy { white-space: normal; } }

@media (prefers-reduced-motion: reduce) {
  .js .hero-title .hl, .pa-dot, .ps-ping { animation: none; }
  .pa-dot { transform: translate(76.5%, 78.125%); }
  .plane, .ptag { transition: opacity .35s ease, border-color .35s ease; }
}


/* O endereço fictício só aparece quando cabe inteiro na barra do visualizador. */
@media (max-width: 1199px) { .url { display: none; } }

/* ---------- Ritmo entre blocos escuros ---------- */
.services + .act--web { border-top: 1px solid var(--line); }
.steps3 li::before { background: var(--acc); }
.style-tab[aria-selected="true"] .st-num { color: var(--acc); }
