/* ============================================================================
   Link da Bio — folha de estilo única.

   Design portado de `subtle-clone-export/projeto-fonte/src/app/globals.css`,
   que por sua vez mediu os valores no site de referência com getComputedStyle.
   Aqui eles viraram CSS puro: o site não tem build, então nada de Tailwind.

   Tokens no :root (tema claro) e em [data-theme="dark"]. Para mudar a aparência,
   mexa aqui e em nada mais.

   Larguras de quebra do original: ≤809px, 810–1199px, ≥1200px.
   ========================================================================= */

:root {
  /* Superfícies — do mais fundo para o mais próximo.
     `panel` é o cartão central; `section` é o bloco afundado dentro dele;
     `card` é a peça branca que fica por cima do bloco afundado. */
  --bg-page: #f0f0f0;
  --bg-panel: #ffffff;
  --bg-card: #ffffff;
  --bg-section: #f7f7f7;

  /* Texto */
  --text-strong: #373737;
  --text-muted: #666666;
  --text-faint: #6e6e6e;

  /* Ação */
  --btn-primary-bg: #141414;
  --btn-primary-fg: #ffffff;
  --btn-primary-bg-hover: #292929;

  /* Verde de disponibilidade — o texto é mais escuro que o ponto, de propósito:
     é ele que precisa passar no contraste. */
  --ok-bg: rgba(40, 199, 128, 0.15);
  --ok-fg: #039754;
  --ok-dot: #28c780;

  /* Detalhes */
  --hairline: #f0f0f0;
  --ring: rgba(0, 0, 0, 0.05);
  --dot-idle: #cccccc;
  --tooltip-bg: #373737;
  --tooltip-fg: #ffffff;
  --focus-ring: #2563eb;

  /* Sombras compostas, camada por camada — é a assinatura visual do estilo.
     A externa larga dá a flutuação; a linha inset de baixo dá a espessura. */
  --shadow-panel: rgba(10, 10, 10, 0.06) 0 1.2px 1.2px 0, rgba(10, 10, 10, 0.04) 0 5px 10px 0;
  --shadow-tile: rgba(23, 23, 23, 0.04) 0 8px 16px 0, rgba(23, 23, 23, 0.1) 0 1px 1px 0,
    var(--hairline) 0 -1px 1px 0 inset, var(--ring) 0 0 0 0.1px;
  /* No hover a camada externa some: o item parece assentar na superfície. */
  --shadow-tile-hover: rgba(22, 22, 22, 0) 0 8px 16px 0, rgba(23, 23, 23, 0.1) 0 1px 1px 0,
    var(--hairline) 0 -1px 1px 0 inset, var(--ring) 0 0 0 0.1px;
  --shadow-btn: rgba(23, 23, 23, 0.1) 0 8px 16px 0, rgba(23, 23, 23, 0.1) 0 1px 1px 0,
    rgba(204, 204, 204, 0.04) 0 -1px 1px 0 inset, rgba(0, 0, 0, 0.08) 0 0 0 0.1px;
  --shadow-btn-ghost: rgba(23, 23, 23, 0.04) 0 1px 1px 0, var(--hairline) 0 -1px 1px 0 inset,
    rgba(0, 0, 0, 0.08) 0 0 0 0.1px;
  --shadow-logo: rgba(0, 0, 0, 0.08) 0 0.8px 0.8px 0, rgba(0, 0, 0, 0.04) 0 3.2px 6.4px 0;
  --ring-avatar: var(--bg-section) 0 0 0 2.22222px;

  /* Geometria */
  --r-panel: 16px;
  --r-tile: 12px;
  --r-btn: 6px;
  --r-nav-item: 10px;
  --r-pill: 999px;
  --col: 560px;
  --col-interna: 544px;

  /* Escala tipográfica do original (Inter, corte Display nos tamanhos grandes) */
  --fs-display: 36px;
  --lh-display: 43.2px;
  --fs-heading: 30px;
  --lh-heading: 36px;
  --fs-title: 20px;
  --lh-title: 24px;
  --fs-body: 18px;
  --lh-body: 30.6px;
  --fs-label: 14px;
  --fs-meta: 14px;
  --lh-meta: 22.4px;
  --fs-tag: 12px;

  /* Moeda */
  --moeda-tam: 178px;
  --moeda-aro: linear-gradient(135deg, #e8e8e8, #fdfdfd 40%, #d6d6d6 70%, #f2f2f2);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;

  --t: 180ms cubic-bezier(0.2, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-page: #161616;
  --bg-panel: #212121;
  --bg-card: #373737;
  --bg-section: #2c2c2c;

  --text-strong: #ffffff;
  --text-muted: #c0c0c0;
  --text-faint: #a0a0a0;

  /* Escuro: o primário deixa de ser branco sólido — pesaria demais. */
  --btn-primary-bg: #383838;
  --btn-primary-fg: #ffffff;
  --btn-primary-bg-hover: #424242;

  /* Verde mais claro que no tema claro: #039754 não passa no contraste aqui. */
  --ok-fg: #34d399;

  --hairline: #424242;
  --ring: rgba(0, 0, 0, 0.16);
  --dot-idle: #6e6e6e;
  --tooltip-bg: #4a4a4a;
  --focus-ring: #60a5fa;

  --shadow-panel: rgba(0, 0, 0, 0.28) 0 1.2px 1.2px 0, rgba(0, 0, 0, 0.22) 0 5px 10px 0;
  --shadow-btn: rgba(23, 23, 23, 0.1) 0 8px 16px 0, rgba(23, 23, 23, 0.1) 0 1px 1px 0,
    rgba(204, 204, 204, 0.1) 0 -1px 1px 0 inset, rgba(0, 0, 0, 0.16) 0 0 0 0.1px;
  --shadow-logo: rgba(0, 0, 0, 0.24) 0 0.8px 0.8px 0, rgba(0, 0, 0, 0.16) 0 3.2px 6.4px 0;

  --moeda-aro: linear-gradient(135deg, #3d3d3d, #5a5a5a 40%, #2e2e2e 70%, #4a4a4a);
}

/* --------------------------------------------------------------- base ---- */

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg-page);
}

body {
  /* O respiro de cima abre espaço para a navegação, que é fixa. */
  margin: 0;
  padding: 80px 8px 8px;
  background: var(--bg-page);
  color: var(--text-strong);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Trocar de tema faz um cross-fade das cores, como no original. Quem tem
   transição própria (botões, cards) mantém a sua: a especificidade é maior. */
body,
body * {
  transition-property: background-color, color, box-shadow, border-color, fill, stroke;
  transition-duration: 200ms;
  transition-timing-function: ease;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

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

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

/* Quem navega por teclado precisa ver o atalho ao chegar nele. */
.sr-only:focus-visible {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 16px;
  clip: auto;
  z-index: 60;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-radius: var(--r-btn);
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: 1;
}

/* -------------------------------------------------------- tipografia ---- */

.t-display {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.t-title {
  font-size: var(--fs-title);
  line-height: var(--lh-title);
  letter-spacing: -0.2px;
  font-weight: 500;
}

.t-body {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: 0.32px;
  font-weight: 400;
}

.t-label {
  font-size: var(--fs-label);
  line-height: 14px;
  font-weight: 600;
}

.t-meta {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  letter-spacing: 0.14px;
  font-weight: 400;
}

.t-tag {
  font-size: var(--fs-tag);
  line-height: 12px;
  letter-spacing: 0.96px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Ponto cinza que abre os rótulos de seção. */
.ponto {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: var(--r-pill);
  background: var(--dot-idle);
}

/* ---------------------------------------------------------------- nav ---- */

.nav {
  position: fixed;
  top: 8px;
  right: 8px;
  left: 8px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 16px;
  background: var(--bg-panel);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-panel);
}

.nav__itens {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__item {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-nav-item);
  color: var(--text-faint);
  transition: background var(--t), color var(--t);
}

.nav__item svg {
  width: 24px;
  height: 24px;
}

.nav__item:hover {
  background: var(--bg-section);
  color: var(--text-strong);
}

.nav__item[aria-current="page"] {
  background: var(--bg-section);
  color: var(--text-strong);
}

.nav__brand {
  padding-left: 4px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

.nav__direita {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  color: var(--text-strong);
  transition: background var(--t), color var(--t);
}

.nav__icon-btn svg {
  width: 24px;
  height: 24px;
}

.nav__icon-btn:hover {
  background: var(--bg-section);
}

/* Etiqueta que sobe acima do ícone no hover. Sem JS: é só o hover do pai.
   Escondida onde não existe ponteiro — no toque ela nunca apareceria. */
.dica {
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-bottom: 8px;
  transform: translate(-50%, 4px);
  display: flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 24px;
  background: var(--tooltip-bg);
  color: var(--tooltip-fg);
  font-size: var(--fs-tag);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.14px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease;
}

.nav__item:hover .dica,
.nav__icon-btn:hover .dica,
.nav__item:focus-visible .dica,
.nav__icon-btn:focus-visible .dica {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 809px), (hover: none) {
  .dica {
    display: none;
  }
}

/* -------------------------------------------------------------- painel ---- */

.panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 32px 8px 8px;
  background: var(--bg-panel);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-panel);
}

/* Bloco afundado: é ele que agrupa as listas de cards. */
.section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: var(--col-interna);
  margin: 0 auto;
  padding: 16px;
  background: var(--bg-section);
  border-radius: var(--r-tile);
}

/* Seções que ficam direto sobre o cartão branco, sem bloco afundado. */
.section--flat {
  background: transparent;
}

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

.section__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: var(--fs-title);
  line-height: var(--lh-title);
  letter-spacing: -0.2px;
  font-weight: 500;
  color: var(--text-muted);
}

.section__title::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: var(--r-pill);
  background: var(--dot-idle);
}

