/* ============================================================
   RESIDÊNCIA TF — sistema visual "caderno de arquitetura"
   Papel quente, tinta grafite, ouro da marca. Jost para o desenho,
   Cormorant para a voz. Linhas finas no lugar de caixas.
   ============================================================ */

:root {
    --papel: #F4F2ED;
    --papel-2: #ECE9E2;
    --branco: #FFFFFF;
    --tinta: #161614;
    --tinta-2: #1F1F1C;
    --grafite: #3B3A36;
    --cinza: #807C73;
    --cinza-claro: #B3AFA6;
    --linha: rgba(22, 22, 20, .12);
    --linha-clara: rgba(244, 242, 237, .16);
    --ouro: #C9A24E;
    --ouro-claro: #E2C88C;
    --ouro-escuro: #8C6C2E;

    --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
    --serif: 'Cormorant Garamond', Georgia, serif;

    --gutter: clamp(16px, 3.4vw, 48px);
    --largura: 1440px;
    --topo: 76px;
    --suave: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--grafite);
    background: var(--papel);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.em-entrada, body.travado { overflow: hidden; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong, b { font-weight: 500; }

::selection { background: var(--ouro); color: var(--tinta); }

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

.sobre {
    display: inline-block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--cinza);
}
.sobre.claro { color: var(--ouro-claro); }

.titulo {
    font-family: var(--sans);
    font-weight: 200;
    font-size: clamp(2.2rem, 4.6vw, 4.1rem);
    line-height: 1.04;
    letter-spacing: -.02em;
    color: var(--tinta);
    margin-bottom: clamp(24px, 3vw, 40px);
}
.titulo em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0;
    color: var(--ouro-escuro);
}

.lead {
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.7;
    color: var(--grafite);
    max-width: 640px;
    margin-bottom: 40px;
}

/* ---------- Botões ---------- */
.botao {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 17px 30px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .22em;
    text-transform: uppercase;
    transition: background .4s var(--suave), color .4s var(--suave), gap .4s var(--suave);
}
.botao i {
    width: 22px; height: 1px; background: currentColor; position: relative;
}
.botao i::after {
    content: ''; position: absolute; right: 0; top: -3px;
    width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor;
    transform: rotate(45deg);
}
.botao:hover { gap: 22px; }
.botao-ouro { background: var(--ouro); color: var(--tinta); }
.botao-ouro:hover { background: var(--ouro-claro); }
.botao-tinta { background: var(--tinta); color: var(--papel); }
.botao-tinta:hover { background: var(--ouro-escuro); }

/* ============================================================
   ENTRADA EM VÍDEO
   ============================================================ */
.entrada {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: #0b0b0a;
    clip-path: inset(0 0 0 0);
    transition: clip-path 1.3s cubic-bezier(.77, 0, .18, 1);
}
.entrada.saindo { clip-path: inset(0 0 100% 0); }
.entrada.oculta { display: none; }

.entrada-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    animation: entrada-zoom 9s linear forwards;
}
@keyframes entrada-zoom { to { transform: scale(1); } }

.entrada-veu {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(11, 11, 10, .46), rgba(11, 11, 10, .78) 92%),
        linear-gradient(to bottom, rgba(11, 11, 10, .35), transparent 30%, transparent 70%, rgba(11, 11, 10, .5));
}

.entrada-marca {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: var(--papel);
    padding: 0 var(--gutter);
}
.entrada-marca > span {
    opacity: 0; transform: translateY(14px);
    animation: sobe-entra 1.4s var(--suave) forwards;
}
.entrada-seed { animation-delay: .2s !important; margin-bottom: 18px; }
.entrada-seed img { height: clamp(54px, 7vw, 76px); width: auto; }
.entrada-apresenta {
    font-size: 11px; letter-spacing: .5em; text-transform: uppercase;
    color: var(--ouro-claro); animation-delay: .5s !important;
    margin-bottom: 30px; text-indent: .5em;
}
.entrada-nome {
    font-weight: 200;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
    font-size: clamp(2.2rem, 7.4vw, 6.4rem);
    letter-spacing: .32em;
    text-indent: .32em;
    text-transform: uppercase;
    line-height: 1;
    animation-delay: .9s !important;
}
.entrada-nome b { font-weight: 400; color: var(--ouro-claro); }
.entrada-local {
    margin-top: 28px;
    font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.5rem);
    letter-spacing: .06em; color: rgba(244, 242, 237, .82);
    animation-delay: 1.4s !important;
}
@keyframes sobe-entra { to { opacity: 1; transform: none; } }

