/* Setechaves — design do tema.
   Papel cor de linho, serifa monumental em maiúsculas, microtexto espaçado,
   fotografias retangulares numa grelha de 12 colunas, um acento terracota. */

:root {
	--linho: #F3EEE5;
	--areia: #E9E1D3;
	--travertino: #DDD1BF;
	--pedra: #A89A86;
	--terracota: #A8573D;
	--nogueira: #4A3528;
	--preto: #1C1714;
	--muted: #6F6253;
	--line: rgba(28, 23, 20, .18);
	--serif: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
	--sans: "Inter", "Helvetica Neue", Arial, sans-serif;
	--edge: clamp(20px, 4vw, 64px);
	--pad: max(var(--edge), calc((100vw - 1440px) / 2));
	--gap: clamp(12px, 1.6vw, 24px);
	--bar: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--terracota); outline-offset: 3px; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
h1, h2 { text-transform: uppercase; letter-spacing: -.02em; line-height: .9; }
h1 { font-size: clamp(52px, 10vw, 170px); }
h2 { font-size: clamp(40px, 6vw, 92px); }
h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
p { margin: 0 0 16px; max-width: 38em; }

.is-style-sc-micro, .sc-micro, figcaption.wp-element-caption, .wp-block-post-date {
	font: 500 11px/1.6 var(--sans);
	letter-spacing: .22em;
	text-transform: uppercase;
}
.is-style-sc-micro, .sc-micro { margin: 0 0 20px; max-width: 46em; }
.is-style-sc-micro a, .sc-micro a, .sc-link { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 3px; }
.is-style-sc-micro a:hover, .sc-micro a:hover, a:hover .sc-link, a.sc-link:hover { background-size: 100% 1px; }
.is-style-sc-lead { font: 400 clamp(24px, 2.4vw, 34px)/1.25 var(--serif); letter-spacing: -.005em; max-width: 24em; margin: 0 0 24px; }
.is-style-sc-statement { font: 400 clamp(32px, 4.6vw, 74px)/1.04 var(--serif); letter-spacing: -.015em; max-width: 19em; margin: 0 0 clamp(24px, 3vw, 44px); }
.sc-link { font: 500 11px/1.6 var(--sans); letter-spacing: .22em; text-transform: uppercase; display: inline-block; }
.sc-link i, .sc-btn i { font-style: normal; display: inline-block; transition: transform .3s var(--ease); }
a:hover .sc-link i, .sc-link:hover i, .sc-btn:hover i { transform: translateX(5px); }

/* ---------- Botões ---------- */
.wp-block-button__link, .sc-btn {
	display: inline-flex; align-items: center; gap: 14px;
	background: var(--terracota); color: #fff; border: 1px solid var(--terracota); border-radius: 999px;
	padding: 16px 26px; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
	text-decoration: none; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .15s;
}
.wp-block-button__link::after { content: "→"; transition: transform .3s var(--ease); }
.wp-block-button__link:hover::after { transform: translateX(5px); }
.wp-block-button__link:hover, .sc-btn:hover { background: var(--nogueira); border-color: var(--nogueira); color: #fff; }
.wp-block-button__link:active, .sc-btn:active { transform: translateY(1px); }
.is-style-sc-outline .wp-block-button__link { background: transparent; color: inherit; border-color: currentColor; }
.is-style-sc-outline .wp-block-button__link:hover { background: var(--preto); border-color: var(--preto); color: var(--linho); }
.sc-pill {
	display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: inherit;
	padding: 10px 18px; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; cursor: pointer;
	transition: background .25s, color .25s, border-color .25s;
}
.sc-pill:hover, .sc-pill[aria-pressed="true"] { background: var(--preto); color: var(--linho); border-color: var(--preto); }

/* ---------- Cabeçalho ---------- */
.wp-site-blocks > header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(243, 238, 229, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.wp-site-blocks > header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .wp-site-blocks > header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header { top: 46px; } }
.sc-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--bar); padding-inline: var(--pad); }
.sc-main { padding-top: var(--bar); }
.sc-mark { margin: 0; font: 400 13px/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; white-space: nowrap; }
.sc-mark a { text-decoration: none; }
.sc-mark::before { content: "["; letter-spacing: 0; margin-right: .55em; font-weight: 300; }
.sc-mark::after { content: "]"; letter-spacing: 0; margin-left: .15em; font-weight: 300; }
.sc-nav { font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.sc-nav .wp-block-navigation__container { gap: 6px; }
.sc-nav .wp-block-navigation-item__content { border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px !important; transition: background .25s, color .25s, border-color .25s; }
.sc-nav .wp-block-navigation-item__content:hover, .sc-nav .current-menu-item > .wp-block-navigation-item__content { background: var(--preto); color: var(--linho); border-color: var(--preto); text-decoration: none; }
.sc-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--linho); color: var(--preto); padding: 24px var(--edge); }
.sc-nav .is-menu-open .wp-block-navigation__container { gap: 0; align-items: flex-start; margin-top: 12vh; }
.sc-nav .is-menu-open .wp-block-navigation-item__content { border: 0; border-radius: 0; padding: 6px 0 !important; font: 400 clamp(44px, 13vw, 80px)/1 var(--serif); letter-spacing: -.02em; }
.sc-nav .is-menu-open .wp-block-navigation-item__content:hover { background: none; color: var(--terracota); }
.sc-nav .wp-block-navigation__responsive-container-open, .sc-nav .wp-block-navigation__responsive-container-close { padding: 10px; }

