/* =========================================================
   rossi & hoffmeister — Arquitetura e Interiores
   Folha de estilo principal
   Cores e fontes ficam todas aqui em cima (:root)
   ========================================================= */

/* Fonte Roboto hospedada no próprio site */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/roboto-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); }

:root {
  /* Paleta marrom + bege */
  --bege:          #F4EEE6;  /* fundo principal */
  --bege-2:        #EAE1D5;  /* fundo de seções alternadas */
  --areia:         #CDBBA4;  /* linhas, detalhes */
  --caramelo:      #9C7A5B;  /* destaque suave */
  --marrom:        #6A4E3B;  /* destaque principal / botões */
  --marrom-escuro: #3A2B22;  /* fundos escuros */
  --tinta:         #2A211C;  /* texto principal */
  --texto-suave:   #76675B;  /* texto secundário */
  --branco:        #FFFFFF;
  --whatsapp:      #25D366;

  --fonte: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1440px;
  --header-h: 84px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fonte);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--tinta);
  background: var(--bege);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-weight: 300; margin: 0; line-height: 1.12; letter-spacing: .01em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Rótulo pequeno em caixa alta, espaçado como o logo */
.rotulo {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.titulo-secao { font-size: clamp(30px, 4vw, 52px); font-weight: 300; }
.texto-suave { color: var(--texto-suave); }

/* Link com seta */
.link-seta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 6px;
  transition: gap .3s var(--ease), opacity .3s;
}
.link-seta:hover { gap: 20px; }

/* Botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 30px;
  font-size: 12px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
  border: 1px solid var(--marrom); background: var(--marrom); color: var(--bege);
  transition: background .3s, color .3s, border-color .3s;
}
.botao:hover { background: var(--marrom-escuro); border-color: var(--marrom-escuro); }
.botao--contorno { background: transparent; color: var(--marrom); }
.botao--contorno:hover { background: var(--marrom); color: var(--bege); border-color: var(--marrom); }

/* =========================================================
   CABEÇALHO
   ========================================================= */
.cabecalho {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .45s var(--ease), box-shadow .45s, height .35s;
  background: rgba(244,238,230,.96);
  box-shadow: 0 1px 0 rgba(106,78,59,.12);
}
.cabecalho .container { display: flex; align-items: center; justify-content: space-between; }
.cabecalho__logo { display: block; position: relative; width: clamp(190px, 20vw, 260px); }
.cabecalho__logo img { width: 100%; transition: opacity .4s; }
.cabecalho__logo .logo-claro { position: absolute; inset: 0; opacity: 0; }

.menu { display: flex; gap: clamp(22px, 3vw, 44px); }
.menu a {
  position: relative;
  font-size: 11px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase;
  padding: 6px 0;
}
.menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: currentColor; transition: right .35s var(--ease);
}
.menu a:hover::after, .menu a.ativo::after { right: 0; }

/* Cabeçalho transparente sobre a foto (só em páginas com imagem no topo) */
body.com-capa .cabecalho:not(.rolado) { background: transparent; box-shadow: none; color: var(--branco); }
body.com-capa .cabecalho:not(.rolado) .logo-escuro { opacity: 0; }
body.com-capa .cabecalho:not(.rolado) .logo-claro { opacity: 1; }
.cabecalho.rolado { height: 70px; }

/* Botão de menu (celular) */
.botao-menu { display: none; width: 30px; height: 20px; position: relative; z-index: 70; }
.botao-menu span {
  position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .35s var(--ease), opacity .3s, top .35s var(--ease);
}
.botao-menu span:nth-child(1) { top: 3px; }
.botao-menu span:nth-child(2) { top: 10px; }
.botao-menu span:nth-child(3) { top: 17px; }
body.menu-aberto .botao-menu span:nth-child(1) { top: 10px; transform: rotate(45deg); }
body.menu-aberto .botao-menu span:nth-child(2) { opacity: 0; }
body.menu-aberto .botao-menu span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

