/* Hallmark · shape: Feature Stack · genre: editorial · theme: Grid (deal 1/3, seed nova-plantilla-wordpress-para-b3e5·37cdc35e·2026-11-21·r0) · job: try · draw: a8c8fd
 * hero: Stage · nav: search-led bar · footer: index columns · imagery: product, 9 captures from the media library, no photographs · signature: the four module letters X P T L on the ultramarine field, each one switching the hero to that module's real screen
 * axes: light/grotesk-sans/cool · posture: full-palette · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the hero line is the old "á túa medida" slogan; the X P T L control and the real screens carry what only Piztu can say */
/* Hallmark · hero-review: fix · 5 findings · 4 resolved 1 partial (the head keeps the brand slogan; the lead now names what Piztu does) */
/* Hallmark · finish-review: subagent · 7 findings · 6 resolved 1 partial (Pancho on phones is a cropped half of the map, readable but small) · gap: none */
/* Hallmark · dismissed 58 · the window at the page foot counts the close band and the footer's link columns together; each alone sits under 50 words */
/* Hallmark · answered F4 · pages.css groups the legacy page buttons (piztu-man-btn, piztu-btn, piztu-mod-cta a) into one rule that matches .btn--primary; one recipe, three selectors */
/* Hallmark · answered F15 · the 1000px cap is the reading column's figure width inside posts, not a second container */
/* Hallmark · answered F11 · the 3px faísca underline on hover and on the fresh post is the brand's highlighter, kept from the current identity */
/* Hallmark · answered F18 · slots are filled server-side from the media library ($pz_shots in front-page.php), so the page needs no hallmarkSlots script */
/* Hallmark · user material: the mark is the faísca amber (the existing brand highlighter) in place of Grid's Swiss red, used only as a fill under ink; body is Atkinson Hyperlegible Next for legibility; OpenDyslexic is a reader switch */
@import url("./tokens.css");
@import url("./base.css");

/* ==========================================================================
   Piztu 2027: papel branco, tinta azul-negra, campos de ultramar e a faísca
   coma marcador. Este ficheiro leva a estrutura común e a portada; as
   páxinas e as entradas de Astra están en pages.css.
   ========================================================================== */

/* Letra para dislexia: o botón da barra cambia as dúas familias. */
:root.dys { --font-display: var(--font-dys); --font-body: var(--font-dys); --tracking-display: 0em; }
/* OpenDyslexic é ancha: nos títulos, o espazo entre palabras recórtase un pouco. */
:root.dys :is(h1, h2, h3, .wordmark) { word-spacing: -0.12em; }

/* Astra: as cores globais que aínda usan os seus modelos herdan as do tema. */
:root {
	--ast-global-color-0: var(--color-field);
	--ast-global-color-1: var(--color-ink);
	--ast-global-color-2: var(--color-ink);
	--ast-global-color-3: var(--color-ink-2);
	--ast-global-color-4: var(--color-paper);
	--ast-global-color-5: var(--color-paper-2);
	--ast-global-color-6: var(--color-ink);
	--ast-global-color-7: var(--color-rule);
	--ast-global-color-8: var(--color-ink);
}

body.admin-bar { --admin-h: 32px; }
.admin-bar .bar { top: var(--admin-h); }
@media (max-width: 782px) { body.admin-bar { --admin-h: 46px; } .admin-bar .bar { top: 0; } }
body.pz27 { background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.55; }
.pz27 #page { overflow-x: clip; }
.pz27 #content.site-content { background: transparent; }
.pz27 .site-content > .ast-container { display: block; max-width: none; margin: 0; padding: 0; }
.pz27 #primary, .pz27 .content-area { margin: 0 !important; padding: 0 !important; width: 100% !important; float: none !important; }
.pz27 a { color: inherit; }
.pz27 .front h1, .pz27 .front h2, .pz27 .front h3 { font-family: var(--font-display); color: inherit; letter-spacing: var(--tracking-display); }

.pz-i { flex: none; display: inline-block; vertical-align: middle; }

/* --------------------------------------------------------------------------
   Controis
   ----------------------------------------------------------------------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border: 0; border-radius: 0; font: 700 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--primary, .pz27 a.btn--primary { background: var(--color-ink); color: var(--color-paper); }
.btn--primary:hover { background: var(--color-ink-2); }
.btn--secondary, .pz27 a.btn--secondary { min-height: 52px; padding-inline: var(--space-2xs); background: none; color: currentColor; text-decoration: underline var(--rule-hair); text-underline-offset: 0.32em; }
.btn--secondary:hover { text-decoration-color: var(--color-mark); text-decoration-thickness: 3px; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--bar { min-height: 44px; padding-inline: var(--space-md); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.pz27 .skip { color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* --------------------------------------------------------------------------
   Marca: o lince sobre o cadrado da faísca, dúas liñas de alto
   ----------------------------------------------------------------------- */