/* ---------- Secções ---------- */
.sc-sec { padding: clamp(64px, 9vw, 140px) var(--pad); }
.sc-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 72px); }
.sc-sec__head p { margin-bottom: 8px; }
.sc-sec h2 + p, .sc-sec h2 + .is-style-sc-lead { margin-top: clamp(20px, 2.4vw, 32px); }
.sc-bg-travertino { background: var(--areia); }
.sc-bg-nogueira { background: var(--nogueira); color: var(--linho); --line: rgba(243, 238, 229, .22); }
.sc-bg-preto { background: var(--preto); color: var(--linho); --line: rgba(243, 238, 229, .22); }
.sc-aviso { border: 1px dashed var(--line); padding: 16px 20px; max-width: none; }

/* ---------- Abertura ---------- */
.sc-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) auto; gap: var(--gap); min-height: calc(100svh - var(--bar)); padding-block: clamp(12px, 1.6vw, 24px) clamp(20px, 2.4vw, 36px); }
.sc-hero__copy { grid-column: 1 / 8; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.sc-hero h1 { font-size: clamp(48px, 8.3vw, 150px); line-height: .86; }
.sc-hero__sub { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); flex-wrap: wrap; }
.sc-hero__sub p { margin: 0; max-width: 30em; }
.sc-hero__row { grid-column: 1 / 8; grid-row: 2; display: grid; grid-template-columns: 3fr 2fr 2fr; gap: var(--gap); height: clamp(150px, 15.5vw, 240px); }
.sc-hero__row > figure { position: relative; overflow: hidden; height: 100%; }
.sc-hero__row > figure img { width: 100%; height: 100% !important; aspect-ratio: auto !important; object-fit: cover; transition: transform 1.2s var(--ease); }
.sc-hero__row > figure:hover img { transform: scale(1.035); }
.sc-hero__row > figure figcaption { position: absolute; left: 14px; top: 12px; margin: 0; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); max-width: 9em; }
.sc-hero__num { display: flex; flex-direction: column; align-items: center; justify-content: center; border-inline: 1px solid var(--line); text-align: center; }
.sc-hero__num p { margin: 0; }
.sc-total { font: 400 clamp(56px, 6.4vw, 110px)/.9 var(--serif); letter-spacing: -.02em; display: block; }
.sc-hero__blk { background: var(--terracota); color: #fff; padding: clamp(14px, 1.3vw, 20px); display: flex; flex-direction: column; justify-content: space-between; gap: 8px; transition: background .3s; }
.sc-hero__blk:hover { background: var(--nogueira); }
.sc-hero__blk p { margin: 0; }
.sc-hero__blk h2 { font-size: clamp(22px, 2.4vw, 38px); line-height: .95; }
.sc-hero__slides { grid-column: 8 / 13; grid-row: 1 / 3; }

body:not(.editor-styles-wrapper) .sc-hero__slides { position: relative; display: block !important; overflow: hidden; min-height: 420px; background: var(--travertino); }
body:not(.editor-styles-wrapper) .sc-hero__slides figure.wp-block-image { position: absolute !important; inset: 0; width: 100% !important; height: 100%; margin: 0 !important; opacity: 0; transition: opacity 1.6s ease; display: block !important; }
body:not(.editor-styles-wrapper) .sc-hero__slides figure.wp-block-image::before { display: none !important; }
body:not(.editor-styles-wrapper) .sc-hero__slides figure.is-on,
body:not(.editor-styles-wrapper) .sc-hero__slides:not(.sc-ready) figure:first-child { opacity: 1; }
body:not(.editor-styles-wrapper) .sc-hero__slides figure img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
body:not(.editor-styles-wrapper) .sc-hero__slides figure.is-on img { animation: sc-drift 9s ease-out both; }
body:not(.editor-styles-wrapper) .sc-hero__slides figure figcaption { position: absolute !important; inset: auto auto 18px 18px !important; width: auto !important; max-height: none !important; padding: 0 !important; margin: 0 !important; background: none !important; color: #fff !important; text-align: left !important; font: 500 11px/1.6 var(--sans) !important; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); overflow: visible !important; }
.sc-hero__count { position: absolute; right: 18px; top: 16px; color: #fff; z-index: 2; margin: 0; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
@keyframes sc-drift { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes sc-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
body:not(.editor-styles-wrapper) .sc-hero h1 { animation: sc-up 1s var(--ease) both; }
body:not(.editor-styles-wrapper) .sc-hero__sub { animation: sc-up 1s .15s var(--ease) both; }

@media (max-width: 960px) {
	.sc-hero { display: flex; flex-direction: column; min-height: 0; gap: 20px; padding-top: 28px; }
	.sc-hero__copy { gap: 24px; }
	.sc-hero h1 { font-size: clamp(52px, 15vw, 110px); }
	body:not(.editor-styles-wrapper) .sc-hero__slides { aspect-ratio: 4 / 5; min-height: 0; }
	.sc-hero__row { grid-template-columns: 1fr 1fr; height: auto; }
	.sc-hero__row > figure { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
	.sc-hero__num, .sc-hero__blk { min-height: 150px; }
	.sc-hero__num { border: 1px solid var(--line); }
	.sc-hero__blk h2 { font-size: 26px; }
}

/* ---------- Declaração ---------- */
.sc-declaracao { padding-block: clamp(80px, 12vw, 200px); }

/* ---------- Projetos: páginas duplas (início) ---------- */
.sc-spread + .sc-spread { margin-top: clamp(56px, 8vw, 130px); }
.sc-spread a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; text-decoration: none; }
.sc-spread .sc-card__img { grid-column: 1 / 8; aspect-ratio: 6 / 5; }
.sc-spread .sc-card__txt { grid-column: 9 / 13; padding-bottom: 6px; }
.sc-spread:nth-child(even) .sc-card__img { grid-column: 8 / 13; aspect-ratio: 4 / 5; order: 2; }
.sc-spread:nth-child(even) .sc-card__txt { grid-column: 2 / 7; order: 1; }
.sc-card__img { overflow: hidden; background: var(--travertino); }
.sc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
a:hover .sc-card__img img { transform: scale(1.035); }
.sc-card__num { font: 400 clamp(22px, 2vw, 30px)/1 var(--serif); color: var(--terracota); display: block; margin-bottom: 14px; }
.sc-card__title { font-size: clamp(34px, 4.4vw, 68px); text-transform: uppercase; letter-spacing: -.02em; line-height: .92; margin: 0 0 16px; }
.sc-card__resumo { margin: 0 0 22px; max-width: 30em; }
.sc-card .sc-micro, .sc-spread .sc-micro { margin-bottom: 16px; color: var(--muted); }
@media (max-width: 782px) {
	.sc-spread a { display: block; }
	.sc-spread .sc-card__img, .sc-spread:nth-child(even) .sc-card__img { aspect-ratio: 4 / 5; margin-bottom: 20px; }
}

/* ---------- Projetos: grelha (índice) ---------- */
.sc-pagehead { padding-block: clamp(40px, 6vw, 96px) clamp(24px, 3vw, 48px); }
.sc-pagehead h1 { margin-bottom: clamp(20px, 2.4vw, 36px); }
.sc-pagehead p:last-child { margin-bottom: 0; }
.sc-lista { padding-top: 0; }
.sc-filtros { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: clamp(28px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); }
.sc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px) var(--gap); }
.sc-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sc-card a { display: block; text-decoration: none; }
.sc-card .sc-card__img { aspect-ratio: 4 / 5; margin-bottom: 18px; }
.sc-cards:not(.sc-cards--3):not(.is-filtered) .sc-card:nth-child(even) { margin-top: clamp(40px, 9vw, 150px); }
.sc-card .sc-card__txt { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: baseline; }
.sc-card .sc-card__num { margin: 0; }
.sc-card .sc-card__title { font-size: clamp(28px, 3.2vw, 50px); margin: 0 0 10px; }
.sc-card .sc-card__txt .sc-micro { grid-column: 2; margin: 0; }
.sc-card[hidden] { display: none; }
@media (max-width: 700px) {
	.sc-cards, .sc-cards--3 { grid-template-columns: 1fr; }
	.sc-cards:not(.sc-cards--3):not(.is-filtered) .sc-card:nth-child(even) { margin-top: 0; }
}

/* ---------- Página de projeto ---------- */
.sc-phead { padding: clamp(20px, 3vw, 40px) var(--pad) 0; }
.sc-phead__top { display: flex; justify-content: space-between; gap: 20px; margin: 0 0 clamp(28px, 4vw, 56px); max-width: none; }
.sc-phead__top a { text-decoration: none; }
.sc-phead__top i { font-style: normal; }
.sc-phead__title { font-size: clamp(50px, 9.6vw, 164px); }
.sc-phead__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin: clamp(28px, 4vw, 64px) 0; align-items: start; }
.sc-phead__resumo { grid-column: 1 / 7; font: 400 clamp(24px, 2.4vw, 34px)/1.25 var(--serif); margin: 0; max-width: none; }
.sc-facts { grid-column: 8 / 13; margin: 0; border-top: 1px solid var(--line); }
.sc-facts div { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.sc-facts dt { margin: 0; color: var(--muted); }
.sc-facts dd { margin: 0; font: 400 20px/1.25 var(--serif); }
.sc-phead__capa { aspect-ratio: 16 / 9; max-height: 88vh; width: 100%; overflow: hidden; background: var(--travertino); }
.sc-phead__capa img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 782px) {
	.sc-phead__grid { display: block; }
	.sc-phead__resumo { margin-bottom: 28px; }
	.sc-phead__capa { aspect-ratio: 4 / 5; }
}

.sc-pbody { padding: var(--gap) var(--pad) clamp(56px, 8vw, 120px); }
.sc-pbody > * + * { margin-top: var(--gap); }
.sc-pbody > .sc-film, .sc-pbody > .sc-compare, .sc-pbody > .sc-obra, .sc-pbody > .is-style-sc-lead,
.sc-pbody > .sc-film + *, .sc-pbody > .sc-compare + *, .sc-pbody > .sc-obra + *, .sc-pbody > .is-style-sc-lead + * { margin-top: clamp(56px, 8vw, 120px); }
.sc-pbody > .is-style-sc-lead { margin-inline: auto; text-align: center; font-size: clamp(26px, 3vw, 44px); max-width: 22em; }
.sc-pbody > p:not([class]) { max-width: 38em; margin-top: 32px; }

/* Grelha de 12 colunas (bloco Colunas com a classe sc-row) */
.sc-row { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap) !important; align-items: stretch !important; margin-bottom: 0; }
.sc-row > .wp-block-column { display: flex; flex-direction: column; grid-column: span 12; flex-basis: auto !important; min-width: 0; }
.sc-row > .sc-c3 { grid-column: span 3; } .sc-row > .sc-c4 { grid-column: span 4; } .sc-row > .sc-c5 { grid-column: span 5; }
.sc-row > .sc-c6 { grid-column: span 6; } .sc-row > .sc-c7 { grid-column: span 7; } .sc-row > .sc-c8 { grid-column: span 8; }
.sc-row > .wp-block-column > .wp-block-image { flex: 1; display: flex; flex-direction: column; margin: 0; }
.sc-row > .wp-block-column > .wp-block-image img { flex: 1 1 auto; width: 100%; min-height: 0; object-fit: cover; }
.sc-row > .sc-txt { justify-content: center; padding-inline: clamp(0px, 3vw, 56px); }
.sc-row > .sc-txt h2 { font-size: clamp(34px, 4.6vw, 72px); }
@media (max-width: 782px) {
	.sc-row > .wp-block-column { grid-column: 1 / -1 !important; }
	.sc-row > .sc-txt { padding: 12px 0; }
}
.wp-block-image img { width: 100%; }
.sc-pos-t img { object-position: 50% 38%; }
.sc-pos-b img { object-position: 50% 72%; }
figcaption.wp-element-caption { margin: 10px 0 0; text-align: left; color: var(--muted); }
.sc-plate { width: 100%; }
.sc-zoom { overflow: hidden; }
body:not(.editor-styles-wrapper) .sc-pbody .wp-block-image:not(.sc-ba *) img { cursor: zoom-in; }

