/* Setechaves — camada de desenho.
   Ideia: do primeiro traço à última chave. As secções contam-se como chaves (01 / 07),
   as etiquetas lêem-se como legendas de desenho de obra (monoespaçado) e a marca
   [ SETECHAVES ] ocupa a largura do ecrã. */

:root { --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Consolas, monospace; --cobre: #D08566; }

/* ---------- Tipografia: serifa em minúsculas, etiquetas técnicas ---------- */
h1, h2 { text-transform: none; letter-spacing: -.028em; line-height: .96; }
h1 { font-size: clamp(50px, 8.6vw, 150px); }
h2 { font-size: clamp(40px, 5.6vw, 88px); }
.sc-card__title, .sc-next__title, .sc-phead__title { text-transform: none; letter-spacing: -.028em; }
.is-style-sc-micro, .sc-micro, figcaption.wp-element-caption, .wp-block-post-date,
.sc-nav, .sc-pill, .wp-block-button__link, .sc-btn, .sc-lb button, .sc-card__num {
	font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .07em;
}
.sc-mark { font-family: var(--mono); font-size: 12px; letter-spacing: .34em; }
.wp-block-button__link, .sc-btn, .sc-pill, .sc-lb button { border-radius: 0; }

/* ---------- Secções numeradas: NN / total · nome ---------- */
.entry-content { counter-reset: chave; }
.entry-content > .sc-sec:not(.sc-pagehead) { counter-increment: chave; }
.sc-sec > .is-style-sc-micro:first-child,
.sc-sec__head > .is-style-sc-micro:first-child,
.sc-sec .sc-txt > .is-style-sc-micro:first-child { white-space: nowrap; }
.sc-sec > .is-style-sc-micro:first-child::before,
.sc-sec__head > .is-style-sc-micro:first-child::before,
.sc-sec .sc-txt > .is-style-sc-micro:first-child::before { content: counter(chave, decimal-leading-zero) " / " var(--total, "07") "  ·  "; color: var(--terracota); white-space: pre; }
.sc-bg-preto .is-style-sc-micro:first-child::before, .sc-bg-nogueira .is-style-sc-micro:first-child::before { color: var(--cobre) !important; }
.entry-content > .sc-sec:not(.sc-pagehead) { border-top: 1px solid var(--line); }
.sc-card__num { color: var(--terracota); }
.sc-card__num::before { content: "[\00a0"; }
.sc-card__num::after { content: "\00a0]"; }

/* ---------- Navegação e filtros entre parênteses ---------- */
.sc-nav .wp-block-navigation__container { gap: clamp(10px, 1.6vw, 24px); }
.sc-nav .wp-block-navigation-item__content { position: relative; border: 0; border-radius: 0; padding: 10px 14px !important; background: none !important; color: inherit !important; }
.sc-nav .wp-block-navigation-item__content::before, .sc-nav .wp-block-navigation-item__content::after,
.sc-filtros .sc-pill::before, .sc-filtros .sc-pill::after { position: absolute; top: 50%; translate: 0 -54%; font: 300 17px/1 var(--sans); letter-spacing: 0; opacity: 0; transition: opacity .3s, transform .45s var(--ease); }
.sc-nav .wp-block-navigation-item__content::before, .sc-filtros .sc-pill::before { content: "["; left: 0; transform: translateX(10px); }
.sc-nav .wp-block-navigation-item__content::after, .sc-filtros .sc-pill::after { content: "]"; right: 0; transform: translateX(-10px); }
.sc-nav .wp-block-navigation-item__content:hover::before, .sc-nav .wp-block-navigation-item__content:hover::after,
.sc-nav .current-menu-item > .wp-block-navigation-item__content::before, .sc-nav .current-menu-item > .wp-block-navigation-item__content::after,
.sc-filtros .sc-pill:hover::before, .sc-filtros .sc-pill:hover::after,
.sc-filtros .sc-pill[aria-pressed="true"]::before, .sc-filtros .sc-pill[aria-pressed="true"]::after { opacity: 1; transform: none; }
.sc-nav .is-menu-open .wp-block-navigation-item__content { padding: 6px 0 !important; font-family: var(--serif); text-transform: none; }
.sc-nav .is-menu-open .wp-block-navigation-item__content::before, .sc-nav .is-menu-open .wp-block-navigation-item__content::after { display: none; }
.sc-filtros { gap: 4px clamp(8px, 1.4vw, 18px); }
.sc-filtros .sc-pill { position: relative; border: 0; padding: 8px 14px; background: none !important; color: var(--muted); }
.sc-filtros .sc-pill::before, .sc-filtros .sc-pill::after { color: var(--terracota); }
.sc-filtros .sc-pill:hover, .sc-filtros .sc-pill[aria-pressed="true"] { color: var(--preto); }

/* ---------- Cabeçalho sobre a fotografia de abertura ---------- */
.wp-site-blocks > header { transition: border-color .3s, background .45s, color .45s; }
.js .sc-home .wp-site-blocks > header:not(.is-past), .js .single-projeto .wp-site-blocks > header:not(.is-past) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--linho); border-bottom-color: transparent; }
.sc-home .sc-main, .single-projeto .sc-main { padding-top: 0; }

