:root {
  --bg: #1c1c1c;
  --text: #fff4f1;
  --accent: #130deb;
  --detail: #ffb6eb;
  --text-soft: rgba(255, 244, 241, .62);
  /* grade de pontos desenhada no CSS (espaçamento fixo de 33px). Antes era a imagem bg-dots.jpg em "cover",
     que mudava de escala em cada seção e deixava fileiras de pontos juntas ou faltando. */
  --dots: radial-gradient(rgba(255, 244, 241, .38) 1.1px, transparent 1.7px) 0 0 / 33px 33px;
  --sans: "Mona Sans", system-ui, sans-serif;
  --cursive: "neulis-cursive", sans-serif;

  /* Curvas */
  --ease: cubic-bezier(.33, 1, .68, 1); /* começa macio e desacelera devagar */
  /* molas no estilo iOS (geradas a partir de uma mola real: amortecimento .82 / .9) */
  --ios: linear(0, 0.0415, 0.1397, 0.2641, 0.3947, 0.5191, 0.6301, 0.7248, 0.8024, 0.8638, 0.911, 0.9459, 0.971, 0.9881, 0.9993, 1.006, 1.0096, 1.011, 1.011, 1.0101, 1.0088, 1.0074, 1.006, 1.0047, 1.0035, 1.0026, 1.0018, 1.0012, 1.0008, 1.0004, 1.0002, 1.0001, 1);
  --ios-soft: linear(0, 0.0357, 0.1203, 0.2281, 0.3426, 0.4536, 0.5551, 0.6444, 0.7206, 0.7841, 0.8358, 0.8772, 0.9097, 0.9349, 0.9541, 0.9685, 0.979, 0.9867, 0.992, 0.9958, 0.9982, 0.9998, 1.0008, 1.0013, 1.0015, 1.0015, 1.0014, 1.0013, 1.0011, 1.001, 1.0008, 1.0006, 1.0005, 1.0004, 1.0003, 1.0002, 1.0002, 1.0001, 1.0001, 1.0001, 1);

  /* Vidro estilo Apple */
  --glass-bg: rgba(255, 255, 255, .08);
  --glass-border: rgba(255, 255, 255, .18);
  --glass-blur: blur(28px) saturate(170%);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .03), 0 12px 32px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; margin: 0; }
body {
  background: var(--dots), var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-align: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
.cursive { font-family: var(--cursive); font-weight: 600; font-style: normal; color: var(--detail); }

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

/* Janela estilo macOS (usada no About e na janela dos projetos) */
.window {
  background: rgba(32, 32, 36, .55);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 40px 90px rgba(0, 0, 0, .55);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  overflow: hidden;
}
.win-bar {
  flex: none; display: flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 16px;
  background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .08);
  user-select: none;
}
.win-dots { display: flex; gap: 8px; width: 70px; }
.win-dot { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .25); }
.dot-close { background: var(--detail); position: relative; }
.dot-min { background: var(--text); }
.dot-max { background: var(--accent); }
.win-path { flex: 1; text-align: center; font-size: .82rem; font-weight: 600; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-bar-spacer { width: 70px; }

/* =================== HERO =================== */
.hero {
  position: relative;
  height: 100svh; min-height: 680px;
  overflow: hidden;
}

/* Cartão de perfil */
.profile {
  position: absolute; left: 2.2%; top: 16%; z-index: 4;
  width: clamp(280px, 25vw, 360px);
  padding: 14px 18px; border-radius: 22px;
  outline: none;
  transition: background .7s var(--ease), border-color .7s var(--ease);
  animation: slide-down 1.6s .3s both var(--ease);
}
.profile:hover, .profile:focus-within, .profile.is-open { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .28); }
.profile-main { display: flex; align-items: center; gap: 14px; }
.profile-avatar { width: 44px; height: 44px; object-fit: contain; }
.profile-status { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; color: var(--text-soft); }
.profile-name { font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .01em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--detail); animation: pulse 2.6s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 182, 235, .7); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(255, 182, 235, 0); }
}
@keyframes slide-down { from { opacity: 0; translate: 0 -30px; } }

/* Contatos: a altura abre de 0 até o conteúdo (grid 0fr → 1fr) */
.profile-contact { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .9s var(--ios-soft); }
.profile:hover .profile-contact,
.profile:focus-within .profile-contact,
.profile.is-open .profile-contact { grid-template-rows: 1fr; }
.profile-contact-inner { overflow: hidden; display: flex; gap: 8px; }
.contact-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px; padding: 10px 14px; border-radius: 14px;
  font-weight: 700; font-size: .85rem;
  opacity: 0; translate: 0 8px;
  transition: opacity .8s var(--ease), translate 1s var(--ios-soft), background .5s, color .5s;
}
.profile:hover .contact-btn,
.profile:focus-within .contact-btn,
.profile.is-open .contact-btn { opacity: 1; translate: 0 0; }
.profile:hover .contact-phone,
.profile:focus-within .contact-phone,
.profile.is-open .contact-phone { transition-delay: .12s; }
.contact-btn svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-email { background: var(--accent); color: var(--text); }
.contact-email:hover { background: #2a25ff; }
.contact-phone { background: var(--detail); color: var(--accent); }
.contact-phone:hover { background: #ffc8f0; }

/* Quadro dos adesivos (sem z-index, para cada adesivo poder ir pra frente de tudo) */
.board { position: absolute; inset: 0; pointer-events: none; }

/* =================== ADESIVOS (todas as seções) =================== */
.sticker {
  position: absolute; left: var(--x); top: var(--y); z-index: 3;
  pointer-events: auto;
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45));
  transition: scale .9s var(--ios-soft), filter .9s var(--ease);
  will-change: transform;
  /* entrada suave + flutuação lenta (cada um num ritmo) */
  animation:
    pop 1.8s both var(--ios-soft),
    sway calc(9s + var(--i, 0) * 1.1s) ease-in-out infinite;
  animation-delay: calc(.4s + var(--i, 0) * .15s), calc(2.4s + var(--i, 0) * .3s);
}
/* nas seções abaixo do hero, os adesivos só entram quando a seção aparece na tela */
[data-section]:not(.is-visible) .sticker { animation-play-state: paused; }
.sticker:hover { scale: 1.03; }
.sticker.is-dragging { cursor: grabbing; scale: 1.06; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .5)); animation-play-state: running, paused; }
.sticker img { pointer-events: none; }
@keyframes pop { from { opacity: 0; scale: .9; translate: 0 16px; } }
@keyframes sway { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -5px; rotate: .8deg; } }

/* Logo centralizado na tela; avatar centralizado logo acima dele.
   Proporções das imagens: logo 858×332 (altura = 0.387 × largura), avatar 834×792 (0.95) */
.hero .board { --logo-w: clamp(380px, 45vw, 660px); --ava-w: clamp(126px, 11vw, 172px); }
.s-logo {
  width: var(--logo-w);
  --x: calc(50% - var(--logo-w) / 2);
  --y: calc(50% - var(--logo-w) * .1935);
}
.s-logo:hover { scale: 1.015; }
.s-avatar {
  width: var(--ava-w);
  --x: calc(50% - var(--ava-w) / 2);
  --y: calc(50% - var(--logo-w) * .1935 - var(--ava-w) * .95 + 8px);
}

/* Etiquetas com ícone, clipe e canto dobrado */
.tag {
  display: grid; place-items: center;
  min-width: 165px; padding: 18px 34px 14px;
  border-radius: 6px;
  font-weight: 600; font-size: 1.15rem; letter-spacing: .02em; color: #1d2329; white-space: nowrap;
}
.tag::after {
  content: ""; position: absolute; top: 0; right: 0;
  width: 16px; height: 16px; border-radius: 0 6px 0 6px;
  background: linear-gradient(225deg, var(--bg) 50%, var(--fold) 50%);
  transition: width .8s var(--ios-soft), height .8s var(--ios-soft);
}
.tag:hover::after { width: 22px; height: 22px; }
.tag-icon {
  position: absolute; left: 4px; top: -22px;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--chip); border: 2.5px solid var(--text);
  transition: rotate 1s var(--ios-soft);
}
.tag:hover .tag-icon { rotate: -10deg; }
.tag-icon svg { width: 20px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.clip {
  position: absolute; left: 44px; top: -20px; width: 13px; rotate: 18deg;
  fill: none; stroke: var(--fold); stroke-width: 3; stroke-linecap: round;
}
.tag-blue  { --chip: var(--accent); --fold: var(--accent); background: #e6e5ff; }
.tag-pink  { --chip: #d36fbf;       --fold: #d36fbf;      background: #ffe9f8; }
.tag-cream { --chip: var(--detail); --fold: var(--detail); background: var(--text); }
.tag-cream .tag-icon svg { stroke: var(--accent); }

.h-posts   { --x: 64%; --y: 18%; }
.h-logos   { --x: 14%; --y: 51%; }
.h-banners { --x: 60%; --y: 72%; }
.h-landing { --x: 77%; --y: 45%; }

/* Bilhete com fita */
.note {
  width: 190px; padding: 22px 18px 20px;
  background: var(--detail); color: var(--accent);
  border-radius: 4px 4px 18px 4px;
}
.note p { font-family: var(--cursive); font-weight: 600; font-size: 1.35rem; line-height: 1.1; }
.tape {
  position: absolute; left: 50%; top: -12px; translate: -50% 0; rotate: -3deg;
  width: 86px; height: 26px;
  background: rgba(255, 244, 241, .55);
  clip-path: polygon(3% 0, 97% 4%, 100% 25%, 96% 50%, 100% 78%, 97% 100%, 2% 96%, 0 70%, 4% 48%, 0 22%);
}

/* Balão de fala */
.bubble {
  padding: 12px 22px; border-radius: 22px 22px 22px 6px;
  background: var(--accent); color: var(--text);
  border: 3px solid var(--text);
  font-family: var(--cursive); font-weight: 600; font-size: 1.6rem; line-height: 1;
}

/* Brilho no formato da estrela do logo */
.spark { width: 64px; }
.spark svg { display: block; overflow: visible; }
.spark-outline { fill: none; stroke: var(--text); stroke-width: 18; stroke-linejoin: round; }
.spark-fill { fill: var(--detail); stroke: var(--accent); stroke-width: 8; stroke-linejoin: round; }

/* Saudação */
.greeting {
  position: absolute; left: 2.6%; bottom: 7%; z-index: 4;
  display: grid; justify-items: end;
  font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.15; letter-spacing: -.02em;
  max-width: 330px; text-align: right;
}
.greeting .type-line:first-child { justify-self: start; }
/* digitação: cada letra aparece de uma vez (sem fade), como numa tela */
.char { white-space: pre; visibility: hidden; }
.char.is-on { visibility: visible; }
.caret { display: inline-block; width: 2px; height: 1em; margin-right: -2px; background: var(--detail); /* não ocupa espaço: o texto não pula quando o cursor anda */ vertical-align: -.12em; animation: blink 1.1s steps(1) infinite; }
.caret.is-typing { animation: none; } /* enquanto digita, o cursor fica aceso */
@keyframes blink { 50% { opacity: 0; } }

/* =================== PILHA DE PROJETOS (estilo notificações do iOS) =================== */
.projects-wrap {
  --h: 94px; --gap: 10px; --peek: 22px; /* altura do card, espaço entre eles, quanto os de trás "espiam" */
  position: absolute; right: 2.8%; bottom: 5%; z-index: 4;
  width: clamp(300px, 22.5vw, 330px);
}
/* o título fica sempre por cima dos cards e acima da parte que "espia" */
.projects-title {
  position: relative; z-index: 5;
  display: flex; align-items: center; gap: 8px; margin: 0 0 calc(var(--peek) + 10px) 4px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft);
  transition: translate 1.1s var(--ios);
  animation: fade-in 1.4s .9s both;
}
.folder-icon { width: 18px; height: 13px; border-radius: 2px 3px 3px 3px; background: var(--detail); position: relative; flex: none; }
.folder-icon::before { content: ""; position: absolute; left: 0; top: -3px; width: 8px; height: 4px; border-radius: 2px 2px 0 0; background: var(--detail); }
.projects-count {
  display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: var(--text); font-size: .68rem; letter-spacing: 0;
  transition: scale .7s var(--ios), opacity .5s;
}
.projects-wrap:hover .projects-count, .projects-wrap.is-open .projects-count { scale: .4; opacity: 0; }

/* "Ponte" invisível: mantém o hover nos espaços entre os cards abertos */
.projects-wrap::before { content: ""; position: absolute; left: -14px; right: -14px; bottom: -14px; height: 0; }
.projects-wrap:hover::before,
.projects-wrap.is-open::before { height: calc((var(--h) + var(--gap)) * 3 + 70px); }

.projects { position: relative; height: var(--h); }
/* ao abrir, o título sobe junto e fica logo acima do card do topo */
.projects-wrap:hover .projects-title,
.projects-wrap.is-open .projects-title { translate: 0 calc((var(--h) + var(--gap)) * -2 + var(--peek)); }

.project {
  position: absolute; left: 0; bottom: 0; z-index: calc(3 - var(--n));
  width: 100%; height: var(--h);
  display: flex; gap: 12px; padding: 8px; border-radius: 18px;
  background: rgba(44, 44, 48, .55);
  transform-origin: top center;
  /* empilhado: os de trás ficam menores, mais apagados e "espiando" por cima */
  transform: translateY(calc(var(--n) * var(--peek) / -2)) scale(calc(1 - var(--n) * .055));
  opacity: calc(1 - var(--n) * .18);
  transition:
    transform 1.1s var(--ios) calc(var(--n) * 45ms),
    opacity .6s var(--ease),
    background .6s var(--ease), border-color .6s var(--ease);
  animation: slide-in 1.6s both var(--ios-soft);
  animation-delay: calc(1s + var(--n) * .18s);
}
.projects-wrap:hover .project,
.projects-wrap.is-open .project {
  transform: translateY(calc(var(--n) * (var(--h) + var(--gap)) * -1)) scale(1);
  opacity: 1;
}
.project:not(:first-child) .project-info { opacity: 0; transition: opacity .5s var(--ease); }
.projects-wrap:hover .project .project-info,
.projects-wrap.is-open .project .project-info { opacity: 1; transition: opacity .8s var(--ease) calc(.15s + var(--n) * 60ms); }
.project:hover { background: rgba(70, 70, 76, .6); border-color: rgba(255, 182, 235, .7); }
.project:active { scale: .97; }
.project-thumb {
  flex: none; width: 74px; height: 74px; border-radius: 12px; overflow: hidden;
  background: var(--img) center / 100%, linear-gradient(135deg, var(--detail), var(--accent));
  transition: background-size 1.2s var(--ease);
}
.project:hover .project-thumb { background-size: 116%, auto; }
.project-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 2px 2px 2px 0; min-width: 0; }
.project-top, .project-bottom { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--text-soft); }
.project-info strong { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.project-bottom { color: var(--text); font-size: .66rem; gap: 8px; }
.project-bottom > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arrow { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; transition: transform .9s var(--ios), background .6s, color .6s; }
.project:hover .arrow { transform: translateX(3px) rotate(-45deg); background: var(--detail); color: var(--accent); }
@keyframes slide-in { from { opacity: 0; translate: 40px 0; } }
@keyframes fade-in { from { opacity: 0; } }

/* =================== DOCK =================== */
.dock {
  position: absolute; left: 50%; bottom: 3%; translate: -50% 0; z-index: 4;
  display: flex; align-items: flex-end; gap: 10px; padding: 9px; border-radius: 26px;
  animation: dock-in 1.6s 1.4s both var(--ios-soft);
}
.dock-item {
  --s: 1;
  position: relative;
  /* 6 ícones: encolhem um pouco em telas menores para não encostar nos cards de projeto */
  width: clamp(48px, 3.9vw, 62px); aspect-ratio: 1; border-radius: 28%;
  display: grid; place-items: center;
  /* "app" branco com um leve volume, como os ícones do iOS */
  background: linear-gradient(180deg, #ffffff, #ece8ea);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 rgba(0, 0, 0, .06), 0 6px 14px rgba(0, 0, 0, .3);
  transform-origin: bottom center;
  transform: translateY(calc((var(--s) - 1) * -18px)) scale(var(--s));
  transition: transform .5s var(--ios);
}
.dock-item svg { width: 64%; }
/* desenhos em 2 cores: azul da marca + rosa (as linhas de recorte usam o branco do fundo) */
.app-glyph { fill: var(--accent); }
.app-glyph .g-pink { fill: var(--detail); }
.app-glyph .g-pink-line { fill: none; stroke: var(--detail); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.app-glyph .g-cut { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dock-item::after { /* rótulo */
  content: attr(data-label);
  position: absolute; bottom: calc(100% + 10px); left: 50%; translate: -50% 4px;
  padding: 5px 11px; border-radius: 9px;
  background: rgba(255, 255, 255, .16); color: var(--text);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: .72rem; font-weight: 700; white-space: nowrap;
  opacity: 0; transition: opacity .5s var(--ease), translate .7s var(--ios); pointer-events: none;
}
.dock-item:hover::after { opacity: 1; translate: -50% 0; }
/* nome do app embaixo do ícone, como na tela do iPhone (o balão de hover fica desligado: seria repetido) */
.dock { padding-bottom: 26px; }
.dock-item::after { display: none; }
.dock-item::before {
  content: attr(data-name);
  position: absolute; top: calc(100% + 5px); left: 50%; translate: -50% 0;
  font-size: .66rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; color: rgba(255, 244, 241, .85);
  pointer-events: none;
}
.badge {
  position: absolute; top: 6px; right: 6px;
  min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px;
  background: #ff3b5c; color: #fff; font-size: .7rem; font-weight: 800;
  display: grid; place-items: center; border: 2px solid #fff;
}
@keyframes dock-in { from { opacity: 0; translate: -50% 30px; } }
.hand-note.menu-note { display: none; } /* só existe no celular (2 classes: vence o display do .hand-note, que vem depois) */

/* =================== SEÇÕES =================== */
.section-head { text-align: center; margin-bottom: 48px; position: relative; z-index: 2; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  font-size: 1.2rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft);
}
.section-label { padding: 10px 22px; gap: 10px; }
.section-label .folder-icon { width: 24px; height: 17px; }
.section-title {
  font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; line-height: .95; letter-spacing: -.035em; text-transform: uppercase;
}
.section-title .cursive { text-transform: none; letter-spacing: 0; display: inline-block; rotate: -4deg; }

/* Entrada ao rolar */
[data-reveal] { opacity: 0; translate: 0 50px; transition: opacity 1.2s var(--ease), translate 1.5s var(--ios-soft); }
.is-visible [data-reveal] { opacity: 1; translate: 0 0; }
.is-visible [data-reveal] + [data-reveal] { transition-delay: .15s; }

/* =================== ABOUT ME =================== */
/* Fundo azul da marca, entrando como um "sheet" do iOS por cima do hero */
.about {
  --bg: var(--accent); /* usado pelo canto dobrado das etiquetas */
  position: relative; z-index: 8; /* por cima dos Banners (encaixa na borda) e dos Logos (a sombra da janela não é cortada) */
  margin-top: -48px;
  min-height: 100svh;
  padding: 150px 16px 140px; /* espaço para a sombra da janela sumir antes da emenda;: a seção de Logos continua no mesmo azul */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background:
    radial-gradient(rgba(255, 244, 241, .16) 1.2px, transparent 1.6px) 0 0 / 34px 34px,
    linear-gradient(to bottom, transparent 65%, var(--accent)),
    radial-gradient(ellipse at 20% 0%, rgba(255, 182, 235, .25), transparent 55%),
    var(--accent); /* embaixo fica azul liso: emenda sem marca com a seção de Logos, que é da mesma cor */
  border-radius: 48px 48px 0 0;
  box-shadow: 0 -40px 50px -10px rgba(0, 0, 0, .35); /* sombra só para cima: embaixo não escurece a emenda com os Logos */
}
/* a janela mantém o cinza-escuro padrão da interface (mais sólido, para o azul não "vazar") */
.about-win {
  position: relative; z-index: 2; width: min(1000px, 100%);
  background: rgba(28, 28, 31, .86);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 40px 90px rgba(3, 0, 70, .55);
}
.about .section-label { background: rgba(28, 28, 31, .8); border-color: rgba(255, 255, 255, .16); color: var(--text); }
.about-body { display: grid; grid-template-columns: 280px 1fr; gap: 44px; padding: 40px; }

.about-id { text-align: center; }
.about-portrait {
  aspect-ratio: 1; border-radius: 28px; padding: 26px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, rgba(255, 182, 235, .55), transparent 60%), radial-gradient(circle at 75% 80%, rgba(19, 13, 235, .55), transparent 60%), rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
}
.about-portrait img { width: 100%; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .4)); transition: scale 1s var(--ios-soft), rotate 1s var(--ios-soft); }
.about-portrait:hover img { scale: 1.05; rotate: -3deg; }
.about-name { font-family: var(--cursive); font-weight: 600; font-size: 2.6rem; color: var(--detail); margin-top: 18px; line-height: 1; }
.about-role { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-top: 6px; }
.about-version { font-size: .8rem; color: var(--text-soft); margin-top: 6px; }
.about-version span { color: var(--detail); }

