/* ==========================================================================
   Inversa — tema do site
   1. Variáveis   2. Base   3. Componentes   4. Cabeçalho, menu e rodapé
   5. Páginas: home, projetos, projeto, contato, quem somos, texto, erro
   O orçamento e a pesquisa de satisfação têm folha própria (fluxos.css).
   ========================================================================== */

/* 1. Variáveis ------------------------------------------------------------ */
:root {
    --cor-fundo: #0B0C10;
    --cor-superficie: #14161C;
    --cor-superficie-2: #1B1D24;
    --cor-rodape: #15171C;
    --cor-hover: #1B1E26;
    --cor-texto: #F2F3F7;
    --cor-texto-suave: #AEB3C2;
    --cor-texto-claro: #C6CAD6;
    --cor-destaque: #6C8CFF;
    --cor-ciano: #3DE0FF;
    --cor-azul: #2F5BF0;
    --cor-erro: #FF7A7A;
    --cor-sucesso: #3DDC97;
    --borda: rgba(255, 255, 255, .24);
    --borda-forte: rgba(255, 255, 255, .4);
    --borda-suave: rgba(255, 255, 255, .12);

    --fonte-texto: 'DM Sans', system-ui, sans-serif;
    --fonte-titulo: 'Sora', system-ui, sans-serif;

    --largura: 1440px;
    --respiro: clamp(8px, 2vw, 24px);
    --raio-g: clamp(24px, 3vw, 40px);
    --raio-m: clamp(24px, 2.6vw, 36px);
    --topo: 104px;
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--cor-fundo); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cor-fundo); color: var(--cor-texto); font-family: var(--fonte-texto); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; }
.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; }
:focus-visible { outline: 2px solid var(--cor-ciano); outline-offset: 3px; }

#wrapper { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
.conteudo-pagina { flex: 1; }

/* 3. Componentes ---------------------------------------------------------- */

/* largura máxima e respiro lateral de todas as seções */
.t-wrap { max-width: var(--largura); margin: 0 auto; padding: 0 var(--respiro); }
/* página: deixa espaço para o cabeçalho fixo e para o rodapé */
.t-pagina { padding: var(--topo) 0 clamp(56px, 8vw, 112px); }
.t-pilha { display: flex; flex-direction: column; gap: 20px; }
.t-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }

/* painéis: blocos arredondados que formam as seções */
.t-painel { border-radius: var(--raio-g); background: var(--cor-superficie-2); padding: clamp(36px, 6vw, 96px) clamp(24px, 5vw, 80px); }
.t-painel--card { background: var(--cor-superficie); }
.t-painel--dividido { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; overflow: hidden; }
.t-painel--dividido > .t-painel__texto { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.t-painel--dividido > .t-painel__arte { flex: 1 1 280px; min-width: 0; display: flex; justify-content: center; }

/* tipografia */
.t-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cor-destaque); }
.t-titulo { font-family: var(--fonte-titulo); font-weight: 800; font-size: clamp(38px, 5.6vw, 84px); line-height: 1.04; letter-spacing: -.035em; color: #FFF; text-wrap: balance; }
.t-titulo--m { font-size: clamp(30px, 3.4vw, 54px); line-height: 1.08; }
.t-titulo--estreito { max-width: 16ch; }
.t-subtitulo { font-family: var(--fonte-titulo); font-weight: 700; font-size: clamp(30px, 3.8vw, 56px); line-height: 1.08; letter-spacing: -.03em; color: var(--cor-texto); text-wrap: balance; }
.t-subtitulo--s { font-size: clamp(28px, 3.2vw, 46px); }
.t-lead { max-width: 60ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--cor-texto-claro); text-wrap: pretty; }
.t-texto { max-width: 62ch; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--cor-texto-suave); text-wrap: pretty; }
.t-azul { color: var(--cor-destaque); }
.t-ciano { color: var(--cor-ciano); }