/* Vídeo com texto */
.sc-film .wp-block-video { margin: 0; }
.sc-film video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; max-height: 86vh; background: var(--preto); }
.sc-film .wp-block-image img { aspect-ratio: 9 / 16 !important; }

/* Antes e depois */
.sc-ba { position: relative; overflow: hidden; --p: 50%; user-select: none; background: var(--travertino); }
.sc-ba > .wp-block-image { margin: 0 !important; }
.sc-ba > .wp-block-image img { width: 100%; }
body:not(.editor-styles-wrapper) .sc-ba > .wp-block-image + .wp-block-image { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
body:not(.editor-styles-wrapper) .sc-ba > .wp-block-image + .wp-block-image img { height: 100%; }
body:not(.editor-styles-wrapper) .sc-ba figcaption { position: absolute; top: 16px; right: 16px; margin: 0; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
body:not(.editor-styles-wrapper) .sc-ba > .wp-block-image + .wp-block-image figcaption { right: auto; left: 16px; }
.sc-ba__line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 1px; background: #fff; pointer-events: none; }
.sc-ba__line::after { content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--preto); display: grid; place-items: center; font: 400 18px/1 var(--sans); }
.sc-ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.sc-ba:has(input:focus-visible) .sc-ba__line::after { outline: 2px solid var(--terracota); outline-offset: 3px; }

/* Faixa de fotografias de obra */
.sc-obra { display: grid; gap: clamp(20px, 3vw, 40px); }
.sc-obra h2 { font-size: clamp(30px, 3.6vw, 56px); }
.sc-obra > .is-style-sc-micro { margin: 0 0 -8px; }
.sc-obra__ctrl { display: flex; gap: 6px; justify-content: flex-end; margin-top: -8px; }
.sc-rail { display: flex !important; flex-wrap: nowrap !important; gap: var(--gap) !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
.sc-rail::-webkit-scrollbar { display: none; }
.sc-rail figure.wp-block-image { flex: 0 0 clamp(230px, 27vw, 400px) !important; width: auto !important; margin: 0 !important; scroll-snap-align: start; display: block !important; }
.sc-rail figure.wp-block-image::before { display: none !important; }
.sc-rail figure.wp-block-image img { width: 100% !important; height: auto !important; aspect-ratio: 3 / 4; object-fit: cover; flex: none !important; }
.sc-rail figure.wp-block-image figcaption { position: static !important; background: none !important; color: var(--muted) !important; text-align: left !important; padding: 10px 0 0 !important; margin: 0 !important; max-height: none !important; font: 500 11px/1.6 var(--sans) !important; overflow: visible !important; text-shadow: none !important; }

/* Projeto seguinte */
.sc-next { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; background: var(--preto); color: var(--linho); text-decoration: none; padding: clamp(40px, 6vw, 96px) var(--pad); }
.sc-next__txt { grid-column: 1 / 8; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.sc-next__txt .sc-micro { margin: 0; color: #b9ad9c; }
.sc-next__title { font: 400 clamp(44px, 8vw, 130px)/.9 var(--serif); text-transform: uppercase; letter-spacing: -.02em; transition: color .3s; }
.sc-next:hover .sc-next__title { color: #D08566; }
.sc-next__img { grid-column: 9 / 13; aspect-ratio: 4 / 5; overflow: hidden; }
.sc-next__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sc-next:hover .sc-next__img img { transform: scale(1.04); }
@media (max-width: 700px) { .sc-next { display: flex; flex-direction: column; } .sc-next__img { aspect-ratio: 3 / 2; } }

/* ---------- Mobiliário, serviços, método ---------- */
.sc-mob .sc-row { align-items: end !important; }
.sc-mob .sc-row > .wp-block-column > .wp-block-image { flex: none; }
.sc-index { margin-top: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.sc-index p { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-top: 1px solid var(--line); padding: 14px 0; margin: 0; max-width: none; text-align: right; }
.sc-index strong { font: 500 11px/1.6 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-align: left; }
.sc-steps { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 var(--gap) !important; margin-top: clamp(36px, 5vw, 72px); margin-bottom: 0; }
.sc-steps > .wp-block-column { border-top: 1px solid var(--line); padding: 22px 0 28px; }
.sc-steps h3 { margin: 0 0 14px; }
.sc-steps p { margin-bottom: 0; }
.sc-steps .is-style-sc-micro { margin-bottom: 26px; color: var(--terracota); }
.sc-bg-preto .sc-steps .is-style-sc-micro, .sc-bg-nogueira .is-style-sc-micro { color: #D9B9A6; }
.sc-filosofia .is-style-sc-lead { max-width: 20em; }

/* ---------- Contacto ---------- */
.sc-mail { font-size: clamp(34px, 7.6vw, 132px) !important; text-transform: none; letter-spacing: -.03em; line-height: 1; overflow-wrap: anywhere; margin-top: 8px; }
.sc-mail a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.sc-mail a:hover { background-size: 100% 2px; color: #D08566; }
.sc-dados .is-style-sc-micro { margin: 28px 0 8px; color: var(--muted); }
.sc-dados .is-style-sc-micro:first-child { margin-top: 0; }
.sc-dados .is-style-sc-lead { margin-bottom: 8px; }
.sc-dados a { text-decoration-color: var(--line); }
.sc-contacto-pag { padding-top: clamp(24px, 3vw, 48px); }
.sc-form { display: grid; gap: 22px; }
.sc-form p { margin: 0; max-width: none; }
.sc-form label { display: block; font: 500 11px/1.6 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 6px; }
.sc-form input, .sc-form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--pedra); border-radius: 0; padding: 10px 0 12px; font: 300 19px/1.5 var(--sans); color: inherit; }
.sc-form input:focus, .sc-form textarea:focus { outline: none; border-bottom-color: var(--terracota); box-shadow: 0 1px 0 var(--terracota); }
.sc-form textarea { resize: vertical; }
.sc-form__hp { position: absolute !important; left: -9999px; }
.sc-form__aviso { border: 1px solid var(--line); padding: 14px 18px; }
.sc-form__aviso--erro { border-color: var(--terracota); color: var(--terracota); }

/* ---------- Journal e artigos ---------- */
.sc-posts .wp-block-post-template { gap: clamp(32px, 4vw, 64px) var(--gap); }
.sc-posts .wp-block-post-title { font-size: clamp(26px, 2.6vw, 38px); text-transform: none; letter-spacing: -.01em; line-height: 1.05; margin-top: 8px; }
.sc-posts .wp-block-post-title a { text-decoration: none; }
.sc-posts .wp-block-post-featured-image { margin-bottom: 16px; overflow: hidden; }
.sc-posts .wp-block-post-date { color: var(--muted); }
.sc-artigo { max-width: calc(820px + 2 * var(--edge)); margin-inline: auto; padding-inline: var(--edge); }
.sc-artigo h1 { font-size: clamp(40px, 6vw, 84px); margin: 12px 0 clamp(28px, 4vw, 48px); }
.sc-artigo .wp-block-post-featured-image { margin-bottom: clamp(28px, 4vw, 48px); }
.sc-artigo .wp-block-post-content > * + * { margin-top: 20px; }
.sc-artigo .wp-block-post-content h2 { font-size: clamp(30px, 3.4vw, 46px); margin-top: 48px; }
.sc-journal { border-top: 1px solid var(--line); }

/* ---------- Rodapé ---------- */
.sc-footer { background: var(--preto); color: #b9ad9c; padding: 28px var(--pad) 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; border-top: 1px solid rgba(243, 238, 229, .2); }
.sc-footer p { margin: 0; }
.sc-footer .sc-mark { color: var(--linho); }

/* ---------- Ampliação de fotografias ---------- */
.sc-lb { position: fixed; inset: 0; z-index: 100; background: rgba(28, 23, 20, .96); color: var(--linho); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 18px var(--edge) 22px; gap: 14px; }
.sc-lb[hidden] { display: none; }
.sc-lb__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.sc-lb__bar p { margin: 0; }
.sc-lb img { width: 100%; height: 100%; object-fit: contain; }
.sc-lb button { background: none; border: 1px solid rgba(243, 238, 229, .3); color: inherit; border-radius: 999px; padding: 10px 18px; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s; }
.sc-lb button:hover { background: var(--linho); color: var(--preto); }
.sc-lb__nav { display: flex; justify-content: center; gap: 8px; }

/* ---------- Revelação de imagens ---------- */
.js .sc-reveal { clip-path: inset(0 0 100% 0); }
.js .sc-reveal.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .sc-reveal { clip-path: none; }
}
