/* =========================================================
   BWS Arquitetura e Interiores — estilos do site
   Paleta oficial do manual: rosé #D1B7AE · oliva #999B84 ·
   terracota #C47C6C · grafite #5B6869
   ========================================================= */

/* ---------- Fontes (arquivos locais, sem CDN) ---------- */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/jost-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/jost-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }

/* ---------- Variáveis ---------- */
:root {
  --fundo: #F7F3EF;
  --areia: #EFE6E0;
  --rose: #D1B7AE;
  --rose-claro: #E9DAD4;
  --terracota: #C47C6C;
  --terracota-escuro: #A65E4E;
  --oliva: #999B84;
  --grafite: #5B6869;
  --tinta: #2F3738;
  --texto: #4A5556;
  --texto-suave: #7A8485;
  --linha: rgba(47, 55, 56, .14);
  --branco: #fff;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --largura: 1360px;
  --margem: clamp(20px, 5vw, 64px);
  --secao: clamp(72px, 11vw, 150px);
  --raio: 2px;
  --suave: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fundo); color: var(--texto);
  font-family: var(--sans); font-weight: 350; font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; color: var(--tinta); font-weight: 400; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--terracota); outline-offset: 3px; }
::selection { background: var(--rose); color: var(--tinta); }
.icone { width: 1.1em; height: 1.1em; flex: none; }

.pular { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--tinta); color: #fff; padding: 10px 16px; }
.pular:focus { left: 8px; }

.conteiner { width: 100%; max-width: var(--largura); margin-inline: auto; padding-inline: var(--margem); }
.secao { padding-block: var(--secao); }
.secao--sem-topo { padding-top: 0; }

/* ---------- Tipografia ---------- */
.rotulo {
  display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--terracota-escuro); line-height: 1.5;
}
.titulo-hero {
  font-family: var(--serif); font-weight: 400; color: var(--tinta);
  font-size: clamp(44px, 7.4vw, 104px); line-height: .98; letter-spacing: -.015em;
}
.titulo-1 {
  font-family: var(--serif); font-weight: 400; color: var(--tinta);
  font-size: clamp(36px, 5vw, 66px); line-height: 1.04; letter-spacing: -.01em;
}
.titulo-2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 54px); line-height: 1.08; }
.titulo-hero em, .titulo-1 em, .titulo-2 em { font-style: italic; color: var(--terracota); }
.texto-grande { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; max-width: 62ch; }

/* ---------- Botões e links ---------- */
.grupo-botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border: 1px solid transparent; border-radius: var(--raio);
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  transition: background .3s var(--suave), color .3s var(--suave), border-color .3s var(--suave);
}
.botao--cheio { background: var(--tinta); color: #fff; }
.botao--cheio:hover { background: var(--terracota); }
.botao--contorno { border-color: currentColor; color: var(--tinta); }
.botao--contorno:hover { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.botao--claro { background: #fff; color: var(--tinta); }
.botao--claro:hover { background: var(--terracota); color: #fff; }
.botao--contorno-claro { border-color: rgba(255,255,255,.7); color: #fff; }
.botao--contorno-claro:hover { background: #fff; color: var(--tinta); }

.link-seta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--tinta);
  padding-bottom: 6px; border-bottom: 1px solid var(--linha); transition: border-color .3s, gap .3s var(--suave);
}
.link-seta:hover { border-color: var(--terracota); gap: 16px; }

/* ---------- Cabeçalho ---------- */
.topo {
  position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 239, .92);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent; transition: background .4s var(--suave), border-color .4s, transform .4s var(--suave);
}
.topo.rolou { border-bottom-color: var(--linha); }
.topo__barra { display: flex; align-items: center; gap: 32px; height: 84px; }
.topo__logo { display: block; position: relative; margin-right: auto; width: clamp(200px, 22vw, 270px); }
.topo__logo img { width: 100%; height: auto; transition: opacity .3s; }
.topo__logo .logo-claro { position: absolute; inset: 0; opacity: 0; }
.topo__menu { display: none; gap: 36px; }
.topo__menu a {
  position: relative; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--tinta);
  padding: 6px 0;
}
.topo__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--suave);
}
.topo__menu a:hover::after, .topo__menu a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.topo__cta { display: none; min-height: 42px; padding: 0 20px; }