/* ---------- Abertura ---------- */
.sc-abre__copy, .sc-abre__meta { padding: 24px var(--pad); }
.sc-marca { margin: 0; padding: 0 var(--pad); font: 250 clamp(40px, 11vw, 200px)/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
body:not(.editor-styles-wrapper) .sc-abre { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; height: 100svh; min-height: 620px; overflow: hidden; background: var(--preto); color: var(--linho); }
.admin-bar:not(.editor-styles-wrapper) .sc-abre { height: calc(100svh - 32px); }
body:not(.editor-styles-wrapper) .sc-abre > * { position: relative; z-index: 3; }
body:not(.editor-styles-wrapper) .sc-abre .sc-hero__slides { position: absolute; inset: 0; grid-area: 1 / 1 / -1 / -1; z-index: 0; min-height: 0; aspect-ratio: auto; height: 100%; width: 100%; margin: 0; background: var(--preto); }
body:not(.editor-styles-wrapper) .sc-abre .sc-hero__slides::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(28, 23, 20, .88) 0%, rgba(28, 23, 20, .34) 42%, rgba(28, 23, 20, .22) 62%, rgba(28, 23, 20, .7) 100%); }
body:not(.editor-styles-wrapper) .sc-abre .sc-hero__slides figure.is-on img { animation-duration: 12s; }
.sc-abre .sc-hero__count { display: none; }
body:not(.editor-styles-wrapper) .sc-abre__copy { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; align-self: start; padding: calc(var(--bar) + clamp(12px, 2vw, 32px)) var(--pad) 0; pointer-events: none; }
body:not(.editor-styles-wrapper) .sc-abre__copy a { pointer-events: auto; }
body:not(.editor-styles-wrapper) .sc-abre h1 { grid-column: 1 / 6; font-size: clamp(42px, 5.1vw, 92px); line-height: .98; margin: 0; }
body:not(.editor-styles-wrapper) .sc-abre__lead { grid-column: 7 / 12; }
.sc-abre__lead > p:first-child { font: 300 clamp(18px, 1.75vw, 27px)/1.3 var(--sans); letter-spacing: -.01em; margin: 0 0 clamp(18px, 2vw, 28px); max-width: 24em; }
.sc-abre__cta { margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.sc-abre__cta a { padding-bottom: 7px !important; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat !important; transition: color .3s; }
.sc-abre__cta a:hover { color: var(--cobre); }
body:not(.editor-styles-wrapper) .sc-abre__meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: end; padding: 0 var(--pad) clamp(10px, 1.2vw, 18px); }
.sc-abre__meta p { margin: 0; }
body:not(.editor-styles-wrapper) .sc-abre__meta p:last-child { text-align: right; }
body:not(.editor-styles-wrapper) .sc-abre .sc-marca { display: flex; justify-content: space-between; padding: 0 var(--pad) clamp(6px, .8vw, 14px); line-height: 1; animation: sc-up 1.3s .5s var(--ease) both; }
.sc-marca::before { content: "["; letter-spacing: 0; color: var(--cobre); }
.sc-marca::after { content: "]"; letter-spacing: 0; color: var(--cobre); }
.sc-intro body:not(.editor-styles-wrapper) .sc-abre .sc-marca { animation-delay: 1.5s; }