.entrada-pular {
    position: absolute; right: var(--gutter); bottom: 44px;
    display: inline-flex; align-items: center; gap: 14px;
    font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
    color: var(--papel); opacity: 0;
    animation: sobe-entra 1s var(--suave) 1.8s forwards;
    padding: 10px 0;
}
.entrada-pular i { width: 34px; height: 1px; background: var(--ouro-claro); transition: width .4s var(--suave); }
.entrada-pular:hover i { width: 54px; }

.entrada-progresso {
    position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px;
    height: 1px; background: rgba(244, 242, 237, .18);
}
.entrada-progresso span {
    display: block; height: 100%; width: 0; background: var(--ouro-claro);
    transition: width .25s linear;
}

/* ============================================================
   CABEÇALHO
   ============================================================ */
.topo {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--topo);
    background: rgba(244, 242, 237, .9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .4s, transform .5s var(--suave);
}
.topo.rolou { border-bottom-color: var(--linha); }
.topo.escondido { transform: translateY(-100%); }

.topo-in {
    height: 100%;
    max-width: calc(var(--largura) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logotipo {
    display: inline-flex; align-items: baseline; gap: .7em;
    font-weight: 300; font-size: 15px;
    letter-spacing: .42em; text-transform: uppercase;
    color: var(--tinta);
    white-space: nowrap;
}
.logotipo b { font-weight: 400; color: var(--ouro-escuro); letter-spacing: .3em; }
.logotipo.claro { color: var(--papel); }
.logotipo.claro b { color: var(--ouro-claro); }

.topo-nav { display: flex; gap: clamp(16px, 2vw, 34px); }
.topo-nav a {
    position: relative;
    font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--grafite);
    padding: 6px 0;
    transition: color .3s;
}
.topo-nav a i {
    font-style: normal; font-size: 9px; color: var(--cinza-claro);
    margin-right: 6px; letter-spacing: .05em; vertical-align: 2px;
}
.topo-nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: var(--ouro-escuro);
    transform: scaleX(0); transform-origin: left; transition: transform .45s var(--suave);
}
.topo-nav a:hover, .topo-nav a.ativo { color: var(--tinta); }
.topo-nav a:hover::after, .topo-nav a.ativo::after { transform: scaleX(1); }

.topo-dir { display: flex; align-items: center; gap: 22px; }
.topo-cta {
    font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
    padding: 11px 18px; border: 1px solid var(--tinta); color: var(--tinta);
    transition: background .3s, color .3s;
    white-space: nowrap;
}
.topo-cta:hover { background: var(--tinta); color: var(--papel); }
.topo-seed img { height: 40px; width: auto; }

.topo-menu {
    display: none;
    width: 34px; height: 34px; position: relative;
}
.topo-menu span {
    position: absolute; left: 5px; right: 5px; height: 1px; background: var(--tinta);
    transition: transform .4s var(--suave), top .4s var(--suave);
}
.topo-menu span:first-child { top: 13px; }
.topo-menu span:last-child { top: 21px; }
.topo-menu.aberto span:first-child { top: 17px; transform: rotate(45deg); }
.topo-menu.aberto span:last-child { top: 17px; transform: rotate(-45deg); }