.topo__abrir {
  width: 44px; height: 44px; border: 0; background: none; padding: 0; position: relative; color: var(--tinta);
}
.topo__abrir span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .35s var(--suave), top .35s var(--suave); }
.topo__abrir span:first-child { top: 18px; }
.topo__abrir span:last-child { top: 26px; }
.menu-aberto .topo__abrir span:first-child { top: 22px; transform: rotate(45deg); }
.menu-aberto .topo__abrir span:last-child { top: 22px; transform: rotate(-45deg); }

/* Cabeçalho transparente sobre a foto (home e projetos) */
.tem-hero .topo { position: fixed; left: 0; right: 0; }
.topo--sobre-foto:not(.rolou):not(.aberto) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.topo--sobre-foto:not(.rolou):not(.aberto) .logo-escuro { opacity: 0; }
.topo--sobre-foto:not(.rolou):not(.aberto) .logo-claro { opacity: 1; }
.topo--sobre-foto:not(.rolou):not(.aberto) .topo__menu a,
.topo--sobre-foto:not(.rolou):not(.aberto) .topo__abrir { color: #fff; }
.topo--sobre-foto:not(.rolou):not(.aberto) .topo__cta { color: #fff; border-color: rgba(255,255,255,.7); }
.topo--sobre-foto:not(.rolou):not(.aberto) .topo__cta:hover { background: #fff; color: var(--tinta); }
.topo--sobre-foto:not(.rolou):not(.aberto)::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(20, 24, 25, .45), transparent);
}
.topo.escondido { transform: translateY(-100%); }

/* Menu do celular */
.menu-celular {
  position: fixed; inset: 84px 0 0; background: var(--fundo); padding: 24px var(--margem) 40px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.menu-celular[hidden] { display: none; }
.menu-celular nav { display: flex; flex-direction: column; }
.menu-celular nav a {
  display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--linha);
  font-family: var(--serif); font-size: 40px; line-height: 1.1; color: var(--tinta);
}
.menu-celular nav a span { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; color: var(--terracota-escuro); }
.menu-celular nav a[aria-current="page"] { font-style: italic; color: var(--terracota); }
.menu-celular__rodape { display: flex; flex-direction: column; gap: 8px; padding-top: 32px; }
.menu-celular__rodape .link-seta { margin-top: 12px; align-self: flex-start; }
body.menu-aberto { overflow: hidden; }

@media (min-width: 1024px) {
  .topo__menu, .topo__cta { display: flex; }
  .topo__abrir, .menu-celular { display: none !important; }
}

/* ---------- Hero (slider da home) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: #fff; overflow: hidden; background: var(--tinta); }
.hero__slides, .hero__slide { position: absolute; inset: 0; margin: 0; }
.hero__slide { opacity: 0; transition: opacity 1.4s var(--suave); }
.hero__slide.ativo { opacity: 1; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero__slide.ativo img { transform: scale(1); }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  /* Degradê para leitura: mais escuro à esquerda e embaixo, onde ficam o título e os botões */
  background:
    linear-gradient(90deg, rgba(20,24,25,.72) 0%, rgba(20,24,25,.5) 30%, rgba(20,24,25,.18) 60%, rgba(20,24,25,0) 80%),
    linear-gradient(0deg, rgba(20,24,25,.75) 0%, rgba(20,24,25,.4) 30%, rgba(20,24,25,0) 60%),
    linear-gradient(180deg, rgba(20,24,25,.4) 0%, rgba(20,24,25,0) 22%);
}
@media (max-width: 899px) {
  /* No celular o texto ocupa a largura toda: o degradê sobe de baixo e cobre a área do título */
  .hero__slide::after {
    background:
      linear-gradient(0deg, rgba(20,24,25,.85) 0%, rgba(20,24,25,.62) 40%, rgba(20,24,25,.25) 70%, rgba(20,24,25,.1) 100%),
      linear-gradient(180deg, rgba(20,24,25,.4) 0%, rgba(20,24,25,0) 20%);
  }
}
.hero__slide figcaption { position: absolute; z-index: 2; right: var(--margem); bottom: 116px; text-align: right; }
.hero__slide figcaption a { display: inline-flex; flex-direction: column; align-items: flex-end; font-family: var(--serif); font-size: 22px; font-style: italic; }
.hero__slide figcaption .rotulo { color: rgba(255,255,255,.8); font-style: normal; }
.hero__slide figcaption .icone { display: none; }
.hero__conteudo { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(150px, 22vh, 220px); }
.hero__conteudo .rotulo { color: rgba(255,255,255,.9); }
.hero .titulo-hero { color: #fff; max-width: 13ch; margin-top: 18px; text-shadow: 0 2px 24px rgba(20,24,25,.35); }
.hero .titulo-hero em { color: #E6CFC7; }
.hero__controles { position: absolute; z-index: 3; left: 0; right: 0; bottom: 40px; display: flex; justify-content: space-between; align-items: center; }
.hero__pontos { display: flex; gap: 10px; }
.hero__pontos button { width: 48px; height: 24px; border: 0; background: none; padding: 0; display: flex; align-items: center; }
.hero__pontos span { display: block; width: 100%; height: 1px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero__pontos span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__pontos [aria-current="true"] span::after { animation: progresso var(--tempo-slide, 6s) linear forwards; }
.hero.pausado .hero__pontos [aria-current="true"] span::after { animation-play-state: paused; }
@keyframes progresso { to { transform: scaleX(1); } }
.hero__setas { display: flex; gap: 8px; }
.hero__setas button { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.45); background: transparent; color: #fff; border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s; }
.hero__setas button:hover { background: #fff; color: var(--tinta); }
@media (max-width: 639px) {
  .hero__slide figcaption { left: var(--margem); right: auto; bottom: 96px; text-align: left; }
  .hero__slide figcaption a { align-items: flex-start; font-size: 18px; }
  .hero__conteudo { bottom: 170px; }
  .hero .grupo-botoes { margin-top: 24px; }
  .hero__setas { display: none; }
}

/* ---------- Topo das páginas internas ---------- */
.topo-pagina { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(40px, 6vw, 80px); }
.topo-pagina .titulo-hero { margin-top: 16px; max-width: 14ch; }
.topo-pagina .texto-grande { margin-top: 28px; }

/* ---------- Intro ---------- */
.intro__grade { display: grid; gap: 24px; }
.intro .titulo-1 { max-width: 18ch; }
.intro .texto-grande { margin-top: 32px; }
@media (min-width: 900px) { .intro__grade { grid-template-columns: 1fr 2.4fr; gap: 64px; } .intro .rotulo { padding-top: 14px; } }

.cabeca-secao { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.cabeca-secao .titulo-1 { margin-top: 12px; }
.cabeca-secao .link-seta { margin-top: 0; }

/* ---------- Cards de projeto ---------- */
.card-projeto { display: block; position: relative; }
.card-projeto__img { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--areia); }
.card-projeto__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--suave); }
.card-projeto:hover .card-projeto__img img { transform: scale(1.045); }
.card-projeto__info { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; }
.card-projeto__titulo { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; color: var(--tinta); }
.card-projeto__ver {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--texto-suave); transition: color .3s, gap .3s var(--suave);
}
.card-projeto:hover .card-projeto__ver { color: var(--terracota-escuro); gap: 14px; }

.grade-destaques, .grade-projetos { display: grid; gap: 56px 24px; }
@media (min-width: 640px) {
  .grade-destaques, .grade-projetos { grid-template-columns: repeat(2, 1fr); gap: 64px 28px; }
}
@media (min-width: 1024px) {
  .grade-projetos { grid-template-columns: repeat(3, 1fr); gap: 80px 32px; }
  .grade-projetos .card-projeto:nth-child(3n+2) { margin-top: 72px; }
  /* Home: composição editorial assimétrica */
  .grade-destaques { grid-template-columns: repeat(12, 1fr); gap: 96px 32px; align-items: start; }
  .grade-destaques .destaque-1 { grid-column: 1 / span 7; }
  .grade-destaques .destaque-1 .card-projeto__img { aspect-ratio: 4 / 3; }
  .grade-destaques .destaque-2 { grid-column: 9 / span 4; margin-top: 140px; }
  .grade-destaques .destaque-3 { grid-column: 2 / span 4; }
  .grade-destaques .destaque-4 { grid-column: 7 / span 6; margin-top: -60px; }
  .grade-destaques .destaque-4 .card-projeto__img { aspect-ratio: 3 / 2; }
  .grade-destaques .destaque-5 { grid-column: 1 / span 6; }
  .grade-destaques .destaque-5 .card-projeto__img { aspect-ratio: 3 / 2; }
  .grade-destaques .destaque-6 { grid-column: 8 / span 5; margin-top: 120px; }
}

.filtros { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-bottom: 20px; margin-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--linha); }
.filtros a { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--texto-suave); padding: 8px 0; position: relative; }
.filtros a sup { font-size: 10px; letter-spacing: 0; margin-left: 2px; color: var(--terracota); }
.filtros a:hover, .filtros a[aria-current="page"] { color: var(--tinta); }
.filtros a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -21px; height: 1px; background: var(--tinta); }
.vazio { padding: 80px 0; text-align: center; font-family: var(--serif); font-size: 28px; }