/* Título: as palavras sobem uma a uma. */
.sc-w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .04em .12em 0; margin: -.14em -.04em -.12em 0; }
.sc-w > span { display: inline-block; transform: translateY(112%); animation: sc-rise 1.15s var(--ease) forwards; animation-delay: calc(var(--i) * 75ms + var(--d, .15s)); }
.sc-intro .sc-w > span { --d: 1.25s; }
body:not(.editor-styles-wrapper) .sc-abre__lead, body:not(.editor-styles-wrapper) .sc-abre__meta { animation: sc-up 1s .7s var(--ease) both; }
.sc-intro body:not(.editor-styles-wrapper) .sc-abre__lead, .sc-intro body:not(.editor-styles-wrapper) .sc-abre__meta { animation-delay: 1.8s; }
@keyframes sc-rise { to { transform: none; } }

/* Entrada: os parênteses abrem-se e revelam a página (uma vez por visita). */
.sc-intro body.sc-home::before { content: ""; position: fixed; inset: 0; z-index: 99998; background: var(--preto); animation: sc-intro-bg 1.7s ease forwards; pointer-events: none; }
.sc-intro body.sc-home::after { content: "[ ]"; position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; white-space: pre; color: var(--linho); font: 250 clamp(44px, 6vw, 96px)/1 var(--sans); animation: sc-intro-br 1.7s cubic-bezier(.7, 0, .2, 1) forwards; pointer-events: none; }
@keyframes sc-intro-bg { 0%, 58% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes sc-intro-br { 0% { word-spacing: 0; opacity: 0; } 18% { word-spacing: .1em; opacity: 1; } 70% { opacity: 1; } 100% { word-spacing: 96vw; opacity: 0; visibility: hidden; } }

@media (max-width: 900px) {
	body:not(.editor-styles-wrapper) .sc-abre__copy { display: block; }
	body:not(.editor-styles-wrapper) .sc-abre h1 { font-size: clamp(42px, 11.5vw, 76px); margin-bottom: 22px; }
	body:not(.editor-styles-wrapper) .sc-abre__meta { grid-template-columns: 1fr 1fr; row-gap: 14px; }
	body:not(.editor-styles-wrapper) .sc-abre__meta p:nth-child(2) { text-align: right; }
}
@media (max-width: 782px) { .admin-bar:not(.editor-styles-wrapper) .sc-abre { height: calc(100svh - 46px); } }

/* ---------- 01 · Declaração: o texto acende com o scroll ---------- */
.sc-declaracao { padding-block: clamp(72px, 9vw, 150px) clamp(96px, 13vw, 220px); }
.sc-declaracao > .is-style-sc-micro:first-child { margin-bottom: clamp(48px, 8vw, 130px); }
.sc-declaracao .is-style-sc-statement { font-size: clamp(34px, 5.3vw, 92px); line-height: 1; letter-spacing: -.025em; max-width: 16em; }
.sc-pal { opacity: .14; transition: opacity .5s ease; }
.sc-pal.is-lit { opacity: 1; }

/* ---------- 02 · Índice de projetos ---------- */
.sc-selecao .sc-sec__head { margin-bottom: clamp(28px, 5vw, 80px); }
.sc-selecao .sc-sec__head p { margin: 0; }
.sc-indice { border-top: 1px solid var(--line); }
.sc-linha { display: grid; grid-template-columns: clamp(64px, 8vw, 130px) minmax(0, 1fr) auto; align-items: baseline; gap: var(--gap); padding: clamp(14px, 1.7vw, 28px) 0 clamp(12px, 1.5vw, 24px); border-bottom: 1px solid var(--line); text-decoration: none; transition: opacity .4s; }
.sc-linha__num { font: 400 11.5px/1.6 var(--mono); letter-spacing: .07em; color: var(--cobre); }
.sc-linha__title { font: 400 clamp(34px, 6vw, 104px)/.98 var(--serif); letter-spacing: -.028em; transition: transform .6s var(--ease), color .3s; }
.sc-linha__meta { margin: 0; text-align: right; color: #b9ad9c; }
.sc-linha__img { display: none; }
@media (hover: hover) and (min-width: 901px) {
	.sc-indice:hover .sc-linha { opacity: .28; }
	.sc-indice .sc-linha:hover, .sc-indice .sc-linha:focus-visible { opacity: 1; }
	.sc-linha:hover .sc-linha__title { transform: translateX(clamp(14px, 2.2vw, 40px)); font-style: italic; }
}
.sc-pre { position: fixed; left: 0; top: 0; z-index: 40; width: clamp(240px, 23vw, 400px); aspect-ratio: 4 / 5; overflow: hidden; pointer-events: none; background: var(--nogueira); clip-path: inset(50% 0 50% 0); transition: clip-path .55s var(--ease); will-change: transform; }
.sc-pre.is-on { clip-path: inset(0 0 0 0); }
.sc-pre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .45s ease, transform 1.2s var(--ease); }
.sc-pre img.is-on { opacity: 1; transform: none; }
@media (hover: none), (max-width: 900px) {
	.sc-linha { grid-template-columns: 34% minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 18px; row-gap: 6px; align-items: start; padding: 18px 0; }
	.sc-linha__img { display: block; grid-column: 1; grid-row: 1 / 4; aspect-ratio: 4 / 5; overflow: hidden; }
	.sc-linha__img img { width: 100%; height: 100%; object-fit: cover; }
	.sc-linha__num, .sc-linha__title, .sc-linha__meta { grid-column: 2; text-align: left; }
	.sc-linha__title { font-size: clamp(30px, 8.4vw, 56px); }
}

/* ---------- Serviços e método: linhas grandes em vez de colunas ---------- */
.sc-servicos .sc-steps, .sc-metodo .sc-steps { display: block !important; border-bottom: 1px solid var(--line); }
.sc-servicos .sc-steps > .wp-block-column, .sc-metodo .sc-steps > .wp-block-column { display: grid; grid-template-columns: clamp(64px, 8vw, 130px) minmax(0, 5fr) minmax(0, 4fr); gap: var(--gap); align-items: baseline; padding: clamp(18px, 2.2vw, 34px) 0; transition: padding-left .6s var(--ease); }
.sc-servicos .sc-steps .is-style-sc-micro, .sc-metodo .sc-steps .is-style-sc-micro { margin: 0; }
.sc-servicos .sc-steps h3, .sc-metodo .sc-steps h3 { margin: 0; font-size: clamp(32px, 4.8vw, 78px); line-height: .98; letter-spacing: -.028em; transition: color .3s; }
.sc-servicos .sc-steps p:not(.is-style-sc-micro), .sc-metodo .sc-steps p:not(.is-style-sc-micro) { margin: 0; max-width: 27em; }
@media (hover: hover) {
	.sc-servicos .sc-steps > .wp-block-column:hover, .sc-metodo .sc-steps > .wp-block-column:hover { padding-left: clamp(10px, 1.6vw, 28px); }
	.sc-servicos .sc-steps > .wp-block-column:hover h3, .sc-metodo .sc-steps > .wp-block-column:hover h3 { color: var(--terracota); font-style: italic; }
	.sc-bg-preto .sc-steps > .wp-block-column:hover h3, .sc-bg-nogueira .sc-steps > .wp-block-column:hover h3 { color: var(--cobre); }
}
@media (max-width: 800px) {
	.sc-servicos .sc-steps > .wp-block-column, .sc-metodo .sc-steps > .wp-block-column { grid-template-columns: 56px minmax(0, 1fr); row-gap: 10px; }
	.sc-servicos .sc-steps p:not(.is-style-sc-micro), .sc-metodo .sc-steps p:not(.is-style-sc-micro) { grid-column: 2; }
}

/* ---------- Rodapé: a marca à largura do ecrã ---------- */
.sc-footer__big { order: 10; flex: 0 0 100%; display: flex; justify-content: space-between; margin: clamp(28px, 5vw, 72px) 0 0 !important; padding-top: clamp(24px, 4vw, 56px); border-top: 1px solid rgba(243, 238, 229, .2); font: 250 clamp(40px, 11vw, 200px)/.82 var(--sans); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; color: var(--linho); overflow: hidden; }
.sc-footer__big::before { content: "["; letter-spacing: 0; color: var(--cobre); }
.sc-footer__big::after { content: "]"; letter-spacing: 0; color: var(--cobre); }

/* ---------- Página de projeto: capa em ecrã inteiro ---------- */
.sc-phead.sc-capa { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100svh; min-height: 600px; padding: calc(var(--bar) + clamp(8px, 1.4vw, 20px)) var(--pad) clamp(18px, 2vw, 30px); background: var(--preto); color: var(--linho); overflow: hidden; }
.admin-bar .sc-phead.sc-capa { height: calc(100svh - 32px); }
.sc-capa > * { position: relative; z-index: 2; }
.sc-capa > .sc-capa__img { position: absolute; inset: 0; z-index: 0; margin: 0; }
.sc-capa__img img { width: 100%; height: 100%; object-fit: cover; animation: sc-drift 12s ease-out both; }
.sc-capa__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 23, 20, .9) 0%, rgba(28, 23, 20, .3) 45%, rgba(28, 23, 20, .16) 66%, rgba(28, 23, 20, .66) 100%); }
.sc-capa__top { display: flex; justify-content: space-between; gap: 20px; margin: 0; max-width: none; }
.sc-capa__top a { text-decoration: none; }
.sc-capa__top i { font-style: normal; }
.sc-capa .sc-phead__title { align-self: end; font-size: clamp(54px, 9.2vw, 168px); line-height: .92; max-width: 9.5em; margin: 0 0 clamp(18px, 2.6vw, 40px); animation: sc-up 1.2s .15s var(--ease) both; }
.sc-capa__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin: 0; padding-top: 14px; border-top: 1px solid rgba(243, 238, 229, .28); animation: sc-up 1s .45s var(--ease) both; }
.sc-capa__facts dt { margin: 0 0 6px; color: var(--cobre); }
.sc-capa__facts dd { margin: 0; font: 400 clamp(17px, 1.5vw, 23px)/1.2 var(--serif); }
.sc-presumo { padding: clamp(64px, 9vw, 150px) var(--pad) clamp(40px, 6vw, 96px); }
.sc-presumo .sc-micro { margin: 0 0 clamp(28px, 4vw, 64px); color: var(--terracota); }
.sc-presumo__txt { margin: 0; font: 400 clamp(30px, 4.5vw, 78px)/1.02 var(--serif); letter-spacing: -.025em; max-width: 17em; }
@media (max-width: 782px) {
	.admin-bar .sc-phead.sc-capa { height: calc(100svh - 46px); }
	.sc-capa__facts { grid-template-columns: 1fr 1fr; row-gap: 14px; }
}

