/* =========================================================
   Camila Lobato Studio · Design | pré-modelo do site
   Base: cartão, papel timbrado e pasta A4 (Studio Malena)
   Referências: Priscilla Muller (grade P&B), Marin House
   (seções numeradas), The Colette (moldura), pranchas de
   identidade monocromática: preto, branco e cinzas
   ========================================================= */

:root {
  /* marca */
  --preto: #111111;            /* cor principal: preto (identidade monocromática) */
  --cinza-claro: #EDEDED;          /* cinza claro para fundos de imagem */
  --cinza-medio: #8A8A8A;     /* cinza médio */
  /* apoio (referências) */
  --branco: #FFFFFF;           /* fundo principal: branco */
  --cinza-fundo: #F2F2F2;
  --branco-puro: #FFFFFF;
  --preto-acento: #111111;           /* acento: preto */
  --texto: #1A1A1A;
  --suave: #6E6E6E;
  --linha: #DDDDDD;
  --linha-escura: rgba(255,255,255,.16);

  --sans: "Josefin Sans", "Futura", "Century Gothic", sans-serif;
  --serifa: "Josefin Sans", "Futura", "Century Gothic", sans-serif; /* fonte única da marca */

  --margem: clamp(16px, 6vw, 110px);
  --largura: 1240px;
  --vao: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--branco);
  color: var(--texto);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--preto); color: var(--branco-puro); }

.container { width: 100%; max-width: calc(var(--largura) + 2 * var(--margem)); margin: 0 auto; padding: 0 var(--margem); }

/* ---------- tipografia base ---------- */
.rotulo {
  font-family: var(--sans);
  font-size: 11px; font-weight: 400;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--suave);
}
.rotulo b { font-weight: 400; color: var(--preto); }
.escuro .rotulo { color: rgba(255,255,255,.55); }
.escuro .rotulo b { color: var(--branco-puro); }

.titulo {
  font-family: var(--serifa);
  font-weight: 300;
  font-size: clamp(30px, 4.1vw, 52px);
  line-height: 1.08;
  letter-spacing: .005em;
  color: var(--preto);
}
.titulo em { font-style: normal; font-weight: 300; color: var(--suave); }
.titulo { text-wrap: balance; }
.escuro .titulo { color: var(--branco-puro); }

.fio { width: 56px; height: 1px; background: currentColor; opacity: .45; }

.botao {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 11px; font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase;
  padding: 18px 38px 16px;
  border: 1px solid var(--preto); color: var(--preto); background: transparent;
  cursor: pointer; transition: background .35s, color .35s, border-color .35s;
}
.botao:hover { background: var(--preto); color: var(--branco-puro); }
.botao.cheio { background: var(--preto); color: var(--branco-puro); }
.botao.cheio:hover { background: transparent; color: var(--preto); }
.escuro .botao { border-color: rgba(255,255,255,.6); color: var(--branco-puro); }
.escuro .botao:hover { background: var(--branco-puro); color: var(--preto); }

.link-seta {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase;
}
.link-seta::after { content: ""; width: 34px; height: 1px; background: currentColor; transition: width .35s; }
.link-seta:hover::after { width: 64px; }

/* ---------- cabeçalho ---------- */
.topo { position: relative; z-index: 20; padding: 46px 0 0; }
.topo .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topo .marca img { width: 220px; height: auto; }
.topo .marca .branco { display: none; }
.topo.sobre-imagem { position: absolute; inset: 0 0 auto 0; color: var(--branco-puro); }
.topo.sobre-imagem .marca .preta { display: none; }
.topo.sobre-imagem .marca .branco { display: block; }

.menu { display: flex; gap: 40px; list-style: none; }
.menu a {
  font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase;
  opacity: .62; padding: 6px 0; border-bottom: 1px solid transparent;
  transition: opacity .3s, border-color .3s;
}
.menu a:hover { opacity: 1; }
.menu a[aria-current="page"] { opacity: 1; border-bottom-color: currentColor; }

