/* Evolução editorial do portfólio pessoal — 2026. Sem dependências externas. */
:root {
  --papel: #F6F3EF;
  --tinta: #2E3339;
  --laranja: #F59E63;
  --azul: #2E3339;
  --marinho: #23282D;
}
html { scroll-padding-top: 80px; }
body { background: var(--papel); }
::selection { color: var(--tinta); background: var(--laranja); }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid var(--laranja);
  outline-offset: 5px;
}
.navegacao {
  position: fixed;
  z-index: 31;
  top: clamp(16px, 4vw, 27px);
  right: calc(var(--margem) + 56px);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.7vw, 34px);
  color: var(--tinta);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s, color .25s;
}
body.aberto .navegacao { opacity: 1; pointer-events: auto; }
body[data-tema="escuro"] .navegacao { color: var(--papel); }
.navegacao a {
  display: inline-block;
  padding: 8px 0;
  font-size: 11px;
  letter-spacing: .12em;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
.navegacao a:hover { border-color: currentColor; }
.som { right: calc(var(--margem) - 8px); }
.heroi .nome { overflow-wrap: normal; }
.funcao.duas .texto { white-space: normal; max-width: 94vw; line-height: 1.13; }
#roda .lista > div { cursor: pointer; user-select: none; }
#roda .lista > div:hover { color: var(--laranja); }
#roda .lista > div:focus-visible { outline-offset: 4px; }
#roda .ajuda {
  position: absolute;
  bottom: 13%;
  left: var(--margem);
  right: var(--margem);
  font-size: 11px;
  letter-spacing: .10em;
  opacity: .85;
}
#sobre {
  min-height: 100svh;
  background: var(--papel);
  color: var(--tinta);
  padding: clamp(100px, 14vh, 180px) var(--margem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(70px, 12vh, 150px);
}
.sobre-topo { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sobre-topo .sobre-numero { opacity: .5; }
.sobre-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  gap: clamp(24px, 8vw, 150px);
  align-items: start;
}
.sobre-titulo {
  font-size: clamp(54px, 10.5vw, 150px);
  line-height: .91;
  letter-spacing: -.075em;
  font-weight: 700;
}
.sobre-titulo span { display: block; font-weight: 400; }
.sobre-texto {
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.43;
  letter-spacing: -.03em;
  max-width: 830px;
}
.sobre-texto p + p { margin-top: 1.2em; }
.sobre-texto strong { color: var(--tinta); }
.sobre-faixas {
  border-top: 1px solid rgba(46,51,57,.24);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sobre-faixas article { padding: 28px 18px 0 0; border-right: 1px solid rgba(46,51,57,.24); }
.sobre-faixas article + article { padding-left: 22px; }
.sobre-faixas article:last-child { border: 0; }
.sobre-faixas h3 { font-size: clamp(20px, 2.5vw, 32px); letter-spacing: -.04em; margin: 14px 0; }
.sobre-faixas p { font-size: clamp(14px, 1.3vw, 16px); line-height: 1.55; opacity: .76; max-width: 28ch; }
.sobre-faixas .numero { color: #9C613F; }
.sobre-contato { align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; padding-bottom: 8px; border-bottom: 1px solid currentColor; }
.sobre-contato:hover { color: #A65C31; }
.detalhe-servico {
  width: min(760px, calc(100vw - 28px));
  max-height: min(88dvh, 960px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--tinta);
  background: var(--papel);
  box-shadow: 0 25px 100px rgba(0,0,0,.25);
}
.detalhe-servico::backdrop { background: rgba(14,18,21,.80); backdrop-filter: blur(7px); }
.detalhe-interior { padding: clamp(24px, 6vw, 64px); }
.detalhe-topo { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: clamp(45px, 8vh, 80px); }
.detalhe-fechar { background: none; border: none; cursor: pointer; color: inherit; font: inherit; padding: 12px 0 12px 12px; }
.detalhe-servico h2 { font-size: clamp(40px, 7vw, 86px); letter-spacing: -.065em; line-height: 1.01; margin-bottom: 28px; }
.detalhe-resumo { font-size: clamp(17px, 2.2vw, 23px); line-height: 1.5; max-width: 53ch; margin-bottom: 40px; }
.detalhe-servico h3 { margin-bottom: 16px; font-size: 11px; letter-spacing: .13em; }
.detalhe-entregas { list-style: none; border-top: 1px solid rgba(46,51,57,.22); }
.detalhe-entregas li { display: flex; gap: 22px; padding: 16px 0; border-bottom: 1px solid rgba(46,51,57,.22); font-size: clamp(15px, 2vw, 18px); }
.detalhe-entregas li span { font-size: 11px; font-family: var(--mono); opacity: .55; padding-top: 4px; }
.detalhe-acao {
  display: block;
  margin-top: 34px;
  padding: 20px 24px;
  text-align: center;
  background: var(--tinta);
  color: var(--papel);
  font-weight: 700;
  font-size: 17px;
  transition: background .2s;
}
.detalhe-acao:hover { background: #171A1D; }
#contato .falar { transition: transform .2s, background .2s; }
#contato .falar:hover { transform: translateY(-3px); }
@media (max-width: 699px) {
  body.aberto .navegacao {
    top: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
    right: 14px;
    left: 14px;
    gap: 0;
    justify-content: space-around;
    padding: 6px 4px;
    background: rgba(46,51,57,.96);
    color: var(--papel);
    border: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 12px 35px rgba(0,0,0,.18);
    backdrop-filter: blur(10px);
  }
  .navegacao a { font-size: 10px; padding: 12px 7px; }
  body[data-tema="escuro"] .navegacao { color: var(--papel); }
  .heroi .nome { font-size: clamp(53px, 15.1vw, 105px); }
  #roda .ajuda { bottom: 15%; font-size: 10px; max-width: 26ch; }
  #sobre { padding-bottom: 130px; }
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre-titulo { font-size: clamp(60px, 18vw, 110px); }
  .sobre-faixas { grid-template-columns: 1fr; }
  .sobre-faixas article, .sobre-faixas article + article { padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(46,51,57,.24); }
  .sobre-faixas article:last-child { border: 0; }
  .sobre-faixas h3 { margin: 9px 0; }
  .sobre-faixas p { max-width: none; }
  #contato { padding-bottom: 95px; }
  #contato .nome { font-size: clamp(37px, 10vw, 70px); }
  .detalhe-servico { max-height: 91dvh; }
}
@media (prefers-reduced-motion: reduce) {
  .navegacao, #contato .falar { transition: none; }
  .detalhe-servico::backdrop { backdrop-filter: none; }
}