/* ---------- Serviços ---------- */
.servicos { background: var(--areia); }
.servicos__lista, .processo__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 48px; border-top: 1px solid var(--linha); }
.servicos__lista li, .processo__lista li { padding: 36px 0; border-bottom: 1px solid var(--linha); display: grid; gap: 8px 32px; grid-template-columns: auto 1fr; }
.servicos__num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--terracota); line-height: 1.3; }
.servicos__lista h3, .processo__lista h3 { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; }
.servicos__lista p, .processo__lista p { grid-column: 2; margin: 0; max-width: 46ch; }
@media (min-width: 900px) { .servicos__lista { grid-template-columns: 1fr 1fr; } }

/* ---------- Manifesto ---------- */
.manifesto { display: grid; background: var(--tinta); color: #fff; }
.manifesto > img { width: 100%; height: 100%; aspect-ratio: 1800 / 1096; object-fit: cover; object-position: center 30%; }
.manifesto__texto { display: flex; align-items: center; padding-block: clamp(56px, 8vw, 120px); }
.manifesto blockquote { margin: 0; max-width: 26ch; }
.manifesto blockquote p { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 40px); line-height: 1.2; color: #fff; }
.manifesto blockquote footer { margin-top: 28px; color: var(--rose); }
@media (min-width: 960px) {
  .manifesto { grid-template-columns: 1.6fr 1fr; }
  .manifesto__texto { max-width: none; margin: 0; padding-inline: clamp(40px, 5vw, 88px); }
}

/* ---------- Números ---------- */
.numeros__grade { display: grid; gap: 40px 32px; grid-template-columns: repeat(2, 1fr); }
.numeros__grade div { border-top: 1px solid var(--linha); padding-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.numeros strong { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6vw, 80px); line-height: 1; color: var(--terracota); }
.numeros span { font-size: 15px; max-width: 24ch; }
@media (min-width: 900px) { .numeros__grade { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Depoimentos ---------- */
.depoimentos { background: var(--rose-claro); }
.depoimentos__grade { display: grid; gap: 32px; }
@media (min-width: 900px) { .depoimentos__grade { grid-template-columns: repeat(3, 1fr); } }
.depoimento { margin: 0; padding-top: 28px; border-top: 1px solid var(--linha); }
.depoimento blockquote { margin: 0; }
.depoimento blockquote p { font-family: var(--serif); font-size: 26px; line-height: 1.3; color: var(--tinta); }
.depoimento figcaption { margin-top: 20px; font-size: 14px; display: flex; flex-direction: column; }
.depoimento figcaption a { color: var(--terracota-escuro); }
.depoimento--grande { max-width: 900px; margin-inline: auto; text-align: center; border: 0; }
.depoimento--grande blockquote p { font-size: clamp(28px, 3.4vw, 44px); }

/* ---------- Instagram ---------- */
.instagram__grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.instagram__grade a { aspect-ratio: 1; overflow: hidden; background: var(--areia); }
.instagram__grade img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--suave), opacity .4s; }
.instagram__grade a:hover img { transform: scale(1.06); opacity: .85; }
@media (min-width: 900px) { .instagram__grade { grid-template-columns: repeat(6, 1fr); gap: 12px; } }

/* ---------- CTA final ---------- */
.cta-final { padding-block: var(--secao); background: var(--fundo); }
.cta-final__caixa { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-final__caixa img { margin-bottom: 28px; }
.cta-final__caixa .titulo-2 { max-width: 18ch; }
.cta-final__caixa p { margin-top: 18px; max-width: 46ch; }
.cta-final .grupo-botoes { justify-content: center; }

/* ---------- Página do projeto ---------- */
.projeto-capa { position: relative; height: 92vh; height: 92svh; min-height: 520px; color: #fff; background: var(--tinta); overflow: hidden; }
.projeto-capa img { width: 100%; height: 100%; object-fit: cover; }
.projeto-capa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,25,.35) 0%, rgba(20,24,25,0) 25%, rgba(20,24,25,.15) 50%, rgba(20,24,25,.75) 100%); }
.projeto-capa__texto { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(40px, 8vh, 88px); }
.projeto-capa .rotulo { color: rgba(255,255,255,.85); }
.projeto-capa .titulo-hero { color: #fff; margin-top: 14px; max-width: 16ch; }

.projeto-info { display: grid; gap: 48px; }
.projeto-ficha { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-content: start; }
.projeto-ficha div { border-top: 1px solid var(--linha); padding-top: 14px; }
.projeto-ficha dd { margin: 6px 0 0; font-family: var(--serif); font-size: 24px; color: var(--tinta); line-height: 1.2; }
.projeto-texto p { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.75; max-width: 64ch; }
.projeto-texto p:first-child { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; color: var(--tinta); }
.etiquetas { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 32px 0 0; }
.etiquetas li { border: 1px solid var(--linha); padding: 6px 14px; font-size: 13px; letter-spacing: .04em; border-radius: 40px; }
@media (min-width: 900px) {
  .projeto-info { grid-template-columns: 1fr 2.2fr; gap: 80px; }
  .projeto-ficha { grid-template-columns: 1fr; position: sticky; top: 120px; }
}

.galeria { display: grid; grid-template-columns: 1fr; gap: 12px; padding-bottom: var(--secao); }
.galeria__item { display: block; overflow: hidden; background: var(--areia); cursor: zoom-in; }
.galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--suave); }
.galeria__item:hover img { transform: scale(1.03); }
@media (min-width: 700px) {
  .galeria { grid-template-columns: repeat(2, 1fr); gap: 16px; grid-auto-flow: dense; }
  .galeria__item { aspect-ratio: 4 / 5; }
  .galeria__item.horizontal { grid-column: span 2; aspect-ratio: 3 / 2; }
}
@media (min-width: 1100px) { .galeria { gap: 20px; } }