.abrir-menu { display: none; background: none; border: 0; cursor: pointer; width: 34px; height: 34px; position: relative; color: inherit; }
.abrir-menu span, .abrir-menu::before, .abrir-menu::after {
  content: ""; position: absolute; left: 5px; right: 5px; height: 1px; background: currentColor; transition: transform .3s, opacity .3s;
}
.abrir-menu::before { top: 11px; } .abrir-menu span { top: 17px; } .abrir-menu::after { top: 23px; }
.menu-aberto .abrir-menu::before { transform: translateY(6px) rotate(45deg); }
.menu-aberto .abrir-menu span { opacity: 0; }
.menu-aberto .abrir-menu::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- foto ausente ---------- */
.sem-foto {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--cinza-fundo);
  background-image: url("../img/padronagem.svg");
  background-size: 80px 40px;
}
.sem-foto::before { content: ""; position: absolute; inset: 0; background: var(--cinza-fundo); opacity: .82; }
.sem-foto span {
  position: relative; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--suave);
  background: var(--branco-puro); padding: 8px 14px 6px;
}

/* ---------- HERO: a janela ---------- */
.hero {
  --abre: 0;                               /* 0 = janela; 1 = imagem inteira em cor (rolagem) */
  --t: calc(16% * (1 - var(--abre)));
  --b: calc(16% * (1 - var(--abre)));
  --l: calc(52% * (1 - var(--abre)));
  --r: calc(14% * (1 - var(--abre)));
  position: relative; height: 100svh; min-height: 620px; overflow: hidden;
  background: var(--preto); color: var(--branco-puro);
}
.hero .camada { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero .pb { filter: grayscale(1) brightness(.72) contrast(1.05); transform: scale(1.04); }
.hero .cor { clip-path: inset(var(--t) var(--r) var(--b) var(--l)); }
.hero.sem-imagem .pb { background-color: var(--preto); background-image: url("../img/padronagem-clara.svg"); background-size: 80px 40px; filter: none; opacity: .07; transform: none; }
.hero.sem-imagem .cor { background: linear-gradient(160deg, #F2F2F2, #E4E4E4); }
.hero.sem-imagem .moldura { background: url("../img/monograma.svg") center / 92px auto no-repeat; }

.moldura { position: absolute; top: var(--t); right: var(--r); bottom: var(--b); left: var(--l); pointer-events: none; border: 1px solid rgba(255,255,255,.55); opacity: calc(1 - var(--abre) * 1.4); }
.moldura i { position: absolute; width: 18px; height: 18px; border: 0 solid var(--branco-puro); }
.moldura i:nth-child(1) { top: -6px; left: -6px; border-top-width: 3px; border-left-width: 3px; }
.moldura i:nth-child(2) { top: -6px; right: -6px; border-top-width: 3px; border-right-width: 3px; }
.moldura i:nth-child(3) { bottom: -6px; left: -6px; border-bottom-width: 3px; border-left-width: 3px; }
.moldura i:nth-child(4) { bottom: -6px; right: -6px; border-bottom-width: 3px; border-right-width: 3px; }
.moldura::before, .moldura::after { content: ""; position: absolute; inset: 0; border: 0 solid rgba(255,255,255,.22); }
.moldura::before { left: 33.33%; right: 33.33%; border-left-width: 1px; border-right-width: 1px; }
.moldura::after { top: 33.33%; bottom: 33.33%; border-top-width: 1px; border-bottom-width: 1px; }
.hero.sem-imagem .moldura { border-color: rgba(0,0,0,.18); }
.hero.sem-imagem .moldura::before, .hero.sem-imagem .moldura::after { border-color: rgba(0,0,0,.1); }

.hero .chamada {
  position: absolute; left: var(--margem); top: 50%; transform: translateY(-40%);
  max-width: 44%; display: flex; flex-direction: column; gap: 26px;
  opacity: calc(1 - var(--abre) * 1.6);
}
.hero .chamada .rotulo { color: rgba(255,255,255,.7); }
.hero .chamada h1 { font-family: var(--serifa); font-weight: 400; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.08; text-wrap: balance; }
.hero .chamada h1 em { font-style: normal; font-weight: 300; }
.hero .barra {
  position: absolute; left: var(--margem); right: var(--margem); bottom: 34px;
  display: flex; justify-content: space-between; gap: 20px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.25);
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.72);
}

/* ---------- seções ---------- */
.secao { padding: 140px 0; }
.secao.colada { padding-top: 0; }
.cabeca-secao { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 64px; flex-wrap: wrap; }
.cabeca-secao > div { display: flex; flex-direction: column; gap: 20px; }
.escuro { background: var(--preto); color: var(--branco-puro); }

/* grade de projetos (Priscilla Muller) */
.grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--vao); }
.cartao { position: relative; display: block; }
.cartao .foto { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--cinza-fundo); }
.cartao .foto img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .9s ease, transform 1.4s ease; }
.cartao:hover .foto img { filter: grayscale(0); transform: scale(1.035); }
.cartao .info { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; }
.cartao .nome { font-family: var(--serifa); font-size: 21px; font-weight: 400; line-height: 1.2; }
.cartao .tipo { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--suave); padding-top: 6px; white-space: nowrap; }
.cartao .foto::after { /* cantoneiras ao passar o mouse */
  content: ""; position: absolute; inset: 14px; pointer-events: none; opacity: 0; transition: opacity .5s, inset .5s;
  background:
    linear-gradient(var(--branco-puro), var(--branco-puro)) top left / 16px 2px no-repeat,
    linear-gradient(var(--branco-puro), var(--branco-puro)) top left / 2px 16px no-repeat,
    linear-gradient(var(--branco-puro), var(--branco-puro)) top right / 16px 2px no-repeat,
    linear-gradient(var(--branco-puro), var(--branco-puro)) top right / 2px 16px no-repeat,
    linear-gradient(var(--branco-puro), var(--branco-puro)) bottom left / 16px 2px no-repeat,
    linear-gradient(var(--branco-puro), var(--branco-puro)) bottom left / 2px 16px no-repeat,
    linear-gradient(var(--branco-puro), var(--branco-puro)) bottom right / 16px 2px no-repeat,
    linear-gradient(var(--branco-puro), var(--branco-puro)) bottom right / 2px 16px no-repeat;
}
.cartao:hover .foto::after { opacity: 1; inset: 22px; }
.cartao .sem-foto + * { display: none; }

