/* Estúdio Piloti: réplica do visual do site no Squarespace (modelo Brine) */
:root {
  --base: #281a17;
  --texto: rgba(39, 25, 22, .8);
  --claro: rgba(40, 26, 23, .1);
  --destaque: #ff6c45;
  --fundo: #fff;
  --rodape: #f0eeee;
  --largura: 1090px;
  --menu: 'Agdasima', 'Arial Narrow', sans-serif;
  --titulo: 'Jost', 'Futura', 'Trebuchet MS', sans-serif;
  --corpo: 'Source Sans 3', 'Source Sans Pro', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fundo); color: var(--texto); font-family: var(--corpo); font-size: 18.4px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* títulos */
h1, h2, h3, h4 { margin: 0 0 .5em; }
h1, h2.t1 { font-family: var(--titulo); font-weight: 800; font-size: 70px; line-height: .8; letter-spacing: -.03em; color: var(--claro); }
h2, h1.t2 { font-family: var(--titulo); font-weight: 400; font-size: 39px; line-height: 1; letter-spacing: -.02em; color: var(--base); }
h3 { font-family: var(--corpo); font-weight: 400; font-size: 24.25px; line-height: 1.25; color: var(--texto); }
h4 { font-family: var(--corpo); font-weight: 700; font-size: 18.4px; color: var(--base); }
.txt p strong, .txt li strong { color: var(--base); }
.txt p:empty { height: 1.7em; margin: 0; }
.txt a, .post-corpo a { color: var(--base); text-decoration: none; border-bottom: 1px solid rgba(40,26,23,.3); }
.txt a:hover { color: var(--destaque); }
.sqsrte-large { font-size: 1.3em; line-height: 1.5; }
.sqsrte-small { font-size: .85em; }
blockquote { margin: 1em 0; padding-left: 1em; border-left: 2px solid var(--claro); font-style: italic; }
hr { border: 0; border-top: 1px solid rgba(40,26,23,.3); margin: 1.6em 0; }
ul, ol { padding-left: 1.3em; }

