/* Octo Arquitetura — réplica estática do site Framer */
@font-face { font-family: "Aspekta"; src: url("../fontes/aspekta-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("../fontes/aspekta-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("../fontes/aspekta-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("../fontes/aspekta-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --preto: #000;
  --branco: #fff;
  --cinza: rgb(125, 125, 125);
  --botao: rgb(41, 41, 41);
  --linha: rgba(255, 255, 255, 0.12);
  --margem: 25px;
  --vao: 5px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--preto); -webkit-text-size-adjust: 100%; }
body {
  background: var(--preto); color: var(--branco);
  font-family: "Aspekta", Arial, sans-serif; font-size: 14px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.so-cel { display: none; }

/* Botões */
.btn-branco, .btn-escuro, .rodape-links a, .chip {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
}
.btn-branco { background: var(--branco); color: var(--preto); font-weight: 600; font-size: 14px; height: 30px; padding: 0 12px 2px; transition: opacity .2s; }
.btn-escuro { background: var(--botao); color: var(--branco); font-weight: 500; font-size: 12px; height: 28px; padding: 0 12px 1px; transition: background .2s; }
.btn-branco:hover { opacity: .85; }
.btn-escuro:hover { background: rgb(70, 70, 70); }

/* Topo */
.topo { position: relative; display: flex; justify-content: space-between; align-items: flex-start; padding: var(--margem); height: 120px; }
.logo img { width: 168px; height: 40px; }
.slogan { color: var(--cinza); font-size: 16px; font-weight: 400; line-height: 1.2; margin-top: 15px; }
.polvo { position: absolute; left: 50%; top: 42px; transform: translateX(-50%); }
.polvo img { width: 67px; height: 61px; }
.topo-acoes { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.menu { display: flex; gap: 10px; }
.menu a { font-weight: 500; font-size: 14px; line-height: 1.2; padding: 2px 4px; transition: opacity .2s; }
.menu a:hover { opacity: .6; }

/* Rodapé */
.rodape { display: flex; justify-content: space-between; align-items: center; padding: var(--margem); }
.rodape-assina { font-size: 14px; }
.rodape-assina .copy { color: var(--cinza); margin-right: 6px; }
.rodape-assina .lema { font-weight: 600; letter-spacing: -0.02em; }
.rodape-links { display: flex; gap: 10px; }
.rodape-links a { font-weight: 500; font-size: 14px; height: 30px; padding: 0 10px 2px; border: 1px solid rgba(255, 255, 255, 0.2); transition: background .2s; }
.rodape-links a:hover { background: var(--botao); }

.whats-flutuante {
  position: fixed; right: 32px; bottom: 32px; z-index: 10;
  width: 48px; height: 48px; border-radius: 50%; background: var(--branco);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.whats-flutuante img { width: 28px; height: 28px; }

/* Fotos em preto e branco que ganham cor no hover */
.cat-foto img, .card img { filter: grayscale(1); transition: filter .5s ease; }
.cat-foto:hover img, .cat:hover .cat-foto img, .card:hover img { filter: grayscale(0); }

/* Home */
.cat { display: grid; grid-template-columns: 30fr 70fr; height: 810px; margin-bottom: var(--vao); }
.cat.img-esq { grid-template-columns: 70fr 30fr; }
.cat.img-esq .cat-foto { order: -1; }
.cat-texto { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 15px; padding: 0 20px; }
.cat-texto h2 { font-size: 36px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.cat-foto { display: block; overflow: hidden; height: 100%; }
.cat-foto img { width: 100%; height: 100%; object-fit: cover; }

/* Listagem */
.lista-topo { text-align: center; padding: 60px var(--margem) 60px; }
.lista-topo h1 { font-size: 35px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.lista-topo .lista-sub { color: var(--cinza); font-weight: 400; font-size: 20px; line-height: 1.4; max-width: 600px; margin: 10px auto 0; }
.grade { display: grid; grid-template-columns: 1fr 1fr; gap: var(--vao); padding: 0 var(--vao); }
.card { position: relative; display: block; aspect-ratio: 713 / 540; overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; background: rgba(0, 0, 0, 0.6); color: var(--branco); font-size: 14px; line-height: 1.2; padding: 5px 10px 7px; }
.card-nome { left: 16px; top: 16px; }
.card-ver { left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s; }
.card:hover .card-ver { opacity: 1; }

/* Projeto */
.projeto { display: grid; grid-template-columns: 30fr 70fr; align-items: start; }
.ficha { position: sticky; top: 20px; padding: 20px var(--margem) var(--margem); }
.ficha h1 { font-size: 24px; font-weight: 700; line-height: 1.4; }
.ficha .intro { color: rgba(255, 255, 255, 0.8); margin-top: 5px; }
.ficha-item { border-top: 1px solid var(--linha); padding: 15px 0; }
.ficha-cabeca { padding-bottom: 20px; }
.ficha-item .rotulo { color: var(--cinza); font-size: 14px; font-weight: 600; line-height: 1.5; margin-bottom: 5px; }
.ficha-item p:not(.rotulo) { min-height: 21px; }
.btn-voltar { height: 32px; margin-top: 5px; }
.fotos { display: flex; flex-direction: column; gap: var(--vao); padding-right: var(--vao); }
.fotos img { width: 100%; }

/* Sobre */
.sobre-topo { display: grid; grid-template-columns: 715fr 634fr; gap: 41px; align-items: center; padding: 0 45px 0 var(--vao); }
.sobre-foto { width: 100%; aspect-ratio: 715 / 720; object-fit: cover; }
.sobre-texto h1 { font-size: 48px; font-weight: 600; line-height: 1.2; margin-bottom: 20px; }
.sobre-texto .sobre-desc { font-size: 18px; font-weight: 400; line-height: 1.6; }
.pessoas { display: grid; grid-template-columns: 1fr 1fr; gap: 128px; padding: 100px 69px 100px; }
.pessoa { display: flex; gap: 30px; align-items: flex-start; }
.pessoa-foto { width: 80px; height: 80px; object-fit: cover; flex: none; }
.pessoa h2 { font-size: 32px; font-weight: 600; line-height: 1.2; margin-bottom: 10px; }
.pessoa p { color: var(--cinza); line-height: 1.6; }

/* Tablet e celular */
@media (max-width: 1199px) {
  :root { --margem: 20px; }
  .topo { flex-direction: column; align-items: center; height: auto; padding: 20px 20px 10px; text-align: center; }
  .topo-marca { display: flex; flex-direction: column; align-items: center; }
  .slogan { font-size: 14px; margin-top: 8px; }
  .polvo { position: static; transform: none; margin-top: 20px; order: 3; }
  .topo-acoes { margin-top: 12px; align-items: center; }
  .menu { display: none; }

  .cat, .cat.img-esq { grid-template-columns: 1fr; height: auto; margin-bottom: 60px; }
  .cat.img-esq .cat-foto { order: 0; }
  .cat-texto { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; padding: 30px 20px 20px; }
  .cat-texto h2 { font-size: 20px; }
  .cat:last-child { margin-bottom: 0; }
  .so-desk { display: none; }
  .so-cel { display: inline; }
  .logo img { width: 118px; height: auto; }
  .cat-foto { aspect-ratio: 390 / 300; height: auto; }

  .lista-topo { padding: 30px 20px 50px; }
  .lista-topo h1 { font-size: 32px; }
  .lista-topo .lista-sub { font-size: 16px; }
  .grade { grid-template-columns: 1fr; }

  .projeto { display: flex; flex-direction: column; }
  .ficha { display: contents; }
  .ficha-cabeca { order: 1; padding: 20px 20px 25px; }
  .fotos { order: 2; padding: 0; }
  .ficha-itens { order: 3; padding: 30px 20px 0; }
  .ficha-itens .ficha-item:first-child { border-top: 0; }

  .sobre-topo { grid-template-columns: 1fr; gap: 40px; padding: 0; }
  .sobre-texto { padding: 0 20px; }
  .sobre-texto h1 { font-size: 32px; }
  .sobre-texto .sobre-desc { font-size: 18px; }
  .sobre-foto { aspect-ratio: 390 / 600; }
  .pessoa h2 { font-size: 24px; }
  .pessoas { grid-template-columns: 1fr; gap: 60px; padding: 80px 20px 20px; }
  .pessoa { flex-direction: column; gap: 20px; }

  .rodape { flex-direction: column; gap: 20px; padding: 60px 20px 30px; text-align: center; }
  .rodape-assina { display: flex; flex-direction: column; gap: 10px; }
  .rodape-assina .copy { margin: 0; }
  .rodape-links { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .whats-flutuante { right: 16px; }
}
@media (min-width: 810px) and (max-width: 1199px) {
  .grade { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