/* filosofia: bloco dividido (Marin House) */
.dividido { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.dividido .texto { padding: 120px var(--margem); display: flex; flex-direction: column; justify-content: center; gap: 30px; max-width: 680px; margin-left: auto; }
.dividido .texto p { color: rgba(255,255,255,.75); max-width: 470px; }
.dividido .imagem { position: relative; overflow: hidden; background: var(--cinza-claro); }
.dividido .imagem img { width: 100%; height: 100%; object-fit: cover; }
.escuro .sem-foto, .capa-projeto .sem-foto { background-color: var(--cinza-claro); background-image: url("../img/padronagem-clara.svg"); }
.escuro .sem-foto::before, .capa-projeto .sem-foto::before { background: var(--cinza-claro); opacity: .9; }
.escuro .sem-foto span { background: transparent; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.7); }
.dividido .legenda-img {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 16px 28px;
  background: var(--preto-acento); color: var(--branco-puro);
  font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase;
}

/* serviços: lista com fios */
.servicos { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 120px); }
.servicos .lado { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 40px; align-self: start; }
.servicos .lado p { color: var(--suave); max-width: 360px; }
.lista { list-style: none; border-top: 1px solid var(--linha); }
.lista li { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 24px; padding: 30px 0 28px; border-bottom: 1px solid var(--linha); transition: padding .35s; }
.lista li:hover { padding-left: 10px; }
.lista .num { font-size: 11px; letter-spacing: .3em; color: var(--suave); padding-top: 6px; }
.lista h3 { font-family: var(--serifa); font-size: 25px; font-weight: 400; line-height: 1.2; color: var(--preto); }
.lista p { font-size: 15px; color: var(--suave); }