.menu {
    position: fixed; inset: 0; z-index: 90;
    background: var(--papel);
    padding: calc(var(--topo) + 32px) var(--gutter) 40px;
    display: flex; flex-direction: column; justify-content: space-between;
    opacity: 0; visibility: hidden;
    transition: opacity .45s var(--suave), visibility .45s;
}
.menu.aberto { opacity: 1; visibility: visible; }
.menu-in { display: flex; flex-direction: column; }
.menu-in a {
    font-weight: 200; font-size: clamp(1.8rem, 8vw, 2.6rem); line-height: 1.25;
    color: var(--tinta); padding: 10px 0; border-bottom: 1px solid var(--linha);
    transform: translateY(16px); opacity: 0;
    transition: transform .6s var(--suave), opacity .6s var(--suave);
}
.menu.aberto .menu-in a { transform: none; opacity: 1; }
.menu.aberto .menu-in a:nth-child(2) { transition-delay: .04s; }
.menu.aberto .menu-in a:nth-child(3) { transition-delay: .08s; }
.menu.aberto .menu-in a:nth-child(4) { transition-delay: .12s; }
.menu.aberto .menu-in a:nth-child(5) { transition-delay: .16s; }
.menu.aberto .menu-in a:nth-child(6) { transition-delay: .2s; }
.menu.aberto .menu-in a:nth-child(7) { transition-delay: .24s; }
.menu-in a i { font-style: normal; font-size: 12px; color: var(--ouro-escuro); margin-right: 16px; vertical-align: 6px; }
.menu-rodape { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--cinza); }
.menu-rodape img { height: 52px; width: auto; }

/* ============================================================
   INÍCIO
   ============================================================ */
.inicio { padding-top: calc(var(--topo) + clamp(28px, 5vw, 72px)); }

.inicio-cabeca {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
    padding-bottom: clamp(24px, 3vw, 40px);
}
.inicio-titulo {
    font-weight: 200;
    font-size: clamp(3rem, 9.4vw, 8.8rem);
    line-height: .92;
    letter-spacing: -.035em;
    color: var(--tinta);
    margin-top: 14px;
}
.inicio-titulo b {
    font-weight: 300;
    color: var(--ouro-escuro);
    letter-spacing: -.01em;
}
.inicio-frase {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    text-align: right; line-height: 1.5;
    color: var(--grafite);
    padding-bottom: 10px;
}
.inicio-frase em {
    font-family: var(--serif); font-style: italic; font-size: 1.3em; color: var(--ouro-escuro);
}

.ficha-toggle { border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.ficha-toggle button {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0;
    font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--tinta);
}
.mais { position: relative; width: 16px; height: 16px; }
.mais::before, .mais::after {
    content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor;
    transition: transform .45s var(--suave);
}
.mais::after { transform: rotate(90deg); }
[aria-expanded="true"] .mais::after { transform: rotate(0); }

.ficha-rapida {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    max-height: 0; overflow: hidden;
    transition: max-height .7s var(--suave), padding .7s var(--suave);
    border-bottom: 1px solid transparent;
}
.ficha-rapida.aberta { max-height: 420px; padding: 26px 0 30px; border-bottom-color: var(--linha); }
.ficha-rapida div { padding-right: 18px; }
.ficha-rapida dt { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--cinza); margin-bottom: 6px; }
.ficha-rapida dd { font-size: 15px; color: var(--tinta); line-height: 1.45; }

.inicio-foto { margin-top: clamp(20px, 2.4vw, 32px); }
.inicio-janela {
    --abre: 0;
    position: relative;
    height: min(82vh, 56.25vw + 80px);
    min-height: 420px;
    overflow: hidden;
    margin: 0 auto;
    /* começa alinhada à moldura e abre até a sangria total conforme a rolagem (--abre: 0 → 1) */
    --base: min(100% - var(--gutter) * 2, var(--largura));
    width: calc(var(--base) + (100% - var(--base)) * var(--abre));
}
.inicio-janela img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(calc(1.12 - .12 * var(--abre)));
    animation: revela 1.8s var(--suave) both;
    animation-play-state: paused;
}
body.pronto .inicio-janela img { animation-play-state: running; }
@keyframes revela { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

.legenda-linha {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 16px; padding-bottom: 16px;
    font-size: 12px; letter-spacing: .08em; color: var(--cinza);
}
.rolar { display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .22em; font-size: 11px; color: var(--tinta); }
.rolar i { width: 1px; height: 26px; background: var(--linha); position: relative; overflow: hidden; }
.rolar i::after {
    content: ''; position: absolute; left: 0; top: -12px; width: 1px; height: 12px; background: var(--ouro-escuro);
    animation: desce 2s var(--suave) infinite;
}
@keyframes desce { to { top: 26px; } }

/* ============================================================
   SEÇÕES — estrutura comum
   ============================================================ */
.secao { padding: clamp(80px, 11vw, 168px) 0; }

.grade {
    display: grid;
    grid-template-columns: minmax(150px, 3fr) 9fr;
    gap: clamp(24px, 4vw, 72px);
}
.rotulo {
    position: sticky; top: calc(var(--topo) + 32px);
    align-self: start;
    display: flex; flex-direction: column; gap: 8px;
    border-top: 1px solid var(--tinta);
    padding-top: 16px;
}
.rotulo .num { font-size: 13px; letter-spacing: .1em; color: var(--ouro-escuro); }
.rotulo .rot { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--tinta); }
.rotulo.claro { border-top-color: var(--papel); }
.rotulo.claro .num { color: var(--ouro-claro); }
.rotulo.claro .rot { color: var(--papel); }