.menu-movel {
  position: fixed; inset: 0; z-index: 60;
  background: var(--marrom-escuro); color: var(--bege);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.menu-movel a {
  font-size: 34px; font-weight: 300; padding: 10px 0; letter-spacing: .02em;
  border-bottom: 1px solid rgba(244,238,230,.12);
}
.menu-movel .menu-movel__info { margin-top: 40px; font-size: 13px; color: var(--areia); line-height: 2; }
.menu-movel .menu-movel__info a { font-size: 13px; border: 0; padding: 0; display: block; }
body.menu-aberto .menu-movel { opacity: 1; visibility: visible; }
body.menu-aberto { overflow: hidden; }
body.menu-aberto .cabecalho { color: var(--bege) !important; background: transparent !important; box-shadow: none !important; }
body.menu-aberto .cabecalho .logo-escuro { opacity: 0 !important; }
body.menu-aberto .cabecalho .logo-claro { opacity: 1 !important; }

/* =========================================================
   IMAGENS / ESPAÇOS RESERVADOS
   ========================================================= */
.midia { position: relative; overflow: hidden; background: var(--bege-2); }
.midia img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
a:hover .midia img, .card-projeto:hover .midia img { transform: scale(1.04); }

/* Espaço reservado enquanto as fotos reais não chegam */
.reservado {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--tom-a, #CDBBA4), var(--tom-b, #8E6F55));
  color: rgba(255,255,255,.85);
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; text-align: center;
  padding: 12px;
}

/* =========================================================
   HOME — CAPA COM PROJETOS PASSANDO
   ========================================================= */
.capa {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  background: var(--marrom-escuro); color: var(--branco); overflow: hidden;
}
.capa__slide {
  position: absolute; inset: 0; display: block;
  opacity: 0; transition: opacity 1.4s var(--ease); z-index: 1;
}
.capa__slide.ativo { opacity: 1; z-index: 2; }
.capa__slide .midia { position: absolute; inset: 0; background: transparent; }
.capa__slide .midia img, .capa__slide .reservado { transform: scale(1.08); transition: transform 7s linear; }
.capa__slide.ativo .midia img, .capa__slide.ativo .reservado { transform: scale(1); }
.capa__slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,14,10,.45) 0%, rgba(20,14,10,0) 28%, rgba(20,14,10,0) 55%, rgba(20,14,10,.6) 100%);
}
.capa__legenda {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(36px, 7vh, 72px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  pointer-events: none;
}
.capa__projeto { pointer-events: auto; display: block; max-width: 70%; }
.capa__projeto .rotulo { color: rgba(255,255,255,.75); margin-bottom: 14px; }
.capa__projeto h2 { font-size: clamp(34px, 5.4vw, 76px); font-weight: 300; }
.capa__projeto .ver {
  display: inline-flex; gap: 12px; margin-top: 18px;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; opacity: .85;
  transition: gap .3s var(--ease);
}
.capa__projeto:hover .ver { gap: 20px; }
.capa__texto { transition: opacity .6s, transform .6s var(--ease); }
.capa__texto.saindo { opacity: 0; transform: translateY(10px); }

.capa__controles { margin-right: 76px; } /* deixa espaço para o botão do WhatsApp */
.capa__controles { pointer-events: auto; display: flex; align-items: center; gap: 20px; font-size: 12px; letter-spacing: .2em; }
.capa__contador { min-width: 64px; text-align: right; font-variant-numeric: tabular-nums; }
.capa__seta {
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; transition: background .3s, border-color .3s;
}
.capa__seta:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.capa__barra { position: absolute; z-index: 3; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(255,255,255,.18); }
.capa__barra span { display: block; height: 100%; width: 0; background: rgba(255,255,255,.85); }
.capa__barra span.correndo { animation: barra var(--tempo, 6s) linear forwards; }
@keyframes barra { from { width: 0; } to { width: 100%; } }

/* =========================================================
   HOME — ESPECIALIDADES (Clínicas / Residencial)
   ========================================================= */
.especialidades { display: grid; grid-template-columns: 1fr 1fr; }
.especialidade {
  position: relative; display: block; min-height: clamp(460px, 78vh, 760px);
  color: var(--branco); overflow: hidden;
}
.especialidade .midia { position: absolute; inset: 0; background: transparent; }
.especialidade::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,14,10,.05) 30%, rgba(20,14,10,.7) 100%);
  transition: background .5s;
}
.especialidade:hover::after { background: linear-gradient(180deg, rgba(20,14,10,.15) 20%, rgba(20,14,10,.78) 100%); }
.especialidade__conteudo {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: clamp(28px, 4vw, 56px);
}
.especialidade h2 { font-size: clamp(38px, 4.6vw, 68px); font-weight: 300; margin-bottom: 18px; }
.especialidade p { max-width: 460px; color: rgba(255,255,255,.86); font-size: 15px; }
.especialidade__tags {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.3);
  font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