/* ---------- Projeto seguinte: fotografia inteira, título gigante ---------- */
nav > .sc-next { position: relative; display: flex; align-items: stretch; min-height: 86svh; padding: clamp(28px, 4vw, 56px) var(--pad); overflow: hidden; }
nav > .sc-next .sc-next__img { position: absolute; inset: 0; aspect-ratio: auto; }
nav > .sc-next .sc-next__img::after { content: ""; position: absolute; inset: 0; background: rgba(28, 23, 20, .62); transition: background .6s; }
nav > .sc-next:hover .sc-next__img::after { background: rgba(28, 23, 20, .34); }
nav > .sc-next .sc-next__txt { position: relative; z-index: 2; width: 100%; }
nav > .sc-next .sc-next__txt .sc-micro { color: var(--linho); }
nav > .sc-next .sc-next__title { font-size: clamp(54px, 10.5vw, 190px); line-height: .92; text-transform: none; transition: transform .7s var(--ease), color .3s; }
nav > .sc-next:hover .sc-next__title { color: var(--linho); font-style: italic; transform: translateX(clamp(10px, 2vw, 36px)); }

/* ---------- Capa de página (Estúdio): fotografia, título, legenda ---------- */
.sc-pcapa { padding: 24px var(--pad); }
.sc-pcapa__meta p { margin: 0; }
body:not(.editor-styles-wrapper) .sc-pcapa { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; align-content: end; height: 82svh; min-height: 520px; padding: 0; background: var(--preto); color: var(--linho); overflow: hidden; }
body:not(.editor-styles-wrapper) .sc-pcapa > * { position: relative; z-index: 2; }
body:not(.editor-styles-wrapper) .sc-pcapa > .sc-capa__img { position: absolute; inset: 0; z-index: 0; margin: 0; width: 100%; height: 100%; max-width: none; }
body:not(.editor-styles-wrapper) .sc-pcapa > .sc-capa__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 23, 20, .9) 0%, rgba(28, 23, 20, .3) 45%, rgba(28, 23, 20, .16) 66%, rgba(28, 23, 20, .66) 100%); }
body:not(.editor-styles-wrapper) .sc-pcapa > .sc-pcapa__meta { margin: 0 var(--pad) clamp(18px, 2vw, 30px); }
body:not(.editor-styles-wrapper) .sc-pcapa > .sc-capa__img img { width: 100%; height: 100% !important; aspect-ratio: auto !important; object-fit: cover; object-position: 50% 40%; }
body:not(.editor-styles-wrapper) .sc-pcapa h1 { align-self: end; font-size: clamp(64px, 13vw, 230px); line-height: .88; margin: var(--bar) var(--pad) clamp(14px, 2vw, 30px); animation: sc-up 1.2s .15s var(--ease) both; }
body:not(.editor-styles-wrapper) .sc-pcapa__meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); padding-top: 14px; border-top: 1px solid rgba(243, 238, 229, .28); animation: sc-up 1s .45s var(--ease) both; }
.js body:has(.sc-pcapa) .wp-site-blocks > header:not(.is-past) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--linho); border-bottom-color: transparent; }
body:has(.sc-pcapa) .sc-main { padding-top: 0; }
@media (max-width: 782px) { body:not(.editor-styles-wrapper) .sc-pcapa__meta { grid-template-columns: 1fr 1fr; row-gap: 14px; } }

