:root {
  --verde: #1f3327;
  --creme: #f4efe8;
  --terra: #a8683f;
  --texto: #2b2b2b;
}
* { box-sizing: border-box; margin: 0; }
body { font-family: "Helvetica Neue", Arial, sans-serif; color: var(--texto); background: var(--creme); line-height: 1.6; }
h1, h2, h3, .logo { font-family: Georgia, "Times New Roman", serif; font-weight: normal; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* Cabeçalho */
header { position: sticky; top: 0; z-index: 10; background: var(--creme); border-bottom: 1px solid #e0d8cc; }
.barra { max-width: 1100px; margin: auto; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; letter-spacing: .12em; text-decoration: none; color: var(--verde); text-transform: uppercase; }
.nav { display: flex; gap: 24px; }
.nav a { text-decoration: none; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.nav a:hover, .nav a.atual { color: var(--terra); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--verde); }

/* Seções */
main section { max-width: 1100px; margin: auto; padding: 56px 20px; }
h1 { font-size: 2.4rem; color: var(--verde); }
h2 { font-size: 1.9rem; color: var(--verde); margin-bottom: 18px; }
.sub { color: #6b6257; margin-bottom: 28px; }
.botao { display: inline-block; margin-top: 22px; padding: 12px 28px; background: var(--terra); color: #fff; text-decoration: none; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.botao:hover { background: var(--verde); }

/* Capa */
.capa { min-height: 70vh; background: var(--verde) center 30% / cover; display: flex; align-items: flex-end; position: relative; }
.capa::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0,0,0,.75)); }
.capa div { position: relative; color: #fff; max-width: 1100px; margin: auto; padding: 40px 20px; width: 100%; }
.capa h1 { color: #fff; max-width: 600px; }

/* Grade de fotos (colunas) */
.grade { columns: 3 260px; column-gap: 14px; }
.grade figure { break-inside: avoid; margin-bottom: 14px; cursor: pointer; overflow: hidden; background: #ddd; }
.grade img { width: 100%; height: auto; transition: transform .4s; }
.grade figure:hover img { transform: scale(1.04); }

.filtros { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filtros button { padding: 8px 20px; border: 1px solid var(--verde); background: none; color: var(--verde); cursor: pointer; letter-spacing: .06em; }
.filtros button.ativo { background: var(--verde); color: #fff; }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 50; align-items: center; justify-content: center; }
.lightbox.aberto { display: flex; }
.lightbox img { max-height: 92vh; max-width: 92vw; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; padding: 16px; }
.lightbox .fechar { top: 0; right: 0; }
.lightbox .ant { left: 0; }
.lightbox .prox { right: 0; }

/* Sobre / contato */
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.lista-contato { list-style: none; padding: 0; }
.lista-contato li { margin-bottom: 12px; }
.pendente { background: #fff3c4; padding: 0 4px; }
form { display: grid; gap: 14px; }
input, textarea { padding: 12px; border: 1px solid #cfc6b8; font: inherit; background: #fff; }

footer { background: var(--verde); color: #d8d2c6; text-align: center; padding: 28px 20px; font-size: .85rem; }

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--creme); flex-direction: column; padding: 16px 20px; border-bottom: 1px solid #e0d8cc; }
  .nav.aberto { display: flex; }
  .duas { grid-template-columns: 1fr; }
  h1 { font-size: 1.9rem; }
}