.abertura {
    font-weight: 200;
    font-size: clamp(1.6rem, 3vw, 2.65rem);
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--tinta);
    margin-bottom: clamp(36px, 5vw, 64px);
}
.abertura b { font-weight: 400; }
.abertura em { font-family: var(--serif); font-style: italic; color: var(--ouro-escuro); }

.colunas {
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.4vw, 56px);
    margin-bottom: clamp(48px, 6vw, 80px);
}
.colunas p { font-size: 16px; line-height: 1.85; }

.ficha { border-top: 1px solid var(--linha); }
.ficha div {
    display: grid; grid-template-columns: minmax(140px, 1fr) 2.4fr; gap: 24px;
    padding: 17px 0; border-bottom: 1px solid var(--linha);
}
.ficha dt { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--cinza); padding-top: 3px; }
.ficha dd { color: var(--tinta); font-size: 16px; }

.numeros {
    list-style: none;
    display: grid; grid-template-columns: repeat(5, 1fr);
    margin-top: clamp(72px, 9vw, 128px);
    border-top: 1px solid var(--linha);
}
.numeros li { padding: 28px 18px 0 0; border-right: 1px solid var(--linha); }
.numeros li + li { padding-left: 22px; }
.numeros li:last-child { border-right: 0; }
.numeros b {
    display: block;
    font-weight: 200; font-size: clamp(2.6rem, 4.8vw, 4.4rem); line-height: 1;
    letter-spacing: -.03em; color: var(--tinta);
}
.numeros small { font-size: .36em; letter-spacing: .02em; margin-left: 4px; color: var(--ouro-escuro); font-weight: 300; }
.numeros li > span { display: block; margin-top: 12px; font-size: 13px; color: var(--cinza); line-height: 1.5; }

/* ============================================================
   02 · ARQUITETURA
   ============================================================ */
.arquitetura { padding-top: 0; }
.sangria {
    height: clamp(380px, 78vh, 900px);
    overflow: hidden; cursor: zoom-in;
    margin-bottom: clamp(72px, 9vw, 140px);
}
.sangria img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }

.autora {
    display: grid; grid-template-columns: 96px 1fr; gap: 28px; align-items: start;
    padding: 30px 0; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha);
}
.autora img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.autora strong { display: block; font-weight: 300; font-size: 1.5rem; color: var(--tinta); margin: 6px 0 10px; line-height: 1.2; }
.autora p { font-size: 15px; max-width: 620px; }

.dupla {
    display: grid; grid-template-columns: 5fr 4fr; gap: clamp(12px, 2vw, 28px);
    max-width: 1180px;
    margin-top: clamp(72px, 9vw, 140px);
}
.dupla figure { cursor: zoom-in; }
.dupla figure:nth-child(2) { margin-top: clamp(40px, 9vw, 140px); }
.dupla img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.dupla figure:nth-child(1) img { object-position: center 40%; }
.dupla figure:nth-child(2) img { object-position: center 78%; }
.dupla figcaption { padding-top: 12px; font-size: 12px; letter-spacing: .08em; color: var(--cinza); }

/* ============================================================
   03 · PERCURSO
   ============================================================ */
.percurso { background: var(--branco); }
.percurso .lead { margin-bottom: 0; }
.percurso-2 { padding-top: clamp(80px, 11vw, 168px); }

.capitulo { margin-top: clamp(80px, 10vw, 150px); }
.percurso-2 .capitulo:first-child { margin-top: 0; }