/* processo */
.processo { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: etapa; }
.processo li { position: relative; padding: 34px 26px 0 0; border-top: 1px solid var(--linha); }
.processo li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--preto); }
.processo b { display: block; font-weight: 400; font-size: 11px; letter-spacing: .3em; color: var(--suave); margin-bottom: 12px; }
.processo h4 { font-family: var(--serifa); font-size: 22px; font-weight: 400; color: var(--preto); line-height: 1.2; margin-bottom: 10px; }
.processo p { font-size: 14.5px; color: var(--suave); }

/* manifesto */
.manifesto { padding: 160px 0; text-align: center; background: var(--branco-puro); }
.manifesto .container { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.manifesto blockquote { font-family: var(--serifa); font-style: normal; font-weight: 300; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.3; max-width: 860px; color: var(--preto); }

/* chamada final */
.convite { text-align: center; }
.convite .container { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.convite .acoes { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* ---------- página de projeto ---------- */
.capa-projeto { position: relative; height: 92svh; min-height: 520px; overflow: hidden; background: var(--preto); color: var(--branco-puro); }
.capa-projeto img { width: 100%; height: 100%; object-fit: cover; }
.capa-projeto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.08) 40%, rgba(0,0,0,.4)); }
.capa-projeto .sem-foto span { display: none; }
.capa-projeto h1 {
  position: absolute; z-index: 2; inset: 50% 0 auto 0; transform: translateY(-50%); text-align: center;
  font-family: var(--serifa); font-weight: 300; font-size: clamp(44px, 7vw, 104px); line-height: 1;
}
.capa-projeto .barra { position: absolute; z-index: 2; left: var(--margem); right: var(--margem); bottom: 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.25); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.78); }

.ficha { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(40px, 7vw, 120px); }
.ficha .texto { display: flex; flex-direction: column; gap: 24px; }
.ficha .texto p { font-size: 17px; color: #333333; max-width: 620px; }
.ficha dl { border-top: 1px solid var(--linha); }
.ficha dl div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0 14px; border-bottom: 1px solid var(--linha); }
.ficha dt { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--suave); }
.ficha dd { font-family: var(--serifa); font-size: 19px; color: var(--preto); text-align: right; }

.materiais { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--linha); align-items: start; }
.materiais .rotulo { width: 100%; }
.amostra { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 96px; text-align: center; }
.amostra i { width: 84px; height: 84px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.amostra span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--suave); line-height: 1.5; }

.palco { position: relative; aspect-ratio: 3 / 2; background: var(--cinza-fundo); overflow: hidden; }
.palco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .6s; }
.palco img.ativa { opacity: 1; }
.seta { position: absolute; top: 0; bottom: 0; width: 30%; z-index: 2; background: none; border: 0; cursor: pointer; display: flex; align-items: center; padding: 0 22px; color: var(--preto); opacity: 0; transition: opacity .3s; }
.seta.ant { left: 0; } .seta.prox { right: 0; justify-content: flex-end; }
.palco:hover .seta { opacity: .85; }
.seta span { background: rgba(255,255,255,.9); width: 46px; height: 46px; display: grid; place-items: center; font-size: 18px; }
.miniaturas { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 30px auto 0; max-width: 760px; }
.miniaturas button { position: relative; width: 48px; height: 32px; border: 0; padding: 0; cursor: pointer; overflow: hidden; background: var(--cinza-fundo); opacity: .45; transition: opacity .3s; }
.miniaturas button img { width: 100%; height: 100%; object-fit: cover; }
.miniaturas button.ativa, .miniaturas button:hover { opacity: 1; }
.contador { text-align: center; margin-top: 16px; font-size: 11px; letter-spacing: .3em; color: var(--suave); }

.planta { background: var(--cinza-fundo); }
.planta .container { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.planta .texto { display: flex; flex-direction: column; gap: 24px; }
.planta .texto p { color: var(--suave); }
.planta .desenho { position: relative; aspect-ratio: 4 / 3; background: var(--branco-puro); }
.planta .desenho img { width: 100%; height: 100%; object-fit: contain; padding: 30px; }

.navega-projetos { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--linha); }
.navega-projetos a { padding: 50px 0; display: flex; flex-direction: column; gap: 10px; transition: opacity .3s; }
.navega-projetos a:hover { opacity: .65; }
.navega-projetos a + a { text-align: right; border-left: 1px solid var(--linha); align-items: flex-end; }
.navega-projetos .nome { font-family: var(--serifa); font-size: 28px; color: var(--preto); }