.bar-brand { display: inline-flex; text-decoration: none; }
.bar-brand:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.wordmark { display: inline-grid; grid-template-columns: auto auto; column-gap: var(--space-sm); align-items: center; font: 700 var(--text-lg)/0.92 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); white-space: nowrap; }
.wordmark img { flex-shrink: 0; max-width: none; grid-row: span 2; width: 40px; height: 40px; padding: var(--space-3xs); background: var(--color-mark); }
.wordmark b { font-weight: 700; }
.wordmark span { font-weight: 400; }

/* --------------------------------------------------------------------------
   Barra: a busca no centro
   ----------------------------------------------------------------------- */

.bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); }
.bar-inner { display: flex; align-items: center; gap: var(--space-lg); min-height: var(--bar-h); }
.bar-nav { flex: 1 1 auto; min-width: 0; }
.nav-list { display: flex; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-md); color: var(--color-ink-2); text-decoration: none; white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.nav-list a:hover { color: var(--color-ink); text-decoration: underline 3px var(--color-mark); text-underline-offset: 0.4em; }
.nav-list .current-menu-item > a, .nav-list a[aria-current] { color: var(--color-ink); text-decoration: underline var(--rule-hair); text-underline-offset: 0.4em; }
.nav-list a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.search-pill { position: relative; display: flex; align-items: center; gap: var(--space-xs); width: 100%; min-height: 44px; border-bottom: 1px solid var(--color-muted); color: var(--color-muted); }
.search-pill input { flex: 1; min-width: 0; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--color-ink); font-size: var(--text-md); outline: 0; -webkit-appearance: none; appearance: none; }
.search-pill input::placeholder { color: var(--color-muted); opacity: 1; }
.search-pill:focus-within { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.search-pill kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; background: var(--color-paper-2); color: var(--color-ink-2); font: 400 var(--text-sm)/1 var(--font-body); }
.bar-search { flex: 0 1 260px; }

.bar-tools { display: flex; align-items: center; gap: var(--space-xs); }
.pz27 .tool, .tool { display: inline-flex; box-shadow: none; text-transform: none; letter-spacing: 0; align-items: center; gap: var(--space-2xs); min-height: 44px; min-width: 44px; justify-content: center; padding: 0 var(--space-sm); border: 0; border-radius: 0; background: none; color: var(--color-ink); font: 400 var(--text-md)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.pz27 .tool:hover, .pz27 .tool:focus { background: var(--color-paper-2); color: var(--color-ink); }
.pz27 .tool:active { background: var(--color-paper-3); }
.tool:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.pz27 .tool[aria-pressed="true"] { background: var(--color-mark); color: var(--color-mark-ink); }
.tool[aria-expanded="true"] .pz-i-chev { transform: rotate(90deg); }
.tool .pz-i-chev { transform: rotate(0deg); transition: transform var(--dur-short) var(--ease-out); }

.lang { position: relative; }
.lang-list { position: absolute; right: 0; top: calc(100% + var(--space-2xs)); z-index: var(--z-dropdown); min-width: 12rem; margin: 0; padding: var(--space-xs) 0; list-style: none; background: var(--color-paper-2); }
.lang-list a { display: flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); color: var(--color-ink); text-decoration: none; }
.lang-list a:hover { background: var(--color-paper-3); }
.lang-list a[aria-current] { background: var(--color-mark); color: var(--color-mark-ink); }
.lang-list a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }

.pz27 .burger { display: none; }

.sheet { position: fixed; inset: calc(var(--bar-h) + var(--admin-h, 0px)) 0 0 0; z-index: var(--z-modal); overflow-y: auto; background: var(--color-paper); }
.sheet-inner { display: grid; gap: var(--space-xl); padding-block: var(--space-xl) var(--space-2xl); }
.sheet .nav-list { flex-direction: column; gap: 0; }
.sheet .nav-list a { min-height: 56px; font: 700 var(--text-xl)/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); }
.sheet-langs { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.sheet-langs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); background: var(--color-paper-2); color: var(--color-ink); text-decoration: none; }
.sheet-langs a[aria-current] { background: var(--color-mark); color: var(--color-mark-ink); }
.sheet-langs a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.sheet .btn { justify-self: start; }

