/* FBAA — prévia privada v1 · HTML/CSS estático
   Fonte: Futura PT, servida localmente como no site ao ar (não é kit da Adobe Fonts).
   Light (300) = mesmos arquivos do site oficial; Book (400) e Medium (500) = pesos do desenho.
   Jost fica só como reserva. Paleta: preto, cinzas e branco. Vermelho só nos marcadores internos. */
@font-face {
  font-family: 'FuturaPT';
  src: url('fonts/futura-pt_light-webfont.woff2') format('woff2'),
       url('fonts/futura-pt_light-webfont.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'FuturaPT';
  src: url('fonts/futura-pt_book-webfont.woff2') format('woff2'),
       url('fonts/futura-pt_book-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'FuturaPT';
  src: url('fonts/futura-pt_medium-webfont.woff2') format('woff2'),
       url('fonts/futura-pt_medium-webfont.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('fonts/Jost-VF.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #1a1a1a;
  --ink-2: #333333;
  --mid: #808080;
  --soft: #b3b3b3;
  --line: #e4e4e2;
  --paper: #ffffff;
  --wash: #f5f5f5;
  --pend: #ff0000;
  --font: 'FuturaPT', 'Futura', 'Jost', 'Century Gothic', Arial, sans-serif;
  --pad: clamp(1.4rem, 5vw, 4rem);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-weight: 300; font-size: 1.0625rem; line-height: 1.7;
  color: var(--ink); background: var(--paper);
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #000; }
img { display: block; max-width: 100%; }

/* ---- marcador de prévia ---- */
.preview-flag {
  font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 400;
  text-align: center; padding: .45rem 1rem; background: #f0f0ee; color: var(--mid);
}
.is-home .preview-flag { position: absolute; top: 0; left: 0; right: 0; z-index: 5; background: rgba(0,0,0,.35); color: rgba(255,255,255,.75); }

/* ---- marcadores a confirmar ---- */
.pend {
  color: var(--pend); font-weight: 400; font-size: .86em; letter-spacing: .01em;
  border: 1px dashed var(--pend); background: #fff4f4; padding: 0 .35em; border-radius: 2px;
  white-space: normal; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---- cabeçalho (páginas internas) ---- */
.site-header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem;
  padding: 2.2rem var(--pad) 1.6rem;
}
.logo-txt { display: block; font-size: .78rem; line-height: 1.22; letter-spacing: .06em; text-transform: uppercase; font-weight: 300; color: #2b2b2b; }
.logo-txt span { display: block; }
.logo-txt .l2 { color: #c8c8c8; }
.nav { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.nav ul { list-style: none; display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); flex-wrap: wrap; justify-content: flex-end; }
.nav a { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 400; color: var(--mid); padding-bottom: .25rem; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.nav a:hover, .nav a[aria-current="page"] { color: #000; border-bottom-color: #000; }
.lang { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); display: flex; gap: .6rem; }
.lang a[aria-current="true"] { color: #000; border-bottom: 1px solid #000; }
.lang span[aria-disabled="true"] { color: #cfcfcf; cursor: default; }

/* ---- conteúdo ---- */
main { flex: 1; padding: 2rem var(--pad) 5rem; width: 100%; max-width: 1180px; margin: 0 auto; }
h1 { font-weight: 500; font-size: .78rem; letter-spacing: .34em; text-transform: uppercase; color: #000; margin-bottom: 2.4rem; }
h2 { font-weight: 500; font-size: 1.05rem; letter-spacing: .01em; color: #000; line-height: 1.25; margin: 0 0 .7rem; }
.lead { font-size: 1.28rem; line-height: 1.6; max-width: 46rem; color: var(--ink); margin-bottom: 3.2rem; }
.skeleton { color: var(--mid); max-width: 36rem; }

/* ---- Escritório ---- */
.posicao { max-width: 42rem; padding: 2.2rem 0; border-top: 1px solid var(--line); }
.posicao p { margin-bottom: .9rem; }
.leva { font-size: .86rem; color: var(--mid); letter-spacing: .02em; }
.leva b { font-weight: 400; letter-spacing: .2em; text-transform: uppercase; font-size: .66rem; margin-right: .6rem; color: var(--ink-2); }
.leva a { border-bottom: 1px solid var(--soft); }
.leva a:hover { border-bottom-color: #000; }

/* ---- Obras (índice) ---- */
.filtros { display: grid; gap: 1rem; margin-bottom: 2.6rem; }
.filtro { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.3rem; }
.filtro > .rot { width: 7.5rem; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--mid); flex-shrink: 0; }
.filtro button {
  font: inherit; font-size: .8rem; letter-spacing: .04em; font-weight: 300; color: var(--mid);
  background: none; border: 0; border-bottom: 1px solid transparent; padding: .1rem 0; cursor: pointer; transition: color .25s;
}
.filtro button:hover { color: #000; }
.filtro button[aria-pressed="true"] { color: #000; border-bottom-color: #000; }
.indice { list-style: none; border-top: 1px solid #000; }
.obra { border-bottom: 1px solid var(--line); }
.obra[hidden] { display: none; }
.obra summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0,2.4fr) minmax(0,1.3fr) minmax(0,1.3fr);
  gap: 1.5rem; padding: .95rem 0; align-items: baseline;
}
.obra summary::-webkit-details-marker { display: none; }
.obra summary .nome { font-weight: 400; color: #000; }
.obra summary .anos, .obra summary .cidade { color: var(--ink-2); font-size: .95rem; }
.obra summary:hover .nome { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.ficha { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 2.4rem; padding: .4rem 0 2.2rem; }
.foto-res {
  aspect-ratio: 3 / 2; background: var(--wash); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--soft); text-align: center; padding: 1rem;
}
.ficha dl { display: grid; grid-template-columns: 6.5rem 1fr; gap: .55rem 1rem; align-content: start; font-size: .95rem; }
.ficha dt { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mid); padding-top: .32rem; }
.ficha dd { color: var(--ink); }
.vazio { padding: 1.4rem 0; color: var(--mid); font-size: .95rem; }
.vazio[hidden] { display: none; }
.nota-indice { margin-top: 2.2rem; font-size: .82rem; color: var(--mid); max-width: 40rem; }

/* ---- Contato ---- */
.contato-linha { font-size: 1.5rem; line-height: 1.45; max-width: 36rem; margin-bottom: 2.4rem; }
.contato-lista { list-style: none; display: grid; gap: .7rem; }
.contato-lista li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; align-items: baseline; }
.contato-lista .rot { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--mid); }
.contato-lista a { border-bottom: 1px solid var(--soft); overflow-wrap: anywhere; }
.contato-lista a:hover { border-bottom-color: #000; }

/* ---- rodapé ---- */
.site-footer { padding: 1.8rem var(--pad) 2.2rem; border-top: 1px solid var(--line); font-size: .66rem; line-height: 1.5; color: var(--soft); letter-spacing: .04em; display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.site-footer .dir { text-transform: uppercase; letter-spacing: .1em; font-weight: 400; }

/* ---- Home ---- */
.is-home { background: #0c0c0c; color: #f5f4f0; }
.hero { position: relative; flex: 1; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: brightness(.7); animation: slowzoom 20s ease-out forwards; }
.hero .overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(12,12,12,.5) 0%, rgba(12,12,12,0) 24%, rgba(12,12,12,0) 52%, rgba(12,12,12,.82) 100%); }
.hero-top { position: absolute; top: 2rem; left: 0; right: 0; padding: 2.6rem var(--pad) 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; animation: fadein 1.4s ease .3s both; }
.hero-top .logo { height: clamp(90px, 12vw, 155px); width: auto; margin: -8px 0 0 -9px; }
.is-home .nav a { color: rgba(245,244,240,.78); text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.is-home .nav a:hover { color: #fff; border-bottom-color: #fff; }
.is-home .lang { color: rgba(245,244,240,.6); }
.is-home .lang a[aria-current="true"] { color: #fff; border-bottom-color: #fff; }
.is-home .lang span[aria-disabled="true"] { color: rgba(245,244,240,.32); }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem var(--pad) 3rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; animation: fadein 1.4s ease 1s both; }
.escopo { display: flex; align-items: center; gap: 1rem; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 300; text-shadow: 0 1px 8px rgba(0,0,0,.9); max-width: 44rem; line-height: 1.8; }
.escopo::before { content: ""; width: 28px; height: 1px; background: rgba(245,244,240,.6); flex-shrink: 0; }
.hero-contato { display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.hero-contato .mail { border: 1px solid rgba(245,244,240,.55); padding: .8rem 1.6rem; background: rgba(0,0,0,.2); backdrop-filter: blur(4px); transition: background .4s, border-color .4s; text-transform: none; letter-spacing: .12em; font-size: .78rem; }
.hero-contato .mail:hover { background: rgba(0,0,0,.4); border-color: rgba(245,244,240,.9); color: #fff; }
.hero-contato .redes { display: flex; gap: 1.4rem; color: rgba(245,244,240,.8); }
.hero-contato .redes a:hover { color: #fff; }
.is-home .site-footer { position: absolute; left: 0; right: 0; bottom: 0; border: 0; padding: 0 var(--pad) 1rem; color: rgba(245,244,240,.45); z-index: 2; }
.is-home .hero-bottom { padding-bottom: 4.6rem; }
@keyframes slowzoom { from { transform: scale(1.05); } to { transform: scale(1); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-img, .hero-top, .hero-bottom { animation: none; } }

/* ---- mobile ---- */
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .site-header { flex-direction: column; gap: 1.4rem; padding-top: 1.6rem; }
  .nav { align-items: flex-start; width: 100%; }
  .nav ul { justify-content: flex-start; gap: .7rem 1.3rem; }
  .nav a { font-size: .64rem; letter-spacing: .2em; }
  .lead { font-size: 1.12rem; }
  .filtro > .rot { width: 100%; }
  .obra summary { grid-template-columns: auto 1fr; gap: .25rem .6rem; padding: .85rem 0; }
  .obra summary .nome { grid-column: 1 / -1; }
  .obra summary .anos, .obra summary .cidade { font-size: .88rem; color: var(--mid); }
  .ficha { grid-template-columns: 1fr; gap: 1.4rem; }
  .contato-linha { font-size: 1.25rem; }
  .contato-lista li { grid-template-columns: 1fr; gap: .1rem; }
  .hero-top { flex-direction: column; gap: 1.2rem; }
  .hero-top .logo { height: 86px; }
  .hero-top .nav { align-items: flex-start; }
  .hero-top .nav ul { gap: .6rem 1.1rem; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 1.4rem; padding-bottom: 5.4rem; }
  .escopo { font-size: .58rem; letter-spacing: .22em; }
  .hero-contato { align-items: flex-start; width: 100%; }
  .hero-contato .mail { width: 100%; text-align: center; }
  .site-footer { flex-direction: column; gap: .4rem; }
}