/* topo */
.topo { position: relative; z-index: 20; }
.topo-in { max-width: var(--largura); margin: 0 auto; padding: 22px 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marca img { width: 102px; height: auto; }
.topo.sobre { position: absolute; top: 0; left: 0; right: 0; }
.topo.sobre .marca img { opacity: .9; }
.menu { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.menu > a { font-family: var(--menu); text-transform: uppercase; letter-spacing: 1.17px; font-size: 13.95px; text-decoration: none; color: rgba(40,26,23,.6); margin: 0 1.71em; padding: .618em 0; }
.menu > a:hover, .menu > a.ativo { color: var(--base); }
.topo.sobre .menu > a { color: #1d1d1d; }
.topo.sobre .menu > a.ativo, .topo.sobre .menu > a:hover { color: #000; }
.t-home .topo.sobre .menu > a.ativo { color: #fff; }
.redes { display: inline-flex; gap: 8px; margin-left: 1.2em; }
.redes a { width: 31px; height: 31px; display: grid; place-items: center; background: #e7e5e5; color: var(--base); }
.topo.sobre .redes a { background: #fff; }
.menu-btn { display: none; }

/* seções (páginas de índice) */
.secao { position: relative; }
.secao-conteudo { max-width: var(--largura); margin: 0 auto; padding: 75px 0; }
.secao-banner { min-height: 100vh; display: flex; align-items: center; background: #ddd var(--fundo) center / cover no-repeat; background-position: var(--pos, 50% 50%); color: #fff; }
.secao-banner .secao-conteudo { position: relative; z-index: 2; width: 100%; padding: 240px 0; text-align: center; }
.secao-banner h1, .secao-banner h2, .secao-banner h3, .secao-banner p, .secao-banner .txt strong { color: #fff; }
.secao-banner .txt a { color: #fff; border-color: rgba(255,255,255,.5); }
.secao-capa { background: #ddd; }
.secao-capa .capa-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.t-home .secao-banner:first-child .secao-conteudo { padding-top: 160px; }
.t-home .secao:not(.secao-banner) .secao-conteudo { text-align: center; }
.t-home .secao:not(.secao-banner) .lin .secao-conteudo, .t-home .lin .txt { text-align: left; }
.t-home .secao .form, .t-home .secao .lin { text-align: left; }
.t-home .secao:not(.secao-banner) h1, .t-home .secao:not(.secao-banner) h2.t1 { max-width: 760px; margin-left: auto; margin-right: auto; }

/* grade de colunas */
.lin { display: flex; gap: 0 34px; align-items: flex-start; }
.lin > .col { flex: var(--s) 1 0; min-width: 0; }
.esp { padding-bottom: min(var(--h), 120px); }

/* imagens */
.img { margin: 0 0 34px; position: relative; }
.img img { width: 100%; }
.img[style*="--ar"] > a, .img[style*="--ar"] > img { display: block; position: relative; padding-bottom: var(--ar); overflow: hidden; }
.img[style*="--ar"] > a > img, .img[style*="--ar"] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img figcaption { margin-top: .6em; font-size: .9em; }
.img-poster figcaption { position: absolute; left: 12%; right: 8%; top: 50%; transform: translateY(-50%); margin: 0; color: #fff; pointer-events: none; }
.img-poster figcaption a { pointer-events: auto; text-decoration: none; color: #fff; display: block; }
.img-poster .rot { display: block; font-family: var(--menu); text-transform: uppercase; letter-spacing: 1.17px; font-size: 13px; margin-bottom: .7em; }
.img-poster .tit { display: block; font-family: var(--titulo); font-weight: 800; font-size: 50px; line-height: 1.05; letter-spacing: -.02em; max-width: 620px; }
.img-poster > a::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.12); }
.img-stack figcaption .rot { display: block; font-size: .95em; line-height: 1.35; color: var(--base); }
.img-stack figcaption .tit { display: block; font-size: .85em; }
.img-stack figcaption a { text-decoration: none; }
.galeria { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; margin-bottom: 34px; }
.galeria-slideshow, .galeria-stacked { grid-template-columns: 1fr; }
.galeria figure { margin: 0; }
.galeria img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.galeria figcaption { font-size: .85em; margin-top: .4em; }
.galeria-obra { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.galeria-obra figure { margin: 0; }
.galeria-obra figure:nth-child(3n+1) { grid-column: 1 / -1; }
.galeria-obra figcaption { font-size: .9em; margin-top: .5em; }
.video { position: relative; padding-bottom: 56.25%; margin-bottom: 34px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* botões */
.botao a, a.botao, .botao-form { display: inline-block; font-family: var(--menu); text-transform: uppercase; letter-spacing: 1.17px; font-size: 13.95px; color: var(--destaque); border: 2px solid var(--destaque); padding: 12px 26px; text-decoration: none; background: transparent; cursor: pointer; }
.botao a:hover, .botao-form:hover { background: var(--destaque); color: #fff; }
.secao-banner .botao a { color: #fff; border-color: #fff; }
.secao-banner .botao a:hover { background: #fff; color: var(--base); }

/* conteúdo de páginas simples */
.conteudo { max-width: var(--largura); margin: 0 auto; padding: 60px 0; }
.conteudo.estreito { max-width: 706px; padding-top: 100px; }
.banner-pagina { height: 256px; background: #ddd var(--fundo) center / cover no-repeat; }
.t-lista_projetos .conteudo { padding-top: 50px; }
.voltar-topo { padding-top: 0 !important; }
.voltar-topo a { color: var(--base); text-decoration: none; border-bottom: 1px solid rgba(40,26,23,.3); }

/* formulário */
.form { margin: 1em 0 2em; text-align: left; }
.campo { display: block; margin-bottom: 18px; }
.rot-campo { display: block; color: var(--base); font-size: 17px; text-transform: none; }
.rot-campo small, .desc { font-size: 12px; color: rgba(40,26,23,.55); }
.desc { display: block; }
.form input, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #a9a9a9; background: #fafafa; color: var(--base); border-radius: 0; margin-top: 6px; }
.form textarea { min-height: 100px; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--destaque); outline-offset: 0; }
.botao-form { padding: 20px 46px; font-size: 16px; }
.mel { position: absolute; left: -9999px; }
.aviso-form { color: #b3261e; }
.form-ok { padding: 1em 0; color: var(--base); }

/* blog */
.conteudo.largo { max-width: var(--largura); }
.blog-filtro { font-size: 39px; color: var(--base); font-weight: 400; line-height: 1.1; margin-bottom: 1.2em; }
.blog-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 90px 120px; }
.blog-item .blog-img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.meta { font-family: var(--menu); text-transform: uppercase; letter-spacing: .05em; font-size: 12px; color: rgba(34,34,34,.5); margin: 22px 0 14px; }
.blog-item h2 { font-family: var(--titulo); font-weight: 500; font-size: 25px; line-height: 1.25; letter-spacing: 0; margin: 0 0 .2em; }
.blog-item h2 a { text-decoration: none; color: var(--base); }
.resumo, .resumo p { display: inline; }
.leia { font-family: var(--menu); font-size: 12px; text-decoration: none; color: var(--base); white-space: nowrap; }
.post { max-width: 1090px; margin: 0 auto; }
.post-cab { text-align: center; }
.post-cab h1 { color: var(--base); font-size: 39px; line-height: 1.1; font-weight: 400; letter-spacing: -.01em; }
.post-corpo { font-size: 16px; }
.post-corpo .txt { max-width: 700px; margin: 0 auto; }
.post-corpo h2 { font-size: 26px; }
.post-tags { text-align: center; font-family: var(--menu); text-transform: uppercase; font-size: 12px; }
.post-tags a { margin: 0 .5em; text-decoration: none; color: rgba(40,26,23,.6); }
.post-nav { display: flex; justify-content: space-between; gap: 40px; margin-top: 60px; border-top: 1px solid rgba(40,26,23,.15); padding-top: 30px; }
.post-nav a { text-decoration: none; font-family: var(--titulo); font-size: 22px; color: var(--base); max-width: 45%; line-height: 1.25; }
.post-nav .prox { text-align: right; }
.post-nav small { display: block; font-family: var(--menu); text-transform: uppercase; font-size: 12px; color: rgba(40,26,23,.5); }

/* rodapé */
.rodape { background: var(--rodape); padding: 22px 20px 50px; text-align: center; font-family: var(--menu); }
.rodape-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 12.4px; color: rgba(40,26,23,.65); letter-spacing: .04em; }
.rodape-info a { text-decoration: none; }
.rodape-nome { text-transform: uppercase; color: var(--base); letter-spacing: 1.17px; }
.rodape-redes { margin-top: 26px; display: flex; justify-content: center; gap: 18px; }
.rodape-redes a { text-transform: uppercase; text-decoration: none; color: var(--base); font-weight: 700; font-size: 15.5px; letter-spacing: .04em; }

/* WhatsApp */
.zap { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(40,26,23,.82); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: background .2s; }
.zap:hover { background: #25d366; }
.zap svg { width: 22px; height: 22px; }

/* responsivo */
@media (max-width: 1240px) {
  .topo-in, .secao-conteudo, .conteudo { padding-left: 48px; padding-right: 48px; }
  .menu > a { margin: 0 1em; }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .topo-in { padding: 14px 20px; }
  .marca img { width: 64px; }
  .menu-btn { display: block; background: none; border: 0; width: 34px; height: 30px; padding: 4px; cursor: pointer; z-index: 30; }
  .menu-btn { position: relative; z-index: 30; }
  .menu-btn span { display: block; height: 2px; background: var(--base); margin: 6px 0; }
  .topo.sobre .menu-btn span { background: var(--base); }
  .topo.sobre .menu > a.ativo, .t-home .topo.sobre .menu > a.ativo { color: var(--destaque, #ff6c45); }
  .menu { display: none; position: fixed; inset: 0; background: var(--base); flex-direction: column; justify-content: center; align-items: center; z-index: 25; }
  .menu.aberto { display: flex; }
  .menu > a, .topo.sobre .menu > a { color: #fff; font-size: 18px; margin: .3em 0; }
  .redes { margin: 1.5em 0 0; }
  .menu.aberto ~ .menu-btn span, body.menu-aberto .menu-btn span { background: #fff; }
  .secao-conteudo, .conteudo { padding: 40px 20px; }
  .conteudo.estreito { padding-top: 60px; }
  .secao-banner { min-height: 80vh; }
  .secao-banner .secao-conteudo { padding: 120px 20px; }
  .lin { display: block; }
  h1, h2.t1 { font-size: 40px; }
  h2, h1.t2 { font-size: 28px; }
  .img-poster .tit { font-size: 28px; }
  .img-poster figcaption { left: 8%; }
  .blog-grade { grid-template-columns: 1fr; gap: 60px; }
  .galeria { grid-template-columns: 1fr 1fr; }
  .galeria-obra { grid-template-columns: 1fr; gap: 20px; }
  .post-nav { flex-direction: column; }
  .post-nav a { max-width: 100%; }
}

@media (max-width: 900px) { .topo.sobre + main .banner-pagina { margin-top: 96px; } }