.capitulo-cab {
    display: grid;
    grid-template-columns: minmax(150px, 3fr) 4fr 5fr;
    gap: clamp(24px, 4vw, 72px);
    align-items: baseline;
    border-top: 1px solid var(--linha);
    padding-top: 22px;
    margin-bottom: clamp(28px, 3.4vw, 48px);
}
.capitulo-num { font-size: 13px; letter-spacing: .1em; color: var(--ouro-escuro); }
.capitulo-cab h3 { font-weight: 200; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; color: var(--tinta); letter-spacing: -.01em; }
.capitulo-cab p { font-size: 15px; line-height: 1.8; max-width: 520px; }

.mosaico {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(8px, 1.2vw, 18px);
}
.mosaico figure {
    position: relative; overflow: hidden; cursor: zoom-in;
    aspect-ratio: 3 / 4;
    background: var(--papel-2);
}
.mosaico figure.m-larga { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.mosaico figure.m-cheia { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.mosaico figure.m-larga-h { grid-column: span 2; aspect-ratio: auto; }
.mosaico img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.4s var(--suave), filter .6s;
}
.mosaico figure:hover img { transform: scale(1.04); }
.mosaico figure::after {
    content: attr(data-legenda);
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 40px 16px 14px;
    font-size: 12px; letter-spacing: .04em; line-height: 1.4; color: var(--papel);
    background: linear-gradient(to top, rgba(11, 11, 10, .62), transparent);
    opacity: 0; transform: translateY(8px);
    transition: opacity .5s var(--suave), transform .5s var(--suave);
}
.mosaico figure:hover::after { opacity: 1; transform: none; }

/* ---------- Faixa em vídeo ---------- */
.faixa-video {
    position: relative; height: clamp(420px, 86vh, 920px); overflow: hidden;
    background: var(--tinta);
}
.faixa-video-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faixa-video-veu { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 11, 10, .66), rgba(11, 11, 10, .08) 60%); }
.faixa-video-txt {
    position: absolute; left: 0; right: 0; bottom: clamp(36px, 7vw, 96px);
    color: var(--papel);
}
.faixa-video-txt p {
    margin-top: 14px;
    font-weight: 200; font-size: clamp(2rem, 5vw, 4.6rem); line-height: 1.04; letter-spacing: -.02em;
}
.faixa-video-txt em { font-family: var(--serif); font-style: italic; color: var(--ouro-claro); }

/* ============================================================
   TECNOLOGIA
   ============================================================ */
.tecnologia-grade {
    display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 6vw, 110px); align-items: center;
}
.tecnologia-foto { cursor: zoom-in; }
.tecnologia-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 50%; }
.tecnologia-foto figcaption { padding-top: 12px; font-size: 12px; letter-spacing: .08em; color: var(--cinza); }
.tecnologia .titulo { margin-top: 18px; }