/* ---------- sobre ---------- */
.abertura { padding: 90px 0 110px; }
.abertura .container { display: flex; flex-direction: column; gap: 26px; }
.sobre { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.sobre .retrato { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--cinza-fundo); }
.sobre .retrato img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.sobre .texto { display: flex; flex-direction: column; gap: 22px; padding-top: 10px; max-width: 560px; }
.sobre .texto p { color: #333333; }
.sobre .texto p.destaque { font-family: var(--serifa); font-size: 26px; line-height: 1.35; color: var(--preto); }
.selos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.selos span { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; border: 1px solid var(--linha); color: var(--suave); padding: 9px 13px 7px; }

/* ---------- contato ---------- */
.contato { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); }
.contato .dados { display: flex; flex-direction: column; gap: 32px; }
.contato .dados div { display: flex; flex-direction: column; gap: 4px; }
.contato .dados a, .contato .dados p.valor { font-family: var(--serifa); font-size: 25px; color: var(--preto); }
.contato .dados a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
form.formulario { display: flex; flex-direction: column; gap: 28px; }
.campo { display: flex; flex-direction: column; gap: 8px; }
.campo label { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--suave); }
.campo input, .campo select, .campo textarea {
  font: inherit; font-size: 16px; color: var(--preto); background: transparent;
  border: 0; border-bottom: 1px solid #BBBBBB; padding: 8px 0 10px; outline: none; border-radius: 0; transition: border-color .3s;
}
.campo textarea { resize: vertical; min-height: 110px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-bottom-color: var(--preto); }
.formulario .aviso { font-size: 13px; color: var(--suave); }

/* ---------- rodapé ---------- */
.faixa-padrao {
  height: 200px; background-image: url("../img/padronagem.svg"); background-size: 80px 40px; background-position: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,.08) 35%, rgba(0,0,0,.85));
          mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,.08) 35%, rgba(0,0,0,.85));
}
.rodape { background: var(--preto); color: var(--branco-puro); padding: 80px 0 40px; }
.rodape .container { display: grid; grid-template-columns: auto 1fr auto; gap: 50px; align-items: end; }
.rodape .monograma { width: 78px; }
.rodape .colunas { display: flex; gap: 64px; justify-content: center; flex-wrap: wrap; }
.rodape .colunas div { display: flex; flex-direction: column; gap: 6px; }
.rodape .colunas .rotulo { color: rgba(255,255,255,.5); }
.rodape .colunas a, .rodape .colunas p { font-size: 15px; letter-spacing: .04em; }
.rodape .colunas a:hover { opacity: .7; }
.rodape .instagram svg { width: 22px; height: 22px; }
.rodape .legal { grid-column: 1 / -1; border-top: 1px solid var(--linha-escura); padding-top: 26px; margin-top: 16px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.45); }

.whats { position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 52px; height: 52px; border-radius: 50%; background: var(--preto); color: var(--branco-puro); display: grid; place-items: center; box-shadow: 0 8px 26px rgba(0,0,0,.25); transition: transform .3s; }
.whats:hover { transform: translateY(-3px); }
.whats svg { width: 24px; height: 24px; }