/* botões */
.t-botoes { display: flex; flex-wrap: wrap; gap: 12px; }
.t-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; background: transparent; font-family: var(--fonte-titulo); font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s, border-color .2s, opacity .2s; }
.t-btn:hover { transform: translateY(-2px); }
.t-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.t-btn svg { flex: none; }
.t-btn--ciano { background: var(--cor-ciano); color: var(--cor-fundo); }
.t-btn--branco { background: #FFF; color: var(--cor-fundo); }
.t-btn--contorno { border-color: var(--borda-forte); color: #FFF; }
.t-btn--contorno:hover { border-color: #FFF; }
/* cor vinda do projeto (--cor-btn e --cor-btn-texto definidos no elemento) */
.t-btn--cor { background: var(--cor-btn); color: var(--cor-btn-texto); }

/* botão redondo de ícone (WhatsApp, menu, redes) */
.t-icone { width: 48px; height: 48px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--borda); border-radius: 50%; background: transparent; color: var(--cor-texto); cursor: pointer; transition: border-color .2s; }
.t-icone:hover { border-color: rgba(255, 255, 255, .6); }
.t-icone--s { width: 44px; height: 44px; }
.t-redes { display: flex; flex-wrap: wrap; gap: 8px; }

/* chips e tags */
.t-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.t-chip { padding: 8px 16px; border: 1px solid var(--borda-forte); border-radius: 999px; font-size: 14px; font-weight: 500; }
.t-tag { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #D5D9E4; }

/* cartão-link (outros projetos, redes, índice) */
.t-cartao { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 168px; padding: 28px; border-radius: 28px; background: var(--cor-superficie); color: var(--cor-texto); text-decoration: none; transition: background-color .2s; }
.t-cartao:hover { background: var(--cor-hover); }
.t-cartao__tipo { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--cor-texto-suave); }
.t-cartao__nome { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; font-family: var(--fonte-titulo); font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.02em; }
.t-ponto { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--cor-ponto, var(--cor-destaque)); }
.t-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }

/* seção com título acima (destaques, redes, outros projetos) */
.t-secao { padding-top: clamp(56px, 8vw, 112px); display: flex; flex-direction: column; gap: 32px; }
.t-secao > .t-subtitulo { padding: 0 clamp(8px, 1vw, 16px); }