.recursos { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--linha); }
.recursos li {
    display: grid; grid-template-columns: 30px 1fr; gap: 16px;
    padding: 22px 18px 22px 0;
    border-bottom: 1px solid var(--linha);
}
.recursos li:nth-child(even) { padding-left: 18px; padding-right: 0; border-left: 1px solid var(--linha); }
.recursos svg { width: 28px; height: 28px; fill: none; stroke: var(--ouro-escuro); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.recursos h4 { font-weight: 400; font-size: 15px; color: var(--tinta); letter-spacing: .02em; }
.recursos p { font-size: 14px; line-height: 1.55; color: var(--cinza); margin-top: 4px; }

/* ============================================================
   04 · METRAGENS
   ============================================================ */
.metragens { background: var(--papel-2); }

.quadro { border-top: 1px solid var(--tinta); margin-bottom: clamp(48px, 6vw, 80px); }
.quadro-cab, .quadro-total {
    display: flex; justify-content: space-between; padding: 16px 0;
    font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--cinza);
}
.quadro-lista { list-style: none; }
.quadro-lista li {
    display: grid; grid-template-columns: minmax(170px, 1.2fr) 3fr 80px; gap: 20px; align-items: center;
    padding: 15px 0; border-top: 1px solid var(--linha);
}
.quadro-lista span { color: var(--tinta); font-size: 15px; }
.quadro-lista i {
    display: block; height: 2px; background: var(--linha); position: relative; overflow: hidden;
}
.quadro-lista i::after {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: calc(var(--v) / 142.43 * 100%);
    background: var(--ouro-escuro);
    transform: scaleX(0); transform-origin: left;
    transition: transform 1.6s var(--suave);
}
.quadro.visivel .quadro-lista i::after { transform: scaleX(1); }
.quadro-lista li:nth-child(2) i::after { transition-delay: .08s; }
.quadro-lista li:nth-child(3) i::after { transition-delay: .16s; }
.quadro-lista li:nth-child(4) i::after { transition-delay: .24s; }
.quadro-lista li:nth-child(5) i::after { transition-delay: .32s; }
.quadro-lista li:nth-child(6) i::after { transition-delay: .4s; }
.quadro-lista li:nth-child(7) i::after { transition-delay: .48s; }
.quadro-lista li:nth-child(8) i::after { transition-delay: .56s; }
.quadro-lista b { text-align: right; font-weight: 300; font-size: 16px; color: var(--tinta); font-variant-numeric: tabular-nums; }
.quadro-total { border-top: 1px solid var(--tinta); align-items: baseline; }
.quadro-total b { font-weight: 200; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.01em; color: var(--tinta); text-transform: none; }
.quadro-total.sec { border-top-color: var(--linha); }
.quadro-total.sec b { font-size: 1.4rem; color: var(--grafite); }

.ambientes h4 { font-size: 11px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--cinza); margin-bottom: 14px; }
.ambientes dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--linha); }
.ambientes dl div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--linha); }
.ambientes dt { color: var(--grafite); font-size: 15px; }
.ambientes dd { color: var(--tinta); font-variant-numeric: tabular-nums; }

/* ============================================================
   05 · LOCALIZAÇÃO
   ============================================================ */
.pontos { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 56px); border-top: 1px solid var(--linha); }
.pontos li { padding: 20px 0; border-bottom: 1px solid var(--linha); }
.pontos b { display: block; font-weight: 400; color: var(--tinta); font-size: 15px; }
.pontos span { font-size: 14px; color: var(--cinza); line-height: 1.55; }

.mapa { margin-top: clamp(56px, 7vw, 100px); }
.mapa iframe {
    width: 100%; height: clamp(320px, 52vh, 520px); border: 0; display: block;
    filter: grayscale(1) contrast(1.05) brightness(1.02);
}
.mapa-nota { padding-top: 12px; font-size: 12px; letter-spacing: .04em; color: var(--cinza); }

/* ============================================================
   06 · NEGOCIAÇÃO
   ============================================================ */
.negociacao { background: var(--tinta); color: rgba(244, 242, 237, .72); }

.preco {
    display: flex; flex-direction: column; gap: 10px;
    padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 5vw, 64px);
    border-bottom: 1px solid var(--linha-clara);
}
.preco-rot { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: rgba(244, 242, 237, .5); }
.preco strong {
    font-weight: 200; font-size: clamp(3rem, 8.6vw, 7.6rem); line-height: 1; letter-spacing: -.035em; color: var(--papel);
}
.preco-obs { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ouro-claro); }

.etapas {
    list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--linha-clara);
}
.etapas li { padding: 32px 22px 36px 0; }
.etapas li + li { padding-left: 22px; border-left: 1px solid var(--linha-clara); }
.etapas span { font-size: 12px; letter-spacing: .1em; color: var(--ouro); }
.etapas h4 { font-weight: 300; font-size: 1.2rem; color: var(--papel); margin: 14px 0 8px; line-height: 1.3; }
.etapas p { font-size: 14px; line-height: 1.65; }

.dossie {
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    padding: clamp(36px, 5vw, 56px) 0;
    border-bottom: 1px solid var(--linha-clara);
}
.dossie h3 { font-weight: 200; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--papel); line-height: 1.15; margin-bottom: 8px; }
.dossie p { font-size: 15px; max-width: 520px; }
.dossie .botao { flex-shrink: 0; }

