/* ==========================================================================
   Pontes Dev — protótipo F: profissional com estilo, com as animações
   inspiradas no site do Carter Ogunsola (contador, barra de status, texto
   que embaralha, tela curva em 3D, contato em carta com recibo, ⌘K).
   ========================================================================== */

:root {
  --bg: #e6e6e2;
  --bg-2: #dcdcd7;
  --fg: #111111;
  --mute: #6d6d69;
  --line: rgba(17, 17, 17, .14);
  --acc: #2f5bff;
  --paper: #f4f3ef;
  --paper-ink: #1a1a1a;
  --chip: rgba(17, 17, 17, .06);
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, Consolas, monospace;
  --g: clamp(16px, 2.2vw, 32px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}
[data-theme="dark"] {
  --bg: #111111;
  --bg-2: #191919;
  --fg: #e8e8e4;
  --mute: #8a8a85;
  --line: rgba(232, 232, 228, .14);
  --acc: #6f8bff;
  --chip: rgba(232, 232, 228, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 17px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .5s, color .5s;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--acc); color: #fff; }
em { font-style: normal; color: var(--acc); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }

.btn { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; transition: background-color .3s, color .3s; }
.btn--dark { background: var(--fg); color: var(--bg); }
.btn--dark:hover { background: var(--acc); color: #fff; }

/* ---------- abertura ---------- */
.loader { position: fixed; inset: 0; z-index: 300; background: #111; color: #e8e8e4; transition: clip-path 1s var(--ease-io); clip-path: inset(0 0 0 0); }
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__odo {
  position: absolute; right: var(--g); bottom: var(--g); display: flex; font-size: clamp(64px, 9vw, 150px); font-weight: 500; letter-spacing: -0.05em; line-height: 1;
  transform: translateY(calc(var(--p, 0) * (-100vh + 1.4em + var(--g) * 2))); transition: transform .5s var(--ease);
}
.loader__odo { font-variant-numeric: tabular-nums; }
.odo__col { display: block; height: 1em; overflow: hidden; }
.odo__strip { display: block; transition: transform .45s var(--ease); }
.odo__strip > span { display: block; height: 1em; text-align: center; }
.loader__label { position: absolute; left: var(--g); bottom: var(--g); margin: 0; color: #8a8a85; }
.loader__label span { color: var(--acc); }

/* ---------- barra de status ---------- */
.status { position: relative; z-index: 20; display: flex; gap: 6px; padding: 8px var(--g); font-size: 10.5px; color: var(--mute); }
.chip { display: inline-flex; align-items: center; gap: 2px; height: 20px; padding: 0 7px; border-radius: 4px; background: var(--chip); }
.chip b { color: var(--fg); font-weight: 500; }
.chip--right { margin-left: auto; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #2fb35a; margin-right: 5px; box-shadow: 0 0 0 0 rgba(47, 179, 90, .5); animation: pulse 2s infinite; }
.is-offline .dot { background: #e5484d; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 6px rgba(47, 179, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 179, 90, 0); } }

/* ---------- navegação ---------- */
.nav { position: relative; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px var(--g); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.brand i { width: 30px; height: 30px; border-radius: 8px; background: var(--fg); color: var(--bg); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 15px; transition: transform .5s var(--ease); }
.brand:hover i { transform: rotate(-8deg); }
.nav__links { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 12px; background: var(--chip); }
.nav__links a { padding: 8px 14px; border-radius: 9px; font-size: 15px; transition: background-color .3s; }
.nav__links a:hover { background: var(--bg); }
.kbd { margin-left: 4px; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; }
.kbd:hover { border-color: var(--fg); }
.nav__tools { justify-self: end; display: flex; align-items: center; gap: 10px; }
.theme { display: flex; padding: 4px; border-radius: 12px; background: var(--chip); }
.theme span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; font-size: 15px; transition: background-color .3s; }
[data-theme="light"] .theme__sun, [data-theme="dark"] .theme__moon { background: var(--bg); }

/* ---------- topo ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; padding: 4vh var(--g) 0; min-height: calc(100svh - 110px); }
.hero__k { grid-column: 1 / -1; margin: 0; color: var(--mute); }
.hero__k b { color: var(--acc); font-weight: 400; }
.hero__name { grid-column: 1 / -1; margin: 0 0 0 -.06em; font-weight: 250; font-size: clamp(64px, 12.2vw, 196px); letter-spacing: -0.055em; line-height: 1; white-space: nowrap; }
.hero__name .br { color: var(--mute); font-weight: 200; }
.hero__photo { grid-column: 2; grid-row: 3 / 5; margin: 0; align-self: end; position: relative; height: min(58vh, 560px); }
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%;
  filter: grayscale(1) contrast(1.12) brightness(1.06); mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 66%, #000 52%, transparent 100%); mask-image: radial-gradient(ellipse 60% 80% at 50% 66%, #000 52%, transparent 100%);
  opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease) .3s, transform 1.4s var(--ease) .3s;
}
[data-theme="dark"] .hero__photo img { mix-blend-mode: normal; filter: grayscale(1) contrast(1.1) brightness(.78); }
body.is-ready .hero__photo img { opacity: 1; transform: none; }
.hero__about { grid-column: 1; grid-row: 3; align-self: center; max-width: 380px; }
.hero__about p:last-child { margin: 12px 0 0; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.34; letter-spacing: -0.015em; }
.hero__side { grid-column: 3; grid-row: 3; align-self: center; justify-self: end; text-align: right; }
.hero__side ul { list-style: none; margin: 12px 0 0; padding: 0; font-size: 17px; line-height: 1.75; }
.hero__side li { cursor: default; transition: color .3s; }
.hero__side li:hover { color: var(--acc); }
.lbl { margin: 0; color: var(--mute); }
.hero__foot { grid-column: 1 / -1; grid-row: 4; display: flex; justify-content: space-between; margin: 0; padding: 0 0 26px; color: var(--mute); pointer-events: none; }

/* ---------- faixa de tecnologias ---------- */
.marquee { overflow: hidden; background: var(--fg); color: var(--bg); padding: 20px 0; font-size: 14px; font-weight: 500; }
.marquee__track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track i { width: 6px; height: 6px; background: var(--acc); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- trabalhos: roda, lista e grade ---------- */
.work { position: relative; }
.work[data-mode="wheel"] { height: 340vh; }
.work__stick { position: relative; padding: 14vh var(--g) 16vh; }
.work[data-mode="wheel"] .work__stick { position: sticky; top: 0; height: 100vh; padding: 0; overflow: hidden; }
.work__head { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 6vh; position: relative; z-index: 3; }
/* Na roda, o título vai para a direita: a esquerda é dos nomes. */
.work[data-mode="wheel"] .work__head { position: absolute; left: auto; right: var(--g); top: 28px; margin: 0; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.work__head p { margin: 0; color: var(--mute); }
.work__head span { color: var(--fg); }
.wheel, .wpreview { display: none; }
.work[data-mode="wheel"] .wheel, .work[data-mode="wheel"] .wpreview { display: block; }

/* Roda: cada nome fica num ponto de um arco cujo centro está fora da tela, à esquerda. */
.wheel { position: absolute; inset: 0; }
.wheel__item {
  position: absolute; left: 0; top: 50%; transform-origin: 0 50%; white-space: nowrap; display: flex; align-items: center; gap: 14px;
  font-size: clamp(40px, 5.4vw, 88px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; color: var(--fg); will-change: transform, opacity;
  margin-top: -.5em; transition: color .4s;
}
.wheel__item:not(.is-on) { color: var(--mute); }
.wheel__item:not(.is-on):hover { color: var(--fg); }
.wheel__tags { display: inline-flex; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .5s var(--ease); }
.wheel__tags i { font-style: normal; padding: 4px 8px; border-radius: 6px; background: var(--chip); color: var(--fg); }
.wheel__tags i.go { background: var(--acc); color: #fff; }
.wheel__item.is-on .wheel__tags { opacity: 1; transform: none; }
.wpreview { position: absolute; right: var(--g); top: 50%; transform: translateY(-50%); width: min(40vw, 620px); margin: 0; z-index: 2; }
.wpreview__img { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--bg-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.wpreview__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wpreview__img img.is-top { clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease-io); }
.wpreview__img img.is-top.is-in { clip-path: inset(0 0 0 0); }
.wpreview figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; color: var(--mute); }
.wpreview figcaption span:last-child { color: var(--acc); text-align: right; }

/* Lista */
.wlist { display: none; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.work[data-mode="list"] .wlist { display: block; }
.wlist li { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 40px; gap: 20px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.wlist .n { color: var(--acc); }
.wlist h3 { margin: 0; font-size: clamp(30px, 3.6vw, 60px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; transition: transform .6s var(--ease), opacity .3s; }
.wlist .k, .wlist .t { color: var(--mute); }
.wlist .a { justify-self: end; font-size: 20px; transition: transform .5s var(--ease), color .3s; }
.wlist:hover h3 { opacity: .35; }
.wlist li:hover h3 { opacity: 1; transform: translateX(12px); }
.wlist li:hover .a { transform: rotate(-45deg); color: var(--acc); }
.lpreview { position: fixed; left: 0; top: 0; z-index: 90; width: 340px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; pointer-events: none; transform: translate(-50%, -50%) scale(0); transition: transform .45s var(--ease); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5); }
.lpreview.is-on { transform: translate(-50%, -50%) scale(1); }
.lpreview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Grade */
.wgrid { display: none; list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); }
.work[data-mode="grid"] .wgrid { display: grid; }
.wgrid li { cursor: pointer; }
.wgrid figure { margin: 0; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.wgrid img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.wgrid li:hover img { transform: scale(1.05); }
.wgrid h3 { margin: 16px 0 4px; font-size: 26px; font-weight: 400; letter-spacing: -0.04em; }
.wgrid p { margin: 0; color: var(--mute); }

.wmodes { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--chip); width: max-content; margin: 6vh auto 0; position: relative; z-index: 3; }
.work[data-mode="wheel"] .wmodes { position: absolute; left: 50%; bottom: 28px; margin: 0; transform: translateX(-50%); }
.wmodes button { padding: 9px 16px; border-radius: 9px; font-size: 11.5px; color: var(--mute); transition: background-color .3s, color .3s; }
.wmodes button.is-on { background: var(--bg); color: var(--fg); }
.wmodes button:hover { color: var(--fg); }

/* ---------- pontinhos (fundo do contato) ---------- */
.contact { position: relative; }
.dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.contact > :not(.dots) { position: relative; z-index: 1; }

/* ---------- redes: dial ---------- */
.social { max-width: 1060px; margin: 16vh auto 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4vw; align-items: center; }
.social__text p.mono { margin: 0 0 14px; color: var(--mute); }
.social__title { margin: 0; font-size: clamp(32px, 3.6vw, 56px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; }
.social__title span { color: var(--mute); }
.social__hint { margin: 20px 0 0; color: var(--mute); max-width: 34ch; }
.dial { position: relative; width: 520px; height: 520px; max-width: 100%; margin-left: -60px; outline: none; touch-action: none; cursor: grab; user-select: none; }
.dial:active { cursor: grabbing; }
.dial__ticks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dial__ticks line { stroke: var(--mute); stroke-width: 1.4; opacity: .55; }
.dial__ticks line.big { opacity: .9; stroke-width: 1.8; }
.dial__ticks line.on { stroke: var(--acc); opacity: 1; stroke-width: 2.6; }
.dial__knob { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; font-size: 20px; transition: background-color .3s, transform .4s var(--ease); z-index: 2; }
.dial__knob:hover { background: var(--acc); color: #fff; transform: scale(1.08); }
.dial:focus-visible .dial__knob { outline: 2px solid var(--acc); outline-offset: 4px; }
.dial__items { list-style: none; margin: 0; padding: 0; }
.dial__item { position: absolute; left: 50%; top: 50%; transform-origin: 0 50%; display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 17px; color: var(--mute); margin-top: -14px; will-change: transform, opacity; cursor: pointer; }
.dial__item svg { width: 26px; height: 26px; flex: none; }
.dial__item.is-on { color: var(--fg); font-weight: 500; }
.dial__item small { font-family: var(--mono); font-size: 11px; color: var(--acc); opacity: 0; transition: opacity .3s; }
.dial__item.is-on small { opacity: 1; }
.dial__nav { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); white-space: nowrap; display: flex; align-items: center; gap: 14px; padding: 6px 10px; border-radius: 10px; background: var(--chip); color: var(--mute); z-index: 2; }
.dial__nav button { padding: 2px 6px; }
.dial__nav button:hover { color: var(--acc); }

/* ---------- barra de rolagem que vira relógio ---------- */
@media (hover: hover) and (pointer: fine) {
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }
  .sbar { position: fixed; right: 4px; top: 50%; z-index: 200; width: 18px; height: 46vh; transform: translateY(-50%); cursor: pointer; }
  .sbar__thumb { position: absolute; right: 4px; top: 0; width: 3px; height: 18%; border-radius: 99px; background: var(--fg); opacity: .18; transition: opacity .4s, width .4s var(--ease), right .4s var(--ease); }
  .sbar.is-awake .sbar__thumb { opacity: .75; width: 5px; right: 3px; }
  .sbar__clock {
    position: absolute; right: 14px; top: 50%; display: flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px;
    background: var(--fg); color: var(--bg); font-size: 11px; white-space: nowrap; pointer-events: none;
    opacity: 0; transform: translate(10px, -50%) scale(.85); transform-origin: right center; transition: opacity .35s, transform .5s var(--ease);
  }
  .sbar__clock b { font-weight: 500; }
  .sbar__clock i { font-style: normal; color: var(--acc); }
  .sbar.is-bloom .sbar__clock { opacity: 1; transform: translate(0, -50%) scale(1); }
  .sbar.is-bloom .sbar__thumb { opacity: .9; }
}
@media (hover: none), (pointer: coarse) { .sbar { display: none; } }

/* ---------- contato: carta + recibo ---------- */
.contact { padding: 18vh var(--g) 16vh; }
.contact__head { max-width: 1060px; margin: 0 auto 7vh; }
.contact__head p { margin: 0 0 14px; color: var(--mute); }
.contact__title { margin: 0; font-size: clamp(40px, 5.4vw, 88px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; }
.contact__title span { color: var(--mute); }
.desk { position: relative; max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 0; align-items: start; }
.letter {
  position: relative; z-index: 1; background: var(--paper); color: var(--paper-ink); padding: clamp(28px, 4vw, 64px); border-radius: 2px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 40px 80px -40px rgba(0, 0, 0, .45);
  transform: rotate(-.6deg) translateY(40px); --mute: #7a7a75; --line: rgba(26, 26, 26, .16);
}
.letter.is-in { transform: rotate(-.6deg); }
.letter__head { display: flex; gap: 18px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.letter__logo { width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-family: var(--mono); font-weight: 500; letter-spacing: 0; }
.letter__head b { display: block; font-size: 18px; font-weight: 600; }
.letter__head .mono { color: var(--mute); font-size: 11px; }
.letter__date { margin: 26px 0 18px; color: var(--mute); }
.letter__hi, .letter__bye { margin: 0 0 18px; font-family: var(--mono); font-size: 16px; }
.letter__bye { margin-top: 26px; }
.letter__row { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--mute); }
.letter__row > span { flex: none; width: 92px; }
.letter__row input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-family: var(--mono); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--paper-ink); }
.letter__row input::placeholder, .letter__body::placeholder { color: #a5a5a0; }
.ticks { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.tick { font-family: var(--mono); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--paper-ink); }
.tick::before { content: '[ ] '; white-space: pre; color: var(--mute); }
.tick.is-on::before { content: '[X] '; color: var(--acc); }
.letter__body {
  display: block; width: 100%; margin-top: 18px; border: 0; outline: none; resize: vertical; font-family: var(--mono); font-size: 14px; line-height: 32px;
  background: repeating-linear-gradient(transparent 0 31px, var(--line) 31px 32px); color: var(--paper-ink); min-height: 162px;
}
.sign { position: relative; height: 110px; border-bottom: 1px solid var(--line); }
.sign canvas { width: 100%; height: 100%; cursor: crosshair; touch-action: none; }
.sign__hint { position: absolute; left: 0; bottom: 8px; color: var(--mute); pointer-events: none; transition: opacity .3s; }
.sign.is-signed .sign__hint { opacity: 0; }
.sign__clear { position: absolute; right: 0; bottom: 8px; color: var(--mute); opacity: 0; transition: opacity .3s; }
.sign.is-signed .sign__clear { opacity: 1; }
.letter__name { margin: 10px 0 0; font-family: var(--mono); font-size: 13px; color: var(--mute); }
.letter__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; color: var(--mute); }
.letter__foot b { color: var(--paper-ink); font-weight: 500; }
.letter .btn--dark { background: #1a1a1a; color: #f4f3ef; }
.letter .btn--dark:hover { background: var(--acc); color: #fff; }

.ticket {
  position: relative; z-index: 2; margin: 46px 0 0 -26px; padding: 28px 22px 20px; background: #fbfaf6; color: #1a1a1a;
  transform: rotate(2.4deg) translateX(40px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
  /* Borda de cima picotada, como papel destacado de um bloco. */
  -webkit-mask: linear-gradient(#000 0 0) 0 7px / 100% calc(100% - 7px) no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) 0 0 / 14px 7px repeat-x;
  mask: linear-gradient(#000 0 0) 0 7px / 100% calc(100% - 7px) no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) 0 0 / 14px 7px repeat-x;
  --d: .2s;
}
.ticket.is-in { transform: rotate(2.4deg); }
.ticket__clip { position: absolute; right: 18px; top: -24px; width: 24px; height: 64px; color: #8b8b86; }
.ticket__brand { margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px dashed rgba(26, 26, 26, .3); font-size: 10.5px; color: #7a7a75; line-height: 1.6; }
.ticket__brand b { color: #1a1a1a; font-weight: 600; }
.ticket dl { margin: 0; font-size: 10.5px; }
.ticket dl div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(26, 26, 26, .1); }
.ticket dt { color: #7a7a75; }
.ticket dd { margin: 0; text-align: right; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket dd b { color: var(--acc); font-weight: 600; }
.ticket__bars { width: 100%; height: 46px; margin: 18px 0 8px; }
.ticket__bars rect { fill: #1a1a1a; }
.ticket__keep { margin: 0; font-size: 9.5px; color: #7a7a75; }

/* ---------- títulos de seção ---------- */
.sec-head { max-width: 1240px; margin: 0 auto 7vh; }
.sec-head > p { margin: 0 0 14px; color: var(--mute); }
.sec-title { margin: 0; font-size: clamp(40px, 5.4vw, 88px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; }
.sec-title span { color: var(--mute); }

/* ---------- serviços ---------- */
.services { padding: 16vh var(--g) 12vh; }
.svc { list-style: none; max-width: 1240px; margin: 0 auto; padding: 0; border-top: 1px solid var(--line); }
.svc__row {
  display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.25fr) 230px; gap: 24px; align-items: baseline;
  padding: 34px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease), background-color .4s;
}
.svc__row:hover { padding-left: 14px; padding-right: 14px; background: var(--chip); }
.svc__n { color: var(--acc); }
.svc__t { margin: 0; font-size: clamp(26px, 2.4vw, 38px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.05; }
.svc__row p { margin: 0; color: var(--mute); max-width: 52ch; }
.svc__tags { color: var(--mute); text-align: right; font-size: 11px; }
.svc__note { max-width: 1240px; margin: 34px auto 0; color: var(--mute); }
.svc__note a { color: var(--fg); background: linear-gradient(var(--acc), var(--acc)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: color .3s; }
.svc__note a:hover { color: var(--acc); }

/* ---------- como funciona ---------- */
.steps { padding: 12vh var(--g) 14vh; }
.steps__list { list-style: none; max-width: 1240px; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--g); counter-reset: s; }
.steps__list li { position: relative; padding-top: 26px; border-top: 1px solid var(--line); }
.steps__list li::before { content: ''; position: absolute; left: 0; top: -1px; width: 0; height: 1px; background: var(--acc); transition: width 1.2s var(--ease) calc(var(--d, 0s) + .2s); }
.steps__list li.is-in::before { width: 100%; }
.steps__n { display: inline-block; padding: 3px 8px; border-radius: 4px; background: var(--chip); color: var(--acc); margin-bottom: 30px; }
.steps__list h3 { margin: 0 0 8px; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.steps__list p { margin: 0; color: var(--mute); font-size: 16px; max-width: 28ch; }

/* ---------- sobre ---------- */
.about { max-width: 1240px; margin: 0 auto; padding: 14vh var(--g); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 7vw; align-items: center; }
.about__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; filter: grayscale(1) contrast(1.06); transition: filter 1s var(--ease), transform 1.6s var(--ease); }
.about__photo:hover img { filter: grayscale(0); transform: scale(1.03); }
.about__col { display: flex; flex-direction: column; gap: 20px; }
.about__col > p { margin: 0; color: var(--mute); max-width: 54ch; }
.about__col .lbl { margin-bottom: -6px; }
.about__lede { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.38; color: var(--fg) !important; }
strong { font-weight: 600; }
.stack { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stack li { padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line); font-size: 11px; transition: border-color .3s, color .3s; }
.stack li:hover { border-color: var(--acc); color: var(--acc); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 14px 0 0; }
.facts div { border-top: 1px solid var(--line); padding-top: 14px; }
.facts dt { font-size: clamp(36px, 3.4vw, 56px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; }
.facts dd { margin: 8px 0 0; font-size: 14px; color: var(--mute); }

/* ---------- dúvidas ---------- */
.faq { padding: 12vh var(--g) 8vh; }
.acc { list-style: none; max-width: 1240px; margin: 0 auto; padding: 0; border-bottom: 1px solid var(--line); }
.acc__item { border-top: 1px solid var(--line); }
.acc__head { width: 100%; display: grid; grid-template-columns: 70px 1fr 24px; gap: 24px; align-items: center; padding: 26px 0; text-align: left; }
.acc__n { color: var(--mute); }
.acc__t { font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -0.03em; transition: color .3s, transform .6s var(--ease); }
.acc__head:hover .acc__t { color: var(--acc); transform: translateX(8px); }
.acc__i { position: relative; width: 18px; height: 18px; }
.acc__i::before, .acc__i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.acc__i::after { transform: rotate(90deg); }
.acc__item.is-open .acc__i::after { transform: rotate(0); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
.acc__body > div { overflow: hidden; padding-left: 94px; }
.acc__body p { margin: 0 0 26px; max-width: 64ch; color: var(--mute); }

/* ---------- acessibilidade ---------- */
.skip { position: fixed; left: 12px; top: 12px; z-index: 400; padding: 10px 14px; border-radius: 8px; background: var(--acc); color: #fff; transform: translateY(-160%); transition: transform .3s; }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.nav__menu { display: none; }

/* ---------- rodapé ---------- */
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px var(--g); border-top: 1px solid var(--line); color: var(--mute); }
.foot b { color: var(--fg); font-weight: 500; }
.foot button:hover { color: var(--acc); }

/* ---------- ⌘K ---------- */
.palette { position: fixed; inset: 0; z-index: 250; display: grid; place-items: start center; padding-top: 16vh; background: rgba(0, 0, 0, .35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.palette.is-open { opacity: 1; pointer-events: auto; }
.palette__box { width: min(560px, calc(100vw - 32px)); background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); transform: translateY(-10px) scale(.98); transition: transform .35s var(--ease); }
.palette.is-open .palette__box { transform: none; }
.palette__input { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 18px 20px; font-size: 17px; outline: none; }
.palette__list { list-style: none; margin: 0; padding: 6px; max-height: 340px; overflow: auto; }
.palette__list li { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 9px; cursor: pointer; font-size: 15px; }
.palette__list li span { font-family: var(--mono); font-size: 11px; color: var(--mute); text-transform: uppercase; }
.palette__list li.is-on { background: var(--chip); }
.palette__list li.is-on::before { content: '→'; color: var(--acc); margin-right: 8px; }
.palette__list li b { flex: 1; font-weight: 400; }
.palette__foot { display: flex; gap: 18px; margin: 0; padding: 10px 20px; border-top: 1px solid var(--line); color: var(--mute); font-size: 10.5px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 260; transform: translate(-50%, calc(100% + 40px)); padding: 11px 18px; border-radius: 999px; background: var(--fg); color: var(--bg); transition: transform .5s var(--ease), visibility 0s .5s; visibility: hidden; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__tools .nav__cta { display: none; }
  .nav__menu { display: inline-flex; }
  .svc__row { grid-template-columns: 44px minmax(0, 1fr); gap: 8px 14px; }
  .svc__row p, .svc__tags { grid-column: 2; text-align: left; }
  .steps__list { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 460px; }
  .acc__head { grid-template-columns: 40px 1fr 20px; gap: 14px; }
  .acc__body > div { padding-left: 54px; }
  .chip--hide-s { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto; min-height: 0; }
  .hero__name { font-size: 19vw; white-space: normal; line-height: .92; }
  .hero__name .br { display: none; }
  .hero__photo { grid-column: 1; grid-row: auto; height: 62vh; margin-top: 20px; }
  .hero__about, .hero__side { grid-column: 1; grid-row: auto; justify-self: start; text-align: left; margin-top: 30px; }
  .hero__foot { grid-row: auto; margin-top: 30px; }
  .wheel__item { font-size: 34px; gap: 10px; }
  .wheel__tags { display: none; }
  .wpreview { top: auto; bottom: 92px; left: var(--g); right: var(--g); width: auto; transform: none; }
  .wlist li { grid-template-columns: 34px minmax(0, 1fr) 24px; gap: 6px 12px; }
  .wlist .k, .wlist .t { grid-column: 2; }
  .wlist .a { grid-column: 3; grid-row: 1; }
  .lpreview { display: none; }
  .wgrid { grid-template-columns: 1fr; }
  .social { grid-template-columns: 1fr; }
  /* O centro do dial vai para a esquerda para os nomes caberem à direita. */
  .dial { margin: 0 0 0 -110px; width: 360px; height: 420px; }
  .dial__nav { left: calc(50% + 90px); }
  .dial__item small { display: none; }
  .desk { grid-template-columns: 1fr; }
  .ticket { margin: -10px 18px 0 auto; width: min(300px, 86%); }
  .letter__row { flex-direction: column; gap: 6px; }
}

@media (max-width: 560px) {
  .steps__list { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .facts dd { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