.proximo__link { position: relative; display: block; height: 70vh; min-height: 420px; color: #fff; overflow: hidden; background: var(--tinta); }
.proximo__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--suave); }
.proximo__link:hover img { transform: scale(1.04); }
.proximo__link::after { content: ""; position: absolute; inset: 0; background: rgba(20,24,25,.45); transition: background .5s; }
.proximo__link:hover::after { background: rgba(20,24,25,.35); }
.proximo__texto { position: absolute; z-index: 1; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.proximo__texto .rotulo { color: var(--rose); }
.proximo__texto .titulo-1 { color: #fff; }
.proximo__texto .link-seta { color: #fff; border-color: rgba(255,255,255,.4); margin-top: 8px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 24, 25, .96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__figura { margin: 0; max-width: calc(100vw - 32px); max-height: calc(100vh - 100px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__figura img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; object-fit: contain; user-select: none; }
.lightbox__figura figcaption { color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .2em; }
.lightbox button { position: absolute; border: 0; background: transparent; color: #fff; width: 56px; height: 56px; display: grid; place-items: center; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox button .icone { width: 30px; height: 30px; }
.lightbox__fechar { top: 12px; right: 12px; }
.lightbox__seta--ant { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__seta--prox { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 699px) { .lightbox__seta { top: auto !important; bottom: 12px; transform: none !important; } }

/* ---------- Sobre ---------- */
.sobre-topo { display: grid; gap: 40px; padding-top: clamp(56px, 9vw, 120px); align-items: end; }
.sobre-topo .titulo-hero { margin-top: 16px; max-width: 12ch; }
.sobre-topo__foto { margin: 0; }
.sobre-topo__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) { .sobre-topo { grid-template-columns: 1.3fr 1fr; gap: 64px; } .sobre-topo__texto { padding-bottom: 48px; } }

.historia { display: grid; gap: 24px; }
.historia__texto p:not(.texto-grande) { max-width: 62ch; }
.historia__texto .texto-grande { margin-bottom: 1.4em; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; color: var(--tinta); max-width: 34ch; }
@media (min-width: 900px) { .historia { grid-template-columns: 1fr 2.4fr; gap: 64px; } }

.valores { background: var(--areia); }
.valores__grade { display: grid; gap: 40px 32px; }
.valores__grade div { border-top: 1px solid var(--linha); padding-top: 24px; }
.valores__grade h3 { font-family: var(--serif); font-style: italic; font-size: 32px; color: var(--terracota); margin-bottom: 10px; }
@media (min-width: 640px) { .valores__grade { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .valores__grade { grid-template-columns: repeat(4, 1fr); } }

.equipe { list-style: none; padding: 0; margin: 0; display: grid; gap: 40px 24px; grid-template-columns: repeat(2, 1fr); }
.equipe li { display: flex; flex-direction: column; gap: 4px; }
.equipe img, .equipe__sem-foto { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 16px; }
.equipe__sem-foto { display: grid; place-items: center; background: var(--rose); }
.equipe__sem-foto img { width: 56px; height: auto; aspect-ratio: auto; margin: 0; opacity: .9; }
.equipe strong { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--tinta); line-height: 1.2; }
.equipe span { font-size: 14px; color: var(--texto-suave); }
@media (min-width: 1024px) { .equipe { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

.processo { background: var(--tinta); color: rgba(255,255,255,.75); }
.processo .titulo-1 { color: #fff; }
.processo .titulo-1 em { color: var(--rose); }
.processo .rotulo { color: var(--rose); }
.processo__lista { border-color: rgba(255,255,255,.14); }
.processo__lista li { border-color: rgba(255,255,255,.14); }
.processo__lista h3 { color: #fff; }
.processo .servicos__num { color: var(--rose); }
@media (min-width: 900px) {
  .processo__lista { grid-template-columns: repeat(5, 1fr); gap: 0 28px; border-top: 0; }
  .processo__lista li { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .processo__lista p { grid-column: 1; }
}

.reconhecimentos ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--linha); }
.reconhecimentos li { display: grid; gap: 4px 32px; padding: 22px 0; border-bottom: 1px solid var(--linha); font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); color: var(--tinta); line-height: 1.25; }
@media (min-width: 700px) { .reconhecimentos li { grid-template-columns: 180px 1fr; align-items: baseline; } }

/* ---------- Contato ---------- */
.contato { display: grid; gap: 56px; padding-bottom: var(--secao); }
.contato__info { display: grid; gap: 0; align-content: start; border-top: 1px solid var(--linha); }
.contato__item { display: flex; flex-direction: column; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--linha); }
.contato__item strong { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--tinta); line-height: 1.2; word-break: break-word; }
a.contato__item:hover strong { color: var(--terracota); }
@media (min-width: 960px) { .contato { grid-template-columns: 1fr 1.5fr; gap: 96px; } }

.form-grade { display: grid; gap: 0 28px; }
@media (min-width: 640px) { .form-grade { grid-template-columns: 1fr 1fr; } }
.campo { margin: 0 0 26px; padding: 0; border: 0; min-width: 0; }
.campo label, .campo legend { display: block; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta); margin-bottom: 8px; padding: 0; }
.campo small { text-transform: none; letter-spacing: 0; font-weight: 350; color: var(--texto-suave); }
.campo input, .campo textarea {
  width: 100%; font: inherit; color: var(--tinta); background: transparent; border: 0; border-bottom: 1px solid rgba(47,55,56,.35);
  padding: 10px 0; border-radius: 0; transition: border-color .3s;
}
.campo textarea { resize: vertical; min-height: 130px; }
.campo input:focus, .campo textarea:focus { outline: none; border-bottom-color: var(--terracota); }
.campo--erro input, .campo--erro textarea { border-bottom-color: #B4412F; }
.campo__erro { color: #B4412F; font-size: 14px; margin-top: 6px; }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.opcoes label { margin: 0; text-transform: none; letter-spacing: 0; font-weight: 350; font-size: 15px; cursor: pointer; }
.opcoes input { position: absolute; opacity: 0; pointer-events: none; }
.opcoes span { display: inline-block; padding: 8px 16px; border: 1px solid var(--linha); border-radius: 40px; transition: background .25s, border-color .25s, color .25s; }
.opcoes input:checked + span { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.opcoes input:focus-visible + span { outline: 2px solid var(--terracota); outline-offset: 2px; }
.campo-isca { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-nota { font-size: 14px; color: var(--texto-suave); }
.form-nota a { text-decoration: underline; }
.aviso { display: flex; gap: 14px; padding: 18px 20px; margin-bottom: 28px; border-left: 2px solid; }
.aviso .icone { width: 26px; height: 26px; }
.aviso--ok { background: var(--areia); border-color: var(--oliva); color: var(--tinta); }
.aviso--erro { background: #F6E3DE; border-color: #B4412F; color: #7D2C20; }

/* ---------- Texto legal ---------- */
.texto-legal { max-width: 780px; padding-bottom: var(--secao); }
.texto-legal h2 { font-family: var(--serif); font-size: 30px; margin: 44px 0 12px; }
.texto-legal ul { padding-left: 1.2em; }
.texto-legal a { text-decoration: underline; color: var(--terracota-escuro); }

/* ---------- Rodapé ---------- */
.rodape { background: var(--tinta); color: rgba(255,255,255,.72); padding-top: clamp(64px, 8vw, 110px); font-size: 15px; }
.rodape__grade { display: grid; gap: 44px; padding-bottom: 64px; }
.rodape__marca img { margin-bottom: 24px; }
.rodape__marca p { font-family: var(--serif); font-size: 24px; line-height: 1.35; color: #fff; max-width: 26ch; }
.rodape .rotulo { color: var(--rose); margin: 0 0 18px; font-size: 11px; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rodape a:hover { color: #fff; }
/* Faixa de créditos (padrão HLERA) */
.rodape__creditos {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 8px;
  padding-block: 20px; border-top: 1px solid rgba(255,255,255,.15);
  font-family: var(--sans); font-size: 14px; line-height: 1.5; text-transform: none; text-align: center;
}
.rodape__creditos p { margin: 0; color: rgba(255,255,255,.7); font-weight: 400; }
.rodape__creditos strong { font-weight: 600; color: #fff; }
.rodape__creditos a { font-weight: 700; color: #fff; text-decoration: none; transition: opacity .2s; }
.rodape__creditos a:hover { opacity: .8; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) { .rodape__creditos { flex-direction: row; text-align: left; } }
@media (min-width: 900px) { .rodape__grade { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-flutuante {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--terracota); color: #fff; box-shadow: 0 10px 30px rgba(47,55,56,.25);
  transition: transform .3s var(--suave), background .3s;
}
.wa-flutuante:hover { transform: translateY(-3px); background: var(--tinta); }
.wa-flutuante .icone { width: 26px; height: 26px; }

/* ---------- Revelar ao rolar ---------- */
.js .revelar { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--suave), transform 1s var(--suave); }
.js .revelar.visivel { opacity: 1; transform: none; }

.pagina-404 { min-height: 50vh; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .revelar { opacity: 1; transform: none; }
}