/* ---------------------------------------------------------------- hero ---- */

/* O hero não tem bloco afundado: assenta direto no cartão. */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: var(--col-interna);
  margin: 0 auto;
  padding-bottom: 40px;
}

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 24px;
  padding: 0 16px;
}

.hero__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-title);
  line-height: var(--lh-title);
  letter-spacing: -0.2px;
  font-weight: 500;
  color: var(--text-muted);
}

.hero__label::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: var(--r-pill);
  background: var(--dot-idle);
}

/* No celular a pílula colapsa num círculo: sobra só o ponto verde. */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: var(--ok-bg);
  color: var(--ok-fg);
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.badge__dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: var(--r-pill);
  background: var(--ok-dot);
}

.badge__texto {
  display: none;
}

.hero__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 24px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  order: 2;
  width: 100%;
  min-width: 0;
}

/* Agrupa nome + bio para que o gap do pai separe texto e botões, não as linhas. */
.hero__titulos {
  width: 100%;
}

.hero__name {
  margin: 0;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--text-strong);
}

.hero__bio {
  margin: 12px 0 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: 0.32px;
  text-align: center;
  color: var(--text-muted);
}

.hero__avatar {
  order: 1;
  flex: none;
  width: var(--moeda-tam);
  height: var(--moeda-tam);
  border-radius: var(--r-pill);
  object-fit: cover;
  background: var(--bg-section);
  box-shadow: var(--ring-avatar);
}

