/* Think Design Estratégico: visual do site (Bootstrap 5.3 + ajustes). Medido no site original (Raleway 14/26, cabeçalho fixo de 108 px, fundo #f5f5f5, cartões brancos com borda #e5e5e5). */
:root { --texto: #414141; --link: #706f68; --cinza: #f5f5f5; --borda: #e5e5e5; --sombra: 0 1px 1px 0 #eaeaea, inset 0 1px 0 0 #fbfbfb; --largura: 1180px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 300 14px/26px Raleway, sans-serif; color: var(--texto); background: #fff; padding-top: 108px; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--texto); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5 { font-family: Raleway, sans-serif; color: var(--texto); margin: 0 0 26px; }
h1, h2, h3 { font-weight: 500; font-size: 32px; line-height: 1.4; }
h4 { font-size: 21.33px; font-weight: 300; line-height: 1.4; }
h5 { font-size: 18.67px; font-weight: 300; line-height: 1.4; margin-bottom: 18.67px; }
p { margin: 0 0 25px; }
.wrapper { width: min(var(--largura), calc(100% - 64px)); margin: 0 auto; }
@media (max-width: 767px) { .wrapper { width: calc(100% - 90px); } }

/* ---------- cabeçalho fixo ---------- */
#topo { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 108px; padding: 25px 0; background: #fff; transition: box-shadow .2s; }
#topo.fixo { box-shadow: 0 1px 6px rgba(0, 0, 0, .12); }
#topo .wrapper { display: flex; align-items: flex-start; justify-content: space-between; }
#topo .logo img { display: block; width: 200px; height: 41px; }
#topo nav ul { display: flex; gap: 25px; list-style: none; margin: 20px 0 0; padding: 0; }
#topo nav a { display: block; font-size: 14px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--texto); line-height: 26px; }
#topo nav a:hover, #topo nav a.ativo { color: var(--link); }
#burger { display: none; background: none; border: 0; padding: 0; font-size: 28px; line-height: 1; color: var(--texto); cursor: pointer; }
@media (max-width: 960px) {
  #topo { height: auto; min-height: 108px; padding: 25px 0 20px; }
  #topo .wrapper { flex-wrap: wrap; }
  #burger { display: block; margin-top: 4px; }
  #topo nav { display: none; flex-basis: 100%; }
  #topo nav.aberto { display: block; }
  #topo nav ul { flex-direction: column; gap: 0; margin: 15px 0 0; }
  #topo nav li { border-top: 1px solid var(--borda); }
  #topo nav a { padding: 10px 0; }
}

/* ---------- faixas ---------- */
.faixa-titulo { background: #fff; padding: 23px 0 0; border-top: 1px solid var(--borda); border-bottom: 1px solid var(--borda); box-shadow: var(--sombra); }
.faixa-titulo h3 { margin-bottom: 26.4px; }
.cinza { background: var(--cinza); padding: 60px 0 40px; }
.cinza > .wrapper > :last-child { margin-bottom: 0; }

/* ---------- banner do topo (era o Revolution Slider: grade 1240×700, largura total) ---------- */
.banner-topo { display: block; width: 100%; height: min(700px, 56.45vw); background: #fff; }
.banner-topo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Nosso Trabalho (filtros + grade) ---------- */
#filtros { margin: 0 0 40px; }
#filtros button { display: inline-block; margin: 0 5px 5px 0; padding: 7px 13px; font: 300 14px/26px Raleway, sans-serif; color: #111; background: #fff; border: 1px solid #b7b7b7; box-shadow: var(--sombra); cursor: pointer; }
#filtros button:hover { border-color: var(--texto); }
#filtros button.ativo { border-color: #111; }
.grade-port { list-style: none; margin: 0 -15px 10px; padding: 0; display: flex; flex-wrap: wrap; }
.grade-port > li { width: 33.3333%; padding: 0 15px; margin: 0 0 30px; }
.grade-port > li[hidden] { display: none; }
.proj { display: block; background: #fff; border: 1px solid var(--borda); box-shadow: var(--sombra); }
.proj .foto { position: relative; display: block; height: 200px; overflow: hidden; background: #ececec; }
.proj .foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.proj .foto .sobre { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; background: rgba(112, 111, 104, .85); color: #fff; text-align: center; opacity: 0; transition: opacity .25s; padding: 15px; }
.proj:hover .foto .sobre { opacity: 1; }
.proj .sobre b { font-size: 21.33px; font-weight: 300; line-height: 1.3; }
.proj .sobre small { font-size: 14px; }
.proj .detalhes { text-align: center; padding: 0 15px 13px; }
.proj .detalhes h4 { margin: 0; padding-top: 10px; }
.proj .detalhes h4 a { color: var(--texto); }
.proj .detalhes p { margin: 0; color: var(--texto); }
.ver-mais { display: block; width: 100%; margin: 0 0 30px; padding: 12px 15px; font: 300 16px/26px Raleway, sans-serif; letter-spacing: 2px; text-transform: uppercase; text-align: center; color: var(--texto); background: #fff; border: 1px solid var(--borda); box-shadow: var(--sombra); cursor: pointer; }
.ver-mais:hover { color: var(--link); }
.ver-mais[hidden] { display: none; }
@media (max-width: 960px) { .grade-port > li { width: 50%; } }
@media (max-width: 600px) { .grade-port > li { width: 100%; } }

/* ---------- O que Fazemos ---------- */
.grade-serv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 35.4px; margin-bottom: 30px; }
.serv { background: #fff; border: 1px solid var(--borda); box-shadow: var(--sombra); padding: 30px 25px 20px; text-align: center; min-height: 235px; }
.serv h4 { font-weight: 700; margin: 0 0 10px; color: var(--texto); }
.serv ul { list-style: none; margin: 0; padding: 0; }
.serv li { margin: 0; }
.serv p { margin: 0; }
.serv .saiba { color: var(--texto); font-weight: 700; font-size: 17px; }
@media (max-width: 960px) { .grade-serv { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grade-serv { grid-template-columns: 1fr; } }

/* ---------- Fale com a gente ---------- */
.fale { background: #706f68 center / cover no-repeat; padding: 60px 0 40px; }
.fale .linha { display: flex; gap: 3%; }
.fale .form { flex: 0 0 57.12%; min-width: 0; margin-bottom: 27px; }
.fale .frase { flex: 1; min-width: 0; }
.fale h2.f { margin: 0 0 9.9px; font-size: 22px; font-weight: 500; line-height: 30.8px; color: #fff; text-align: left; }
@media (max-width: 800px) { .fale .linha { flex-direction: column; } }

/* ---------- formulários ---------- */
.form-think input, .form-think textarea, .form-think select { display: block; width: 100%; margin: 0 0 10px; padding: 12px 15px; font: 400 14px Raleway, sans-serif; color: #000; background: #fff; border: 1px solid var(--borda); border-radius: 0; box-shadow: var(--sombra); }
.form-think textarea { height: 191px; margin-bottom: 15px; resize: vertical; }
.form-think input::placeholder, .form-think textarea::placeholder { color: #8c8c8c; }
.form-think .envia { text-align: center; }
.form-think button { padding: 12px 15px; font: 400 14px Raleway, sans-serif; color: #a7a7a7; background: #fff; border: 1px solid var(--borda); box-shadow: var(--sombra); cursor: pointer; }
.form-think button:hover { color: var(--texto); }
.form-think .form-status { margin: 10px 0 0; text-align: center; }
.cinza .form-think .form-status, .artigo .form-think .form-status { color: var(--texto); }
.fale .form-think .form-status { color: #fff; }

/* ---------- páginas internas: cartão branco + barra lateral ---------- */
.conteudo { display: flex; gap: 3.98%; align-items: flex-start; }
.conteudo > .principal { flex: 0 0 65.34%; min-width: 0; }
.conteudo > .lateral { flex: 1; min-width: 0; }
.artigo { background: #fff; border: 1px solid var(--borda); box-shadow: var(--sombra); margin: 0 0 50px; }
.artigo .miolo { padding: 35px 25px 20px; }
.artigo .miolo > :last-child { margin-bottom: 20px; }
.artigo .miolo h3.titulo, .artigo .miolo h1.titulo { margin-bottom: 0; }
.artigo .meta { margin: 0 0 25px; }
.texto img { height: auto; }
.texto h2, .texto h3 { font-size: 24px; }
.texto h4 { margin-bottom: 18px; }
.texto ul, .texto ol { margin: 0 0 25px; padding-left: 22px; }
.texto blockquote { margin: 0 0 25px; padding-left: 20px; border-left: 3px solid var(--borda); }
.texto iframe { max-width: 100%; }
.img-left { float: left; margin: 0 20px 10px 0; }
.img-right { float: right; margin: 0 0 10px 20px; }
.img-center { display: block; margin: 0 auto; }
.formulario-servico { padding-top: 51px; }
.formulario-servico h4 { margin-bottom: 26.4px; }
.formulario-servico .form-think { max-width: 450px; padding-bottom: 36px; }
.formulario-servico .envia { text-align: left; }
.widget { background: #fff; border: 1px solid var(--borda); box-shadow: var(--sombra); padding: 30px 25px 12px; margin: 0 0 25px; }
.widget h5 { margin-bottom: 18.67px; }
.widget ul { list-style: none; margin: 0 0 18px; padding: 0; }
.widget li a { color: var(--link); }
.widget li a:hover { color: var(--texto); }
.widget input[type=text], .widget input[type=email] { display: block; width: 100%; padding: 12px 15px; font: 400 14px Raleway, sans-serif; background: #fff; border: 1px solid var(--borda); box-shadow: var(--sombra); border-radius: 0; margin-bottom: 10px; }
.widget label { display: block; margin: 0; }
.widget .botao { padding: 8px 15px; font: 400 14px Raleway, sans-serif; color: #a7a7a7; background: #fff; border: 1px solid var(--borda); box-shadow: var(--sombra); cursor: pointer; }
.widget form p, .widget form { margin-bottom: 15px; }
@media (max-width: 960px) { .conteudo { flex-direction: column; } .conteudo > * { width: 100%; flex: none !important; } }

/* ---------- blog ---------- */
.post-item { margin: 0 0 50px; }
.post-item .capa { display: block; margin: 0; background: #fff; border: 1px solid var(--borda); border-bottom: 0; }
.post-item .capa img { display: block; width: 100%; height: auto; }
.post-item .artigo { margin: 0; border-top: 0; }
.post-item .artigo .miolo { padding-top: 25px; }
.post-item h3.entry-title { font-size: 28px; margin-bottom: 8px; }
.post-item h3 a { color: var(--texto); }
.post-item .meta-linha, .artigo .meta { font-size: 12px; line-height: 20px; margin: 0 0 18px; }
.post-item .comentarios { border-top: 1px solid var(--borda); padding: 15px 25px; text-align: right; font-size: 12px; }
.post-item .comentarios p { margin: 0; }
.paginacao { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 40px; }
.paginacao a, .paginacao span { padding: 7px 13px; background: #fff; border: 1px solid var(--borda); box-shadow: var(--sombra); color: var(--texto); }
.paginacao .atual { border-color: #111; }
.paginacao .off { color: #b7b7b7; }
.post-capa-unica { margin: 0; border-bottom: 0; }
.post-capa-unica img { display: block; width: 100%; height: auto; }
.tags { margin: 20px 0 0; }
.tags a { margin-right: 8px; }

/* ---------- página de projeto ---------- */
.projeto { background: #fff; border: 1px solid var(--borda); box-shadow: var(--sombra); margin: 0 0 50px; }
.projeto .carrossel img { display: block; max-width: 100%; width: auto; height: auto; margin: 0 auto; }
.projeto .carousel-control-prev, .projeto .carousel-control-next { width: 50px; opacity: .6; }
.projeto .carousel-control-prev-icon, .projeto .carousel-control-next-icon { background-color: rgba(112, 111, 104, .7); border-radius: 50%; background-size: 55%; width: 34px; height: 34px; }
.projeto .video-container { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.projeto .video-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.projeto .miolo { display: flex; gap: 3.98%; padding: 35px 25px 20px; }
.projeto .miolo .esq { flex: 0 0 65.34%; min-width: 0; }
.projeto .miolo .dir { flex: 1; min-width: 0; }
.projeto .miolo .esq, .projeto .miolo .dir { margin-bottom: 20px; }
.projeto .miolo h4 { margin-bottom: 26.4px; }
@media (max-width: 800px) { .projeto .miolo { flex-direction: column; gap: 20px; } }

/* ---------- rodapé ---------- */
.rodape { background: #fff; padding: 45px 0 47px; }
.rodape .social { text-align: center; padding: 30px 0; background: url(/tema/img/moldura.png) center center / auto no-repeat; }
.rodape .social h5 { font-weight: 700; margin: 0; }
.rodape .social p { margin: 0; padding: 0; line-height: 18px; color: var(--texto); }
.rodape .social p.redes { padding: 5px 0 0; line-height: 26px; height: 31px; }
.rodape .social p.redes a { margin: 0 14px; display: inline-block; }
.rodape .social p.redes img { display: inline-block; width: 25px; height: 26px; vertical-align: top; }
.parceiros { background: var(--cinza); padding: 30px 0; text-align: center; }
.parceiros img { width: 100px; height: auto; margin: 0 5px; vertical-align: middle; }
.parceiros p { margin: 0; }
.fixo-offset { height: 0; }

/* ---------- avisos e extras ---------- */
.aviso-preview { background: #fef3c7; color: #78350f; text-align: center; padding: 8px 16px; font: 13px/1.4 system-ui, sans-serif; position: relative; z-index: 120; }
.busca-form { display: flex; gap: 10px; margin-bottom: 25px; }
.busca-form input { flex: 1; padding: 12px 15px; border: 1px solid var(--borda); box-shadow: var(--sombra); font: 400 14px Raleway, sans-serif; }
.busca-form button { padding: 12px 15px; border: 1px solid var(--borda); background: #fff; box-shadow: var(--sombra); cursor: pointer; font: 400 14px Raleway, sans-serif; color: var(--texto); }
.sem-resultado { margin: 0; }

/* arquivo do portfólio: 4 colunas */
.grade-port.col4 > li { width: 25%; }
@media (max-width: 960px) { .grade-port.col4 > li { width: 50%; } }
@media (max-width: 600px) { .grade-port.col4 > li { width: 100%; } }
.ancora { scroll-margin-top: 108px; }
.visualmente-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* carrossel do projeto (era o Owl Carousel do tema) */
.projeto .carrossel { position: relative; }
.projeto .trilho { display: flex; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transition: height .25s; }
.projeto .trilho::-webkit-scrollbar { display: none; }
.projeto .slide { flex: 0 0 100%; scroll-snap-align: start; }
.projeto .seta { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(112, 111, 104, .7); color: #fff; font: 400 24px/30px Raleway, sans-serif; cursor: pointer; padding: 0; opacity: .8; }
.projeto .seta:hover { opacity: 1; }
.projeto .seta.ant { left: 14px; }
.projeto .seta.prox { right: 14px; }
.projeto h1.h4 { font-size: 21.33px; font-weight: 300; line-height: 1.4; margin: 0 0 26.4px; }
.post-item h2.entry-title { font-size: 32px; font-weight: 500; line-height: 45px; margin: 0 0 4px; }
.conteudo.blog > .principal, .conteudo.blog > .lateral { margin-top: 20px; }
.conteudo.blog > .lateral { margin-top: 20px; }
.post-item h2 a { color: var(--texto); }

.the-tags { display: block; margin: 0 0 25px; }