/* ---------- Títulos de página ---------- */
.sc-pagehead h1 { font-size: clamp(56px, 10.5vw, 190px); line-height: .9; }
.sc-pagehead > .is-style-sc-micro:first-child::before { content: none; }

/* ---------- Contacto: página escura, formulário de linhas grandes ---------- */
body:has(.sc-fala) .sc-main { background: var(--preto); }
body:has(.sc-fala) .wp-site-blocks > header { background: rgba(28, 23, 20, .92); color: var(--linho); }
body:has(.sc-fala) .wp-site-blocks > header.is-scrolled { border-bottom-color: rgba(243, 238, 229, .2); }
.sc-fala { padding-block: clamp(48px, 7vw, 120px) clamp(40px, 6vw, 96px); }
.sc-fala h1 { max-width: 8em; margin: clamp(20px, 3vw, 48px) 0 0; }
.sc-contacto-pag.sc-bg-preto { padding-top: clamp(40px, 5vw, 80px); }
.sc-bg-preto .sc-dados .is-style-sc-micro { color: var(--cobre); margin-top: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.sc-bg-preto .sc-dados .is-style-sc-micro::before { content: none !important; }
.sc-bg-preto .sc-dados .is-style-sc-lead { margin-bottom: clamp(20px, 2.4vw, 34px); }
.sc-bg-preto .sc-dados p:not([class]) { margin: -10px 0 clamp(30px, 3vw, 44px); }
.sc-form { counter-reset: campo; gap: 0; }
.sc-form label[for] { counter-increment: campo; font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .07em; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.sc-form label[for]::before { content: counter(campo, decimal-leading-zero) "  ·  "; color: var(--terracota); white-space: pre; }
.sc-bg-preto .sc-form label[for]::before { color: var(--cobre); }
.sc-form input, .sc-form textarea { border-bottom: 0; padding: 6px 0 clamp(18px, 2.4vw, 34px); font: 400 clamp(24px, 2.6vw, 40px)/1.15 var(--serif); letter-spacing: -.01em; }
.sc-form input:focus, .sc-form textarea:focus { box-shadow: none; }
.sc-form p:focus-within label[for] { border-top-color: var(--cobre); }
.sc-form .sc-btn { width: 100%; justify-content: space-between; margin-top: 8px; padding: 22px 24px; background: transparent; color: inherit; border: 1px solid currentColor; }
.sc-form .sc-btn:hover { background: var(--linho); border-color: var(--linho); color: var(--preto); }
.sc-form .sc-btn i { font-style: normal; transition: transform .3s var(--ease); }

@media (prefers-reduced-motion: reduce) {
	.sc-w > span { transform: none; }
	.sc-pre { display: none; }
	body:not(.editor-styles-wrapper) .sc-hero__slides figure.is-on img { animation: none; }
}

/* ---------- Marca: espaço para os parênteses, que descem abaixo das letras ---------- */
body:not(.editor-styles-wrapper) .sc-abre .sc-marca { line-height: 1.2; padding-bottom: clamp(4px, .6vw, 10px); }
.sc-footer__big { line-height: 1.2; overflow: visible; padding-bottom: 6px; }

/* ---------- Menu em telemóvel: ecrã inteiro, escuro, itens grandes numerados ---------- */
.sc-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--preto) !important; color: var(--linho) !important; padding: 0 var(--edge) 32px !important; animation: none !important; opacity: 1 !important; }
.sc-nav .is-menu-open .wp-block-navigation__responsive-dialog { margin-top: 0 !important; height: 100%; }
.sc-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; justify-content: flex-start !important; padding-top: calc(var(--bar) + 12vh) !important; width: 100%; }
.sc-nav .is-menu-open .wp-block-navigation__container { counter-reset: item; align-items: flex-start !important; justify-content: flex-start !important; gap: 0 !important; margin-top: 0; width: 100%; }
.sc-nav .is-menu-open .wp-block-navigation-item { counter-increment: item; display: flex !important; flex-direction: row !important; align-items: baseline !important; gap: 18px; width: 100%; padding: 14px 0; border-top: 1px solid rgba(243, 238, 229, .2); }
.sc-nav .is-menu-open .wp-block-navigation-item:last-child { border-bottom: 1px solid rgba(243, 238, 229, .2); }
.sc-nav .is-menu-open .wp-block-navigation-item::before { content: counter(item, decimal-leading-zero); font: 400 11.5px/1 var(--mono); letter-spacing: .07em; color: var(--cobre); min-width: 2.2em; }
.sc-nav .is-menu-open .wp-block-navigation-item__content { font: 400 clamp(46px, 14vw, 80px)/1.05 var(--serif) !important; letter-spacing: -.028em; text-transform: none; padding: 0 !important; color: var(--linho) !important; }
.sc-nav .is-menu-open .wp-block-navigation-item__content:hover { color: var(--cobre) !important; }
.sc-nav .wp-block-navigation__responsive-container-close { top: calc((var(--bar) - 44px) / 2) !important; right: 0 !important; color: var(--linho); }
/* O desfoque do cabeçalho prendia o menu aberto dentro da barra */
.wp-site-blocks > header:has(.is-menu-open) { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.sc-nav .wp-block-navigation__responsive-container.is-menu-open { position: fixed !important; inset: 0 !important; height: auto !important; overflow-y: auto; }
/* Parênteses da marca desenhados (não dependem do tipo de letra, nunca ficam cortados) */
.sc-marca::before, .sc-marca::after, .sc-footer__big::before, .sc-footer__big::after { content: "" !important; flex: none; align-self: center; box-sizing: border-box; width: .13em; height: .98em; border: solid var(--cobre); border-width: max(1.5px, .034em) 0 max(1.5px, .034em) max(1.5px, .034em); }
.sc-marca::after, .sc-footer__big::after { border-width: max(1.5px, .034em) max(1.5px, .034em) max(1.5px, .034em) 0; }
.sc-marca::before, .sc-footer__big::before { margin-right: .05em; }
body:not(.editor-styles-wrapper) .sc-abre .sc-marca { line-height: 1.12; padding-bottom: clamp(10px, 1.4vw, 22px); }
.sc-footer__big { line-height: 1.12; align-items: center; }
/* No editor a marca não é ajustada por script: fica junta, sem espalhar os parênteses */
.editor-styles-wrapper .sc-footer__big, .editor-styles-wrapper .sc-marca { justify-content: flex-start; font-size: clamp(40px, 9vw, 150px); }

/* ───── Tipo de letra: grotesca leve em maiúsculas (como no site original) ───── */
h1, h2, h3, .wp-block-heading, .sc-linha__title, .sc-next__title, .sc-total, .sc-phead__title { font-family: var(--serif) !important; font-weight: 300 !important; text-transform: uppercase; letter-spacing: -.012em; line-height: 1; font-style: normal !important; }
h1 { font-size: clamp(40px, 7vw, 124px); }
h2 { font-size: clamp(32px, 4.5vw, 72px); }
body:not(.editor-styles-wrapper) .sc-abre h1 { grid-column: 1 / 8; font-size: clamp(38px, 4.9vw, 88px); line-height: 1; }
body:not(.editor-styles-wrapper) .sc-pcapa h1 { font-size: clamp(54px, 11.5vw, 200px); line-height: .92; }
.sc-pagehead h1 { font-size: clamp(42px, 8.4vw, 150px); line-height: .96; }
.sc-fala h1 { max-width: 9em; }
.sc-linha__title { font-size: clamp(26px, 4.6vw, 80px); line-height: 1.02; }
.sc-servicos .sc-steps h3, .sc-metodo .sc-steps h3 { font-size: clamp(26px, 3.8vw, 62px); line-height: 1.02; letter-spacing: -.012em; }
.is-style-sc-statement, .is-style-sc-lead, .sc-presumo__txt, .sc-phead__resumo, .sc-capa__facts dd, .sc-facts dd, .sc-card__num { font-weight: 300 !important; font-style: normal !important; }
.is-style-sc-statement { font-size: clamp(27px, 3.7vw, 60px); line-height: 1.12; letter-spacing: -.012em; }
.sc-presumo__txt { font-size: clamp(26px, 3.6vw, 62px); line-height: 1.1; letter-spacing: -.012em; }
.is-style-sc-lead { font-size: clamp(21px, 2vw, 29px); line-height: 1.3; }
.sc-form input, .sc-form textarea { font-weight: 300; font-size: clamp(21px, 2.2vw, 34px); }
.sc-nav .is-menu-open .wp-block-navigation-item__content { font: 300 clamp(36px, 11vw, 64px)/1.1 var(--serif) !important; text-transform: uppercase !important; letter-spacing: -.012em; }
.sc-linha:hover .sc-linha__title, .sc-steps > .wp-block-column:hover h3, nav > .sc-next:hover .sc-next__title, em, i { font-style: normal !important; }
@media (max-width: 900px) {
	body:not(.editor-styles-wrapper) .sc-abre h1 { font-size: clamp(34px, 9.6vw, 64px); }
}

/* ───── Fontes finais: Inter Tight (títulos, menu, legendas) + Inter (texto) ───── */
:root, body, .editor-styles-wrapper {
	--serif: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
	--sans: "Inter", "Helvetica Neue", Arial, sans-serif;
	--mono: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
	--wp--preset--font-family--serif: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
	--wp--preset--font-family--sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}
body, .editor-styles-wrapper { font-family: var(--sans); font-weight: 300; }

/* Títulos: Inter Tight fina, maiúsculas, ligeiramente espaçada */
h1, h2, h3, .wp-block-heading, .sc-linha__title, .sc-next__title, .sc-total, .sc-phead__title { font-weight: 300 !important; letter-spacing: .01em; }
.sc-servicos .sc-steps h3, .sc-metodo .sc-steps h3 { letter-spacing: .01em; }

/* Menu, etiquetas, legendas e botões: Inter Tight 400, maiúsculas, espaçada */
.is-style-sc-micro, .sc-nav, .sc-link, .sc-mark, .sc-form label, .sc-index strong, .wp-element-button, .wp-block-button__link, .sc-lb button, .sc-pill, figcaption {
	font-family: var(--serif) !important; font-weight: 400 !important; text-transform: uppercase; letter-spacing: .16em;
}
.sc-mark { letter-spacing: .34em; }
.sc-nav .is-menu-open .wp-block-navigation-item__content { font-family: var(--serif) !important; font-weight: 300 !important; letter-spacing: .01em; }

/* Frases grandes e destaques: Inter leve, em minúsculas */
.is-style-sc-statement, .is-style-sc-lead, .sc-presumo__txt, .sc-phead__resumo, .sc-capa__facts dd, .sc-facts dd, .sc-form input, .sc-form textarea { font-family: var(--sans) !important; font-weight: 300 !important; text-transform: none; letter-spacing: -.01em; }

/* Marca grande */
.sc-marca, .sc-footer__big { font-family: var(--serif); font-weight: 200; }