.hero__avatar--initials {
  display: grid;
  place-items: center;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}

/* No original esta linha vive dentro da coluna de texto (278px), medida para
   "Hire Me" + "Copy Email". Os rótulos em português somam ~320px e quebrariam
   em duas linhas, então ela desce e ocupa a largura inteira do hero. */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 0 16px;
  margin-top: -16px;
}

/* Fica em volta da moeda/avatar e carrega a ordem no flex. */
.hero__midia {
  order: 1;
  flex: none;
}

/* ------------------------------------------- cabeçalho de página interna ---- */

/* O hero da home tem composição própria; as demais páginas usam este bloco:
   rótulo com ponto, título e subtítulo, sempre alinhados à esquerda. */
.cabecalho {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: var(--col-interna);
  margin: 0 auto;
  padding: 0 16px 40px;
}

.cabecalho__texto {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cabecalho__titulo {
  margin: 0;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.cabecalho__intro {
  margin: 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: 0.32px;
  color: var(--text-muted);
}

/* ---------------------------------------------------------- moeda 3D ---- */

.moeda-palco {
  flex: none;
  width: var(--moeda-tam);
  height: var(--moeda-tam);
  perspective: 900px;
  cursor: grab;
  /* Deixa o dedo rolar a página na vertical e usa o horizontal para girar. */
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.moeda-palco.is-arrastando {
  cursor: grabbing;
}

.moeda-palco:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 6px;
  border-radius: var(--r-pill);
}

.moeda {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.moeda__face,
.moeda__aro {
  position: absolute;
  inset: 0;
  border-radius: var(--r-pill);
  backface-visibility: hidden;
}

/* Discos empilhados em Z formam a espessura da borda. */
.moeda__aro {
  background: var(--moeda-aro);
}

.moeda__face {
  overflow: hidden;
  background: var(--bg-section);
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.55),
    inset 0 0 0 5px rgba(0, 0, 0, 0.08),
    0 10px 24px rgba(10, 10, 10, 0.18);
}

.moeda__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.moeda__face--iniciais {
  display: grid;
  place-items: center;
  background: var(--moeda-aro);
  font-size: calc(var(--moeda-tam) * 0.3);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}

/* Reflexo que corre pela superfície conforme ela gira. */
.moeda__brilho {
  position: absolute;
  inset: 0;
  border-radius: var(--r-pill);
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.75) var(--brilho-x, 50%),
    transparent 70%
  );
  opacity: var(--brilho-op, 0.3);
  mix-blend-mode: overlay;
}