@media (max-width: 80rem) {
	.bar-nav, .bar-search { display: none; }
	.bar-tools { margin-left: auto; }
	.pz27 .burger { display: inline-flex; }
}
@media (max-width: 40rem) {
	.bar-tools .btn--bar, .bar-tools .lang { display: none; }
	.dys-toggle { padding-inline: var(--space-xs); }
}

/* --------------------------------------------------------------------------
   Hero: o título no papel; o campo de ultramar, desde a liña da columna 7
   ata o bordo, leva a pantalla do módulo e as catro letras
   ----------------------------------------------------------------------- */

.hero { position: relative; isolation: isolate; container-type: inline-size; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 calc(50% + var(--gap-columns) / 2); background: var(--color-field); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; min-height: calc(100dvh - var(--bar-h) - var(--admin-h, 0px)); }
.hero-copy { grid-column: 1 / 7; display: grid; justify-items: start; gap: var(--space-lg); padding-block: var(--space-xl); padding-right: var(--space-lg); }
.front .hero h1 { max-width: none; font-size: var(--text-hero); line-height: 0.92; letter-spacing: -0.045em; }
.hero .lead { max-width: 30ch; color: var(--color-ink-2); }
.hero .actions { margin-top: var(--space-xs); }

.news { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-xs); max-width: 44ch; margin-top: var(--space-xs); font-size: var(--text-md); color: var(--color-ink-2); }
.news b { color: var(--color-ink); }
.news a { text-decoration: underline var(--rule-hair); text-underline-offset: 0.25em; }
.news a.is-fresh { text-decoration: underline 3px var(--color-mark); }
.news a:hover { text-decoration-color: var(--color-mark); text-decoration-thickness: 3px; }
.news a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.hero-field { grid-column: 7 / 13; display: grid; gap: var(--space-lg); padding: var(--space-xl) 0 var(--space-xl) var(--space-xl); color: var(--color-field-ink); --color-focus: var(--color-field-ink); }

/* A captura sangra ata o bordo da pantalla a calquera ancho: a aula continúa fóra do cadro. */
.shots { display: grid; margin-right: calc(-1 * ((100cqw - min(100cqw, var(--container))) / 2 + var(--gutter))); }
.shot { grid-area: 1 / 1; margin: 0; height: min(36.6vw, calc(100dvh - 330px)); min-height: 300px; background: var(--color-paper); }
.shot[data-kind="product"] > img { filter: none; mix-blend-mode: normal; object-fit: cover; object-position: 0 0; }
.shot[data-kind="product"]::before { content: none; }
.shot--xesta > img, .shot--lua > img { object-fit: contain; object-position: 0 50%; }
.shot--pancho { background: var(--color-ink); }
.js .shot:not([hidden]) { animation: shot-in var(--dur-long) var(--ease-out); }
@keyframes shot-in { from { opacity: 0; } to { opacity: 1; } }