.about-text { display: flex; flex-direction: column; gap: 18px; }
.about-lead { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.about-text > p:not(.about-lead) { color: rgba(255, 244, 241, .78); font-size: 1.05rem; line-height: 1.65; text-wrap: pretty; }
.about-text > p strong { color: var(--text); font-weight: 700; }
.about-text > p:not(.about-lead) + p:not(.about-lead) { margin-top: -6px; }
.about-lead .cursive { display: inline-block; rotate: -3deg; }

/* "When I'm not designing" */
.offscreen-title { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 244, 241, .7); margin-bottom: 8px; }
.offscreen-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.offscreen-list li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  font-size: .85rem; font-weight: 600;
  transition: background .6s var(--ease), scale .7s var(--ios);
}
.offscreen-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--detail); }
.offscreen-list li:hover { background: rgba(255, 182, 235, .22); scale: 1.04; }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.specs div {
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  transition: background .6s var(--ease), border-color .6s var(--ease);
}
.specs div:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 182, 235, .4); }
.specs dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 244, 241, .7); }
.specs dd { font-weight: 700; margin-top: 3px; }

.about-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.pill-btn {
  display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: .92rem;
  transition: scale .7s var(--ios), background .6s var(--ease);
}
.pill-btn:hover { scale: 1.04; }
.pill-btn:active { scale: .97; }
.pill-primary { background: var(--accent); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 20px rgba(19, 13, 235, .35); }
.pill-glass { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.pill-glass:hover { background: rgba(255, 255, 255, .16); }
/* adesivos que ficam sobre o fundo azul trocam o azul por rosa/creme */
.about .bubble { background: var(--detail); color: var(--accent); }
.about .note { background: var(--text); }

/* Dado d20 */
.d20 { width: 84px; }
.d20 svg { display: block; overflow: visible; }
.d20-outline { fill: none; stroke: var(--text); stroke-width: 14; stroke-linejoin: round; }
.d20-body { fill: var(--detail); stroke: var(--accent); stroke-width: 5; stroke-linejoin: round; }
.d20-lines { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; opacity: .55; }
.d20 text { font-family: var(--sans); font-weight: 900; font-size: 19px; fill: var(--accent); }
.d20:hover svg { animation: roll 1.2s var(--ios-soft); }
@keyframes roll { to { rotate: 360deg; } }

/* Coração */
.heart { width: 58px; }
.heart svg { display: block; overflow: visible; }
.heart-outline { fill: none; stroke: var(--text); stroke-width: 14; stroke-linejoin: round; }
.heart-fill { fill: var(--detail); stroke: var(--accent); stroke-width: 6; stroke-linejoin: round; }

/* posições dos adesivos do About */
.a-anime  { --x: 2%;  --y: 40%; }
.a-cozy   { --x: 77%; --y: 40px; } /* figurinhas do topo: acima da linha do título, em qualquer largura de tela */
.a-web3   { --x: 7%;  --y: 82%; }
.a-note   { --x: 84%; --y: 64%; }
.a-bubble { --x: 17%; --y: 50px; }
.a-d20    { --x: 89%; --y: 36%; }
.a-heart  { --x: 3%;  --y: 52%; }

/* =================== SOCIAL MEDIA POSTS =================== */
/* Fundo cinza-escuro padrão (com a textura de pontos), subindo por cima do azul do About */
.posts {
  position: relative; z-index: 5;
  min-height: 100svh;
  padding: 150px 16px 170px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--dots), var(--bg);
  background-attachment: fixed; /* mesmo cinza da capa: continua sem borda nem sombra */
}
.section-sub {
  max-width: 620px; margin: 24px auto 0; /* perto do título, mas com folga para as letras cursivas que descem (p, g); a etiqueta da categoria fica mais afastada */
  font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 600; line-height: 1.45;
}
.section-sub { color: var(--text-soft); }
.section-sub strong { padding: 0 .35em; border-radius: 8px; background: var(--accent); color: var(--text); white-space: nowrap; }

/* Mural de posts: faixa larga, inclinada, com as bordas sumindo suavemente */
.feed-wall {
  position: relative; z-index: 1;
  /* mural alto: mesmo tamanho dos cards, mas aparecem mais posts */
  width: calc(100% + 32px); height: 1050px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
}
.feed-tilt {
  position: absolute; left: 50%; top: 50%;
  display: flex; gap: 26px;
  translate: -50% -50%; rotate: -14deg;
}
.feed-col { width: 260px; height: 1700px; overflow: hidden; }
/* cada coluna tem os posts duplicados: rolar até -50% emenda sem "pulo" */
.feed-track { animation: feed-up var(--dur, 48s) linear infinite; }
.feed-col:nth-child(even) .feed-track { animation-direction: reverse; }
.feed-col:hover .feed-track { animation-play-state: paused; }
@keyframes feed-up { to { transform: translateY(-50%); } }