@media (prefers-reduced-motion: reduce) {
  .moeda {
    transition: none;
  }
}

/* ------------------------------------------------------------- botões ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: none;
  height: 36px;
  padding: 0 12px 0 8px;
  border-radius: var(--r-btn);
  font-size: var(--fs-label);
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t), box-shadow var(--t), transform var(--t);
}

.btn:hover {
  transform: scale(1.02);
}

.btn:active {
  transform: scale(0.98);
}

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

.btn--primario {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  box-shadow: var(--shadow-btn);
}

.btn--primario:hover {
  background: var(--btn-primary-bg-hover);
}

.btn--secundario,
.btn--copiar {
  background: var(--bg-card);
  color: var(--text-strong);
  box-shadow: var(--shadow-btn-ghost);
}

.btn--secundario .btn__icon,
.btn--copiar .btn__icon {
  color: var(--text-faint);
}

/* "Ver todos" no cabeçalho da seção: o ícone vai à direita do texto. */
.btn--pequeno {
  padding: 0 8px 0 12px;
  gap: 6px;
}

.btn.is-copiado {
  color: var(--ok-fg);
}

.btn.is-copiado .btn__icon {
  color: var(--ok-fg);
}

/* -------------------------------------------------------------- cards ---- */

.cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  min-height: 164px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-tile);
  transition: background var(--t), box-shadow var(--t), transform var(--t);
}

.card:hover {
  box-shadow: var(--shadow-tile-hover);
}

/* Item sem subtítulo (produtos): linha mais baixa e já deitada no celular. */
.card--compacto {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  gap: 12px;
}

.card__icone {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: var(--r-pill);
  background: var(--bg-section);
  color: var(--text-muted);
  box-shadow: var(--shadow-logo);
  transition: transform var(--t), color var(--t);
}

.card__icone svg {
  width: 28px;
  height: 28px;
}

.card:hover .card__icone {
  transform: scale(1.06);
}

.card--compacto .card__icone {
  width: 40px;
  height: 40px;
}

.card--compacto .card__icone svg {
  width: 20px;
  height: 20px;
}

/* Bloco do logo + texto, que no celular empilha e no desktop deita. */
.card__principal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.card--compacto .card__principal {
  flex-direction: row;
  align-items: center;
}

.card__texto {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.card__titulo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-title);
  line-height: var(--lh-title);
  letter-spacing: -0.2px;
  font-weight: 500;
  color: var(--text-strong);
}