.pick { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.pick-letter { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; font: 700 var(--text-letter)/1 var(--font-display); letter-spacing: 0; color: var(--color-field-ink); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.pz27 .pick-letter { color: var(--color-field-ink); }
.pick-letter:hover { background: color-mix(in oklab, var(--color-field-ink) 14%, transparent); }
.pick-letter:active { background: color-mix(in oklab, var(--color-field-ink) 22%, transparent); }
.pick-letter:focus-visible { outline: 2px solid var(--color-field-ink); outline-offset: 2px; }
.pz27 .pick-letter[aria-selected="true"] { background: var(--color-mark); color: var(--color-mark-ink); }
.pick-line { min-height: 3lh; max-width: 46ch; font-size: var(--text-md); }
.pick-line b { font: 700 var(--text-lg)/1 var(--font-display); }

@media (max-width: 60rem) {
	.hero::before { content: none; }
	.hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.hero-copy { grid-column: 1; padding: var(--space-2xl) 0 var(--space-xl); }
	.hero-copy::before, .hero-copy::after { content: none; }
	.hero-field { grid-column: 1; margin-inline: calc(-1 * var(--gutter)); padding: var(--space-xl) var(--gutter); background: var(--color-field); color: var(--color-field-ink); }
	.shots { order: 3; margin-right: calc(-1 * var(--gutter)); }
	.shot { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
	.hero-copy { padding-top: var(--space-xl); }
	.pick-line { min-height: 0; }
}

/* --------------------------------------------------------------------------
   Do material á aula: o panel fixo á esquerda, as capturas pasan á dereita
   ----------------------------------------------------------------------- */

.flow { padding-block: var(--section-gap) var(--section-gap-s); }
.flow-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.flow-pane { grid-column: 1 / 6; position: sticky; top: calc(var(--bar-h) + var(--admin-h, 0px) + var(--space-xl)); display: grid; justify-items: start; gap: var(--space-lg); padding-right: var(--space-lg); }
.flow-pane .lead { color: var(--color-ink-2); }
.flow-steps { display: grid; width: 100%; margin: var(--space-md) 0 0; padding: 0; list-style: none; counter-reset: step; }
.flow-steps li { position: relative; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: var(--space-md); padding: var(--space-md) 0; border-top: 1px solid var(--color-rule); counter-increment: step; }
.flow-steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; background: var(--color-paper-2); color: var(--color-ink); font: 700 var(--text-2xl)/1 var(--font-display); transition: background-color var(--dur-short) var(--ease-out); }
.flow-steps li.is-current::before { background: var(--color-mark); color: var(--color-mark-ink); }
.front .flow-steps h3 { font-size: var(--text-title); line-height: 1.1; }
.flow-steps p { max-width: 46ch; margin-top: var(--space-2xs); color: var(--color-ink-2); }
.flow-steps b { color: var(--color-ink); }

/* As capturas van enteiras, na súa proporción, sobre un campo de ultramar que sangra
   ata o bordo da pantalla: o mesmo material do hero, de volta como estrutura. */
.flow { container-type: inline-size; }
.flow-shots { grid-column: 6 / 13; display: grid; gap: var(--space-2xl); margin-right: calc(-1 * ((100cqw - min(100cqw, var(--container))) / 2 + var(--gutter))); padding: var(--space-2xl) var(--gutter) var(--space-2xl) var(--space-2xl); background: var(--color-field); color: var(--color-field-ink); }
.flow-fig { display: grid; gap: var(--space-sm); margin: 0; }
.flow-shot { aspect-ratio: var(--ratio); background: var(--color-paper); }
.flow-shot[data-kind="product"] > img { filter: none; mix-blend-mode: normal; object-fit: cover; object-position: 0 0; }
.flow-shot[data-kind="product"]::before { content: none; }
.flow-fig figcaption { max-width: 52ch; font-size: var(--text-md); color: var(--color-field-ink); }
.flow-fig figcaption b { font: 700 var(--text-lg)/1 var(--font-display); }

@media (max-width: 60rem) {
	.flow-grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }
	.flow-pane { grid-column: 1; position: static; padding-right: 0; }
	.flow-shots { grid-column: 1; gap: var(--space-xl); margin-inline: calc(-1 * var(--gutter)); padding: var(--space-xl) var(--gutter); }
	/* No móbil, cada captura recórtase a un detalle que se poida ler. */
	.flow-shot { aspect-ratio: 4 / 3; }
	.flow-shot[data-kind="product"] > img { width: 180%; max-width: none; }
	.flow-fig:last-child .flow-shot { aspect-ratio: var(--ratio); }
	.flow-fig:last-child .flow-shot > img { width: 100%; }
}

/* --------------------------------------------------------------------------
   Tres formas de usalo: os modos fronte ás letras dos módulos
   ----------------------------------------------------------------------- */

.modes { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.split-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: end; margin-bottom: var(--space-2xl); }
.split-head h2 { grid-column: 1 / 6; }
.split-head .lead { grid-column: 7 / 13; color: var(--color-ink-2); }
.modes-table-wrap { overflow-x: auto; }
.pz27 .modes-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: var(--text-md); }
.pz27 .modes-table th, .pz27 .modes-table td { border-left: 0; border-right: 0; border-top: 0; }
.modes-table th, .modes-table td { padding: var(--space-lg) var(--space-md) var(--space-lg) 0; border: 0; border-bottom: 1px solid var(--color-rule); text-align: left; vertical-align: middle; background: none; }
.modes-table thead th { padding-block: 0 var(--space-md); font-weight: 400; font-size: var(--text-sm); color: var(--color-muted); white-space: nowrap; }
.modes-table thead .modes-mod { width: 5.5rem; font: 700 var(--text-3xl)/1 var(--font-display); color: var(--color-ink); letter-spacing: -0.02em; }
.modes-table abbr { text-decoration: none; }
.modes-table tbody th { font: 700 var(--text-title)/1.15 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); white-space: nowrap; }
.modes-table td:last-child { max-width: 46ch; color: var(--color-ink-2); }
.modes-cell::after { content: ""; display: block; width: 1.75rem; height: 1.75rem; background: var(--color-paper-3); }
.modes-cell.is-in::after { background: var(--color-field); }