.especialidade__tags .ver { margin-left: auto; transition: transform .3s var(--ease); }
.especialidade:hover .especialidade__tags .ver { transform: translateX(6px); }

/* =========================================================
   SEÇÕES GERAIS
   ========================================================= */
.secao { padding: clamp(80px, 11vw, 160px) 0; }
.secao--alt { background: var(--bege-2); }
.secao--escura { background: var(--marrom-escuro); color: var(--bege); }
.secao__topo {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.secao__topo .rotulo { margin-bottom: 16px; }

/* =========================================================
   GRADE DE PROJETOS
   ========================================================= */
.grade-projetos { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 6vw, 90px) clamp(20px, 3vw, 40px); }
.card-projeto { display: block; }
.card-projeto .midia { aspect-ratio: 4 / 5; }
.card-projeto__info { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 20px; }
.card-projeto__num { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 8px; }
.card-projeto h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; }
.card-projeto__ver { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--texto-suave); white-space: nowrap; margin-top: 4px; transition: color .3s, transform .3s var(--ease); }
.card-projeto:hover .card-projeto__ver { color: var(--marrom); transform: translateX(4px); }

/* Ritmo assimétrico da home */
.grade-projetos--home .card-projeto:nth-child(4n+1) { grid-column: 1 / span 7; }
.grade-projetos--home .card-projeto:nth-child(4n+2) { grid-column: 9 / span 4; margin-top: 22%; }
.grade-projetos--home .card-projeto:nth-child(4n+3) { grid-column: 1 / span 5; }
.grade-projetos--home .card-projeto:nth-child(4n+4) { grid-column: 7 / span 6; margin-top: 12%; }
.grade-projetos--home .card-projeto:nth-child(4n+1) .midia,
.grade-projetos--home .card-projeto:nth-child(4n+4) .midia { aspect-ratio: 5 / 4; }

/* Grade regular (página Projetos / Outros projetos) */
.grade-projetos--3 .card-projeto { grid-column: span 4; }
.grade-projetos--3 .card-projeto .midia { aspect-ratio: 4 / 5; }

/* =========================================================
   DEPOIMENTOS
   ========================================================= */
.depoimentos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 36px); }
.depoimento {
  display: flex; flex-direction: column;
  background: var(--bege); padding: clamp(28px, 3vw, 44px);
  border-top: 2px solid var(--marrom);
}
.depoimento__aspas { font-size: 64px; line-height: .6; color: var(--caramelo); font-weight: 300; height: 30px; }
.depoimento blockquote { margin: 18px 0 32px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; font-weight: 300; flex: 1; }
.depoimento__rodape { border-top: 1px solid var(--areia); padding-top: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.depoimento__nome { font-size: 14px; font-weight: 400; }
.depoimento__projeto { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--texto-suave); margin-top: 4px; }
.depoimento__link { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--marrom); white-space: nowrap; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

.projeto-descricao { max-width: 760px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; color: var(--texto-suave); margin: clamp(32px, 4vw, 56px) 0; }