/* Card do post (vidro escuro, estilo Apple) */
.feed-card {
  margin-bottom: 26px; padding: 12px; border-radius: 24px;
  background: rgba(28, 28, 31, .92);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 18px 40px rgba(0, 0, 0, .4);
  transition: scale 1s var(--ios-soft), box-shadow 1s var(--ease);
}
.feed-card:hover { scale: 1.035; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 26px 50px rgba(0, 0, 0, .5); }
.feed-card-head { display: flex; align-items: center; gap: 10px; padding: 2px 4px 10px; }
/* avatar: círculo azul sólido com a estrela do logo */
.feed-avatar {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent);
  box-shadow: 0 0 0 2px #1c1c1f, 0 0 0 3.5px var(--detail);
}
/* estrela igual à do logo: borda branca grossa + estrela rosa com fio azul */
.feed-avatar svg { width: 58%; rotate: 15deg; overflow: visible; }
.feed-avatar .star-outline { fill: none; stroke: #fff; stroke-width: 26; stroke-linejoin: round; }
.feed-avatar .star-fill { fill: var(--detail); stroke: var(--accent); stroke-width: 7; stroke-linejoin: round; }
.feed-card-head strong { flex: 1; font-size: .82rem; font-weight: 800; }
.feed-card-head span { color: var(--text-soft); letter-spacing: 1px; }
/* imagem do post (3:4, o formato das artes); carrosséis deslizam para o lado */
.feed-img {
  position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, var(--detail), var(--accent));
  cursor: zoom-in;
}
.feed-slides { display: flex; height: 100%; transition: transform .9s var(--ios); }
.feed-slides img { flex: none; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.feed-multi {
  position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(20, 20, 22, .45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.feed-multi svg { width: 16px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linejoin: round; }
.feed-dots {
  position: absolute; left: 50%; bottom: 10px; translate: -50% 0;
  display: flex; gap: 5px; padding: 5px 8px; border-radius: 999px;
  background: rgba(20, 20, 22, .4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.feed-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 244, 241, .45); transition: width .6s var(--ios), background .4s; }
.feed-dots i.is-active { width: 16px; background: var(--text); }
/* com a visualização aberta, o feed para */
.lb-open .feed-track { animation-play-state: paused; }
.feed-actions { display: flex; align-items: center; gap: 12px; padding: 12px 4px 4px; }
.feed-actions button { display: grid; place-items: center; transition: scale .6s var(--ios); }
.feed-actions button:hover { scale: 1.15; }
.feed-actions svg { width: 23px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: fill .3s, stroke .3s; }
.feed-actions .act-save { margin-left: auto; }
.act-like.is-liked svg { fill: var(--detail); stroke: var(--detail); }
.act-like.is-liked { animation: like-pop .7s var(--ios); }
@keyframes like-pop { 0% { scale: 1; } 35% { scale: 1.35; } 100% { scale: 1; } }
.feed-caption { display: grid; gap: 6px; padding: 8px 4px 4px; }
.feed-caption span { height: 7px; border-radius: 4px; background: rgba(255, 244, 241, .18); }
.feed-caption span:first-child { width: 70%; background: rgba(255, 182, 235, .45); }
.feed-caption span:last-child { width: 45%; }
/* Visualização grande do post */
.lb-backdrop {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(8, 8, 10, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lb {
  position: fixed; left: 50%; top: 50%; translate: -50% -50%; z-index: 9001;
  display: flex; flex-direction: column;
  transform-origin: top left;
}
.lb[hidden], .lb-backdrop[hidden] { display: none; }
.lb-stage { position: relative; padding: 12px; }
.lb-strip { display: flex; gap: 12px; }
.lb-slide { margin: 0; position: relative; flex: none; }
.lb-img {
  display: block; height: min(80svh, 960px); width: auto; max-width: calc(100vw - 72px);
  aspect-ratio: 3 / 4; object-fit: contain; border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  user-select: none;
}
/* carrossel: slides lado a lado numa faixa que rola para o lado */
.lb.is-carousel .lb-strip {
  width: min(calc(100vw - 72px), 1500px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: var(--detail) transparent;
  padding-bottom: 10px; cursor: grab;
}
.lb.is-carousel .lb-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.lb.is-carousel .lb-slide { scroll-snap-align: center; }
.lb.is-carousel .lb-img { height: min(66svh, 760px); }
.lb-slide figcaption {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(20, 20, 22, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: .75rem; font-weight: 700;
}
/* link do Instagram do cliente no topo do post ampliado */
.lb-ig { color: var(--detail); font-weight: 700; transition: color .3s var(--ease); }
.lb-ig:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.lb-hint { display: none; text-align: center; padding: 0 0 14px; font-size: .8rem; font-weight: 600; color: var(--text-soft); }
.lb.is-carousel .lb-hint { display: block; }
.lb-nav {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(30, 30, 34, .55); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-size: 1.6rem; line-height: 1; color: var(--text);
  transition: scale .6s var(--ios), background .4s;
}
.lb-nav:hover { scale: 1.08; background: rgba(255, 182, 235, .3); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }


/* Adesivos dos Posts */
.like-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: #ff3b5c; color: #fff; border: 3px solid var(--text);
  font-weight: 800; font-size: 1.2rem;
}
.like-pill svg { width: 22px; fill: #fff; }
.hashtag {
  padding: 10px 18px; border-radius: 14px;
  background: var(--accent); color: var(--text); border: 3px solid var(--text);
  font-family: var(--cursive); font-weight: 600; font-size: 1.6rem; line-height: 1;
}
.comment {
  display: flex; align-items: center; gap: 10px; max-width: 250px;
  padding: 10px 16px 10px 10px; border-radius: 22px;
  background: rgba(28, 28, 31, .92); border: 1px solid rgba(255, 255, 255, .16);
  font-size: .85rem; line-height: 1.3;
}
.comment img { width: 36px; height: 36px; object-fit: contain; flex: none; }

.p-like     { --x: 8%;  --y: 50px; }
.p-feed     { --x: 78%; --y: 40px; }
.p-carousel { --x: 70%; --y: 84%; }
.p-hash     { --x: 24%; --y: 26px; }
.p-comment  { --x: 62%; --y: 70%; }
.p-heart    { --x: 91%; --y: 42%; }

/* =================== BANNERS =================== */
/* mesmo fundo cinza dos posts, continuando a seção anterior */
.banners {
  position: relative; z-index: 6;
  min-height: 100svh;
  padding: 120px 16px 170px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--dots), var(--bg);
  background-attachment: fixed;
}
/* Notebook rosa */
/* o maior possível sem passar da altura da tela (tela 16:10 + bordas + base ≈ 0,625 × largura + 150px) */
.laptop { position: relative; z-index: 2; width: min(1080px, 100%, (100svh - 230px) * 1.6); margin: 0; }
/* tampa rosa com acabamento azul */
.laptop-lid {
  position: relative; padding: 18px 18px 22px; border-radius: 26px 26px 8px 8px;
  background: linear-gradient(160deg, #ffd3f3, #ffb6eb 45%, #f58fd6);
  box-shadow: inset 0 0 0 3px var(--accent), inset 0 4px 0 3px rgba(255, 255, 255, .45), 0 30px 70px rgba(0, 0, 0, .5);
}
.laptop-cam { position: absolute; top: 7px; left: 50%; translate: -50% 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px #fff; }
/* base azul com entalhe rosa */
.laptop-base {
  position: relative; height: 20px; margin: 0 -7%;
  border-radius: 4px 4px 26px 26px;
  background: linear-gradient(180deg, #5a55ff, var(--accent) 45%, #0b0790);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 30px rgba(0, 0, 0, .45);
}
.laptop-base::before { /* entalhe para abrir a tampa */
  content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0;
  width: 16%; height: 7px; border-radius: 0 0 10px 10px; background: var(--detail);
}

/* adesivos colados no notebook: contorno branco, como os do hero */
.lap-sticker { position: absolute; z-index: 3; pointer-events: none; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
.lap-logo { width: clamp(90px, 14%, 140px); right: -3%; bottom: -14px; rotate: -8deg; }
.lap-avatar { width: clamp(54px, 8%, 80px); left: -3.5%; top: -26px; rotate: -12deg; }
.lap-star { width: clamp(34px, 5%, 52px); overflow: visible; right: 6%; top: -20px; rotate: 18deg; }
.lap-star .star-outline { fill: none; stroke: #fff; stroke-width: 24; stroke-linejoin: round; }
.lap-star .star-fill { fill: var(--detail); stroke: var(--accent); stroke-width: 7; stroke-linejoin: round; }
.lap-tag {
  left: 4%; bottom: -12px; rotate: 6deg;
  padding: 4px 12px; border-radius: 8px;
  background: var(--accent); color: var(--text); border: 3px solid #fff;
  font-weight: 900; font-size: .8rem; letter-spacing: .1em;
}

/* setas da tela: botão rosa com seta azul e borda branca (identidade visual) */
.viewer-arrow {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--detail); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--accent), 0 8px 18px rgba(0, 0, 0, .4);
  opacity: 0;
  transition: opacity .5s var(--ease), scale .6s var(--ios), rotate .6s var(--ios), background .4s;
}
.viewer-arrow svg { width: 24px; fill: none; stroke: var(--accent); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.viewer-stage:hover .viewer-arrow { opacity: 1; }
.viewer-arrow:hover { scale: 1.1; background: #ffc8f0; }
.viewer-prev:hover { rotate: -8deg; }
.viewer-next:hover { rotate: 8deg; }
.viewer-arrow:active { scale: .94; }
.viewer-caption {
  display: flex; justify-content: center; gap: 12px; margin-top: 26px;
  font-size: .95rem; font-weight: 700; color: var(--text-soft);
}
.viewer-count { color: var(--detail); }
.viewer-stage {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 10px; background: #0b0b0d;
  box-shadow: 0 0 0 3px var(--accent);
}

/* selo "LIVE" (eventos online) */
.live-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  background: #ff3b5c; color: #fff; border: 3px solid var(--text);
  font-weight: 900; font-size: 1.15rem; letter-spacing: .06em;
}
.live-pill em { font-family: var(--cursive); font-weight: 600; font-style: normal; letter-spacing: 0; font-size: 1.3rem; }
.live-dot { width: 11px; height: 11px; border-radius: 50%; background: #fff; animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: .25; } }
/* fundo desfocado com o próprio banner: qualquer formato (horizontal ou vertical) fica bonito */
.viewer-blur {
  position: absolute; inset: -40px;
  background: var(--img) center / cover, linear-gradient(135deg, var(--detail), var(--accent));
  filter: blur(36px) saturate(140%) brightness(.55);
  transition: background-image .6s;
}
/* as imagens ficam empilhadas: a nova entra deslizando pelo lado da seta clicada */
.viewer-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; }
.viewer-img:not([src]) { opacity: 0; }
/* legenda pequena: banner de site ou capa de mesa */
.viewer-kind {
  position: absolute; top: 2.7cqw; left: 9.4cqw; translate: 0 -50%; z-index: 2; /* na barra do site de mentirinha, logo depois da estrela */
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(20, 20, 22, .55); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text);
  transition: opacity .4s var(--ease);
}
.viewer-kind::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--detail); }
.viewer-kind:empty { opacity: 0; }
.viewer-prev { left: 16px; }
.viewer-next { right: 16px; }
.viewer-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); }
.viewer-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--detail), var(--accent)); }
.viewer-progress i.is-running { width: 100%; transition: width var(--auto, 5s) linear; }
.viewer:hover .viewer-progress i.is-running { transition: none; width: 0; } /* hover pausa a troca */

/* ---------- site de mentirinha dentro da tela do notebook ----------
   tudo medido em cqw (largura da tela), para o "site" encolher junto com o notebook */
.viewer-stage { container-type: inline-size; }
.viewer-stage .viewer-blur { display: none; }
/* só formas, sem texto: cinza do site + azul, rosa e creme da paleta */
.fake-site { background: #18181b; overflow: hidden; }
.fake-site i { display: block; }
.fs-nav {
  display: flex; align-items: center; gap: 1.4cqw; height: 5.4cqw; padding: 0 6cqw;
  background: #202024; border-bottom: 1px solid rgba(255, 244, 241, .06);
}
.fs-logo { width: 2.2cqw; flex: none; fill: var(--detail); rotate: 15deg; }
.fs-pill { height: 2.4cqw; border-radius: 1.2cqw; }
.fs-ghost { margin-left: auto; } /* botões continuam no canto direito */
.fs-ghost { width: 7cqw; border: 1px solid rgba(255, 244, 241, .18); }
.fs-btn { width: 5.6cqw; background: var(--accent); }
.fs-body { padding: 2.2cqw 6cqw 0; }
/* o banner aparece sempre inteiro, na proporção dele: encolhe pela altura se for alto e fica centralizado */
.fs-hero {
  display: block; width: auto; height: auto; max-width: 100%; max-height: 44cqw; margin: 0 auto;
  border-radius: 1.1cqw; box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .45);
}
.fs-kicker { width: 10cqw; height: .8cqw; margin-top: 2.2cqw; border-radius: 1cqw; background: var(--detail); opacity: .8; }
.fs-title { width: 34cqw; height: 2.4cqw; margin-top: 1cqw; border-radius: .8cqw; background: var(--text); }
.fs-text { display: grid; gap: .9cqw; margin-top: 1.8cqw; }
.fs-line { height: .8cqw; width: var(--w, 90%); border-radius: 1cqw; background: rgba(255, 244, 241, .1); }
/* página da mesa */
.fs-crumbs { display: flex; gap: .8cqw; margin-bottom: 1.4cqw; }
.fs-crumbs i { width: 4cqw; height: .7cqw; border-radius: 1cqw; background: rgba(255, 244, 241, .16); }
.fs-crumbs i:last-child { width: 9cqw; background: rgba(255, 182, 235, .45); }
.fs-cover { max-height: 36cqw; }
.fs-cols { display: grid; grid-template-columns: 1fr 26cqw; gap: 3cqw; margin-top: 2.2cqw; align-items: start; }
.fs-cols .fs-title { margin-top: 0; width: 28cqw; height: 2cqw; }
.fs-cols .fs-kicker { width: 14cqw; margin-top: 1cqw; background: rgba(255, 244, 241, .22); opacity: 1; }
/* nome do mestre da mesa, discreto, no lugar da linha embaixo do título */
.fs-gm { display: flex; align-items: center; gap: .8cqw; margin-top: 1.2cqw; font-size: 1.25cqw; font-weight: 700; color: rgba(255, 244, 241, .6); letter-spacing: .02em; }
.fs-gm span { width: 2cqw; height: 2cqw; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--detail), var(--accent)); }
.fs-tags { display: flex; gap: .7cqw; margin-top: 1.2cqw; }
.fs-tags i { width: 6cqw; height: 1.6cqw; border-radius: 1cqw; }
.fs-tags .t-pink { background: var(--detail); }
.fs-tags .t-blue { width: 3.4cqw; background: var(--accent); }
.fs-card { display: grid; gap: 1cqw; padding: 1.6cqw; border-radius: 1.2cqw; background: #202024; border: 1px solid rgba(255, 244, 241, .08); }
.fs-line.is-soft { background: rgba(255, 244, 241, .14); }
.fs-dots { display: flex; gap: .5cqw; justify-content: flex-end; }
.fs-dots i { width: .9cqw; height: .9cqw; border-radius: 50%; background: var(--detail); }
.fs-dots i:nth-child(n + 3) { background: rgba(255, 244, 241, .2); }
.fs-cta { height: 3cqw; border-radius: .9cqw; background: linear-gradient(90deg, var(--accent), #6b66ff); }
.fs-cta-ghost { background: none; border: 1px solid rgba(255, 182, 235, .45); }
.viewer-empty {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  font-weight: 700; color: var(--text-soft);
}

/* Adesivos dos Banners */
.ticket {
  display: grid; justify-items: center; gap: 2px;
  padding: 14px 28px; border-radius: 10px;
  background: var(--detail); color: var(--accent);
  /* recortes laterais de ingresso */
  -webkit-mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 11px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
        radial-gradient(circle 11px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket-top, .ticket-no { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ticket strong { font-family: var(--cursive); font-weight: 600; font-size: 1.7rem; line-height: 1; padding: 4px 0; border-block: 2px dashed rgba(19, 13, 235, .5); }

/* ingresso e "Save the date" na faixa livre acima do título */
.b-ticket { --x: 7%;  --y: 24px; }
.b-date   { --x: 76%; --y: 44px; }
.b-event  { --x: 5%;  --y: 80%; }
.b-bubble { --x: 80%; --y: 84%; }
.b-d20    { --x: 91%; --y: 44%; }

/* =================== LOGOS & BRANDING =================== */
/* fundo azul da marca (como o About), subindo por cima do cinza dos banners */
.branding {
  --bg: var(--accent); /* canto dobrado das etiquetas */
  position: relative; z-index: 7;
  min-height: 100svh;
  padding: 60px 16px 170px; /* em cima, pouco espaço: já vem emendada no "Sobre mim" */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background:
    radial-gradient(rgba(255, 244, 241, .16) 1.2px, transparent 1.6px) 0 0 / 34px 34px,
    linear-gradient(to bottom, var(--accent), transparent 30%),
    radial-gradient(ellipse at 85% 40%, rgba(255, 182, 235, .2), transparent 50%),
    radial-gradient(ellipse at 10% 100%, rgba(5, 2, 120, .6), transparent 60%),
    var(--accent);
  /* continua o azul do "Sobre mim" sem borda nem sombra: as duas parecem uma seção só */
}
.branding .section-label { background: rgba(28, 28, 31, .8); border-color: rgba(255, 255, 255, .16); color: var(--text); }
.branding .section-sub { color: rgba(255, 244, 241, .8); }
.branding .section-sub strong { background: var(--detail); color: var(--accent); }

.brand-win {
  position: relative; z-index: 2; width: min(1120px, 100%);
  background: rgba(28, 28, 31, .88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 40px 90px rgba(3, 0, 70, .55);
}
.brand-win .win-bar { height: 54px; }

/* controle segmentado estilo iOS, com a "pílula" deslizando até a aba ativa */
.seg {
  --i: 0; --n: 3;
  position: relative; flex: 1; max-width: 420px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(var(--n), 1fr);
  padding: 3px; border-radius: 11px;
  background: rgba(255, 255, 255, .08);
}
.seg::before {
  content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px;
  width: calc((100% - 6px) / var(--n)); border-radius: 8px;
  background: var(--detail);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
  transform: translateX(calc(var(--i) * 100%));
  transition: transform .7s var(--ios);
}
.seg button {
  position: relative; z-index: 1; padding: 7px 10px;
  font-size: .8rem; font-weight: 700; text-align: center; color: var(--text-soft);
  white-space: nowrap; transition: color .4s var(--ease);
}
.seg button[aria-selected="true"] { color: var(--accent); }

.brand-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 32px; padding: 32px; }
.brand-info { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.brand-kicker { font-family: var(--cursive); font-weight: 600; font-size: 1.5rem; color: var(--detail); line-height: 1; }
.brand-name { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: .9; }
.brand-desc { color: rgba(255, 244, 241, .75); line-height: 1.65; }
.brand-info .pill-btn { align-self: flex-start; margin-top: 4px; }

/* galeria em "bento": uma imagem grande + duas menores */
.brand-bento { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 460px; }
.bento-tile {
  border-radius: 18px; overflow: hidden; cursor: zoom-in;
  background: var(--img) center / cover, rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: scale 1s var(--ios-soft), background-size 1.2s var(--ease);
}
.bento-tile.t0 { grid-row: span 2; }
.bento-tile:hover { scale: 1.02; }

/* Adesivos do Branding */
.pen-tool { width: 120px; }
.pen-tool svg { display: block; overflow: visible; }
.pen-curve-out { fill: none; stroke: #fff; stroke-width: 14; stroke-linecap: round; }
.pen-curve { fill: none; stroke: var(--detail); stroke-width: 6; stroke-linecap: round; }
.pen-handle { stroke: #fff; stroke-width: 2.5; }
.pen-knob { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.pen-anchor { fill: var(--detail); stroke: #fff; stroke-width: 4; }

.swatches { display: flex; }
.swatches span {
  width: 54px; height: 54px; border-radius: 50%; margin-left: -16px;
  background: var(--c); border: 4px solid #fff;
}
.swatches span:first-child { margin-left: 0; }

.type-card {
  display: grid; justify-items: center; padding: 12px 22px 10px; border-radius: 16px;
  background: var(--text); color: var(--accent); border: 3px solid #fff;
}
.type-card strong { font-family: var(--cursive); font-weight: 600; font-size: 2.8rem; line-height: 1; }
.type-card span { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.star-sticker { width: 58px; overflow: visible; }
.star-sticker .star-outline { fill: none; stroke: #fff; stroke-width: 24; stroke-linejoin: round; }
.star-sticker .star-fill { fill: var(--detail); stroke: var(--accent); stroke-width: 7; stroke-linejoin: round; }

.g-pen    { --x: 5%;  --y: 40px; }
.g-swatch { --x: 80%; --y: 44px; }
.g-type   { --x: 5%;  --y: 82%; }
.g-tag    { --x: 80%; --y: 86%; }
.g-star   { --x: 92%; --y: 46%; }

/* =================== SCRAPBOOK (anotações à mão, fitas, rabiscos) =================== */
/* fita adesiva rosa translúcida */
.washi {
  position: absolute; z-index: 3; width: 78px; height: 24px; pointer-events: none;
  background: rgba(255, 182, 235, .78);
  clip-path: polygon(3% 0, 97% 4%, 100% 25%, 96% 50%, 100% 78%, 97% 100%, 2% 96%, 0 70%, 4% 48%, 0 22%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}
.washi-tl { top: -9px; left: -18px; rotate: -32deg; }
.washi-br { bottom: -9px; right: -18px; rotate: -32deg; background: rgba(255, 244, 241, .7); }

/* anotação manuscrita com seta desenhada */
.hand-note {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--cursive); font-weight: 600; font-size: 1.3rem; line-height: 1;
  color: var(--detail); rotate: -5deg; white-space: nowrap;
}
.hand-arrow { display: block; width: 46px; height: auto; flex: none; overflow: visible; fill: none; stroke: var(--detail); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* sublinhado rabiscado */
.scribble-under { position: relative; display: inline-block; }
.scribble-under::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: -.18em; height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C20 3 38 12 58 7 S96 3 118 8' fill='none' stroke='%23FFB6EB' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
/* palavra circulada à mão */
.circled { position: relative; display: inline-block; }
.circled::before {
  content: ""; position: absolute; inset: -5px -10px; rotate: -4deg;
  border: 2px solid var(--detail); border-radius: 50% 45% 55% 48%;
  pointer-events: none;
}

/* campos da ficha como adesivos coloridos, levemente tortos */
.specs-scrap div,
.specs-scrap div:hover {
  position: relative; rotate: var(--r, 0deg);
  background: var(--card-bg); border: 3px solid #fff; border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
  transition: rotate .8s var(--ios), scale .8s var(--ios);
}
.specs-scrap div:hover { rotate: 0deg; scale: 1.03; }
.specs-scrap dt { color: var(--card-soft) !important; display: flex; align-items: center; gap: 5px; }
.specs-scrap dt::before { content: "✦"; font-size: .8rem; }
.specs-scrap dd { color: var(--card-ink); font-weight: 800; }
.specs-scrap div:nth-child(4n + 1) { --r: -1.4deg; --card-bg: var(--detail); --card-ink: var(--accent); --card-soft: rgba(19, 13, 235, .65); }
.specs-scrap div:nth-child(4n + 2) { --r: 1.2deg;  --card-bg: var(--text);   --card-ink: var(--accent); --card-soft: #d36fbf; }
.specs-scrap div:nth-child(4n + 3) { --r: .9deg;   --card-bg: var(--accent); --card-ink: var(--text);   --card-soft: var(--detail); }
.specs-scrap div:nth-child(4n)     { --r: -1deg;   --card-bg: #e6e5ff;       --card-ink: #1d2329;       --card-soft: var(--accent); }
.specs-scrap .circled::before { border-color: var(--accent); }
/* Branding: categoria e ano discretos, sem competir com as fotos */
.brand-specs { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-specs div { display: flex; align-items: baseline; gap: 8px; padding: 7px 14px; border-radius: 999px; }
.brand-specs dd { margin: 0; font-size: .9rem; }
/* selo-adesivo "Nº1 fav do ano" no canto de cima da janela, à esquerda */
.brand-body { position: relative; }
.fav-badge {
  position: absolute; z-index: 4; top: 2px; left: 6px;
  width: 78px; height: 78px; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--accent); rotate: -12deg;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .45));
  transition: rotate 1s var(--ios-soft), scale 1s var(--ios-soft);
  animation: fav-pop 1.4s .4s both var(--ios-soft);
}
.fav-badge:hover { rotate: 0deg; scale: 1.08; }
.fav-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.seal-cut { fill: #fff; stroke: #fff; stroke-width: 7; stroke-linejoin: round; } /* borda branca de adesivo recortado */
.seal { fill: var(--detail); }
.seal-ring { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 3 3; }
/* "Nº1" no centro e "fav do ano" curvado pela parte de baixo do círculo */
.seal-num { fill: var(--accent); font-size: 30px; font-weight: 900; letter-spacing: -1.5px; }
.seal-no { font-size: 12px; letter-spacing: 0; baseline-shift: 11px; }
.seal-text { fill: var(--accent); font-family: var(--cursive); font-weight: 600; font-size: 13px; letter-spacing: .5px; }
@keyframes fav-pop { from { scale: 0; rotate: -40deg; } to { scale: 1; rotate: -12deg; } }
.mini-star { position: absolute; top: -12px; right: -10px; width: 28px; rotate: 15deg; overflow: visible; }
.mini-star .star-outline { fill: none; stroke: #fff; stroke-width: 24; stroke-linejoin: round; }
.mini-star .star-fill { fill: var(--detail); stroke: var(--accent); stroke-width: 7; stroke-linejoin: round; }

/* Sobre mim */
.about-id { position: relative; }
.about-portrait { position: relative; rotate: -2deg; }
.offscreen-title {
  font-family: var(--cursive) !important; font-weight: 600 !important; font-size: 1.2rem !important;
  letter-spacing: 0 !important; text-transform: none !important; color: var(--detail) !important;
  rotate: -2deg; margin-bottom: 12px !important;
}
/* hobbies como adesivos coloridos com borda branca */
.offscreen-list li {
  border: 2px solid #fff !important; color: #1d2329;
  rotate: var(--r, 0deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}
.offscreen-list li::before { background: var(--accent) !important; }
.offscreen-list li:nth-child(3n + 1) { background: var(--detail) !important; --r: -2deg; }
.offscreen-list li:nth-child(3n + 2) { background: var(--text) !important; --r: 1.5deg; }
.offscreen-list li:nth-child(3n)     { background: #e6e5ff !important; --r: -1deg; }
.offscreen-list li:hover { rotate: 0deg; }
/* hobbies em etiquetas pequenas: são detalhe, não o foco */
.offscreen-list { gap: 6px; }
/* sem cor de destaque: vidro discreto, igual para todas */
.offscreen-list li, .offscreen-list li:nth-child(n) {
  gap: 6px; padding: 5px 11px; font-size: .8rem; font-weight: 600;
  background: rgba(255, 255, 255, .07) !important; border: 1px solid rgba(255, 255, 255, .16) !important;
  color: rgba(255, 244, 241, .85); box-shadow: none;
}
.offscreen-list li::before { width: 5px; height: 5px; background: var(--detail) !important; }
.offscreen-list li:hover { background: rgba(255, 255, 255, .12) !important; }
.offscreen-title { font-size: 1.05rem !important; margin-bottom: 14px !important; }
.about-ctas { align-items: center; gap: 18px !important; }

/* Branding */
.brand-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.brand-cta .pill-btn { margin: 0; }
.brand-bento { position: relative; }
.bento-tile { position: relative; overflow: visible !important; rotate: var(--r, 0deg); }
.bento-tile.t0 { --r: -1deg; }
.bento-tile.t1 { --r: 1.6deg; }
.bento-tile.t2 { --r: -1.4deg; }
.bento-tile .washi-tl { width: 70px; }
.bento-tile.t1 .washi-tl { left: auto; right: -16px; rotate: 30deg; background: rgba(255, 244, 241, .72); }
.bento-tile:hover { rotate: 0deg; }
/* anotações curtas coladas com fita, embaixo das fotos */
.brand-bento { height: 400px; }
.brand-notes {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 18px;
}
.brand-notes li {
  position: relative; padding: 10px 16px 8px; border-radius: 4px 4px 12px 4px;
  background: var(--text); color: var(--accent);
  font-family: var(--cursive); font-weight: 600; font-size: 1.1rem; line-height: 1; white-space: nowrap;
  rotate: var(--r, 0deg); box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
}
.brand-notes li:nth-child(1) { --r: -3deg; }
.brand-notes li:nth-child(2) { --r: 2deg; background: var(--detail); }
.brand-notes li:nth-child(3) { --r: -1.5deg; }
.brand-notes .washi { top: -10px; left: 50%; translate: -50% 0; rotate: 4deg; width: 46px; height: 18px; }
.brand-notes li:nth-child(2) .washi { background: rgba(255, 244, 241, .75); }

/* =================== WEB3 & COMUNIDADES =================== */
/* volta ao cinza pontilhado, subindo por cima do azul do branding */
.web3 {
  position: relative; z-index: 9;
  min-height: 100svh;
  padding: 150px 16px 170px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--dots), var(--bg);
  background-attachment: fixed;
  border-radius: 48px 48px 0 0;
  margin-top: -48px;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .45);
}

/* janela no estilo app de chat */
/* tamanho de janela do app: altura fixa, e o chat rola por dentro (a 1ª mensagem aparece sem rolar a página) */
.dc-win { position: relative; z-index: 2; width: min(1100px, 100%); }
.dc-body { display: grid; grid-template-columns: 76px 230px 1fr; height: clamp(480px, 100svh - 220px, 660px); }
.dc-rail, .dc-side { min-height: 0; overflow: hidden; }
.dc-rail::-webkit-scrollbar, .dc-side::-webkit-scrollbar { display: none; }
.dc-main { min-height: 0; }
/* sem rolagem própria: a rodinha/dedo em cima da janela sempre rola o site; o chat desce sozinho a cada mensagem */
.dc-chat { min-height: 0; overflow: hidden; scrollbar-width: thin; scrollbar-color: #1a1b1e transparent; }
/* espaçador: com poucas mensagens elas ficam embaixo, perto do "digitando…", como no app */
.dc-chat::before { content: ""; margin-top: auto; }

.dc-rail {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px 0; background: rgba(0, 0, 0, .28);
}
.dc-server {
  position: relative; width: 48px; height: 48px; flex: none;
  border-radius: 50%; background: rgba(255, 255, 255, .06);
  transition: border-radius .6s var(--ios-soft), scale .6s var(--ios-soft);
}
/* o recorte fica na imagem, para o tracinho branco poder sair para fora */
.dc-server img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.dc-server:hover { border-radius: 16px; scale: 1.06; }
/* tracinho branco à esquerda, como no app */
.dc-server::before {
  content: ""; position: absolute; left: -14px; top: 50%; width: 4px; height: 8px;
  border-radius: 0 4px 4px 0; background: var(--text); translate: 0 -50%; opacity: 0;
  transition: height .5s var(--ios-soft), opacity .3s;
}
.dc-server:hover::before { opacity: 1; height: 22px; }
.dc-home { background: var(--accent); border-radius: 16px; display: grid; place-items: center; }
.dc-home img { width: 74%; height: auto; object-fit: contain; border-radius: 0; }
.dc-home::before { opacity: 1; height: 36px; }
.dc-sep { width: 32px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.dc-add { display: grid; place-items: center; background: #2b2d31; transition: border-radius .6s var(--ios-soft), background .4s var(--ease); }
.dc-add svg { width: 22px; fill: none; stroke: #23a55a; stroke-width: 2; stroke-linecap: round; transition: stroke .4s var(--ease); }
.dc-add:hover { background: #23a55a; }
.dc-add:hover svg { stroke: #fff; }

/* selos de notificação, como no app: borda da cor do fundo da barra, para "recortar" o ícone */
.dc-rail { background: #1e1f22; }
.dc-ping {
  position: absolute; right: -4px; bottom: -4px; z-index: 1;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  display: grid; place-items: center;
  background: #f23f43; color: #fff; font-size: .68rem; font-weight: 800; line-height: 1;
  border: 3px solid #1e1f22; box-sizing: content-box;
}
.dc-live {
  position: absolute; right: -5px; top: -5px; z-index: 1;
  width: 20px; height: 18px; border-radius: 6px; display: grid; place-items: center;
  background: #4e5058; border: 3px solid #1e1f22;
}
.dc-live svg { width: 12px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* tracinho curto à esquerda = servidor com mensagens não lidas */
.dc-server.is-unread::before { opacity: 1; height: 8px; }

.dc-side { display: flex; flex-direction: column; padding: 12px 10px; background: rgba(255, 255, 255, .03); border-right: 1px solid rgba(255, 255, 255, .06); }
.dc-search { padding: 7px 10px; border-radius: 6px; background: rgba(0, 0, 0, .3); font-size: .78rem; color: var(--text-soft); }
.dc-cat { margin: 20px 8px 8px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); }
.dc-dms { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dc-dms li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; transition: background .4s var(--ease); }
.dc-dms li:hover { background: rgba(255, 255, 255, .07); }
.dc-ico { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--detail); }
.dc-dms li:nth-child(even) .dc-ico { background: var(--accent); }
.dc-ico svg { width: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dc-dms li:nth-child(even) .dc-ico svg { stroke: var(--text); }
.dc-dms p, .dc-me p { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.dc-dms strong, .dc-me strong { font-size: .9rem; }
.dc-dms span, .dc-me span { font-size: .72rem; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 8px 2px; border-top: 1px solid rgba(255, 255, 255, .06); }

.dc-avatar { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--accent); }
.dc-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.dc-status { position: absolute; right: -2px; bottom: -2px; width: 14px; height: 14px; border-radius: 50%; background: #3ba55d; border: 3px solid #26262b; }

.dc-main { display: flex; flex-direction: column; min-width: 0; }
.dc-head { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-weight: 800; }
.dc-hash { font-size: 1.3rem; font-weight: 400; color: var(--text-soft); }
.dc-topic { margin-left: 8px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .14); font-size: .8rem; font-weight: 500; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-chat { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 18px; }
.dc-msg { display: flex; gap: 14px; }
.dc-msg-body { min-width: 0; flex: 1; font-size: .95rem; line-height: 1.5; }
.dc-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.dc-meta strong { color: var(--detail); }
.dc-badge { padding: 1px 6px; border-radius: 4px; background: var(--accent); font-size: .6rem; font-weight: 800; letter-spacing: .04em; }
.dc-meta time { font-size: .72rem; color: var(--text-soft); }
.dc-attach { margin: 10px 0 0; max-width: 720px; border-radius: 12px; overflow: hidden; }
.dc-attach img { display: block; width: 100%; height: auto; transition: scale 1.2s var(--ios-soft); }
.dc-attach:hover img { scale: 1.03; }

.dc-reacts { display: flex; gap: 6px; margin-top: 8px; }
.dc-react {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 8px;
  background: rgba(255, 255, 255, .06); border: 1px solid transparent; color: var(--text); font: inherit; font-size: .85rem;
  transition: background .4s var(--ease), border-color .4s var(--ease), scale .5s var(--ios);
}
.dc-react:hover { background: rgba(255, 255, 255, .1); }
.dc-react:active { scale: .92; }
.dc-react.is-on { background: rgba(19, 13, 235, .3); border-color: var(--accent); }

/* servidores dos projetos: botão com o tracinho fixo quando selecionado */
.dc-rail-projects { display: contents; }
.dc-project { padding: 0; border: 0; cursor: pointer; }
.dc-project.is-active { border-radius: 16px; }
.dc-project.is-active::before { opacity: 1; height: 36px; }
.dc-project.is-active img { box-shadow: 0 0 0 2px var(--detail); }

/* projetos como cards de servidor (banner, ícone, nome verificado) */
.dc-showcase { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 10px; max-width: 720px; }
.dc-card {
  border-radius: 12px; overflow: hidden; background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: translate .8s var(--ios-soft), border-color .5s var(--ease), box-shadow .8s var(--ios-soft);
}
.dc-card:hover { translate: 0 -4px; box-shadow: 0 14px 30px rgba(0, 0, 0, .4); }
.dc-card.is-active { border-color: var(--detail); }
.dc-card-banner { aspect-ratio: 2 / 1; overflow: hidden; background: #111; }
.dc-card-banner img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ios-soft); }
.dc-card:hover .dc-card-banner img { scale: 1.05; }
.dc-card-body { position: relative; padding: 30px 14px 14px; }
.dc-card-icon {
  position: absolute; top: -26px; left: 12px; width: 52px; height: 52px;
  border-radius: 16px; overflow: hidden; border: 4px solid #232327; background: #111;
}
.dc-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.dc-card-name { display: flex; align-items: center; gap: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.dc-verified { width: 16px; flex: none; fill: #5865f2; }
.dc-verified .tick { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dc-card-made { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: .74rem; color: var(--text-soft); }
.dc-card-made span { display: inline-flex; align-items: center; gap: 5px; }
.dc-card-made i { width: 8px; height: 8px; border-radius: 50%; background: var(--text-soft); }
.dc-card-made i.on { background: #3ba55d; }

/* prévia do servidor configurado */
.dc-setup {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px;
  margin-top: 10px; max-width: 560px; padding: 16px 18px; border-radius: 12px;
  background: rgba(0, 0, 0, .28); border-left: 4px solid var(--detail);
}
.dc-setup-title { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--detail); margin-bottom: 6px; }
.dc-setup-col .dc-setup-title:not(:first-child) { margin-top: 14px; }
.dc-cat-mini { margin: 8px 0 2px; font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text-soft); }
.dc-ch { display: flex; gap: 6px; padding: 2px 6px; border-radius: 5px; font-size: .86rem; color: rgba(255, 244, 241, .8); transition: background .4s var(--ease); }
.dc-ch span { color: var(--text-soft); }
.dc-ch:hover { background: rgba(255, 255, 255, .07); }
.dc-roles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dc-roles li {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; font-weight: 600;
}
.dc-roles li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.dc-extras li::before { content: "✓"; width: auto; height: auto; background: none; color: #3ba55d; font-weight: 900; }

.dc-typing { display: flex; align-items: center; gap: 6px; padding: 0 18px 6px; font-size: .75rem; color: var(--text-soft); }
.dc-typing strong { color: var(--text); }
.dc-dots { display: inline-flex; gap: 3px; margin-right: 2px; }
.dc-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--text); animation: dc-dot 1.4s ease-in-out infinite; }
.dc-dots i:nth-child(2) { animation-delay: .2s; }
.dc-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dc-dot { 0%, 60%, 100% { opacity: .3; translate: 0 0; } 30% { opacity: 1; translate: 0 -3px; } }
.dc-input { margin: 0 18px 18px; padding: 12px 16px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: .88rem; color: var(--text-soft); }

/* conversa ao vivo: cada mensagem chega depois do "Mari está digitando…", logo acima dele, e empurra as
   anteriores para cima (como no app). O script reserva a altura final do chat, então a página não pula. */
.dc-chat.is-live .dc-msg { display: none; }
.dc-chat.is-live .dc-msg.is-in { display: flex; animation: dc-arrive 1s both var(--ios-soft); }
@keyframes dc-arrive { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.dc-typing { opacity: 0; padding-top: 6px; transition: opacity .4s var(--ease); }
.dc-typing.is-on { opacity: 1; }
.dc-cta {
  display: inline-flex; margin-top: 10px; padding: 9px 18px; border-radius: 8px;
  background: var(--accent); color: var(--text); font-weight: 700; font-size: .88rem;
  transition: background .4s var(--ease), scale .5s var(--ios);
}
.dc-cta:hover { background: #2a25ff; scale: 1.04; }

/* Adesivos da Web3 */
.mention {
  padding: 8px 16px; border-radius: 10px;
  background: rgba(88, 101, 242, .35); color: #dfe2ff; border: 3px solid var(--text);
  font-weight: 800; font-size: 1.25rem;
}
.ping {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #ff3b5c; color: #fff; border: 4px solid var(--text);
  font-weight: 900; font-size: 1.6rem;
}
.web3 .bubble { background: var(--detail); color: var(--accent); }
.w-gm        { --x: 7%;  --y: 50px; }
.w-wagmi     { --x: 78%; --y: 40px; } /* acima da linha do título (em tela larga o título vai até a borda) */
.w-community { --x: 4%;  --y: 84%; }
.w-mention   { --x: 82%; --y: 86%; }
.w-nft       { --x: 22%; --y: 26px; }
.w-ping      { --x: 93%; --y: 44%; }

@media (max-width: 900px) {
  .dc-body { grid-template-columns: 64px 1fr; }
  .dc-side { display: none; }
  .dc-server { width: 42px; height: 42px; }
}
@media (max-width: 600px) {
  .dc-body { grid-template-columns: 1fr; }
  .dc-rail { display: none; }
  .dc-chat { padding: 14px; }
  .dc-topic { display: none; }
  .dc-setup { grid-template-columns: 1fr; gap: 6px; }
}

/* =================== HOBBIES =================== */
/* fundo rosa da paleta, com pontinhos azuis */
.hobbies {
  --bg: var(--detail); /* canto dobrado das etiquetas */
  position: relative; z-index: 10;
  min-height: 100svh;
  padding: 150px 16px 170px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background:
    radial-gradient(rgba(19, 13, 235, .18) 1.2px, transparent 1.6px) 0 0 / 34px 34px,
    radial-gradient(ellipse at 15% 0%, rgba(255, 244, 241, .5), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(19, 13, 235, .18), transparent 60%),
    var(--detail);
  border-radius: 48px 48px 0 0;
  margin-top: -48px;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .45);
  color: var(--accent);
}
.hobbies .section-label { background: var(--accent); border-color: var(--accent); color: var(--text); }
.hobbies .section-title { color: var(--accent); }
.hobbies .section-title .cursive { color: var(--text); text-shadow: 3px 3px 0 var(--accent); }
.hobbies .section-sub { color: rgba(19, 13, 235, .8); }

/* mural: as polaroids ficam espalhadas e podem ser arrastadas */
.hobby-wall { position: relative; z-index: 2; width: min(1100px, 100%); height: 780px; }
.polaroid {
  width: 230px; margin: 0; padding: 12px 12px 0;
  background: #fffdfb; border-radius: 4px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .04);
  filter: drop-shadow(0 14px 22px rgba(60, 0, 80, .28));
}
.polaroid.is-dragging { filter: drop-shadow(0 26px 36px rgba(60, 0, 80, .35)); }
.pol-photo {
  aspect-ratio: 1; overflow: hidden; border-radius: 2px;
  background:
    repeating-linear-gradient(45deg, rgba(19, 13, 235, .06) 0 10px, transparent 10px 20px),
    #f3eefc;
  display: grid; place-items: center;
}
.pol-photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ph { font-family: var(--cursive); font-weight: 600; font-size: 1.2rem; color: rgba(19, 13, 235, .45); }
.polaroid figcaption {
  padding: 12px 4px 16px; text-align: center;
  font-family: var(--cursive); font-weight: 600; font-size: 1.3rem; line-height: 1; color: var(--accent);
}
.pol-tape { top: -12px; left: 50%; translate: -50% 0; rotate: -4deg; }
.polaroid:nth-child(even) .pol-tape { rotate: 5deg; background: rgba(19, 13, 235, .55); }
/* anotação à mão colada na lateral da foto */
.pol-note {
  position: absolute; right: -26px; bottom: 58px; padding: 6px 12px 5px;
  background: var(--accent); color: var(--text); border-radius: 4px 4px 12px 4px;
  font-family: var(--cursive); font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  rotate: 8deg; box-shadow: 0 6px 12px rgba(0, 0, 0, .2);
}
.hb-3 .pol-note { right: -34px; bottom: auto; top: 54px; rotate: -6deg; } /* no alto: embaixo a polaroid vizinha cobria */

/* pixel art: polaroids menores, cada uma no formato da sua arte */
.pol-mini { width: 190px; padding: 10px 10px 0; }
.pol-mini figcaption { font-size: 1.15rem; padding: 10px 2px 14px; }
.pol-pixel img { image-rendering: pixelated; }
/* pixel art sem cortar: a foto segue a proporção da imagem */
.pol-mini.pol-pixel .pol-photo { aspect-ratio: var(--ar, 1); background: var(--accent); }
.pol-mini.pol-pixel .pol-photo img { object-fit: contain; }
.hb-6 { width: 150px; }
/* Kagura: o GIF tem muita margem azul, então a foto mostra só a janela inteira da arte */
.pol-kagura { width: 250px; }
.pol-kagura .pol-photo { position: relative; aspect-ratio: .965; display: block; background: #2b66ff; }
.pol-kagura .pol-photo img { position: absolute; width: 122%; height: auto; max-width: none; left: -12.8%; top: -60%; }
/* coraçãozinho desenhado à mão na legenda */
.doodle-heart { width: 22px; vertical-align: -3px; margin-left: 2px; overflow: visible; fill: none; stroke: var(--detail); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; rotate: 10deg; }
.pol-duck { width: 210px; }
.hb-9 .pol-note { right: -30px; bottom: 70px; rotate: 7deg; }

.hb-7  { --x: 2%;  --y: 80px; }
.hb-3  { --x: 21%; --y: 10px; }
.hb-5  { --x: 46%; --y: 150px; }
.hb-4  { --x: 65%; --y: 30px; }
.hb-6  { --x: 84%; --y: 110px; }
.hb-8  { --x: 5%;  --y: 420px; }
.hb-9  { --x: 27%; --y: 440px; }
.hb-10 { --x: 51%; --y: 470px; }
.hb-11 { --x: 74%; --y: 430px; }

/* janela com as imagens grandes, lado a lado */
/* fica acima das outras janelas: dá para ampliar uma imagem de dentro do case */
.hb-backdrop { position: fixed; inset: 0; z-index: 9100; background: rgba(8, 8, 10, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hb-view {
  position: fixed; z-index: 9101; left: 50%; top: 50%; translate: -50% -50%;
  width: min(1200px, calc(100vw - 48px)); height: min(820px, calc(100svh - 48px));
  display: flex; flex-direction: column; color: var(--text);
}
.hb-backdrop[hidden], .hb-view[hidden] { display: none; }
.hb-strip {
  flex: 1; min-height: 0; display: flex; gap: 16px; padding: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; align-items: center;
  scrollbar-width: thin; scrollbar-color: var(--detail) transparent;
}
.hb-strip img { height: 100%; width: auto; max-width: none; flex: none; scroll-snap-align: center; border-radius: 10px; object-fit: contain; }
.hb-strip img:only-child { margin: 0 auto; height: auto; max-height: 100%; max-width: 100%; }
/* imagens dos trabalhos que ampliam ao clicar */
.case-fig img, .fs-hero, .dc-attach img, .dc-card-banner img { cursor: zoom-in; }
.hb-view.is-pixel .hb-strip img { image-rendering: pixelated; height: min(100%, 560px); }

/* adesivos da seção, ajustados para o fundo rosa */
.hobbies .note { background: var(--text); color: var(--accent); }
.hobbies .bubble { background: var(--accent); color: var(--text); }
.hobbies .d20-body { fill: var(--text); }
.hobbies .star-sticker .star-fill { fill: var(--accent); stroke: var(--text); }
.pixel-heart { width: 64px; }
.px-out { fill: #fff; }
.px-in { fill: #ff3b5c; }
.px-shine { fill: #fff; }
.hb-note   { --x: 4%;  --y: 40px; }
.hb-bubble { --x: 78%; --y: 44px; }
.hb-heart  { --x: 8%;  --y: 86%; }
.hb-d20    { --x: 88%; --y: 82%; }
.hb-star   { --x: 50%; --y: 90%; }

/* ---------- HOBBIES no celular: mural em 2 colunas, polaroids tortinhas encaixadas (continuam arrastáveis) ---------- */
@media (max-width: 900px) {
  .hobbies { padding: 96px 14px 100px; border-radius: 32px 32px 0 0; margin-top: -32px; }
  .hobbies .section-head { margin-bottom: 34px; }
  /* grade de 2 colunas em pares (as alturas se alinham); a Kagura vem em destaque, sozinha e centralizada */
  .hobby-wall {
    height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px;
    align-items: center; padding: 10px 4px 0;
  }
  .hobby-wall .polaroid {
    position: relative; left: auto; top: auto; display: block;
    width: 100% !important; margin: 0; will-change: auto;
  }
  .hobby-wall .pol-kagura { grid-column: 1 / -1; justify-self: center; width: 64% !important; }
  /* Kagura com os quadros leves (ver script.js): a imagem já vem recortada, sem posicionamento especial */
  .pol-kagura.is-frames .pol-photo { aspect-ratio: 490 / 520; }
  .pol-kagura.is-frames .pol-photo img { position: static; width: 100%; height: 100%; object-fit: cover; }
  .hobby-wall .pol-mini { padding: 8px 8px 0; }
  .polaroid figcaption, .pol-mini figcaption { font-size: .95rem; padding: 8px 2px 11px; }
  .pol-tape { width: 54px; height: 18px; top: -9px; }
  /* bilhetinhos colados: menores e dentro da foto, para não sair da coluna */
  .pol-note, .hb-3 .pol-note, .hb-9 .pol-note { right: -4px; top: auto; bottom: 44px; font-size: .78rem; padding: 4px 8px 3px; }
  .doodle-heart { width: 16px; }
  /* adesivos soltos: ficam só o "nerd mode on" e o coração em pixel, pequenos */
  .hb-note, .hb-d20, .hb-star { display: none; }
  .hobbies .bubble { padding: 8px 14px; font-size: 1.05rem; border-width: 2px; }
  .hb-bubble { --x: 56%; --y: 34px; }
  .pixel-heart { width: 40px; }
  .hb-heart { --x: 6%; --y: 40px; }
  /* arte ampliada: ocupa a tela com margem igual */
  .hb-view { width: calc(100vw - 16px); height: calc(100svh - 16px); }
  .hb-strip { padding: 10px; gap: 10px; }
  .hb-strip img { width: 100%; height: auto; max-height: 100%; }
  .hb-view.is-pixel .hb-strip img { height: auto; width: 100%; }
}

/* =================== CONTATO =================== */
/* fecha o site no cinza pontilhado, subindo por cima do rosa dos hobbies */
.contact {
  position: relative; z-index: 11;
  min-height: 100svh;
  padding: 150px 16px 130px; /* espaço embaixo para o dock */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--dots), var(--bg);
  background-attachment: fixed;
  border-radius: 48px 48px 0 0;
  margin-top: -48px;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .45);
}
/* janela no estilo do app Mensagens do Mac */
.msg-win { position: relative; z-index: 2; width: min(980px, 100%); height: 600px; display: grid; grid-template-columns: 280px 1fr; }

.msg-side { display: flex; flex-direction: column; padding: 14px 12px; background: rgba(255, 255, 255, .04); border-right: 1px solid rgba(255, 255, 255, .08); }
.msg-side-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 14px; }
.msg-compose { width: 20px; fill: none; stroke: var(--text-soft); stroke-width: 1.8; stroke-linejoin: round; }
.msg-search { padding: 7px 12px; border-radius: 8px; background: rgba(255, 255, 255, .07); font-size: .82rem; color: var(--text-soft); }
.msg-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.msg-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; cursor: pointer; transition: background .4s var(--ease); }
.msg-list li:hover { background: rgba(255, 255, 255, .06); }
.msg-list li.is-active { background: #0a84ff; cursor: default; }
.msg-list p { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.msg-list strong { display: flex; justify-content: space-between; font-size: .9rem; }
.msg-list time { font-size: .7rem; font-weight: 500; color: var(--text-soft); }
.msg-list span:not(.msg-av) { font-size: .78rem; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-list .is-active time, .msg-list .is-active span:not(.msg-av) { color: rgba(255, 255, 255, .85); }
.msg-av { width: 42px; height: 42px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--accent); }
.msg-av img { width: 100%; height: 100%; object-fit: cover; }
.msg-av svg { width: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.av-whats { background: #25d366; }
.av-mail { background: var(--detail); }
.av-mail svg { stroke: var(--accent); }
.msg-status { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 8px 8px 2px; font-size: .8rem; font-weight: 600; color: var(--text-soft); }
.c-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #3ba55d; box-shadow: 0 0 0 4px rgba(59, 165, 93, .25); animation: live 1.8s ease-in-out infinite; }

.msg-main { position: relative; display: flex; flex-direction: column; min-width: 0; }
.msg-head { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 16px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); text-align: center; }
.msg-head .msg-av { width: 46px; height: 46px; }
.msg-head p { display: flex; flex-direction: column; line-height: 1.25; }
.msg-head strong { font-size: .92rem; }
.msg-head span { font-size: .72rem; color: var(--text-soft); }

.msg-thread { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 16px 22px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.msg-day { align-self: center; margin-bottom: 8px; font-size: .7rem; font-weight: 700; color: var(--text-soft); }
.bubble-in, .bubble-out {
  max-width: 72%; padding: 9px 14px; border-radius: 20px; font-size: .95rem; line-height: 1.4;
  animation: bubble-in .7s both var(--ios);
}
.bubble-in { align-self: flex-start; background: #3a3a3e; border-bottom-left-radius: 6px; }
.bubble-out { align-self: flex-end; background: #0a84ff; color: #fff; border-bottom-right-radius: 6px; margin-top: 8px; transform-origin: right bottom; }
.bubble-in { transform-origin: left bottom; }
@keyframes bubble-in { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
.bubble-in.is-typing { padding: 12px 16px; margin-top: 8px; }
.bubble-in + .bubble-in:not(.is-typing) { margin-top: 0; }

/* respostas prontas: sobem do campo de mensagem quando a pessoa clica nele */
.msg-picker {
  position: absolute; left: 18px; right: 18px; bottom: 70px; z-index: 4;
  padding: 14px; border-radius: 20px;
  background: rgba(44, 44, 48, .92); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  opacity: 0; translate: 0 24px; scale: .96; pointer-events: none; transform-origin: bottom center;
  visibility: hidden; /* fechada: o Tab do teclado não cai em botões invisíveis */
  transition: opacity .35s var(--ease), translate .8s var(--ios-soft), scale .8s var(--ios-soft), visibility 0s .35s;
}
.msg-win.is-picking .msg-picker { opacity: 1; translate: 0 0; scale: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.msg-picker-title { margin-bottom: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); }
.msg-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.msg-quick button {
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid #0a84ff; background: transparent; color: #4da3ff; font: inherit; font-size: .84rem; font-weight: 600;
  transition: background .4s var(--ease), color .4s var(--ease), scale .6s var(--ios);
}
.msg-quick button:hover { background: #0a84ff; color: #fff; }
.msg-quick button:active { scale: .94; }
.msg-win.is-picking .msg-quick button { animation: bubble-in .6s both var(--ios); }
.msg-quick button:nth-child(2) { animation-delay: .04s !important; }
.msg-quick button:nth-child(3) { animation-delay: .08s !important; }
.msg-quick button:nth-child(4) { animation-delay: .12s !important; }
.msg-quick button:nth-child(5) { animation-delay: .16s !important; }

/* botões da resposta final */
.msg-ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; animation: bubble-in .7s .15s both var(--ios); transform-origin: left; }
.msg-cta { padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .88rem; transition: scale .6s var(--ios), filter .4s; }
.msg-cta:hover { scale: 1.04; filter: brightness(1.08); }
.cta-whats { background: #25d366; color: #0b2e18; }
.cta-mail { background: var(--detail); color: var(--accent); }

/* campo de mensagem */
.msg-input { display: flex; align-items: center; gap: 8px; margin: 0 18px 18px; padding: 5px 5px 5px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .2); transition: border-color .4s var(--ease); }
.msg-input { cursor: pointer; color: rgba(255, 244, 241, .45); font: inherit; font-size: .92rem; text-align: left; }
.msg-input:hover, .msg-input:focus-visible, .msg-win.is-picking .msg-input { border-color: rgba(10, 132, 255, .7); outline: none; }
.msg-input-text { flex: 1; min-width: 0; }
/* depois da resposta com os contatos, a conversa termina: o campo fica desativado */
.msg-input:disabled { cursor: default; opacity: .55; border-color: rgba(255, 255, 255, .1); }
.msg-input:disabled .msg-send { background: #3a3a3e; }
.msg-send { width: 30px; height: 30px; flex: none; border: 0; border-radius: 50%; display: grid; place-items: center; background: #0a84ff; cursor: pointer; transition: scale .6s var(--ios); }
.msg-send:hover { scale: 1.1; }
.msg-send svg { width: 16px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
/* anotação logo acima do campo, com a seta descendo até ele */
.msg-note { position: absolute; left: 30px; bottom: 66px; rotate: -5deg; pointer-events: none; font-size: 1.15rem; transition: opacity .6s var(--ease); }
.msg-note .hand-arrow { width: 36px; rotate: 50deg; translate: -4px 10px; }
.msg-win.has-chat .msg-note, .msg-win.is-picking .msg-note { opacity: 0; }

/* rodapé */
.site-foot { position: relative; z-index: 2; margin-top: 90px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: .85rem; color: var(--text-soft); }
.foot-logo { width: 74px; }
.foot-top { font-weight: 700; color: var(--detail); transition: translate .7s var(--ios-soft); }
.foot-top:hover { translate: 0 -3px; }

/* adesivos */
.envelope { position: relative; width: 96px; }
.envelope svg { display: block; overflow: visible; }
.env-out { fill: none; stroke: var(--text); stroke-width: 12; }
.env-body { fill: var(--detail); stroke: var(--accent); stroke-width: 4; }
.env-flap { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.env-badge { position: absolute; top: -12px; right: -12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #ff3b5c; color: #fff; border: 3px solid var(--text); font-weight: 900; font-size: .9rem; }
.contact .bubble { background: var(--detail); color: var(--accent); }
.c-bubble { --x: 7%;  --y: 50px; }
.c-tag    { --x: 78%; --y: 40px; }
.c-env    { --x: 5%;  --y: 62%; }
.c-heart  { --x: 91%; --y: 58%; }
.c-star   { --x: 84%; --y: 84%; }

/* ---------- CONTATO no celular: a janela vira a tela do app Mensagens de um iPhone ---------- */
@media (max-width: 900px) {
  .contact { padding: 96px 14px 110px; border-radius: 32px 32px 0 0; margin-top: -32px; }
  .contact .section-head { margin-bottom: 30px; }
  .msg-win {
    grid-template-columns: 1fr; width: min(380px, 100%); height: 640px; margin: 0 auto;
    border-radius: 44px; background: #000; border: 6px solid #1f1f22;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 70px rgba(0, 0, 0, .6);
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .msg-side, .msg-note { display: none; }
  .msg-main { padding-top: 34px; } /* espaço da barra de status */
  /* barra de status: hora à esquerda, Dynamic Island no meio, sinal e bateria à direita */
  .msg-main::before {
    content: "9:41"; position: absolute; top: 9px; left: 30px;
    font-size: .78rem; font-weight: 700; color: #fff;
  }
  .msg-main::after {
    content: ""; position: absolute; top: 9px; right: 26px; width: 46px; height: 12px;
    background:
      linear-gradient(#fff, #fff) 0 100% / 3px 4px no-repeat,
      linear-gradient(#fff, #fff) 5px 100% / 3px 6px no-repeat,
      linear-gradient(#fff, #fff) 10px 100% / 3px 9px no-repeat,
      linear-gradient(#fff, #fff) 15px 100% / 3px 12px no-repeat,
      linear-gradient(#fff, #fff) 25px 2px / 16px 8px no-repeat,
      linear-gradient(#fff, #fff) 42px 4px / 2px 4px no-repeat;
    border-radius: 2px;
  }
  .msg-win::before {
    content: ""; position: absolute; top: 8px; left: 50%; translate: -50% 0; z-index: 3;
    width: 96px; height: 26px; border-radius: 999px; background: #0b0b0c;
  }
  /* barrinha "home" embaixo */
  .msg-win::after {
    content: ""; position: absolute; bottom: 7px; left: 50%; translate: -50% 0; z-index: 3;
    width: 120px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .7);
  }
  /* cabeçalho da conversa: seta de voltar azul, foto e nome no centro */
  .msg-head { position: relative; padding: 8px 16px 10px; border-bottom-color: rgba(255, 255, 255, .08); background: rgba(28, 28, 30, .7); }
  .msg-head::before {
    content: ""; position: absolute; left: 18px; top: 22px; width: 11px; height: 11px;
    border-left: 3px solid #0a84ff; border-bottom: 3px solid #0a84ff; rotate: 45deg; border-radius: 1px;
  }
  .msg-head .msg-av { width: 52px; height: 52px; }
  .msg-head strong { font-size: .78rem; font-weight: 600; }
  .msg-head strong::after { content: " ›"; color: rgba(255, 255, 255, .45); }
  .msg-head span { display: none; }
  /* bolhas no tamanho do iPhone */
  .msg-thread { padding: 14px 12px; }
  .bubble-in, .bubble-out { max-width: 78%; font-size: .95rem; padding: 8px 13px; border-radius: 18px; }
  .bubble-in { background: #26262a; border-bottom-left-radius: 5px; }
  .bubble-out { border-bottom-right-radius: 5px; }
  .msg-picker { left: 10px; right: 10px; bottom: 72px; padding: 12px; border-radius: 18px; }
  .msg-quick button { font-size: .8rem; padding: 7px 12px; }
  .msg-ctas { flex-direction: column; align-items: stretch; }
  .msg-cta { text-align: center; }
  /* campo de digitar: "+" à esquerda, pílula iMessage e seta azul */
  .msg-input { position: relative; margin: 0 10px 22px 48px; padding: 4px 4px 4px 14px; }
  .msg-input::before {
    content: "+"; position: absolute; left: -38px; top: 50%; translate: 0 -50%;
    width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: #26262a; color: #9a9aa0; font-size: 1.3rem; font-weight: 400; line-height: 1;
  }
  .msg-send { width: 28px; height: 28px; }
  /* adesivos: fica só o balão "me chama!", pequeno */
  .c-tag, .c-env, .c-heart, .c-star { display: none; }
  .contact .bubble { padding: 8px 14px; font-size: 1.1rem; border-width: 2px; }
  .c-bubble { --x: 6%; --y: 34px; }
}

/* "X" de fechar no canto direito das janelas que abrem por cima do site */
.lb .win-bar-spacer, .win .win-bar-spacer, .hb-view .win-bar-spacer { display: flex; justify-content: flex-end; }
.win-x {
  width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); transition: background .4s var(--ease), scale .5s var(--ios);
}
.win-x:hover { background: var(--detail); }
.win-x:active { scale: .9; }
.win-x svg { width: 15px; fill: none; stroke: var(--text); stroke-width: 2.6; stroke-linecap: round; }
.win-x:hover svg { stroke: var(--accent); }
@media (max-width: 900px) { .win-x { width: 34px; height: 34px; } .win-x svg { width: 16px; } }

/* aviso de "e-mail copiado" com o atalho para o Gmail */
.mail-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 9600; translate: -50% 20px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  max-width: calc(100vw - 32px); padding: 12px 14px 12px 20px; border-radius: 999px;
  background: rgba(32, 32, 36, .88); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  font-size: .9rem; color: var(--text);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .4s var(--ease), translate .8s var(--ios-soft), visibility 0s .4s;
}
.mail-toast.is-on { opacity: 1; translate: -50% 0; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.mail-toast b { color: var(--detail); font-weight: 700; }
.mail-toast a { padding: 8px 16px; border-radius: 999px; background: var(--detail); color: var(--accent); font-weight: 800; white-space: nowrap; transition: scale .5s var(--ios); }
.mail-toast a:hover { scale: 1.05; }
@media (max-width: 700px) {
  .mail-toast { bottom: calc(140px + env(safe-area-inset-bottom)); border-radius: 22px; padding: 14px 16px; text-align: center; font-size: .85rem; }
}

/* =================== VOLTAR AO TOPO =================== */
/* bolinha de vidro no canto; entra suave depois da primeira tela */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 8500;
  width: 44px; height: 44px; border-radius: 50%; padding: 0; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(32, 32, 36, .55); border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 24px rgba(0, 0, 0, .35);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  opacity: 0; translate: 0 16px; pointer-events: none;
  transition: opacity .6s var(--ease), translate .9s var(--ios-soft), background .4s var(--ease), scale .6s var(--ios);
}
.to-top.is-on { opacity: .75; translate: 0 0; pointer-events: auto; }
.to-top:hover { opacity: 1; background: var(--accent); scale: 1.06; }
.to-top:active { scale: .94; }
.to-top svg { width: 18px; fill: none; stroke: var(--text); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: translate .7s var(--ios-soft); }
.to-top:hover svg { translate: 0 -2px; }
/* celular: mais visível e acima do canto de baixo (onde ficam selos de hospedagem e a barra do navegador) */
@media (max-width: 700px) {
  .to-top { right: 14px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 44px; height: 44px; border-color: rgba(255, 182, 235, .5); }
  .to-top.is-on { opacity: .95; }
}

/* =================== JANELA DO PROJETO =================== */
.win-backdrop {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(8, 8, 10, .45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.win {
  position: fixed; z-index: 9001;
  width: min(1040px, calc(100vw - 48px)); height: min(780px, calc(100svh - 48px));
  display: flex; flex-direction: column;
  transform-origin: top left;
}
.win[hidden], .win-backdrop[hidden] { display: none; }
.win-bar-drag { cursor: grab; touch-action: none; }
.win-bar-drag:active { cursor: grabbing; }
.dot-close::before { content: "×"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; line-height: 1; color: var(--accent); font-weight: 900; opacity: 0; transition: opacity .3s; }
.win-dots:hover .dot-close::before { opacity: 1; }
.win-body { flex: 1; overflow-y: auto; padding: 18px; scrollbar-width: thin; scrollbar-color: var(--detail) transparent; }
.win-body > * { opacity: 0; translate: 0 16px; transition: opacity .9s var(--ease), translate 1.1s var(--ios-soft); }
.win.is-ready .win-body > * { opacity: 1; translate: 0 0; }
.win.is-ready .win-body > :nth-child(2) { transition-delay: .14s; }
.win.is-ready .win-body > :nth-child(3) { transition-delay: .28s; }
.win-cover {
  aspect-ratio: 16 / 8; border-radius: 14px;
  background: var(--img) center / cover, linear-gradient(135deg, var(--detail), var(--accent));
}
.win-content { display: flex; flex-direction: column; gap: 18px; padding: 26px 6px 10px; }
.win-kicker { font-family: var(--cursive); font-weight: 600; font-size: 1.3rem; color: var(--detail); }
.win-name { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: .95; margin: 4px 0 14px; }
.win-desc { color: var(--text-soft); font-size: 1rem; line-height: 1.6; max-width: 62ch; }
.win-desc:empty { display: none; }
/* categoria e ano em pílulas discretas, iguais às da sessão de branding */
.win-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.win-meta div { display: flex; align-items: baseline; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.win-meta dt { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 244, 241, .7); }
.win-meta dd { margin: 0; font-size: .9rem; font-weight: 700; }
.win-gallery { columns: 2; column-gap: 12px; }
.win-gallery img {
  width: 100%; margin-bottom: 12px; border-radius: 14px; break-inside: avoid;
  background: rgba(255, 255, 255, .05);
  transition: scale 1s var(--ios-soft);
}
.win-gallery img:hover { scale: 1.02; }

/* ---------- Case completo (projetos com "case" no script.js) ---------- */
.win-headline { font-family: var(--cursive); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--detail); line-height: 1.1; margin: -4px 0 14px; }
.win-headline:empty { display: none; }
.win-gallery.is-case { columns: auto; display: flex; flex-direction: column; gap: 22px; padding-bottom: 12px; }
.win-gallery.is-case img { margin: 0; }
.win-gallery.is-case img:hover { scale: none; }

[data-reveal-case] { opacity: 0; translate: 0 28px; transition: opacity 1s var(--ease), translate 1.2s var(--ios-soft); }
[data-reveal-case].is-in { opacity: 1; translate: 0 0; }
.case-pair > :nth-child(2) { transition-delay: .12s; }

.case-text { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 18px 6px; }
.case-label { font-family: var(--cursive); font-weight: 600; font-size: 1.35rem; color: var(--detail); line-height: 1.1; }
.case-text p { color: var(--text-soft); font-size: 1.02rem; line-height: 1.7; max-width: 62ch; }

.case-fig { margin: 0; }
.case-fig img { display: block; width: 100%; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.case-fig figcaption { margin-top: 8px; font-size: .78rem; color: var(--text-soft); letter-spacing: .02em; }
.case-fig figcaption::before { content: "↳ "; color: var(--detail); }
.case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }

.case-palette { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.case-palette li {
  min-height: 170px; border-radius: 14px; padding: 12px 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  background: var(--c); color: var(--ink);
  transition: translate .8s var(--ios-soft);
}
.case-palette li:hover { translate: 0 -6px; }
.case-palette span { font-family: var(--cursive); font-weight: 600; font-size: .95rem; line-height: 1.05; }
.case-palette code { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: .68rem; opacity: .8; }

.case-quote {
  margin: 10px 0 4px; padding: 34px 28px; border-radius: 18px; text-align: center;
  background: var(--detail); color: var(--accent);
  font-family: var(--cursive); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.25;
}

@media (max-width: 700px) {
  .case-text { grid-template-columns: 1fr; gap: 8px; }
  .case-pair { grid-template-columns: 1fr; }
  .case-palette { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
  .case-palette li { min-height: 120px; }
}

/* =================== CURSOR DE ESTRELA =================== */
.has-star-cursor, .has-star-cursor * { cursor: none !important; }
.cursor {
  position: fixed; left: 0; top: 0; z-index: 10000;
  width: 30px; height: 30px; margin: -15px 0 0 -15px;
  pointer-events: none; opacity: 0;
  transition: opacity .3s;
}
.has-star-cursor .cursor.is-active { opacity: 1; }
/* inclinada como a estrela do logo; no hover dá um giro de 90° (a estrela fica com a mesma cara) */
.cursor svg { display: block; width: 100%; overflow: visible; rotate: 15deg; transition: scale .7s var(--ios), rotate 1s var(--ios-soft); }
.cursor-outline { fill: none; stroke: var(--text); stroke-width: 22; stroke-linejoin: round; }
.cursor-fill { fill: var(--detail); stroke: var(--accent); stroke-width: 9; stroke-linejoin: round; }
.cursor.is-hover svg { scale: 1.35; rotate: 105deg; }
.cursor.is-down svg { scale: .85; }

/* =================== TABLET / CELULAR =================== */
@media (max-width: 900px) {
  .hero {
    height: auto; min-height: 100svh;
    display: flex; flex-direction: column; align-items: center; gap: 28px;
    padding: 20px 16px 28px;
  }
  /* fundo pontilhado: no iPhone o "fixed" é ignorado e a imagem de pontos estica até a altura da seção
     inteira (fica borrada). No celular os pontos são desenhados pelo próprio CSS: sempre nítidos e leves. */
  :root { --dots: radial-gradient(rgba(255, 244, 241, .14) 1px, transparent 1.6px) 0 0 / 26px 26px; }
  body, .posts, .banners, .web3, .contact { background-attachment: scroll; }

  /* nada pode passar da largura da tela: senão o celular "afasta o zoom" e as janelas abertas
     (post ampliado, case completo) ficam descentralizadas e cortadas */
  html, body { overflow-x: hidden; overflow-x: clip; }

  /* janelas abertas ocupam a tela com uma margem igual dos 4 lados (o script não precisa centralizar) */
  .win { left: 8px !important; top: 8px !important; width: calc(100vw - 16px); height: calc(100svh - 16px); }
  .lb { width: calc(100vw - 16px); max-height: calc(100svh - 16px); }
  .lb-stage { padding: 8px; }
  /* cada post ocupa a largura da janela e aparece inteiro (sem cortar): se for alto, encolhe pela altura */
  .lb-strip { width: 100%; gap: 8px; }
  .lb-slide { width: 100%; min-width: 0; }
  .lb-img { width: 100%; height: auto; max-width: 100%; max-height: calc(100svh - 150px); aspect-ratio: auto; object-fit: contain; }
  .lb.is-carousel .lb-strip { width: 100%; }
  .lb.is-carousel .lb-img { height: auto; }
  .lb-nav { width: 34px; height: 34px; }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }

  /* ---------- HERO no celular: só o logo, 3 adesivos e o menu logo abaixo ---------- */
  /* (perfil, saudação e pilha de projetos ficam só no desktop) */
  /* padrão de hero no celular: quase a tela toda (a próxima seção "espia" embaixo, convidando a rolar),
     conteúdo centralizado na vertical; svh = altura da tela sem contar a barra do navegador */
  .hero { min-height: 88svh; justify-content: space-between; gap: 24px; padding: 40px 16px 56px; }
  .profile, .greeting, .projects-wrap { display: none; }

  /* logo em destaque + só 2 etiquetas menores (Banners e Landing pages ficam só no desktop) */
  /* o quadro dos adesivos ocupa todo o espaço livre da hero; o menu fica embaixo */
  /* altura mínima calculada para caber logo + avatar + as 4 etiquetas sem cortar nem encostar no menu */
  .hero .board { position: relative; inset: auto; width: 100%; max-width: 460px; flex: 1; min-height: 520px; }
  /* --bw = largura do quadro; o logo (altura = .351 × bw) fica no meio da altura livre e o resto se arruma em volta dele */
  .hero .board { --bw: min(100vw - 32px, 460px); --logo-top: calc(50% - var(--bw) * .1755); }
  .s-logo   { --x: 5%;  --y: var(--logo-top); width: 90%; }
  .s-avatar { --x: 36%; --y: calc(var(--logo-top) - var(--bw) * .266 - 18px); width: 28%; } /* um respiro acima do logo (altura = .95 × largura) */
  .hero .tag { min-width: 0; padding: 11px 18px 8px; font-size: .82rem; }
  .hero .tag-icon { width: 30px; height: 30px; top: -15px; border-width: 2px; }
  .hero .tag-icon svg { width: 15px; }
  .hero .clip { left: 34px; top: -14px; width: 10px; }
  .hero .tag::after { width: 12px; height: 12px; }
  .h-posts { --x: 66%; --y: calc(var(--logo-top) - var(--bw) * .36); }  /* canto de cima, à direita */
  .h-logos { --x: 4%;  --y: calc(var(--logo-top) + var(--bw) * .5); }  /* abaixo do logo, à esquerda */
  .h-landing { --x: 3%;  --y: calc(var(--logo-top) - var(--bw) * .42); } /* canto de cima, à esquerda */
  .h-banners { --x: 58%; --y: calc(var(--logo-top) + var(--bw) * .56); } /* embaixo, à direita */
  /* só o logo arrasta no celular: os outros deixam o toque rolar a página */
  .sticker:not([data-home]) { touch-action: pan-y; cursor: default; }

  /* anotação "vem me conhecer melhor!" com a seta descendo até o menu */
  .hand-note.menu-note {
    display: inline-flex; align-items: flex-start; gap: 2px;
    align-self: flex-start; margin: 0 0 -18px 6%; font-size: 1.2rem; rotate: -4deg; /* à esquerda: a etiqueta Banners fica à direita */
    animation: fade-in 1s 2.2s both;
  }
  .menu-note .hand-arrow { width: 40px; margin-top: 8px; animation: nudge 1.8s 3s ease-in-out infinite; }
  @keyframes nudge { 50% { translate: 0 5px; } } /* seta "chamando" de leve */

  /* menu (dock) logo abaixo do logo, no fluxo da página */
  .dock {
    position: relative; left: auto; right: auto; top: auto; bottom: auto; translate: none;
    gap: 8px; padding: 9px; border-radius: 26px; flex-wrap: nowrap;
  }
  .dock-item { width: clamp(36px, 10.4vw, 46px); }
  .dock-item::after { display: none; } /* sem rótulo de hover no toque */
  .dock { padding-bottom: 22px; }
  .dock-item::before { top: calc(100% + 4px); font-size: .54rem; }
  /* toque no ícone: afunda e volta com mola, como abrir um app no iPhone */
  .dock-item { transition: transform .5s var(--ios), scale .45s var(--ios); }
  .dock-item:active { scale: .86; }
  .dock-item.is-tapped { animation: app-tap .7s var(--ios-soft); }
  @keyframes app-tap { 0% { scale: .86; } 45% { scale: 1.12; translate: 0 -8px; } 100% { scale: 1; translate: 0 0; } }
  .badge { top: -4px; right: -4px; min-width: 16px; height: 16px; font-size: .62rem; }
  @keyframes dock-in { from { opacity: 0; translate: 0 30px; } }  .win { width: calc(100vw - 16px); height: calc(100svh - 16px); }
  .win-content { grid-template-columns: 1fr; }

  /* ---------- SOBRE MIM no celular: sem adesivos soltos, tudo numa coluna ---------- */
  .about { padding: 96px 16px 110px; border-radius: 32px 32px 0 0; margin-top: -32px; }
  .section-label { font-size: 1rem; padding: 9px 17px; gap: 8px; }
  .section-label .folder-icon { width: 20px; height: 14px; }
  /* adesivos: só o "plot twist!" e o coração, pequenos, no topo (como nas outras seções) */
  .a-anime, .a-cozy, .a-web3, .a-note, .a-d20 { display: none; }
  .about .bubble { padding: 8px 14px; font-size: 1.05rem; border-width: 2px; }
  .a-bubble { --x: 5%; --y: 30px; }
  .a-heart { --x: 82%; --y: 36px; width: 44px; }
  .about .section-head { margin-bottom: 28px; }
  .about-win { width: 100%; }
  .about-body { grid-template-columns: 1fr; padding: 26px 20px 24px; gap: 26px; }
  /* cartão de identidade: foto com fita, anotação à mão e nome logo abaixo */
  .about-portrait { width: 150px; margin: 8px auto 0; }
  .about-win .win-path, .about-name, .about-role, .about-version { visibility: hidden; } /* título da janela some, a barra fica */
  .about-name, .about-role, .about-version { display: none; }
  .about-text { gap: 16px; }
  .about-lead { font-size: 1.5rem; text-align: center; }
  .about-text > p:not(.about-lead) { font-size: 1rem; line-height: 1.6; text-align: center; }
  /* fichas coloridas em 2 colunas; a última (texto longo) ocupa a linha inteira */
  .specs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .specs-scrap div:nth-child(n + 3) { grid-column: 1 / -1; } /* Foco e Também ocupam a linha inteira, do mesmo tamanho */
  .specs dd { font-size: .9rem; }
  .offscreen { text-align: center; }
  .offscreen-list { justify-content: center; }
  .offscreen-list { gap: 6px 5px; } /* no máximo 3 linhas de etiquetas */
  .offscreen-list li, .offscreen-list li:nth-child(n) { font-size: .76rem; padding: 5px 9px; }
  /* botão largo, com a anotação "me chama!" embaixo */
  .about-ctas { flex-direction: column; gap: 10px !important; margin-top: 4px; }
  .about-ctas .pill-btn { width: 100%; justify-content: center; padding: 14px 22px; }
  .cta-note { font-size: 1.15rem; }
  .cta-note .hand-arrow { rotate: 70deg; width: 36px; }

  /* ---------- POSTS no celular: 3 colunas quase retas ocupando a largura toda ---------- */
  /* (o script monta 3 colunas no celular em vez de 5) */
  .posts { padding: 72px 0 24px; } /* embaixo, quase colado nos banners */
  .posts .section-head { padding: 0 16px; margin-bottom: 26px; }
  .feed-wall { width: 100%; height: 520px; } /* o degradê de baixo (igual ao de cima) fica à vista, sem a seção seguinte cobrir */ /* a parte de baixo do mural já some no degradê: sobe a próxima sessão por cima dela */
  .feed-tilt { gap: 8px; rotate: -5deg; } /* inclinação leve: mantém a cara do desktop sem cortar os posts */
  .feed-col { width: calc((100vw - 20px) / 3); height: 1100px; }
  .feed-card { margin-bottom: 8px; padding: 5px; border-radius: 13px; }
  .feed-card:hover { scale: 1; }
  .feed-card-head { gap: 5px; padding: 1px 2px 5px; }
  .feed-avatar { width: 18px; height: 18px; box-shadow: 0 0 0 1.5px #1c1c1f, 0 0 0 2.5px var(--detail); }
  .feed-card-head strong { font-size: .56rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .feed-card-head span { display: none; }
  .feed-img { border-radius: 9px; }
  .feed-actions { gap: 6px; padding: 5px 2px 1px; }
  .feed-actions svg { width: 13px; }
  .feed-caption { display: none; }
  .feed-multi { top: 5px; right: 5px; width: 18px; height: 18px; border-radius: 6px; }
  .feed-multi svg { width: 11px; }
  .feed-dots { bottom: 5px; padding: 3px 5px; gap: 3px; }
  /* adesivos: ficam só o "1,2 mil" e o "Carrosséis", menores e nas bordas */
  .p-hash, .p-heart, .p-feed, .p-comment { display: none; }
  .posts .like-pill { padding: 7px 13px; font-size: .9rem; border-width: 2px; }
  .posts .like-pill svg { width: 16px; }
  .posts .tag { min-width: 0; padding: 11px 18px 8px; font-size: .82rem; }
  .posts .tag-icon { width: 30px; height: 30px; top: -15px; border-width: 2px; }
  .posts .tag-icon svg { width: 15px; }
  .posts .clip { left: 34px; top: -14px; width: 10px; }
  .p-like     { --x: 4%;  --y: 30px; }
  .p-carousel { --x: 62%; --y: 34px; } /* no topo, à direita, fora dos posts (o "1,2 mil" fica à esquerda) */ /* em cima da borda de baixo do mural */

  /* ---------- BANNERS no celular: notebook ocupando a largura, banner maior e troca por deslize ---------- */
  .banners { padding: 24px 18px 100px; } /* margem para a base e os adesivos do notebook não saírem da tela */
  .banners .section-head { margin-bottom: 40px; }
  .laptop-lid { padding: 9px 9px 11px; border-radius: 16px 16px 6px 6px; }
  .laptop-base { height: 12px; margin: 0 -2.5%; }
  .viewer-stage { aspect-ratio: 16 / 11; border-radius: 8px; touch-action: pan-y; } /* tela um pouco mais alta: o banner aparece maior; o deslize lateral fica para o site */
  /* site de mentirinha mais enxuto: menos margem, banner maior */
  .fs-nav { height: 8cqw; padding: 0 4cqw; }
  .fs-logo { width: 3.4cqw; }
  .fs-pill { height: 3.6cqw; }
  .fs-ghost { width: 10cqw; }
  .fs-btn { width: 8cqw; }
  .fs-body { padding: 3cqw 2.5cqw 0; }
  .fs-hero { max-height: 56cqw; border-radius: 1.6cqw; }
  .fs-cover { max-height: 40cqw; }
  .fs-gm { font-size: 2.6cqw; gap: 1.4cqw; }
  .fs-gm span { width: 3.2cqw; height: 3.2cqw; }
  .viewer-kind { top: 4cqw; left: 9cqw; padding: 3px 8px; font-size: .5rem; }
  /* setas menores e sempre visíveis (no toque não existe hover); dá para deslizar o dedo também */
  .viewer-arrow { width: 30px; height: 30px; opacity: .92; border-width: 2px; }
  .viewer-arrow svg { width: 15px; }
  .viewer-prev { left: 8px; }
  .viewer-next { right: 8px; }
  /* adesivos colados no notebook, menores */
  .lap-logo { width: 74px; bottom: -10px; }
  .lap-avatar { width: 46px; top: -16px; }
  .lap-star { width: 28px; top: -14px; }
  .lap-tag { padding: 2px 9px; font-size: .7rem; border-width: 2px; bottom: -10px; }
  .viewer-caption { flex-direction: column; align-items: center; gap: 2px; text-align: center; margin-top: 20px; font-size: .85rem; }
  /* adesivos soltos: o "LIVE now" e o d20, pequenos, no topo */
  .b-ticket, .b-date, .b-event { display: none; }
  .b-bubble { --x: 64%; --y: 2px; padding: 6px 12px; font-size: .8rem; border-width: 2px; gap: 6px; }
  .b-d20 { --x: 6%; --y: 0px; width: 46px; }
  .b-bubble em { font-size: .95rem; }
  .b-bubble .live-dot { width: 8px; height: 8px; }

  /* ---------- LOGOS & BRANDING no celular: fotos primeiro, texto embaixo, troca de marca por deslize ---------- */
  .branding { padding: 40px 12px 100px; }
  .branding .section-head { margin-bottom: 30px; }
  /* barra da janela = controle segmentado do iOS ocupando a largura */
  .brand-win .win-dots, .brand-win .win-bar-spacer { display: none; }
  .brand-win .win-bar { height: 52px; padding: 0 10px; }
  .seg { max-width: none; }
  .seg button { font-size: .72rem; padding: 7px 4px; }
  /* fotos em cima (como um post), informações embaixo */
  .brand-body { display: flex; flex-direction: column; padding: 18px 16px 22px; gap: 22px; touch-action: pan-y; }
  .brand-media { order: -1; }
  .brand-bento { height: 270px; gap: 8px; }
  .bento-tile { border-radius: 12px; }
  .bento-tile .washi-tl { width: 52px; height: 18px; }
  /* anotações em no máximo 2 linhas: 2 lado a lado e a 3ª centralizada embaixo (o texto quebra dentro do papel) */
  .brand-notes { gap: 14px 10px; margin-top: 20px; }
  .brand-notes li { max-width: calc(50% - 5px); white-space: normal; text-align: center; font-size: .8rem; line-height: 1.15; padding: 8px 11px 6px; }
  .brand-notes .washi { width: 34px; height: 14px; top: -8px; }
  /* selo "fav do ano" colado no canto da foto principal */
  .fav-badge { width: 64px; height: 64px; top: 6px; left: 6px; }
  .brand-info { gap: 12px; text-align: left; }
  .brand-kicker { font-size: 1.25rem; }
  .brand-name { font-size: 2.3rem; }
  .brand-desc { font-size: 1rem; line-height: 1.6; }
  /* botão largo, com o "clica aqui!" ao lado apontando para ele */
  .brand-cta { flex-wrap: nowrap; gap: 10px; }
  .brand-cta .pill-btn { flex: 1; justify-content: center; padding: 14px 18px; }
  .brand-cta .cta-note { rotate: -4deg; font-size: 1.05rem; }
  .brand-cta .cta-note .hand-arrow { rotate: 0deg; width: 32px; }
  /* adesivos soltos: a estrela e as amostras de cor, pequenas, no topo */
  .g-pen, .g-type, .g-tag { display: none; }
  .g-star { --x: 86%; --y: 44px; width: 38px; }
  .g-swatch { --x: 5%; --y: 38px; }
  .g-swatch span { width: 34px; height: 34px; margin-left: -10px; border-width: 3px; }

  /* ---------- WEB3 no celular: barra de servidores fininha + chat; sem a ficha de configuração ---------- */
  .web3 { padding: 96px 10px 100px; border-radius: 32px 32px 0 0; margin-top: -32px; }
  .web3 .section-head { margin-bottom: 28px; }
  .dc-win { width: 100%; }
  .dc-win .win-path { font-size: .72rem; }
  /* celular: sem rolagem dentro do chat (o dedo rola só o site); a conversa cresce conforme as mensagens chegam */
  .dc-body { grid-template-columns: 54px minmax(0, 1fr); height: auto; }
  .dc-chat { overflow: visible; }
  .dc-rail { overflow: hidden; }
  .dc-side { display: none; }
  .dc-rail { display: flex; gap: 8px; padding: 10px 0; }
  .dc-server { width: 38px; height: 38px; }
  .dc-server::before { left: -8px; }
  .dc-ping { min-width: 13px; height: 13px; font-size: .58rem; padding: 0 3px; border-width: 2px; }
  .dc-live { width: 16px; height: 14px; border-width: 2px; border-radius: 5px; }
  .dc-live svg { width: 9px; }
  .dc-head { height: 42px; padding: 0 12px; font-size: .9rem; }
  .dc-topic { display: none; }
  .dc-chat { gap: 16px; padding: 14px 12px; }
  .dc-msg { gap: 9px; }
  .dc-avatar { width: 32px; height: 32px; }
  .dc-msg-body { font-size: .92rem; line-height: 1.45; }
  .dc-meta { flex-wrap: wrap; gap: 4px 6px; }
  .dc-meta time { font-size: .7rem; }
  .dc-attach { margin-top: 8px; border-radius: 10px; }
  .dc-react { padding: 2px 8px; font-size: .78rem; }
  /* configuração do servidor: só o texto da mensagem (a ficha de canais e cargos fica no desktop) */
  .dc-setup { display: none; }
  /* projetos: cards deslizando para o lado, um e pouco por vez */
  .dc-showcase {
    display: grid; grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none;
    gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px;
    scrollbar-width: none;
  }
  .dc-showcase::-webkit-scrollbar { display: none; }
  .dc-card { scroll-snap-align: start; }
  .dc-card:hover { translate: none; }
  .dc-card-made { font-size: .72rem; }
  .dc-typing { padding: 0 12px 6px; }
  .dc-input { margin: 0 12px 12px; padding: 10px 14px; font-size: .8rem; }
  .dc-cta { width: 100%; justify-content: center; padding: 11px 16px; }
  /* adesivos: o balão "gm!" e a notificação, pequenos, no topo */
  .w-wagmi, .w-community, .w-mention, .w-nft { display: none; }
  .w-gm { --x: 6%; --y: 30px; padding: 8px 14px; font-size: 1.1rem; border-width: 2px; }
  .w-ping { --x: 84%; --y: 40px; width: 40px; height: 40px; font-size: 1.1rem; border-width: 3px; }
}

/* Movimento reduzido: mantém as transições, só tira os movimentos contínuos */
@media (prefers-reduced-motion: reduce) {
  .sticker { animation: pop 1.4s both var(--ease); animation-delay: calc(.3s + var(--i, 0) * .1s); }
  .status-dot, .caret { animation: none; }
  .feed-track { animation-duration: calc(var(--dur, 30s) * 1.6); } /* o feed passa um pouco mais devagar */
}

/* texto só para o Google e leitores de tela (ex.: o h1 do topo) */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