/* ---------- entrada suave ---------- */
.revelar { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s ease; }
.revelar.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .revelar { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- telas menores ---------- */
@media (max-width: 1000px) {
  :root { --vao: 18px; }
  .grade { grid-template-columns: repeat(2, 1fr); }
  .processo { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .servicos, .planta .container, .ficha { grid-template-columns: 1fr; }
  .servicos .lado { position: static; }
  .dividido { grid-template-columns: 1fr; }
  .dividido .texto { margin: 0; max-width: none; padding: 100px var(--margem); }
  .dividido .imagem { min-height: 420px; }
  .rodape .container { grid-template-columns: 1fr; justify-items: start; }
  .rodape .colunas { justify-content: flex-start; gap: 36px; }
  .hero { --l: calc(40% * (1 - var(--abre))); --r: calc(8% * (1 - var(--abre))); }
}

@media (max-width: 720px) {
  .topo { padding-top: 26px; }
  .topo .marca img { width: 170px; }
  .abrir-menu { display: block; z-index: 41; }
  .menu { position: fixed; inset: 0; z-index: 40; flex-direction: column; align-items: center; justify-content: center; gap: 36px; background: var(--branco); color: var(--preto); opacity: 0; pointer-events: none; transition: opacity .35s; }
  .menu a { font-size: 14px; }
  .menu-aberto .menu { opacity: 1; pointer-events: auto; }
  .menu-aberto .abrir-menu { color: var(--preto); }
  .hero { --t: calc(17% * (1 - var(--abre))); --b: calc(36% * (1 - var(--abre))); --l: calc(14% * (1 - var(--abre))); --r: calc(14% * (1 - var(--abre))); }
  .hero .chamada { top: auto; bottom: 86px; transform: none; max-width: none; right: var(--margem); gap: 16px; }
  .hero .chamada h1 { font-size: 34px; }
  .hero .barra span + span { display: none; }
  .secao { padding: 96px 0; }
  .grade { grid-template-columns: 1fr; }
  .lista li { grid-template-columns: 44px 1fr; }
  .lista li p { grid-column: 2; }
  .processo { grid-template-columns: 1fr; }
  .sobre, .contato { grid-template-columns: 1fr; }
  .manifesto { padding: 110px 0; }
  .palco { aspect-ratio: 4 / 5; }
  .seta { opacity: .85; width: 40%; padding: 0 8px; }
  .navega-projetos .nome { font-size: 21px; }
  .faixa-padrao { height: 140px; }
}

/* =========================================================
   IDENTIDADE MONOCROMÁTICA (branco, preto e cinzas)
   Blocos de destaque em branco.
   ========================================================= */
.escuro { background: #FFFFFF; color: var(--texto); }
.escuro .rotulo { color: var(--suave); }
.escuro .rotulo b, .escuro .titulo { color: var(--preto); }
.escuro .botao { border-color: var(--preto); color: var(--preto); }
.escuro .botao:hover { background: var(--preto); color: #FFFFFF; }
.dividido .texto p { color: #333333; }
.dividido .legenda-img { background: #FFFFFF; color: var(--preto); }
.rodape { background: #FFFFFF; color: var(--texto); border-top: 1px solid var(--linha); }
.rodape .colunas .rotulo { color: var(--suave); }
.rodape .legal { border-top-color: var(--linha); color: var(--suave); }
.whats { background: #111111; }

/* planta baixa: respeita o formato do desenho (vertical ou horizontal) */
.planta .desenho { aspect-ratio: auto; display: flex; justify-content: center; }
.planta .desenho img { width: auto; max-width: 100%; height: auto; max-height: 85vh; padding: 24px; }
.planta .desenho { background: transparent; }

/* equipe (página Sobre) */
.equipe-foto { margin: 10px 0 70px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cinza-fundo); }
.equipe-foto img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.equipe-lista { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px var(--vao); text-align: center; }
.equipe-lista img { width: 100%; max-width: 220px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; filter: grayscale(1); margin: 0 auto 22px; display: block; }
.equipe-lista h3 { font-family: var(--sans); font-weight: 400; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--preto); margin-bottom: 10px; }
.equipe-lista p { font-size: 14px; line-height: 1.6; color: var(--suave); max-width: 240px; margin: 0 auto; }
@media (max-width: 900px) { .equipe-lista { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .equipe-lista img { max-width: 150px; } .equipe-lista h3 { font-size: 13px; } }

/* equipe recortada (sem fundo) e planta em fundo branco */
.equipe-lista img { border-radius: 0; aspect-ratio: auto; width: auto; max-width: 100%; height: 280px; object-fit: contain; object-position: bottom; }
.planta { background: #FFFFFF; }
@media (max-width: 520px) { .equipe-lista img { height: 200px; } }
.equipe-lista img { height: 210px; }
@media (max-width: 520px) { .equipe-lista img { height: 160px; } }