/* Texto só para Google e leitores de tela (não aparece na tela) */
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Vídeo do depoimento (abaixo da frase) */
.depoimento__video { position: relative; margin-top: 28px; aspect-ratio: 9 / 16; background: var(--marrom-escuro); overflow: hidden; }
.depoimento__video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.depoimento__play {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; gap: 12px;
  padding: 22px; border: 0; cursor: pointer; color: var(--bege);
  background: linear-gradient(to top, rgba(42,33,28,.55), rgba(42,33,28,0) 45%);
  font: 400 11px/1 var(--fonte); letter-spacing: .3em; text-transform: uppercase;
}
.depoimento__play svg { width: 54px; height: 54px; padding: 15px; border-radius: 50%; background: var(--marrom); transition: transform .4s var(--ease), background .3s; }
.depoimento__play:hover svg { transform: scale(1.06); background: var(--caramelo); }
.depoimento__play[hidden] { display: none; }
.depoimento__video--insta { aspect-ratio: auto; height: clamp(560px, 62vw, 700px); background: var(--branco); }
.depoimento__video--insta iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Página de depoimentos — lista com imagem */
.lista-depoimentos { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 100px); }
.depoimento-linha { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.depoimento-linha:nth-child(even) .depoimento-linha__img { order: 2; }
.depoimento-linha .midia { aspect-ratio: 4 / 3; }
.depoimento-linha blockquote { margin: 18px 0 30px; font-size: clamp(20px, 2vw, 28px); line-height: 1.5; font-weight: 300; }
.depoimento-linha .depoimento__rodape { max-width: 560px; }

/* =========================================================
   CONTATO (bloco da home)
   ========================================================= */
.contato-bloco { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 120px); align-items: end; }
.contato-bloco h2 { font-size: clamp(36px, 5vw, 64px); margin: 18px 0 24px; }
.contato-bloco p { max-width: 520px; color: var(--texto-suave); font-size: 17px; }
.dados-contato { display: grid; gap: 26px; }
.dados-contato dt { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 4px; }
.dados-contato dd { margin: 0; font-size: 19px; font-weight: 300; }
.dados-contato dd a { transition: color .3s; }
.dados-contato dd a:hover { color: var(--marrom); }
.secao--escura .dados-contato dt { color: var(--areia); }
.dados-contato dd { line-height: 1.45; }
.dados-contato__mapa { display: flex; width: max-content; align-items: center; gap: 10px; margin-top: 10px; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--texto-suave); }
.rodape__endereco { margin-top: 6px; line-height: 1.6; }

/* =========================================================
   TOPO DAS PÁGINAS INTERNAS (sem foto)
   ========================================================= */
.topo-pagina { padding: calc(var(--header-h) + clamp(60px, 9vw, 130px)) 0 clamp(40px, 6vw, 80px); }
.topo-pagina h1 { font-size: clamp(44px, 7vw, 104px); font-weight: 300; margin-top: 18px; }
.topo-pagina p { max-width: 560px; margin-top: 26px; color: var(--texto-suave); font-size: 17px; }

/* Abas de filtro */
.abas {
  display: flex; gap: clamp(24px, 4vw, 56px); border-bottom: 1px solid var(--areia);
  position: sticky; top: 70px; z-index: 20; background: var(--bege);
  padding-top: 18px;
}
.abas button {
  position: relative; padding: 0 0 18px; font-size: 12px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--texto-suave);
  transition: color .3s;
}
.abas button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--marrom); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.abas button.ativo { color: var(--tinta); }
.abas button.ativo::after { transform: scaleX(1); }
.abas .abas__total { margin-left: auto; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--texto-suave); align-self: flex-start; }

.grupo-categoria { padding-top: clamp(56px, 7vw, 100px); }
.grupo-categoria__titulo { display: flex; align-items: baseline; gap: 20px; margin-bottom: clamp(32px, 4vw, 56px); }
.grupo-categoria__titulo h2 { font-size: clamp(32px, 4vw, 54px); }
.grupo-categoria__titulo span { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--texto-suave); }
.grupo-categoria[hidden] { display: none; }

/* =========================================================
   PÁGINA DO PROJETO
   ========================================================= */