@media (max-width: 60rem) {
	.split-head h2, .split-head .lead { grid-column: 1 / -1; }
	/* No móbil cada modo é un bloque: o nome, as catro letras, para que serve. */
	.modes-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.modes-table, .modes-table tbody { display: block; }
	.modes-table tr { display: grid; grid-template-columns: repeat(4, max-content) minmax(0, 1fr); column-gap: var(--space-xs); row-gap: var(--space-sm); padding: var(--space-lg) 0; border-bottom: 1px solid var(--color-rule); }
	.modes-table th, .modes-table td { display: block; padding: 0; border: 0; }
	.modes-table tbody th { grid-column: 1 / -1; }
	.modes-table td:last-child { grid-column: 1 / -1; }
	.modes-cell::after { content: attr(data-letter); display: grid; place-items: center; width: 2.5rem; height: 2.5rem; font: 700 var(--text-lg)/1 var(--font-display); color: var(--color-muted); }
	.modes-cell.is-in::after { color: var(--color-field-ink); }
}

/* --------------------------------------------------------------------------
   Titoriais: un índice de filas
   ----------------------------------------------------------------------- */

.latest { padding-block: var(--section-gap-l) var(--section-gap); }
.latest-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-md) var(--space-xl); margin-bottom: var(--space-2xl); }
.index { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-ink); }
.index-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.index-row time { grid-column: 1 / 3; font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.front .index-row h3 { grid-column: 3 / 13; max-width: none; font-size: var(--text-title); line-height: 1.15; }
.front .index-row:first-child h3 { font-size: var(--text-2xl); }
.index-row h3 a { text-decoration: none; }
.index-row h3 a:hover { text-decoration: underline 3px var(--color-mark); text-underline-offset: 0.18em; }
.index-row h3 a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (max-width: 60rem) {
	.index-row { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xs); }
	.index-row time, .front .index-row h3 { grid-column: 1; }
}

/* --------------------------------------------------------------------------
   Peche: o campo da faísca, a única vez que a cor enche unha banda
   ----------------------------------------------------------------------- */

.close { padding-block: var(--section-gap-s); background: var(--color-mark); color: var(--color-mark-ink); --color-focus: var(--color-ink); }
.close-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: end; }
.close-copy { grid-column: 1 / 8; display: grid; gap: var(--space-lg); }
.front .close h2 { max-width: 14ch; font-size: var(--text-display); line-height: 0.95; letter-spacing: -0.04em; }
.close .lead { max-width: 44ch; }
.close-act { grid-column: 9 / 13; display: grid; gap: var(--space-lg); }
.close-act p { font: 700 var(--text-xl)/1.2 var(--font-display); letter-spacing: -0.02em; }
.close .btn--secondary:hover { text-decoration-color: var(--color-ink); }
@media (max-width: 60rem) {
	.close-copy, .close-act { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   Pé: columnas índice sobre o papel 2
   ----------------------------------------------------------------------- */

.foot { padding-block: var(--space-3xl) var(--space-xl); background: var(--color-paper-2); }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.foot-brand { grid-column: 1 / 6; display: grid; align-content: start; gap: var(--space-lg); }
.foot-brand p { max-width: 46ch; color: var(--color-ink-2); }
.foot-col { grid-column: span 2; }
.foot-col:first-of-type { grid-column: 7 / 9; }
.pz27 .foot-col h2 { margin: 0 0 var(--space-sm); font: 400 var(--text-sm)/1.4 var(--font-body); letter-spacing: 0; color: var(--color-muted); }
.foot-col ul { margin: 0; padding: 0; list-style: none; }
.foot-col a { display: inline-flex; align-items: center; min-height: 40px; white-space: nowrap; color: var(--color-ink); text-decoration: none; }
.foot-col a:hover { text-decoration: underline 3px var(--color-mark); text-underline-offset: 0.35em; }
.foot-col a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.foot-col a[aria-current] { text-decoration: underline var(--rule-hair); text-underline-offset: 0.35em; }
.foot-legal { display: grid; gap: var(--space-2xs); margin-top: var(--space-3xl); font-size: var(--text-sm); color: var(--color-muted); }
.foot-legal a { color: var(--color-ink-2); }
.foot-legal a:hover { text-decoration-color: var(--color-mark); text-decoration-thickness: 3px; }
.foot-legal a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

@media (max-width: 80rem) {
	.foot-brand { grid-column: 1 / -1; }
	.foot-col, .foot-col:first-of-type { grid-column: span 4; }
}
@media (max-width: 40rem) {
	.foot-col, .foot-col:first-of-type { grid-column: span 6; }
}
@media (max-width: 22.5rem) {
	.foot-col, .foot-col:first-of-type { grid-column: 1 / -1; }
}