/* faixa de chamada no fim das páginas */
.t-chamada { margin-top: clamp(60px, 9vw, 120px); border-radius: var(--raio-g); background: var(--cor-azul); padding: clamp(36px, 6vw, 96px) clamp(24px, 5vw, 80px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.t-chamada h2 { flex: 1 1 320px; font-family: var(--fonte-titulo); font-weight: 800; font-size: clamp(36px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.035em; color: #FFF; }

/* símbolo da Inversa com o vídeo sorteado dentro (máscara images/banners/logo-mask.png) */
.t-simbolo { width: min(100%, 440px); aspect-ratio: 661 / 581; object-fit: cover; background: var(--cor-azul);
    -webkit-mask: url('../images/banners/logo-mask.png') center / 100% 100% no-repeat; mask: url('../images/banners/logo-mask.png') center / 100% 100% no-repeat; }
.t-simbolo--s { width: min(100%, 320px); }
.t-simbolo::-webkit-media-controls { display: none; }

/* texto digitado: o texto final fica no lugar, invisível, e é revelado letra a letra (tema.js) */
.t-digitavel__reserva { visibility: hidden; }
.js .t-digitavel__texto { visibility: hidden; }
.js .t-digitavel.digitando .t-digitavel__texto, .sem-animacao .t-digitavel__texto { visibility: visible; }
.t-digitavel.digitando .t-letra { position: relative; visibility: hidden; }
.t-digitavel.digitando .t-letra.vista { visibility: visible; }
.t-letra.cursor::after, .t-letra.cursor-inicio::after { content: '_'; position: absolute; top: 0; left: 100%; visibility: visible; color: var(--cor-destaque); font-weight: 800; animation: t-piscar 1s step-end infinite; }
.t-letra.cursor-inicio::after { left: 0; }
.sem-animacao .t-digitavel__reserva { visibility: visible; color: var(--cor-destaque); }
@keyframes t-piscar { 50% { opacity: 0; } }

/* carrossel: desliza com o dedo (scroll-snap); setas e pontos via tema.js */
.t-carrossel { position: relative; }
.t-carrossel__trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.t-carrossel__trilho::-webkit-scrollbar { display: none; }
.t-carrossel__trilho:focus-visible { outline: 2px solid var(--cor-ciano); outline-offset: -2px; }
.t-carrossel__item { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; }
.t-carrossel__seta { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(11, 12, 16, .72); color: #fff; cursor: pointer; transition: opacity .2s, background-color .2s; }
.t-carrossel__seta:hover { background: rgba(11, 12, 16, .9); }
.t-carrossel__seta[disabled] { opacity: 0; pointer-events: none; }
.t-carrossel__seta--anterior { left: 12px; }
.t-carrossel__seta--proxima { right: 12px; }
.t-carrossel__pontos { position: absolute; left: 50%; bottom: 14px; z-index: 2; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(11, 12, 16, .6); }
.t-carrossel__pontos button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .25s, background-color .25s; }
.t-carrossel__pontos button[aria-current] { width: 22px; background: #fff; }
html:not(.js) .t-carrossel__seta, html:not(.js) .t-carrossel__pontos { display: none; }

/* aparelhos: capas dentro das molduras de notebook e celular */
.t-aparelhos { position: relative; width: 100%; max-width: 640px; }
.t-aparelhos--app { max-width: 460px; display: flex; align-items: flex-start; }
.t-aparelhos__mac { position: relative; width: 100%; }
.t-aparelhos__mac > img, .t-aparelhos__iphone > img { width: 100%; height: auto; }
.t-aparelhos__iphone { position: relative; width: 30%; }
.t-aparelhos:not(.t-aparelhos--app) .t-aparelhos__iphone { position: absolute; bottom: 0; z-index: 2; }
.t-aparelhos--direita .t-aparelhos__iphone { right: -2%; }
.t-aparelhos--esquerda { padding-left: 9%; }
.t-aparelhos--esquerda .t-aparelhos__iphone { left: 0; width: 24%; }
.t-aparelhos--app .t-aparelhos__iphone { z-index: 1; width: 56%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.t-aparelhos--app .t-aparelhos__iphone:last-child { z-index: 2; width: 46%; margin: 22% 0 0 -8%; } /* o da frente: menor, mais baixo e sobreposto */
.t-aparelhos__tela { position: absolute; z-index: 1; overflow: hidden; background: #FFF; }
.t-aparelhos__mac .t-aparelhos__tela { left: 12.8%; top: 7.9%; width: 73%; height: 81%; }
.t-aparelhos__iphone .t-aparelhos__tela { left: 4.7%; top: 1.7%; width: 90.5%; height: 95.9%; border-radius: 13% / 6.2%; }
.t-aparelhos__tela img { width: 100%; height: auto; }

/* formulários */
.t-form { display: flex; flex-direction: column; gap: 20px; }
.t-form__grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.t-campo { position: relative; display: flex; flex-direction: column; gap: 8px; }
.t-campo > label { font-size: 14px; font-weight: 500; color: var(--cor-texto-suave); }
.t-input { width: 100%; min-height: 56px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; background: var(--cor-superficie-2); color: var(--cor-texto); font-size: 16px; transition: border-color .2s; }
textarea.t-input { min-height: 160px; padding: 16px 18px; line-height: 1.5; resize: vertical; }
.t-input:focus { outline: none; border-color: var(--cor-ciano); }
.t-input.error { border-color: var(--cor-erro); }
.t-campo label.error, .t-aceite label.error { font-size: 13px; font-weight: 500; color: var(--cor-erro); }
.t-form__rodape { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.t-aceite { flex: 1 1 260px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 44px; font-size: 14px; line-height: 1.4; color: var(--cor-texto-suave); }
.t-aceite input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--cor-ciano); }
.t-aceite a { color: var(--cor-texto); }
.t-aviso { padding: 14px 18px; border-radius: 14px; font-weight: 500; }
.t-aviso[hidden] { display: none; }
.t-aviso--sucesso { background: rgba(61, 220, 151, .12); color: var(--cor-sucesso); }
.t-aviso--erro { background: rgba(255, 122, 122, .12); color: var(--cor-erro); }

/* entrada suave ao rolar ([data-revelar]) */
.js [data-revelar] { opacity: 0; transform: translateY(16px); transition: opacity .7s, transform .7s; }
.js [data-revelar].revelado { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js [data-revelar] { opacity: 1; transform: none; transition: none; }
    .t-btn, .t-cartao { transition: none; }
}

/* 4. Cabeçalho, menu e rodapé --------------------------------------------- */
.t-cabecalho { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.t-cabecalho__barra { max-width: var(--largura); margin: 0 auto; padding: 20px clamp(16px, 3vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: padding .25s; }
.t-logo img { height: 44px; width: auto; transition: height .25s; }
.t-cabecalho .t-icone { transition: width .25s, height .25s, border-color .2s; }
.t-cabecalho__acoes { display: flex; align-items: center; gap: 8px; }

.t-menu { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: flex-end; visibility: hidden; transition: visibility 0s .35s; }
.t-menu.aberto { visibility: visible; transition: none; }
.t-menu__fundo { position: absolute; inset: 0; border: 0; padding: 0; background: rgba(11, 12, 16, .64); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; opacity: 0; transition: opacity .35s; }
.t-menu.aberto .t-menu__fundo { opacity: 1; }
.t-menu__painel { position: relative; width: min(560px, 100%); height: 100%; overflow-y: auto; background: var(--cor-superficie); border-radius: 40px 0 0 40px; padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 24px; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.t-menu.aberto .t-menu__painel { transform: none; }
.t-menu__topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.t-menu__titulo { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cor-texto-suave); }
.t-menu__lista { margin: auto 0; list-style: none; }
.t-menu__lista li { border-top: 1px solid var(--borda-suave); }
.t-menu__link { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--cor-texto); text-decoration: none; transition: color .2s; }
.t-menu__link:hover, .t-menu__link[aria-current="page"] { color: var(--cor-ciano); }
.t-menu__link > span { display: flex; align-items: baseline; gap: 16px; }
.t-menu__link small { font-size: 14px; font-weight: 700; color: var(--cor-texto-suave); }
.t-menu__link strong { font-family: var(--fonte-titulo); font-weight: 700; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; letter-spacing: -.03em; }
.t-menu__rodape { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 24px; border-top: 1px solid var(--borda-suave); }
.menu-aberto { overflow: hidden; }

.t-rodape { margin-top: auto; padding: 0 var(--respiro) var(--respiro); }
.t-rodape__caixa { max-width: var(--largura); margin: 0 auto; border-radius: var(--raio-g); background: var(--cor-rodape); padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.t-rodape__marca { display: flex; flex-direction: column; gap: 16px; }
.t-rodape__marca img { height: 52px; width: auto; }
.t-rodape__marca span { font-size: 14px; color: var(--cor-texto-suave); }

/* 5. Páginas -------------------------------------------------------------- */

/* Home */
.home-sobre { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 48px; overflow: hidden; padding-bottom: 0; }
.home-sobre__texto { flex: 1 1 420px; align-self: center; display: grid; padding-bottom: clamp(32px, 5vw, 80px); }
/* os dois blocos ficam empilhados no mesmo lugar: a seção já nasce com a altura do maior */
.home-sobre__bloco { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 24px; visibility: hidden; }
.home-sobre__bloco.ativo, .sem-animacao .home-sobre__bloco:first-child { visibility: visible; }
.home-sobre__bloco p { opacity: 0; transform: translateY(8px); transition: opacity .6s, transform .6s; }
.home-sobre__bloco p.visivel, .sem-animacao .home-sobre__bloco p { opacity: 1; transform: none; }
.home-sobre__foto { flex: 1 1 320px; display: flex; justify-content: center; }
.home-sobre__foto img { width: min(100%, 460px); height: auto; }
.home-projetos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 16px; }
.home-projeto { display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: var(--cor-superficie); color: var(--cor-texto); text-decoration: none; transition: background-color .2s; }
.home-projeto:hover { background: var(--cor-hover); }
.home-projeto__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cor-superficie-2); }
.home-projeto__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.home-projeto:hover .home-projeto__img img { transform: scale(1.03); }
.home-projeto__img--app { display: flex; justify-content: center; align-items: flex-end; padding: 20px 20px 0; background: var(--cor-tom); }
.home-projeto__img--app .t-aparelhos { width: auto; height: 100%; aspect-ratio: 1 / 1.12; }
.home-projeto__img--app img, .home-projeto:hover .home-projeto__img--app img { height: auto; transform: none; }
.home-projeto__nome { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: var(--fonte-titulo); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.home-instagram { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.home-instagram__post { position: relative; display: block; overflow: hidden; border-radius: 20px; background: var(--cor-superficie); aspect-ratio: 1; }
.home-instagram__post img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.home-instagram__post:hover img { transform: scale(1.04); }
.home-instagram__tipo { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(11, 12, 16, .6); color: #fff; }
.home-redes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.home-rede { min-height: 72px; padding: 0 24px; border-radius: 999px; background: var(--cor-superficie); color: var(--cor-texto); text-decoration: none; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: background-color .2s; }
.home-rede:hover { background: var(--cor-hover); }
.t-centro { display: flex; justify-content: center; }

/* Projetos (listagem) */
.pl-indice { display: flex; flex-wrap: wrap; gap: 10px; }
.pl-indice a { min-height: 56px; padding: 8px 18px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; color: var(--cor-texto); text-decoration: none; display: flex; flex-direction: column; justify-content: center; gap: 2px; transition: border-color .2s, background-color .2s; }
.pl-indice a:hover { border-color: var(--cor-destaque); background: rgba(108, 140, 255, .1); }
.pl-indice small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cor-texto-suave); }
.pl-indice strong { font-family: var(--fonte-titulo); font-weight: 700; font-size: 15px; }
.pl-card { scroll-margin-top: 16px; display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; padding: clamp(12px, 1.6vw, 20px); border-radius: var(--raio-g); background: var(--cor-superficie); }
.pl-card--invertido { flex-direction: row-reverse; }
.pl-card__midia { flex: 1 1 520px; min-width: 0; display: flex; align-items: center; justify-content: center; padding: clamp(24px, 3vw, 48px); border-radius: clamp(18px, 2.4vw, 30px); background: var(--cor-tom); }
.pl-card__texto { flex: 1 1 380px; min-width: 0; padding: clamp(20px, 3.4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.pl-card__cabeca { display: flex; flex-direction: column; gap: 14px; }
.pl-card__tipo { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cor-projeto); }
.pl-card h2 { font-family: var(--fonte-titulo); font-weight: 700; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.pl-card h2 span { color: var(--cor-projeto); }
.pl-card__cabeca p { max-width: 52ch; font-size: 17px; line-height: 1.6; color: var(--cor-texto-suave); text-wrap: pretty; }
.pl-card .t-btn { min-height: 56px; padding: 0 26px; font-size: 16px; }
.pl-mais { padding-top: clamp(32px, 5vw, 64px); }

/* Projeto */
.pj-hero { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 32px; padding: clamp(32px, 6vw, 88px) clamp(24px, 5vw, 80px) 0; border-radius: var(--raio-g); background: var(--cor-painel); color: var(--cor-texto-painel); }
.pj-hero__texto { position: relative; z-index: 2; flex: 1 1 420px; align-self: center; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-bottom: clamp(24px, 6vw, 88px); }
.pj-tipo { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pj-hero h1 { font-family: var(--fonte-titulo); font-weight: 800; font-size: clamp(40px, 6.6vw, 104px); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.pj-hero h1 span { color: var(--cor-destaque-painel); }
.pj-hero .t-lead { max-width: 520px; color: inherit; }
.pj-hero .t-chip { border-color: var(--cor-borda-chip); text-transform: lowercase; }
.pj-hero .t-chip::first-letter { text-transform: uppercase; }
.pj-hero__arte { position: relative; flex: 1 1 360px; min-height: 340px; display: flex; justify-content: center; align-items: flex-end; }
.pj-hero__arte .t-aparelhos { margin-bottom: clamp(32px, 5vw, 72px); }
.pj-circulo { position: absolute; left: 50%; bottom: -26%; width: min(86%, 480px); aspect-ratio: 1; border-radius: 50%; background: var(--cor-circulo); transform: translateX(-62%); }
.pj-cards { display: flex; flex-wrap: wrap; gap: 20px; padding-top: clamp(32px, 5vw, 72px); }
.pj-card { min-width: 0; display: flex; flex-direction: column; gap: 28px; overflow: hidden; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--raio-m); background: var(--cor-superficie); }
.pj-card__texto { display: flex; flex-direction: column; gap: 16px; }
.pj-card--largo { flex-direction: row; align-items: center; gap: clamp(32px, 4vw, 64px); }
.pj-card--largo .pj-card__texto { flex: 0 0 min(38%, 460px); }
.pj-card--largo .pj-midia { flex: 1 1 0; min-width: 0; margin-top: 0; }
.pj-num { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--cor-projeto); }
.pj-card h2 { font-family: var(--fonte-titulo); font-weight: 700; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.pj-card h2 span, .pj-outros h2 span { color: var(--cor-projeto); }
.pj-corpo { display: flex; flex-direction: column; gap: 14px; max-width: 62ch; font-size: 17px; line-height: 1.65; color: var(--cor-texto-suave); }
.pj-corpo p { text-wrap: pretty; }
.pj-corpo h2, .pj-corpo h3 { margin-top: 12px; font-family: var(--fonte-titulo); font-weight: 700; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; color: var(--cor-texto); }
.pj-corpo strong { color: var(--cor-texto); }
.pj-corpo a { color: var(--cor-projeto); }
.pj-midia { margin-top: auto; display: flex; justify-content: center; overflow: hidden; border-radius: 22px; background: var(--cor-tom); }
.pj-midia--tela { max-height: 480px; padding: 32px 24px 0; align-items: flex-start; }
.pj-midia--tela img { width: min(100%, 720px); height: auto; border-radius: 10px 10px 0 0; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.pj-midia--celular { height: 440px; padding: 40px 24px 0; align-items: flex-start; }
.pj-midia--celular img { width: 270px; height: auto; border-radius: 22px 22px 0 0; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.pj-midia--video { padding: 24px; }
.pj-midia--video video, .pj-midia--video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.pj-midia--carrossel { display: block; padding: 0; }
.pj-midia--carrossel .t-carrossel__item { display: flex; justify-content: center; }
.pj-depoimento { margin-top: 20px; padding: clamp(28px, 4.5vw, 64px); border-radius: var(--raio-m); background: var(--cor-superficie); }
.pj-depoimento blockquote { font-family: var(--fonte-titulo); font-weight: 600; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; }
.pj-depoimento p { margin-top: 16px; color: var(--cor-texto-suave); }
.pj-final { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(28px, 4.5vw, 64px); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--raio-m); }
.pj-final h2 { flex: 1 1 320px; font-family: var(--fonte-titulo); font-weight: 700; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.pj-outros { padding-top: clamp(48px, 7vw, 96px); gap: 24px; }
.pj-outros h2 { font-size: clamp(24px, 2.4vw, 32px); }
.pj-outros .t-grade { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .pj-outros .t-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pj-outros .t-grade { grid-template-columns: 1fr; } }

/* Contato */
.contato-form { display: flex; flex-wrap: wrap; gap: 40px clamp(32px, 5vw, 80px); padding: clamp(24px, 4.5vw, 72px); }
.contato-form__intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 24px; }
.contato-form__intro .t-texto { max-width: 44ch; font-size: 18px; }
.contato-form .t-form { flex: 1.4 1 440px; min-width: 0; }

/* Quem somos */
.qs-servicos { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.qs-servico { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 220px; padding: 28px; border-radius: 28px; background: var(--cor-superficie); }
.qs-servico strong { font-family: var(--fonte-titulo); font-size: 24px; letter-spacing: -.02em; }
.qs-frase { font-family: var(--fonte-titulo); font-weight: 700; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.qs-pilares { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.qs-pilar { display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 4vw, 56px); border-radius: var(--raio-m); background: var(--cor-superficie); }
.qs-pilar strong { color: var(--cor-texto); font-weight: 700; }
.qs-valores { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px 48px; overflow: hidden; padding-bottom: 0; }
.qs-valores__texto { flex: 1 1 420px; align-self: center; display: flex; flex-direction: column; gap: 24px; padding-bottom: clamp(32px, 5vw, 80px); }
.qs-valores ul { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.qs-valores li { display: flex; align-items: center; gap: 14px; font-size: clamp(17px, 1.5vw, 19px); font-weight: 700; }
.qs-valores li::before { content: ''; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--cor-ciano); }
.qs-valores__foto { flex: 1 1 320px; display: flex; justify-content: center; }
.qs-valores__foto img { width: min(100%, 480px); height: auto; }

/* Texto longo (política de privacidade) */
.texto-longo { padding: clamp(28px, 5vw, 80px); }
.texto-longo__corpo { max-width: 76ch; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.7; color: var(--cor-texto-suave); }
.texto-longo__corpo h2 { margin-top: 24px; font-family: var(--fonte-titulo); font-weight: 700; font-size: clamp(20px, 2vw, 26px); line-height: 1.25; letter-spacing: -.01em; color: var(--cor-texto); }
.texto-longo__corpo a { color: var(--cor-ciano); }

/* Erro */
.erro-detalhes { margin-top: 20px; padding: 24px; overflow-x: auto; border-radius: 20px; background: var(--cor-superficie); color: var(--cor-texto-suave); font-size: 13px; }
.erro-detalhes pre { white-space: pre-wrap; }

/* Responsivo ------------------------------------------------------------- */
@media (max-width: 800px) {
    .home-instagram { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .home-instagram__post { border-radius: 14px; }
    .home-redes { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .home-rede { min-height: 56px; padding: 0 18px; font-size: 15px; }
    :root { --topo: 96px; }
    .t-logo img { height: 36px; }
    html { scroll-padding-top: 72px; }
    /* no celular o cabeçalho fica fixo; ao rolar, vira uma barra compacta com fundo (classe posta pelo tema.js) */
    .t-cabecalho { position: fixed; transition: background-color .25s, box-shadow .25s; }
    .t-cabecalho.compacto { background: rgba(11, 12, 16, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
    .t-cabecalho.compacto .t-cabecalho__barra { padding-top: 8px; padding-bottom: 8px; }
    .t-cabecalho.compacto .t-logo img { height: 28px; }
    .t-cabecalho.compacto .t-icone { width: 40px; height: 40px; }
    .t-menu__painel { border-radius: 0; }
    .t-rodape__caixa { flex-direction: column; align-items: flex-start; }
    .t-rodape__marca img { height: 44px; }
    .pl-card--invertido { flex-direction: column; }
    .pl-indice { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * clamp(24px, 5vw, 80px)); padding-right: clamp(24px, 5vw, 80px); scrollbar-width: none; }
    .pl-indice::-webkit-scrollbar { display: none; }
    .pl-indice a { flex: 0 0 auto; }
    .pj-hero__arte { min-height: 260px; }
    .pj-midia--celular { height: 380px; }
    .pj-card--largo { flex-direction: column; align-items: stretch; }
    .pj-card--largo .pj-card__texto { flex: none; }
    .t-btn { min-height: 52px; padding: 0 22px; font-size: 16px; }
}