.projeto-capa { position: relative; height: 88vh; height: 88svh; min-height: 520px; color: var(--branco); background: var(--marrom-escuro); }
.projeto-capa .midia { position: absolute; inset: 0; background: transparent; }
.projeto-capa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,10,.42) 0%, rgba(20,14,10,0) 30%, rgba(20,14,10,.62) 100%); }
.projeto-capa__texto { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(40px, 7vh, 80px); }
.projeto-capa__texto .rotulo { color: rgba(255,255,255,.8); }
.projeto-capa__texto h1 { font-size: clamp(44px, 7.5vw, 112px); margin-top: 14px; }

.ficha { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--areia); }
.ficha div { padding: 30px 24px 30px 0; }
.ficha div + div { padding-left: 24px; border-left: 1px solid var(--areia); }
.ficha dt { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 8px; }
.ficha dd { margin: 0; font-size: 20px; font-weight: 300; }

/* Galeria: alterna foto inteira e duas lado a lado */
.galeria { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); padding: clamp(48px, 6vw, 90px) 0; }
.galeria__item { cursor: zoom-in; }
.galeria__item .midia { aspect-ratio: 2 / 3; }
.galeria__item--inteira { grid-column: 1 / -1; }
.galeria__item--inteira .midia { aspect-ratio: 3 / 2; }
.galeria__item--sozinha { grid-column: 1 / -1; max-width: calc(50% - 12px); margin: 0 auto; width: 100%; }
.galeria__item:hover .midia img { transform: scale(1.02); }