.carteira { padding-top: clamp(36px, 5vw, 56px); }
.carteira ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 clamp(20px, 3vw, 44px); margin-top: 16px; }
.carteira a {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 300; color: var(--papel);
    padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s;
}
.carteira a::after { content: '↗'; font-size: .8em; color: var(--ouro); }
.carteira a:hover { color: var(--ouro-claro); border-bottom-color: var(--ouro); }

/* ============================================================
   07 · CONTATO
   ============================================================ */
.contato-grade { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contato .titulo { margin-top: 18px; }

.contato-lista { border-top: 1px solid var(--linha); }
.contato-lista div { display: grid; grid-template-columns: minmax(150px, 1fr) 2fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--linha); }
.contato-lista dt { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--cinza); padding-top: 3px; }
.contato-lista dd { color: var(--tinta); }
.contato-lista a { border-bottom: 1px solid var(--ouro); transition: color .3s; }
.contato-lista a:hover { color: var(--ouro-escuro); }

.formulario { background: var(--branco); padding: clamp(28px, 4vw, 52px); }
.formulario h3 { font-weight: 200; font-size: 2rem; color: var(--tinta); line-height: 1.1; }
.formulario > p { font-size: 14px; color: var(--cinza); margin: 8px 0 26px; }
.formulario label { display: block; margin-bottom: 18px; }
.formulario label span { display: block; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--cinza); margin-bottom: 4px; }
.formulario label em { font-style: normal; letter-spacing: .1em; text-transform: none; }
.formulario input, .formulario select, .formulario textarea {
    width: 100%; font: inherit; font-size: 16px; color: var(--tinta);
    background: transparent; border: 0; border-bottom: 1px solid var(--linha);
    padding: 10px 0; border-radius: 0; outline: none;
    transition: border-color .3s;
    -webkit-appearance: none; appearance: none;
}
.formulario select {
    background-image: linear-gradient(45deg, transparent 50%, var(--cinza) 50%), linear-gradient(135deg, var(--cinza) 50%, transparent 50%);
    background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%;
    background-size: 5px 5px; background-repeat: no-repeat;
}
.formulario textarea { resize: vertical; }
.formulario input:focus, .formulario select:focus, .formulario textarea:focus { border-bottom-color: var(--ouro-escuro); }
.formulario .botao { width: 100%; justify-content: center; margin-top: 10px; }
.formulario-aviso { display: block; min-height: 20px; margin-top: 12px; font-size: 13px; color: var(--ouro-escuro); }

/* ============================================================
   RODAPÉ
   ============================================================ */
.rodape { background: var(--tinta); color: rgba(244, 242, 237, .5); padding: clamp(56px, 7vw, 96px) 0 40px; border-top: 1px solid var(--linha-clara); }
.rodape-topo { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--linha-clara); }
.rodape .logotipo { font-size: clamp(15px, 2.4vw, 26px); }
.rodape-seed { height: 74px; width: auto; }
.rodape-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding: 26px 0; font-size: 13px; }
.rodape-legal { font-size: 11.5px; line-height: 1.7; max-width: 920px; color: rgba(244, 242, 237, .36); }