.card__nome {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card__sub {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: 0.32px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Etiqueta do card de produto. */
.etiqueta {
  flex: none;
  padding: 6px 8px;
  border-radius: var(--r-pill);
  background: var(--bg-section);
  color: var(--text-faint);
  font-size: var(--fs-tag);
  line-height: 12px;
  font-weight: 600;
  letter-spacing: 0.96px;
  text-transform: uppercase;
}

/* Fecho do card: etiqueta + seta, alinhados à direita. */
.card__fim {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.card__seta {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--text-faint);
  transition: transform var(--t), color var(--t);
}

.card:hover .card__seta {
  transform: translateX(3px);
  color: var(--text-muted);
}

/* A seta de "abre fora" aponta na diagonal e sobe em vez de deslizar. */
.card__seta--externo {
  transform: rotate(-45deg);
}

.card:hover .card__seta--externo {
  transform: rotate(-45deg) translateX(3px);
}

/* No celular a seta some: o card inteiro já é o alvo do toque. */
.card:not(.card--compacto) .card__seta {
  display: none;
}

/* --------------------------------------------------- página de texto ---- */

.prosa {
  gap: 16px;
}

.prosa__titulo {
  margin: 0;
  font-size: var(--fs-heading);
  line-height: var(--lh-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.prosa p {
  margin: 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: 0.32px;
  color: var(--text-muted);
}

/* Foto grande e quadrada das páginas internas. */
.foto-larga {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r-tile);
  background: var(--bg-card);
}

/* Lista de duas colunas: ferramentas, serviços. */
.duplas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.dupla {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-tile);
  transition: box-shadow var(--t);
}

.dupla:hover {
  box-shadow: var(--shadow-tile-hover);
}

.dupla__icone {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--r-pill);
  background: var(--bg-section);
  color: var(--text-muted);
  box-shadow: var(--shadow-logo);
}

.dupla__icone svg {
  width: 20px;
  height: 20px;
}

/* Os filhos são <span>, então precisam empilhar explicitamente. */
.dupla__texto {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dupla__nome {
  font-size: var(--fs-title);
  line-height: var(--lh-title);
  letter-spacing: -0.2px;
  font-weight: 500;
  color: var(--text-strong);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dupla__sub {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  letter-spacing: 0.14px;
  color: var(--text-muted);
}

/* Linha do tempo de experiência. */
.marco {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-tile);
  transition: box-shadow var(--t);
}

.marco:hover {
  box-shadow: var(--shadow-tile-hover);
}

.marco__periodo {
  flex: none;
  width: 96px;
  padding-top: 3px;
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  letter-spacing: 0.14px;
  font-weight: 500;
  color: var(--text-faint);
}

.marco__cargo {
  font-size: var(--fs-title);
  line-height: var(--lh-title);
  letter-spacing: -0.2px;
  font-weight: 500;
  color: var(--text-strong);
}

.marco__onde {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  letter-spacing: 0.14px;
  color: var(--text-muted);
}

/* --------------------------------------------------------- formulário ---- */

/* Campos afundados sobre o cartão, sem borda: o contraste vem do fundo.
   Botão alinhado à direita, como no original. */
.formulario {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
  max-width: var(--col-interna);
  margin: 0 auto;
  padding: 0 16px 40px;
}

.formulario__linha {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.campo {
  flex: 1;
  min-width: 0;
  height: 48px;
  background: var(--bg-section);
  border-radius: 8px;
  transition: box-shadow var(--t), background var(--t);
}

.campo--alto {
  height: 140px;
  width: 100%;
}

.campo:focus-within {
  box-shadow: inset 0 0 0 2px var(--focus-ring);
}

.campo__entrada {
  width: 100%;
  height: 100%;
  padding: 12px;
  border: 0;
  background: none;
  color: var(--text-strong);
  font-family: inherit;
  font-size: var(--fs-label);
  line-height: 1.4;
  outline: none;
}

textarea.campo__entrada {
  resize: none;
}

.campo__entrada::placeholder {
  color: var(--text-faint);
}

/* A isca de spam não pode usar display:none — robô ignora campo escondido
   assim. Fica fora da tela, invisível para quem enxerga e para quem ouve. */
.formulario__isca {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formulario__aviso {
  width: 100%;
  margin: 0;
  min-height: 0;
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  letter-spacing: 0.14px;
  text-align: right;
  color: var(--text-muted);
}

.formulario__aviso:empty {
  display: none;
}

.formulario__aviso.is-ok {
  color: var(--ok-fg);
}

.formulario__aviso.is-erro {
  color: #e5484d;
}

[data-theme="dark"] .formulario__aviso.is-erro {
  color: #ff8b8f;
}

.formulario .btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

/* ---------------------------------------------------------- fechamento ---- */

/* Chamada final: sem bloco próprio, herda o cartão branco. */
.fechamento {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: var(--col-interna);
  margin: 0 auto;
  padding: 48px 8px;
  text-align: center;
}

.fechamento__titulo {
  margin: 0;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.fechamento__sub {
  margin: 12px 0 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: 0.32px;
  color: var(--text-muted);
}

.fechamento__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* --------------------------------------------------------------- redes ---- */

.redes {
  display: flex;
  /* O .section empilha em coluna; aqui o rótulo e os ícones ficam lado a lado. */
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  min-height: 88px;
  padding: 16px 24px;
}

.redes__lista {
  display: flex;
  gap: 10px;
}

.rede {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: var(--bg-card);
  color: var(--text-strong);
  transition: transform var(--t), box-shadow var(--t), color var(--t);
}

.rede:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-logo);
}

.rede svg {
  width: 24px;
  height: 24px;
}

/* -------------------------------------------------------------- rodapé ---- */

.rodape {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 40px 24px;
  text-align: center;
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  letter-spacing: 0.14px;
  color: var(--text-faint);
}

/* -------------------------------------------------------------- toast ---- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  padding: 10px 18px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-radius: var(--r-pill);
  font-size: var(--fs-label);
  font-weight: 600;
  box-shadow: var(--shadow-btn);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t), transform var(--t);
  z-index: 50;
}

.toast.is-visivel {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ------------------------------------------------ transição de página ---- */

/* O transitions.js troca só o <main>; o navegador anima a troca. Como o <nav>
   é idêntico dos dois lados, ele atravessa sem piscar. */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 220ms;
  animation-timing-function: cubic-bezier(0.2, 0, 0.2, 1);
}

/* O `*` do bloco de movimento reduzido lá embaixo não alcança pseudo-elementos
   de view transition — precisam ser desligados aqui, explicitamente. */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

/* --------------------------------------------------------- responsivo ---- */

/* As larguras de quebra são as do site de referência: 810px e 1200px — não as
   do Tailwind. Abaixo de 810 tudo empilha; acima, o layout deita. */
@media (min-width: 810px) {
  body {
    padding: 96px 0 40px;
  }

  .nav {
    top: 16px;
    right: auto;
    left: 50%;
    width: var(--col);
    transform: translateX(-50%);
  }

  .section {
    padding: 24px;
  }

  .hero__top {
    padding: 0 24px;
  }

  .cabecalho {
    padding: 0 24px 40px;
  }

  .formulario {
    padding: 0 24px 40px;
  }

  /* Nome e e-mail lado a lado; a mensagem continua ocupando a linha toda. */
  .formulario__linha {
    flex-direction: row;
  }

  /* A pílula de disponibilidade se abre e mostra o texto. */
  .badge {
    width: auto;
    height: auto;
    gap: 6px;
    padding: 6px 12px 6px 8px;
  }

  .badge__texto {
    display: inline;
    font-size: var(--fs-tag);
    line-height: 12px;
    font-weight: 600;
    letter-spacing: 0.96px;
    text-transform: uppercase;
  }

  /* Texto à esquerda, moeda à direita. */
  .hero__body {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    min-height: 178px;
  }

  .hero__text {
    order: 1;
    align-items: flex-start;
    width: 278px;
  }

  .hero__midia {
    order: 2;
  }

  .hero__name,
  .hero__bio {
    text-align: left;
  }

  .hero__actions {
    justify-content: flex-start;
    padding: 0 24px;
  }

  /* Cards deitam: logo e texto à esquerda, seta à direita. */
  .card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
  }

  .card--compacto {
    min-height: 80px;
    padding: 20px 16px;
  }

  .card__principal {
    flex-direction: row;
    align-items: center;
  }

  .card:not(.card--compacto) .card__seta {
    display: block;
  }
}

@media (min-width: 1200px) {
  :root {
    --moeda-tam: 160px;
  }
}

@media (max-width: 809px) {
  .hero__name {
    font-size: 30px;
    line-height: 36px;
  }

  .fechamento__titulo {
    font-size: 30px;
    line-height: 36px;
  }

  .prosa__titulo {
    font-size: 24px;
    line-height: 30px;
  }

  .cabecalho__titulo {
    font-size: 30px;
    line-height: 36px;
  }

  .cabecalho__intro {
    font-size: 16px;
    line-height: 26px;
  }

  .hero__bio,
  .fechamento__sub,
  .card__sub {
    font-size: 16px;
    line-height: 26px;
  }

  /* No celular o CTA do menu vira só o ícone: o texto empurraria a navegação. */
  .nav__cta .btn span:not(.btn__icon) {
    display: none;
  }

  .nav__cta .btn {
    padding: 0 10px;
  }

  .nav__itens {
    gap: 4px;
  }

  .nav__direita {
    gap: 8px;
  }

  .hero__actions .btn,
  .fechamento__acoes .btn {
    flex: 1 1 auto;
  }

  .redes {
    justify-content: center;
  }

  .marco__periodo {
    width: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .btn:hover,
  .rede:hover,
  .card:hover .card__icone {
    transform: none;
  }
}