/* Chamada para contato + voltar — alinhados */
.projeto-chamada {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px 48px;
  padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--areia); border-bottom: 1px solid var(--areia);
}
.projeto-chamada h2 { font-size: clamp(28px, 3.2vw, 44px); max-width: 640px; }
.projeto-chamada__botoes { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   FORMULÁRIO DE CONTATO
   ========================================================= */
.contato-pagina { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 8vw, 140px); padding-bottom: clamp(80px, 10vw, 150px); }
.formulario { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.campo { display: flex; flex-direction: column; gap: 10px; }
.campo--inteiro { grid-column: 1 / -1; }
.campo label, .campo legend { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--texto-suave); padding: 0; }
.campo input, .campo textarea {
  font: inherit; font-size: 17px; font-weight: 300; color: var(--tinta);
  background: transparent; border: 0; border-bottom: 1px solid var(--areia); border-radius: 0;
  padding: 8px 0 12px; outline: none; transition: border-color .3s;
}
.campo textarea { min-height: 130px; resize: vertical; }
.campo input:focus, .campo textarea:focus { border-color: var(--marrom); }
fieldset.campo { border: 0; margin: 0; padding: 0; }
.opcoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.opcoes label { cursor: pointer; letter-spacing: .14em; }
.opcoes input { position: absolute; opacity: 0; pointer-events: none; }
.opcoes span {
  display: inline-block; padding: 11px 18px; border: 1px solid var(--areia);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--texto-suave);
  transition: all .25s;
}
.opcoes input:checked + span { background: var(--marrom); border-color: var(--marrom); color: var(--bege); }
.opcoes input:focus-visible + span { outline: 2px solid var(--marrom); outline-offset: 2px; }
.campo-oculto { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.formulario__rodape { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.formulario__aviso { font-size: 14px; color: var(--texto-suave); }
.formulario__aviso.ok { color: #3d6b45; }
.formulario__aviso.erro { color: #9a3a2a; }
.formulario__aviso a { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.rodape { background: var(--marrom-escuro); color: var(--bege); padding: clamp(64px, 8vw, 110px) 0 32px; }
.rodape__grade { display: grid; grid-template-columns: 4fr 2fr 3fr 2fr; gap: 40px; }
.rodape__logo { width: 240px; margin-bottom: 22px; }
.rodape p { color: var(--areia); font-size: 14px; max-width: 320px; }
.rodape h4 { font-size: 10.5px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--areia); margin-bottom: 18px; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.rodape ul a { transition: color .3s; }
.rodape ul a:hover { color: var(--areia); }
.rodape__base {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: clamp(56px, 7vw, 90px); padding-top: 26px; border-top: 1px solid rgba(205,187,164,.22);
  font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--areia);
}

/* =========================================================
   BOTÃO FLUTUANTE DO WHATSAPP
   ========================================================= */
.whatsapp {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 80;
  display: flex; align-items: center; gap: 12px;
}
.whatsapp__balao {
  background: var(--branco); color: var(--tinta); font-size: 13px; font-weight: 400;
  padding: 10px 16px; border-radius: 22px; box-shadow: 0 8px 28px rgba(42,33,28,.18);
  opacity: 0; transform: translateX(10px); transition: opacity .35s, transform .35s var(--ease);
  white-space: nowrap; pointer-events: none;
}
.whatsapp:hover .whatsapp__balao, .whatsapp.mostrar-balao .whatsapp__balao { opacity: 1; transform: none; }
.whatsapp__botao {
  width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.35), 0 4px 12px rgba(0,0,0,.15);
  transition: transform .3s var(--ease);
}
.whatsapp:hover .whatsapp__botao { transform: scale(1.07); }
.whatsapp__botao svg { width: 30px; height: 30px; }
.whatsapp__botao::before {
  content: ""; position: absolute; width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid var(--whatsapp); animation: pulso 2.6s ease-out infinite; opacity: 0;
}
@keyframes pulso { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

/* =========================================================
   AMPLIAR FOTO (lightbox)
   ========================================================= */
.ampliar {
  position: fixed; inset: 0; z-index: 100; background: rgba(26,19,15,.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.ampliar.aberto { opacity: 1; visibility: visible; }
.ampliar img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.ampliar .reservado { position: relative; width: min(80vw, 900px); aspect-ratio: 3/2; }
.ampliar__btn { position: absolute; color: var(--bege); width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 300; }
.ampliar__fechar { top: 16px; right: 16px; }
.ampliar__ant { left: 10px; top: 50%; transform: translateY(-50%); }
.ampliar__prox { right: 10px; top: 50%; transform: translateY(-50%); }
.ampliar__cont { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--areia); font-size: 12px; letter-spacing: .24em; }

/* =========================================================
   ANIMAÇÃO DE ENTRADA AO ROLAR
   ========================================================= */
.revelar { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.revelar.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1024px) {
  .rodape__grade { grid-template-columns: 1fr 1fr; }
  .depoimentos { grid-template-columns: 1fr; max-width: 720px; }
  .grade-projetos--3 .card-projeto { grid-column: span 6; }
}
@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .menu { display: none; }
  .botao-menu { display: block; }
  .especialidades { grid-template-columns: 1fr; }
  .especialidade { min-height: 70vh; }
  .grade-projetos--home .card-projeto:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .grade-projetos--home .card-projeto:nth-child(n) .midia { aspect-ratio: 4 / 5; }
  .grade-projetos--home .card-projeto:nth-child(even) { grid-column: 3 / -1; }
  .contato-bloco, .contato-pagina { grid-template-columns: 1fr; }
  .ficha { grid-template-columns: 1fr 1fr; }
  .ficha div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ficha div:nth-child(n+3) { border-top: 1px solid var(--areia); }
  .projeto-chamada { grid-template-columns: 1fr; }
  .depoimento-linha { grid-template-columns: 1fr; }
  .depoimento-linha:nth-child(even) .depoimento-linha__img { order: 0; }
  .capa__projeto { max-width: 100%; }
  .capa__legenda { flex-direction: column; align-items: flex-start; }
  .whatsapp__balao { display: none; }
}
@media (max-width: 600px) {
  .grade-projetos--3 .card-projeto { grid-column: 1 / -1; }
  .grade-projetos--home .card-projeto:nth-child(even) { grid-column: 1 / -1; }
  .galeria { grid-template-columns: 1fr; }
  .galeria__item--sozinha { max-width: 100%; }
  .formulario { grid-template-columns: 1fr; }
  .rodape__grade { grid-template-columns: 1fr; }
  .abas { gap: 22px; overflow-x: auto; }
  .abas .abas__total { display: none; }
  .capa__seta { width: 40px; height: 40px; }
  .whatsapp__botao, .whatsapp__botao::before { width: 54px; height: 54px; }
}
.galeria__item { display: block; width: 100%; text-align: left; }
body.menu-aberto .cabecalho { z-index: 70; }