/* ---------- WhatsApp ---------- */
.whats {
    position: fixed; right: 22px; bottom: 22px; z-index: 80;
    width: 54px; height: 54px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--tinta); color: var(--papel);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    transition: background .3s, transform .4s var(--suave), opacity .4s;
}
.whats svg { width: 24px; height: 24px; }
.whats:hover { background: #1fa855; transform: translateY(-3px); }
body.em-entrada .whats { opacity: 0; pointer-events: none; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 500;
    background: rgba(14, 14, 13, .97);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .45s var(--suave), visibility .45s;
}
.lightbox.aberto { opacity: 1; visibility: visible; }
.lb-conteudo { max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.lb-conteudo img { max-width: 92vw; max-height: 80vh; object-fit: contain; }
.lb-conteudo figcaption {
    width: 100%; display: flex; justify-content: space-between; gap: 24px;
    padding-top: 14px; font-size: 13px; color: rgba(244, 242, 237, .7);
}
.lb-contador { color: var(--ouro-claro); letter-spacing: .1em; white-space: nowrap; }
.lb-fechar { position: absolute; top: 18px; right: 24px; font-size: 34px; font-weight: 200; color: var(--papel); line-height: 1; padding: 8px; }
.lb-ant, .lb-prox { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; display: grid; place-items: center; }
.lb-ant { left: 12px; } .lb-prox { right: 12px; }
.lb-ant i, .lb-prox i { width: 14px; height: 14px; border-top: 1px solid var(--papel); border-left: 1px solid var(--papel); }
.lb-ant i { transform: rotate(-45deg); } .lb-prox i { transform: rotate(135deg); }

/* ============================================================
   ANIMAÇÕES DE ENTRADA
   ============================================================ */
[data-anima] {
    opacity: 0; transform: translateY(28px);
    transition: opacity 1.1s var(--suave), transform 1.1s var(--suave);
}
[data-anima].visivel { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-anima] { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1180px) {
    .topo-nav { display: none; }
    .topo-menu { display: block; }
    .ficha-rapida { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
    .numeros { grid-template-columns: repeat(3, 1fr); }
    .numeros li:nth-child(3) { border-right: 0; }
    .numeros li:nth-child(4) { padding-left: 0; }
    .numeros li:nth-child(n+4) { margin-top: 28px; border-top: 1px solid var(--linha); }
    .etapas { grid-template-columns: 1fr 1fr; }
    .etapas li:nth-child(3) { padding-left: 0; border-left: 0; }
    .etapas li:nth-child(n+3) { border-top: 1px solid var(--linha-clara); }
}

@media (max-width: 900px) {
    :root { --topo: 64px; }
    .topo-cta { display: none; }
    .topo-seed img { height: 34px; }
    .grade { grid-template-columns: 1fr; }
    .rotulo { position: static; flex-direction: row; gap: 14px; align-items: baseline; }
    .inicio-cabeca { flex-direction: column; align-items: flex-start; gap: 16px; }
    .inicio-frase { text-align: left; }
    .inicio-janela { height: 62vh; min-height: 360px; }
    .colunas { grid-template-columns: 1fr; gap: 18px; }
    .capitulo-cab { grid-template-columns: 1fr; gap: 10px; }
    .mosaico { grid-template-columns: 1fr 1fr; }
    .mosaico figure.m-cheia { aspect-ratio: 4 / 3; }
    .mosaico figure::after { opacity: 1; transform: none; padding-top: 30px; font-size: 11px; }
    .tecnologia-grade { grid-template-columns: 1fr; }
    .tecnologia-foto img { aspect-ratio: 4 / 3; }
    .contato-grade { grid-template-columns: 1fr; }
    .dossie { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .logotipo { font-size: 13px; letter-spacing: .32em; }
    .ficha-rapida { grid-template-columns: 1fr 1fr; }
    .ficha div, .contato-lista div { grid-template-columns: 1fr; gap: 4px; }
    .numeros { grid-template-columns: 1fr 1fr; }
    .numeros li, .numeros li + li { padding: 22px 12px 0 0; border-right: 0; margin-top: 0; border-top: 0; }
    .numeros li:nth-child(n+3) { margin-top: 22px; border-top: 1px solid var(--linha); }
    .numeros li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--linha); }
    .numeros li:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
    .dupla { grid-template-columns: 1fr 1fr; gap: 10px; }
    .mosaico figure.m-larga { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 4; }
    .mosaico figure.m-larga-h { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
    .recursos, .pontos, .ambientes dl { grid-template-columns: 1fr; }
    .recursos li:nth-child(even) { padding-left: 0; border-left: 0; }
    .quadro-lista li { grid-template-columns: 1fr 70px; row-gap: 8px; }
    .quadro-lista i { grid-column: 1 / -1; grid-row: 2; }
    .etapas { grid-template-columns: 1fr; }
    .etapas li, .etapas li + li { padding: 24px 0; border-left: 0; }
    .etapas li + li { border-top: 1px solid var(--linha-clara); }
    .autora { grid-template-columns: 64px 1fr; gap: 18px; }
    .autora img { width: 64px; height: 64px; }
    .rodape-topo { flex-direction: column; align-items: flex-start; }
    .entrada-nome { letter-spacing: .18em; text-indent: .18em; }
    .entrada-pular { bottom: 46px; }
    .legenda-linha span { display: none; }
    .lb-ant, .lb-prox { display: none; }
}
