:root {
  --black: #1e1e1e;
  --black-soft: #1e1e1e;
  --black-medium: #1e1e1e;
  --rosa: #ff277a;          /* magenta marca | AA-large (3.61:1 on white)  */

  /* ─ Brutalist palette (páginas v2 editorial) ───────────────── */
  --brut-bg: #ffffff;
  --brut-ink: #0a0a0a;       /* 19.8:1 AAA */
  --brut-line: #0a0a0a;
  --brut-line-soft: rgba(10, 10, 10, 0.14);
  --brut-muted: #6a6a6a;     /* 5.4:1 AA */
  --brut-soft: #f4f4f4;
  --brut-dark: #1e1e1e;
  --brut-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --rosa-light: #ff5c9a;
  --rosa-dark: #d91e63;      /* 4.87:1 AA — usar quando rosa for texto <18px sobre branco */
  --rosa-accessible: #c91960; /* 5.5:1 AA — alternativa para texto pequeno crítico */
  --white: #ffffff;
  --white-warm: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  /* --text-base cresce até 1.55rem em ecrãs muito largos — ver media query no fim do ficheiro */
  --text-xl: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --text-3xl: clamp(2rem, 1.5rem + 2vw, 3rem);
  --text-4xl: clamp(2.5rem, 1.8rem + 3vw, 4rem);
  --text-5xl: clamp(3rem, 2rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 2rem + 6vw, 6rem);

  /* Lead paragraph: emphasised intro text used after section titles */
  --text-lead: clamp(1.25rem, 2.5vw, 1.75rem);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --space-5xl: 12rem;

  --container-max: 1500px;
  --container-narrow: 900px;
  --container-padding: clamp(1.5rem, 4vw, 4rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-2xl: 60px;
  --radius-full: 9999px;
  --navbar-bottom-offset: 0px;
  --sb-status-h: 56px;
}

@media (min-width: 720px) {
  :root { --sb-status-h: 64px; }
}
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.35s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

::view-transition-old(root) {
  animation-name: vt-fade-out;
}
::view-transition-new(root) {
  animation-name: vt-fade-in;
}

@keyframes vt-fade-out {
  to { opacity: 0; }
}
@keyframes vt-fade-in {
  from { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: var(--navbar-bottom-offset);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.5;
  text-wrap: pretty;
  orphans: 2;
  widows: 2;
  color: var(--white);
  background: var(--black);
  overflow-x: hidden;
  overflow-x: clip;
  padding-bottom: var(--navbar-bottom-offset);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, #2e2e2e 0%, var(--black) 70%);
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--rosa);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: 4px;
}

/* ─ Skip-link global (WCAG 2.4.1 · Bypass Blocks) ────────────────
   Visualmente fora do ecrã até receber foco; aparece ao tab inicial */
.skip-link {
  position: fixed;
  top: -100px;
  left: 8px;
  z-index: 99999;
  padding: 0.85rem 1.4rem;
  background: var(--brut-ink, #0a0a0a);
  color: var(--white, #fff);
  font-family: var(--brut-mono, monospace);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--rosa, #ff277a);
  transition: top 0.18s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 8px;
  outline: none;
}
main[tabindex="-1"]:focus { outline: none; }

/* ─ Hook / gancho das singles equipa (kicker acima do nome) ──── */
.mb-hero__hook {
  margin: 0 0 0.6rem;
  font-family: var(--brut-mono, monospace);
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--brut-muted, #6a6a6a);
  max-width: 32ch;
}
.mb-hero__hook em {
  font-style: normal;
  color: var(--rosa, #ff277a);
}

/* ─ Honra prefers-reduced-motion globalmente (WCAG 2.3.3) ──────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.accent {
  color: var(--rosa);
}

.serif {
  font-family: var(--font-sans);
  font-style: italic;
}

/* Wrapper #site-header — passa a controlar a posição sticky, para que
   o "scroll-up to reveal" funcione bem com transform/translateY */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.sb-status {
  --sb-bg: #ffffff;
  --sb-fg: #1e1e1e;
  --sb-line: rgba(30, 30, 30, 0.14);
  --sb-muted: rgba(30, 30, 30, 0.55);
  --sb-rosa: var(--rosa, #ff277a);
  --sb-lettering-invert: 0;

  background: var(--sb-bg);
  color: var(--sb-fg);
  border-bottom: 1px solid var(--sb-line);
  padding: 10px clamp(0.9rem, 4vw, 1.5rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Scroll-up to reveal: o wrapper desliza para fora do viewport */
#site-header.is-nav-hidden {
  transform: translateY(-100%);
}
/* Drawer mobile aberto: força visível */
#site-header.is-drawer-open {
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  #site-header { transition: none; }
  #site-header.is-nav-hidden { transform: none; }
}

/* Tema escuro — quando o hero/1ª secção é #1e1e1e */
.sb-status.is-dark {
  --sb-bg: #1e1e1e;
  --sb-fg: #ffffff;
  --sb-line: rgba(255, 255, 255, 0.18);
  --sb-muted: rgba(255, 255, 255, 0.55);
  --sb-lettering-invert: 1;
  /* Sem linha visível para fundir com o hero escuro */
  border-bottom-color: transparent;
}

/* Brand (logo + lettering) — sempre visível */
.sb-status__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.sb-status__brand:hover,
.sb-status__brand:focus-visible { opacity: 0.78; outline: none; }

.sb-status__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  flex-shrink: 0;
}
.sb-status__logo-lottie {
  display: block;
  width: 100%;
  height: 100%;
}
/* Força o blob Lottie a ser sempre magenta, independente do tema da navbar */
.sb-status__logo-lottie svg path,
.sb-status__logo-lottie svg g,
.sb-status__logo-lottie svg rect,
.sb-status__logo-lottie svg ellipse,
.sb-status__logo-lottie svg circle,
.sb-status__logo-lottie svg polygon {
  fill: var(--sb-rosa) !important;
  stroke: var(--sb-rosa) !important;
}
.sb-status__lettering {
  display: block;
  height: 32px;
  width: auto;
  /* O SVG é #1e1e1e por defeito; em tema escuro invertemos para branco */
  filter: invert(var(--sb-lettering-invert));
  transition: filter 0.25s ease;
}


/* Meta e Nav — escondidos por defeito (mobile); aparecem em desktop */
.sb-status__meta,
.sb-status__nav { display: none; }

/* Ticker rotativo de frases — visível apenas em desktop */
.sb-status__ticker {
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: 1.4em;
  min-width: 0;
  max-width: clamp(140px, 28vw, 420px);
  color: var(--sb-muted);
}
.sb-status__ticker-text {
  display: inline-block;
  white-space: nowrap;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.48s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.32s ease;
  will-change: transform, opacity;
}
.sb-status__ticker-text.is-out {
  transform: translateY(-110%);
  opacity: 0;
}
.sb-status__ticker-text.is-in-start {
  transform: translateY(110%);
  opacity: 0;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .sb-status__ticker-text { transition: none; }
}

.sb-status__menu-btn {
  --hb-w: 28px;
  --hb-h: 24px; /* WCAG 2.5.8 AA: target ≥24×24 */
  --hb-thick: 2.5px;
  --hb-gap: 9px;

  margin-left: auto;
  width: var(--hb-w);
  height: var(--hb-h);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.sb-status__menu-btn:focus-visible {
  outline: 2px solid var(--sb-rosa);
  outline-offset: 4px;
}

.sb-status__menu-btn span {
  position: absolute;
  left: 0;
  width: var(--hb-w);
  height: var(--hb-thick);
  background: var(--sb-fg);
}
.sb-status__menu-btn span:nth-child(1) {
  top: 0;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1), border-radius 0.35s;
}
.sb-status__menu-btn span:nth-child(2) {
  top: var(--hb-gap);
  transition: width 0.3s cubic-bezier(0.65, 0, 0.35, 1), border-radius 0.3s, background 0.25s ease;
}
.sb-status__menu-btn span:nth-child(3) {
  top: calc(var(--hb-gap) * 2);
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1), border-radius 0.35s;
}

/* Acento magenta subtil no traço do meio em hover */
.sb-status__menu-btn:hover span:nth-child(2),
.sb-status__menu-btn:focus-visible span:nth-child(2) { background: var(--sb-rosa); }

/* Estado aberto — morph para seta */
.sb-status__menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(35deg) scaleX(0.55) translate(39px, -4.5px);
  border-radius: 50px 50px 50px 0;
}
.sb-status__menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-35deg) scaleX(0.55) translate(39px, 4.5px);
  border-radius: 0 50px 50px 50px;
}
.sb-status__menu-btn[aria-expanded="true"] span:nth-child(2) {
  width: calc(var(--hb-w) - 16px);
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  background: var(--sb-fg);
}

/* Links inline (apenas usados em desktop) */
.sb-status__muted { color: var(--sb-muted); }
.sb-status__nav a,
.sb-status__meta a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.sb-status__nav a:hover,
.sb-status__nav a:focus-visible { color: var(--sb-rosa); outline: none; }
.sb-status__cta {
  color: var(--sb-rosa) !important;
  font-weight: 700;
}
.sb-status__cta:hover,
.sb-status__cta:focus-visible { color: var(--sb-fg) !important; }
.sb-status__active {
  color: var(--sb-rosa);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* ─── Desktop ≥720px — restaura o layout completo ─── */
@media (min-width: 720px) {
  .sb-status {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem;
    padding: 12px clamp(1rem, 3vw, 2rem);
  }
  .sb-status__lettering { height: 40px; }
  .sb-status__meta {
    display: inline-flex;
    gap: clamp(0.6rem, 1.4vw, 1rem);
    align-items: center;
    /* alinhado à esquerda, logo a seguir ao brand */
    margin-left: clamp(0.4rem, 1vw, 1rem);
  }
  .sb-status__nav {
    display: inline-flex;
    gap: clamp(0.8rem, 2vw, 1.6rem);
    align-items: center;
    flex-wrap: wrap;
    /* empurra a navegação até à direita */
    margin-left: auto;
  }
  .sb-status__menu-btn { display: none; }
}

/* ─────────────────────────────────────────────────────────
   DRAWER MOBILE — menu fullscreen
   ───────────────────────────────────────────────────────── */
.sb-drawer {
  position: fixed;
  inset: 0;
  background: #ffffff;
  color: #1e1e1e;
  z-index: 999;
  padding: clamp(4.5rem, 14vh, 6.5rem) clamp(1.5rem, 6vw, 2.5rem) clamp(2rem, 5vh, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform 0.42s cubic-bezier(0.65, 0, 0.35, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sb-drawer.is-open { transform: translateY(0); }
.sb-drawer[hidden] { display: none; }

.sb-drawer__nav {
  display: flex;
  flex-direction: column;
}
.sb-drawer__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: clamp(1.75rem, 8vw, 2.75rem);
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: #1e1e1e;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(30, 30, 30, 0.12);
  transition: color 0.2s ease, padding-left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.sb-drawer__link:hover,
.sb-drawer__link:focus-visible {
  color: var(--rosa, #ff277a);
  padding-left: 0.5rem;
  outline: none;
}
.sb-drawer__num {
  font-size: 0.42em;
  letter-spacing: 0.15em;
  color: rgba(30, 30, 30, 0.4);
  font-weight: 500;
  flex-shrink: 0;
  width: 2.2em;
}
.sb-drawer__link:hover .sb-drawer__num,
.sb-drawer__link:focus-visible .sb-drawer__num { color: var(--rosa, #ff277a); }
.sb-drawer__text { flex: 1; }
.sb-drawer__link--cta { color: var(--rosa, #ff277a); }
.sb-drawer__link--cta .sb-drawer__num { color: rgba(255, 39, 122, 0.5); }
.sb-drawer__link--active { color: var(--rosa, #ff277a); }
.sb-drawer__link--active .sb-drawer__num { color: var(--rosa, #ff277a); }

.sb-drawer__foot {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(30, 30, 30, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(30, 30, 30, 0.12);
}
.sb-drawer__foot a {
  color: #1e1e1e;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.sb-drawer__foot a:hover,
.sb-drawer__foot a:focus-visible { color: var(--rosa, #ff277a); }
.sb-drawer__coords { color: rgba(30, 30, 30, 0.45); }

body.sb-drawer-open { overflow: hidden; }

@media (min-width: 720px) {
  .sb-drawer { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .sb-drawer { transition: none; }
  .sb-status__menu-btn span { transition: none; }
}

/* Esconde a antiga navbar (.header) em todas as páginas — substituída pelo .sb-status */
.header { display: none !important; }
.mobile-menu { display: none !important; }

/* Esconde a CTA antiga (com .section--cta) — substituída pela .sb-cta global */
.section--cta { display: none !important; }

/* ─────────────────────────────────────────────────────────
   CTA brutalista global — injetado antes do footer
   ───────────────────────────────────────────────────────── */
.sb-cta {
  --sbc-bg: #ffffff;
  --sbc-ink: #1e1e1e;
  --sbc-muted: rgba(30, 30, 30, 0.55);
  --sbc-line: rgba(30, 30, 30, 0.14);
  --sbc-rosa: var(--rosa, #ff277a);

  background: var(--sbc-bg);
  color: var(--sbc-ink);
  padding: clamp(4rem, 12vh, 10rem) clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--sbc-line);
  border-bottom: 1px solid var(--sbc-line);
  font-family: var(--font-sans);
}
.sb-cta__text {
  font-size: clamp(2.2rem, 9vw, 8rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0;
  color: var(--sbc-ink);
}
.sb-cta__text a {
  color: var(--sbc-ink);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}
.sb-cta__text a:hover,
.sb-cta__text a:focus-visible {
  color: var(--sbc-rosa);
  outline: none;
}
.sb-cta__text a::after {
  content: '↗';
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 0.1em;
}
.sb-cta__meta {
  margin-top: clamp(2rem, 5vh, 4rem);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sbc-muted);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .sb-cta__meta { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
.sb-cta__meta a {
  color: var(--sbc-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}
.sb-cta__meta a:hover,
.sb-cta__meta a:focus-visible { color: var(--sbc-rosa); outline: none; }
.sb-cta__meta .label {
  display: block;
  color: var(--sbc-muted);
  margin-bottom: 0.4rem;
}

/* ── Header (legado, mantido por compatibilidade) ── */
.header--legacy {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 16px var(--container-padding);
  pointer-events: none;
  transition: transform 0.55s var(--ease-out),
              padding 0.45s var(--ease-out);
}

.header.is-hidden {
  transform: translateY(calc(-100% - 20px));
}

/* ── Mobile: pin header to the bottom of the viewport ── */
@media (max-width: 1023px) {
  .header {
    top: auto;
    bottom: 0;
    /* Respect iOS home-indicator safe area */
    padding-top: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  /* When hidden on scroll, slide DOWN out of the viewport */
  .header.is-hidden {
    transform: translateY(calc(100% + 20px));
  }
}

.header.is-compact {
  padding-top: 10px;
  padding-bottom: 10px;
}

.header__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 8px 8px 14px;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  transition: padding 0.45s var(--ease-out),
              background 0.45s var(--ease-out),
              gap 0.45s var(--ease-out),
              box-shadow 0.45s var(--ease-out);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.header.is-compact .header__bar {
  padding: 6px 8px 6px 12px;
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

/* ── Logo ── */
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
  border-radius: 50%;
  transition: box-shadow 1.5s ease, transform 0.3s var(--ease-out);
}
.header__logo:hover {
  transform: scale(1.06);
}
.header__logo:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: 6px;
}

.header__logo-lottie {
  width: 40px;
  height: 40px;
  transition: width 0.45s var(--ease-out), height 0.45s var(--ease-out);
}

@media (min-width: 768px) {
  .header__logo-lottie {
    width: 46px;
    height: 46px;
  }
}

.header.is-compact .header__logo-lottie {
  width: 36px;
  height: 36px;
}

@media (min-width: 768px) {
  .header.is-compact .header__logo-lottie {
    width: 40px;
    height: 40px;
  }
}

/* ── Desktop nav ── */
.header__nav {
  display: none;
  align-items: center;
  gap: 4px;
  position: relative;
  margin: 0 8px;
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
  }
}

/* Sliding indicator (underline magenta) */
.header__indicator {
  position: absolute;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 0;
  background: var(--rosa);
  pointer-events: none;
  opacity: 0;
  will-change: left, width, opacity;
}

.header__link {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.6;
  padding: 10px 12px;
  border-radius: 0;
  position: relative;
  z-index: 1;
  transition: opacity 0.25s var(--ease-out),
              color 0.25s var(--ease-out);
  white-space: nowrap;
}

.header__link:hover {
  opacity: 1;
}

.header__link:focus-visible {
  opacity: 1;
  outline: 2px solid var(--rosa);
  outline-offset: -1px;
}

.header__link--active {
  opacity: 1;
}

/* ── Contactos: link mono inline magenta (sem seta, brutalist) ── */
.header__cta {
  display: inline-flex;
  align-items: center;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rosa-dark); /* WCAG 1.4.3 — 4.87:1 sobre branco (em vez de --rosa 3.60:1) */
  background: transparent;
  padding: 10px 12px;
  border-radius: 0;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
  transition: color 0.25s ease;
}

.header__cta:hover {
  color: var(--rosa-light);
}

.header__cta:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: -1px;
}

/* ── Language switcher ── */
.header__lang {
  display: none;
  align-items: center;
  gap: 2px;
  font-size: var(--text-xs);
  margin-left: 4px;
  margin-right: 4px;
}

@media (min-width: 1024px) {
  .header__lang {
    display: flex;
  }
}

.lang-btn {
  padding: 8px 8px;
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0.45;
  transition: opacity 0.3s, color 0.3s;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 0;
}

.lang-btn:hover,
.lang-btn.is-active {
  opacity: 1;
}

.lang-btn:focus-visible {
  opacity: 1;
  outline: 2px solid var(--rosa);
  outline-offset: 2px;
  border-radius: 4px;
}

.lang-sep {
  color: rgba(255, 255, 255, 0.18);
  font-weight: 300;
  user-select: none;
  margin: 0 -2px;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* ── Hamburger, two asymmetric lines ── */
.header__menu-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
  border-radius: 50%;
  transition: background 0.3s;
}

.header__menu-btn:hover {
  background: rgba(255, 39, 122, 0.12);
}
.header__menu-btn:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: 2px;
  background: rgba(255, 39, 122, 0.12);
}

@media (min-width: 1024px) {
  .header__menu-btn {
    display: none;
  }
}

.header__menu-icon {
  width: 22px;
  height: 0;
  position: relative;
}

.header__menu-line {
  position: absolute;
  left: 50%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out),
              width 0.4s var(--ease-out),
              opacity 0.3s;
}

.header__menu-line--top {
  width: 16px;
  top: -4px;
  transform: translateX(-50%);
}

.header__menu-line--bottom {
  width: 22px;
  top: 4px;
  transform: translateX(-50%);
}

/* Open state */
.header__menu-btn[aria-expanded="true"] .header__menu-line--top {
  width: 22px;
  transform: translateX(-50%) translateY(4px) rotate(45deg);
}

.header__menu-btn[aria-expanded="true"] .header__menu-line--bottom {
  transform: translateX(-50%) translateY(-4px) rotate(-45deg);
}


.hero {
  display: flex;
  flex-direction: column;
  position: relative;
  background: transparent;
  overflow: hidden;
}

body[data-page="home"] .hero {
  min-height: calc(100svh - var(--sb-status-h));
  min-height: calc(100dvh - var(--sb-status-h));
}

.hero__blob {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}

.hero__blob spline-viewer {
  width: 100%;
  height: 100%;
}

/* Tiago ajuda-me nisto depois, não consigo tirar o logo do Spline */
spline-viewer #logo,
spline-viewer [id*="logo"],
spline-viewer a[href*="spline"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .hero__content {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
  }
}

.hero__title {
  font-family: var(--font-sans);
  font-size: clamp(2.6rem, 11vw, 7rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2xl);
  /* Acomoda o descender do "g" no italic 900 sem alterar o line-height */
  padding-bottom: 0.12em;
  /* Nunca partir uma palavra a meio */
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}

/* Mobile: reduz tamanho do título para que "A alma é o segredo"
   caiba numa linha (com a quebra natural antes de "do negócio.") */
@media (max-width: 600px) {
  .hero__title {
    font-size: clamp(1.9rem, 8.5vw, 2.8rem);
    letter-spacing: -0.025em;
  }
}

.hero__title strong {
  font-weight: 900;
}

.hero__title--serif {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 900;
}

.hero__grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-3xl);
    align-items: end;
  }
}

.hero__tagline {
  font-family: var(--brut-mono);
  font-size: clamp(15px, 1.2vw, 22px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hero__tagline {
    color: var(--gray-400);
  }
}

.hero__description {
  max-width: 540px;
}

.hero__description p {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 400;
  color: var(--gray-200);
  line-height: 1.5;
  margin-bottom: var(--space-lg);
}

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

/* ─── Hero · ecrãs muito largos (6K externos, 2 vezes mais espaço) ───
   Sobe o conteúdo (deixa de estar colado em baixo), aumenta tipografia
   e CTA, reduz o padding-top para não deixar tanto vazio em cima. */
@media (min-width: 1800px) {
  .hero__content {
    justify-content: center;
    max-width: 2000px;
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }
  .hero__title {
    font-size: clamp(7rem, 9vw, 11.5rem);
    line-height: 1.02;
    margin-bottom: var(--space-3xl);
    max-width: none;
    white-space: nowrap;
  }
  .hero__title--serif { white-space: normal; }
  .hero__tagline {
    letter-spacing: 0.14em;
  }
  .hero__description {
    max-width: 720px;
  }
  .hero__description p {
    font-size: clamp(1.2rem, 1.05vw, 1.55rem);
    line-height: 1.55;
  }
  .hero__ctas .btn {
    padding: 1.15rem 2.4rem;
    font-size: 1rem;
    letter-spacing: 0.08em;
  }
}


/* Botão base desalinhado */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: none;
  border: none;
  color: var(--white);
  padding: var(--space-xs) var(--space-lg);
  transition: color 0.35s ease;
  text-decoration: none;
}

/* Two offset rectangles, clearly separated at opposite corners */
.btn::before,
.btn::after {
  content: '';
  position: absolute;
  z-index: -1;
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              left 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              right 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.35s ease;
}

/* Default: ambos preenchem o retângulo (botão limpo) */
.btn::before,
.btn::after {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
}

/* Hover: ::before desloca-se para cima/esquerda */
.btn:hover::before {
  top: 0;
  left: 0;
  right: 20px;
  bottom: 8px;
  background-color: var(--rosa);
}

/* Hover: ::after desloca-se para baixo/direita */
.btn:hover::after {
  top: 8px;
  left: 20px;
  right: 0;
  bottom: 0;
  background-color: var(--rosa);
}

.btn:hover {
  color: var(--white);
}

.btn:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: 6px;
}

.btn--primary::before { background-color: var(--white); }
.btn--primary::after  { background-color: var(--white); }
.btn--primary { color: var(--black); }

.btn--primary:hover::before,
.btn--primary:hover::after { background-color: var(--rosa); }
.btn--primary:hover { color: var(--white); }

.btn--outline::before { background-color: var(--white); }
.btn--outline::after  { background-color: var(--white); }
.btn--outline { color: var(--black); }

.btn--outline:hover::before,
.btn--outline:hover::after { background-color: var(--rosa); }
.btn--outline:hover { color: var(--white); }

/* CTA secundário em hero (versão "ghost" — só underline, sem caixa) */
.btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0;
  margin-left: 1rem;
  color: var(--brut-ink, #0a0a0a);
  font-family: var(--brut-mono, monospace);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  background: none;
  border-bottom: 2px solid var(--brut-ink, #0a0a0a);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.btn--ghost::before, .btn--ghost::after { display: none; }
.btn--ghost:hover { color: var(--rosa-dark, #d91e63); border-color: var(--rosa-dark, #d91e63); }

.btn--outline-dark::before { background-color: var(--black); }
.btn--outline-dark::after  { background-color: var(--black); }
.btn--outline-dark { color: var(--white); }

.btn--outline-dark:hover::before,
.btn--outline-dark:hover::after { background-color: var(--rosa); }
.btn--outline-dark:hover { color: var(--white); }

.btn--outline-light::before { background-color: var(--white); }
.btn--outline-light::after  { background-color: var(--white); }
.btn--outline-light { color: var(--black); }

.btn--outline-light:hover::before,
.btn--outline-light:hover::after { background-color: var(--rosa); }
.btn--outline-light:hover { color: var(--white); }

/* Botão só com texto e seta */
.btn--text {
  padding: 0;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}

.btn--text::before,
.btn--text::after {
  display: none;
}

.btn--text svg {
  transition: transform 0.3s;
}

.btn--text:hover {
  color: var(--rosa);
}

.btn--text:hover svg {
  transform: translateX(4px);
}

/* .btn--large removed, all buttons now use uniform base padding */

.btn--dark::before { background-color: var(--black); }
.btn--dark::after  { background-color: var(--black); }
.btn--dark { color: var(--white); }

.btn--dark:hover::before,
.btn--dark:hover::after {
  background-color: var(--rosa);
}

/* ── Reduced motion, keep offset, remove animation ── */
@media (prefers-reduced-motion: reduce) {
  .btn::before,
  .btn::after {
    transition: none !important;
  }
}


.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-4xl) 0;
  }
}

.section--dark {
  background: transparent;
  color: var(--white);
}


.section--dark p,
.section--dark li,
.section--dark .project-section__content {
  color: var(--gray-300);
}

.section--dark strong {
  color: var(--white);
}

.section--dark em {
  color: var(--gray-200);
}

.section--light {
  background: transparent;
  color: var(--white);
}

.section--rounded {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-top: calc(var(--radius-xl) * -1);
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .section--rounded {
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    margin-top: calc(var(--radius-2xl) * -1);
  }
}


/* =================================================
   Canonical H2 / section title style.
   Same scale and weight as .hp-statement__text and
   .project-text__title, editorial, light-weight,
   generous line-height, capped width for readability.
   Variants below share these typography props.
   ================================================= */
.section-title {
  font-size: clamp(1.75rem, 3.8vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  max-width: 1100px;
}

.section-title .serif {
  font-style: italic;
}

.section-title--light {
  font-weight: 300;
}

.section-eyebrow {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rosa);
  margin-bottom: var(--space-xs);
  font-weight: 700;
  display: block;
}

/* Wider variant for hero contexts where extra spacing reads better */
.section-eyebrow--wide {
  letter-spacing: 0.35em;
}

.section-text {
  font-size: var(--text-lg);
  color: var(--gray-400);
  line-height: 1.5;
}

.section--light .section-text {
  color: var(--gray-400);
}


.statement {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* .statement__eyebrow removed, replaced by canonical .section-eyebrow */

.statement__title {
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.statement__title strong {
  font-weight: 700;
}

.statement__text {
  font-size: var(--text-lg);
  color: var(--gray-400);
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}

.section--light .statement__text {
  color: var(--gray-400);
}

.statement__text strong {
  color: var(--white);
  font-weight: 500;
}

.section--light .statement__text strong {
  color: var(--white);
}


.problem-section {
  max-width: 900px;
}

.problem-section__title {
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2xl);
}

.problem-section__title .serif {
  font-family: var(--font-sans);
  font-style: italic;
}

.problem-section__content {
  max-width: 700px;
}

.problem-section__content p {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--gray-300);
  margin-bottom: var(--space-md);
}

.problem-section__highlight {
  font-weight: 500;
  color: var(--white);
  margin-top: var(--space-lg);
}

/* problem-section__title: uniform 1.5rem, no desktop bump */


.approach {
  max-width: 800px;
}

.approach__title {
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
}

.approach__title .serif {
  font-family: var(--font-sans);
  font-style: italic;
}

.approach__intro {
  font-size: var(--text-lg);
  color: var(--gray-300);
  margin-bottom: var(--space-lg);
}

.approach__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl) 0;
}

.approach__list li {
  font-size: var(--text-lg);
  color: var(--gray-200);
  padding-left: var(--space-lg);
  position: relative;
  margin-bottom: var(--space-sm);
  line-height: 1.5;
  text-wrap: pretty;
  orphans: 2;
  widows: 2;
}

.approach__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--rosa);
}

.approach__outro {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--white);
  margin-bottom: var(--space-xl);
}

/* approach btn inherits from .btn--outline (white solid) */

/* approach__title: uniform 1.5rem, no desktop bump */


.split-block {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .split-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }

  .split-block--reverse .split-block__text {
    order: 2;
  }

  .split-block--reverse .split-block__image {
    order: 1;
  }
}

.split-block__title {
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.split-block__subtitle {
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--gray-300);
  line-height: 1.35;
  margin-bottom: var(--space-lg);
}

.split-block__text p {
  font-size: var(--text-lg);
  color: var(--gray-300);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.split-block__highlight {
  font-weight: 500;
  color: var(--white) !important;
  margin-top: var(--space-sm);
}

.split-block__text .btn {
  margin-top: var(--space-lg);
}

.split-block__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.split-block__image .photo-placeholder {
  border-radius: 0;
}

.photo-placeholder--tall {
  aspect-ratio: 3/4;
  min-height: 350px;
}

@media (min-width: 768px) {
  .photo-placeholder--tall {
    min-height: 450px;
  }
}


.section--highlight {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--gray-700);
  border-bottom: 1px solid var(--gray-700);
}

.big-quote {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.big-quote p {
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

.big-quote__sub {
  font-size: var(--text-2xl) !important;
  font-weight: 300;
  opacity: 0.7;
  margin-top: 0.5em;
}


.section--flush {
  padding: var(--space-xl) 0;
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .mosaic {
    grid-template-columns: 1.4fr 0.6fr 1fr;
    grid-template-rows: 250px 250px;
    gap: var(--space-lg);
  }

  .mosaic__item--wide {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .mosaic__item--tall {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }
}

.mosaic__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mosaic__item .photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  border-radius: 0;
  aspect-ratio: auto;
}


.clients-section {
  max-width: 800px;
  margin-bottom: var(--space-3xl);
}

.clients-section__title {
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
}

.clients-section__title .serif {
  font-family: var(--font-sans);
  font-style: italic;
}

.clients-section__content p {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--gray-300);
  margin-bottom: var(--space-md);
}

.clients-section__highlight {
  font-weight: 500;
  color: var(--white);
  margin-top: var(--space-lg);
}

/* clients-section__title: uniform 1.5rem, no desktop bump */

/* Light section client logos */
.section--light .clients-grid {
  padding: var(--space-2xl);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
}

.section--light .client-logo img {
  filter: grayscale(100%) brightness(2);
  opacity: 0.5;
  transition: filter 0.3s, opacity 0.3s;
}

.section--light .client-logo:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}


.section--with-image {
  overflow: visible;
  padding-bottom: var(--space-4xl);
}

.belief {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .belief {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

.belief__content {
  max-width: 500px;
}

.belief__title {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.belief__text {
  font-size: var(--text-lg);
  font-weight: 300;
  line-height: 1.5;
  color: var(--gray-300);
  margin-bottom: var(--space-sm);
}

.belief__highlight {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--rosa);
  margin-top: var(--space-lg);
}

/* Offset image that overlaps sections */
.belief__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-800);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .belief__image {
    transform: translateY(40%);
    z-index: 10;
  }
}

@media (min-width: 1024px) {
  .belief__image {
    transform: translateY(50%);
  }
}

.belief__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}


.section--with-image + .section {
  position: relative;
}

@media (min-width: 768px) {
  .section--with-image + .section {
    padding-top: calc(var(--space-4xl) + 100px);
  }
}

@media (min-width: 1024px) {
  .section--with-image + .section {
    padding-top: calc(var(--space-4xl) + 150px);
  }
}


.process-grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
  }
}

.process-card {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--gray-700);
}

.section--light .process-card {
  border-color: var(--gray-700);
}

.process-card__number {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--rosa-dark); /* WCAG 1.4.3 — 4.87:1 sobre branco (em vez de --rosa 3.60:1) */
  margin-bottom: var(--space-md);
}

.process-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.process-card__text {
  font-size: var(--text-base);
  color: var(--gray-400);
  line-height: 1.5;
  text-wrap: pretty;
  orphans: 2;
  widows: 2;
}

.section--light .process-card__text {
  color: var(--gray-400);
}


.work-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .work-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.work-header__title {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.work-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--gray-800);
}

.work-card__link {
  display: block;
  height: 100%;
  position: relative;
}

.work-card__image {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease-out);
}

.work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card:hover .work-card__image {
  transform: scale(1.05);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.work-card:hover .work-card__overlay,
.work-card:focus-within .work-card__overlay {
  opacity: 1;
}

.work-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}

.work-card:hover .work-card__content,
.work-card:focus-within .work-card__content {
  transform: translateY(0);
  opacity: 1;
}

.work-card__link:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: -2px;
  border-radius: var(--radius-md);
}

.work-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.work-card__result {
  font-size: var(--text-sm);
  color: var(--gray-300);
  font-style: italic;
}

/* Photo placeholder for work cards */
.work-card .photo-placeholder {
  position: absolute;
  inset: 0;
  border-radius: 0;
  aspect-ratio: auto;
}


.team-photo {
  margin-bottom: var(--space-3xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.team-photo .photo-placeholder {
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: 0;
}

@media (min-width: 768px) {
  .team-photo .photo-placeholder {
    aspect-ratio: 21/9;
  }
}

.team-intro {
  max-width: 700px;
  margin-bottom: var(--space-2xl);
}

.team-intro__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.team-intro__text {
  font-size: var(--text-lg);
  color: var(--gray-400);
  line-height: 1.5;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
  }
}

/* Grid for 5 members */
.team-grid--5 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .team-grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid--5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.team-member {
  text-align: center;
}

.team-member__image {
  margin-bottom: var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--gray-800);
}

.team-member__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-member__image .photo-placeholder {
  aspect-ratio: 4/5;
  border-radius: 0;
}

.team-member__name {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--white);
}

.team-member__role {
  font-size: var(--text-xs);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.team-member__quote {
  font-size: var(--text-sm);
  color: var(--gray-500);
  font-style: italic;
}


.filter-section {
  max-width: 800px;
}

.filter-section__title {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.filter-section__text {
  font-size: var(--text-lg);
  color: var(--gray-400);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.filter-section__divider {
  width: 60px;
  height: 2px;
  background: var(--rosa);
  margin: var(--space-lg) 0;
}

.filter-section__highlight {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
  text-wrap: pretty;
  orphans: 2;
  widows: 2;
}


.section--cta {
  background: transparent;
  text-align: center;
}

.cta__title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.cta__subtitle {
  font-size: var(--text-base);
  color: var(--gray-400);
  margin-bottom: var(--space-lg);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.cta__text {
  font-size: var(--text-lg);
  color: var(--gray-300);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}


.clients__title {
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3xl);
}

.clients__title em {
  font-style: italic;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl) var(--space-lg);
  align-items: center;
}

@media (min-width: 640px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl) var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .clients-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-2xl);
  }
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  min-height: 80px;
}

.client-logo img {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.client-logo:hover img {
  opacity: 1;
}

@media (min-width: 768px) {
  .client-logo img {
    max-height: 60px;
  }
}


.clients-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xl);
  padding: var(--space-xl) 0;
}

.clients-row img {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s;
}

.clients-row img:hover {
  opacity: 0.8;
  filter: grayscale(0%);
}

@media (min-width: 768px) {
  .clients-row img {
    height: 40px;
  }
}


.section__header {
  margin-bottom: var(--space-2xl);
}

.section__header--center {
  text-align: center;
}


.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.section--cta .btn--primary::before,
.section--cta .btn--primary::after {
  background-color: var(--white);
}
.section--cta .btn--primary {
  color: var(--black);
}

/* ===== Letter CTA Animation ===== */
/* ═══════════════════════════════════════
   HOMEPAGE CTA, Split layout + glass card
   ═══════════════════════════════════════ */
.hp-cta {
  padding: var(--space-3xl) 0 var(--space-4xl);
  position: relative;
  overflow: hidden;
}

/* ── Layout ── */
.hp-cta__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .hp-cta__layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

@media (min-width: 1024px) {
  .hp-cta__layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-4xl);
  }
}

/* ── Left column: headline ── */
.hp-cta__eyebrow {
  margin-bottom: var(--space-xs);
}

.hp-cta__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hp-cta__title .serif {
  color: var(--rosa);
}

.hp-cta__text {
  font-size: var(--text-lg);
  color: var(--gray-400);
  line-height: 1.5;
  font-weight: 300;
  max-width: 440px;
  margin-bottom: var(--space-xl);
}

/* Trust badges */
.hp-cta__trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hp-cta__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--gray-400);
  font-weight: 300;
}

.hp-cta__trust-item svg {
  color: var(--rosa);
  flex-shrink: 0;
}

/* ── Right column: glass form card ── */
.hp-cta__card {
  position: relative;
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  box-shadow:
    0 0 0 1px rgba(255, 39, 122, 0.04),
    0 20px 60px rgba(0, 0, 0, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .hp-cta__card {
    padding: var(--space-2xl);
  }
}

/* Rosa edge glow */
.hp-cta__card-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: conic-gradient(
    from 180deg at 50% 50%,
    transparent 0deg,
    rgba(255, 39, 122, 0.15) 90deg,
    transparent 180deg,
    rgba(255, 39, 122, 0.08) 270deg,
    transparent 360deg
  );
  opacity: 0;
  z-index: -1;
  transition: opacity 0.6s var(--ease-out);
  filter: blur(20px);
  animation: ctaGlowPulse 4s ease-in-out infinite;
}

.hp-cta__card:hover .hp-cta__card-glow {
  opacity: 1;
}

@keyframes ctaGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.02); }
}

/* ── Form ── */
.hp-cta__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hp-cta__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-cta__label {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
}

.hp-cta__input {
  width: 100%;
  padding: var(--space-sm) 0;
  font-size: var(--text-base);
  font-family: inherit;
  font-weight: 300;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gray-700);
  border-radius: 0;
  transition: border-color 0.35s var(--ease-out);
  -webkit-appearance: none;
}

.hp-cta__input:hover {
  border-bottom-color: var(--gray-500);
}

.hp-cta__input:focus {
  outline: none;
  border-bottom-color: var(--rosa);
  box-shadow: 0 1px 0 0 var(--rosa);
}

.hp-cta__input::placeholder {
  color: var(--gray-600);
  font-weight: 300;
}

.hp-cta__textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.6;
}

/* ── Alert ── */
.hp-cta__alert {
  display: none;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  color: #f87171;
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1.5;
}

.hp-cta__alert.is-visible {
  display: block;
}

/* ── Submit ── */
.hp-cta__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  background: var(--rosa);
  color: var(--white);
  font-size: var(--text-base);
  font-weight: 500;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  margin-top: var(--space-sm);
}

.hp-cta__submit:hover {
  background: var(--rosa-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 39, 122, 0.3);
}

.hp-cta__submit:active {
  transform: translateY(0);
}

.hp-cta__submit:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.hp-cta__submit svg {
  transition: transform 0.35s var(--ease-out);
}

.hp-cta__submit:hover svg {
  transform: translateX(4px);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .hp-cta__card-glow {
    animation: none;
    opacity: 0.5;
  }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER · compacto brutalist
   3 rows: brand+social · institucional · legal thin
   ═══════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  isolation: isolate;
  color: #fff;
  font-family: 'Inter', sans-serif;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  overflow: hidden;
  /* Rosa Insurgente com gradiente vivo a mexer */
  background:
    radial-gradient(ellipse 80% 60% at 15% 15%, rgba(255, 90, 160, 0.85) 0%, transparent 60%),
    radial-gradient(ellipse 70% 55% at 85% 85%, rgba(190, 0, 80, 0.95) 0%, transparent 60%),
    linear-gradient(135deg, #ff277a 0%, #d6005e 50%, #ff5aa0 100%);
  background-size: 200% 200%, 200% 200%, 300% 300%;
  background-position: 0% 0%, 100% 100%, 0% 50%;
  animation: footer-gradient 18s ease-in-out infinite;
}
@keyframes footer-gradient {
  0%   { background-position: 0% 0%,   100% 100%, 0% 50%; }
  50%  { background-position: 60% 40%, 40% 60%,   100% 50%; }
  100% { background-position: 0% 0%,   100% 100%, 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .footer { animation: none; }
}
/* Glow noise overlay sutil para reforçar o movimento */
.footer__glow {
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.18) 0%, transparent 35%),
    radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.12) 0%, transparent 40%);
  mix-blend-mode: screen;
  filter: blur(20px);
  animation: footer-glow 22s ease-in-out infinite;
}
@keyframes footer-glow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  50%      { transform: translate3d(4%, -3%, 0) scale(1.08); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .footer__glow { animation: none; }
}

/* ── Row 1: brand (blob + lettering) + social ── */
.footer__top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  padding: clamp(2rem, 5vh, 3rem) clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
@media (min-width: 700px) {
  .footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  flex-wrap: wrap;
  transition: opacity 0.2s ease;
}
.footer__brand:hover,
.footer__brand:focus-visible { opacity: 0.85; outline: none; }
.footer__brand-mark {
  display: block;
  height: clamp(96px, 14vw, 160px);
  width: auto;
  flex-shrink: 0;
}
.footer__brand-tag {
  font-family: var(--brut-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 0.7rem;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  margin-left: 0.3rem;
}

.footer__social {
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 9px 13px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-family: var(--brut-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer__social a:hover,
.footer__social a:focus-visible {
  background: #fff;
  color: var(--rosa);
  border-color: #fff;
  outline: none;
}
.footer__social svg { flex-shrink: 0; }

/* ── Row 2: institucional ── */
.footer__inst {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
@media (min-width: 700px) {
  .footer__inst { grid-template-columns: auto 1fr auto; align-items: center; }
}
.footer__inst-cell {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.5rem, 3.5vh, 2rem) clamp(1.25rem, 3vw, 2rem);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
@media (min-width: 700px) { .footer__inst-cell { border-bottom: 0; } }
.footer__inst-cell:last-child { border-right: 0; }
.footer__inst-cell:hover,
.footer__inst-cell:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}
.footer__inst-label {
  font-family: var(--brut-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.footer__inst-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  align-self: flex-start;
}
.footer__inst-cell--reclam {
  align-items: center;
  justify-content: center;
}
.footer__inst-cell--reclam .footer__inst-logo {
  align-self: center;
  height: 44px;
}
.footer__inst-cell--prr {
  align-items: stretch;
  justify-content: center;
}
.footer__inst-prr {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  align-self: center;
  justify-self: center;
}
.footer__inst-cell--link {
  text-align: left;
}
.footer__inst-value {
  font-family: var(--brut-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer__inst-cell--link:hover .footer__inst-value,
.footer__inst-cell--link:focus-visible .footer__inst-value {
  color: var(--brut-ink);
  transform: translateX(2px);
}

/* ── Row 3: legal thin ── */
.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(1rem, 2.5vh, 1.4rem) clamp(1rem, 3vw, 2rem);
  font-family: var(--brut-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
@media (min-width: 700px) {
  .footer__legal {
    flex-direction: row;
    align-items: center;
  }
}
.footer__legal-copy { line-height: 1.5; }
.footer__legal-updated {
  font-family: var(--brut-mono, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}
.footer__legal-updated time { font-weight: 700; }
.footer__legal-links { display: inline-flex; gap: 0.6rem; align-items: center; }
.footer__legal-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__legal-links a:hover,
.footer__legal-links a:focus-visible { color: var(--brut-ink); outline: none; }
.footer__legal-sep { color: rgba(255, 255, 255, 0.5); }



/* ═══════════════════════════════════════════════════════════
   EQUIPA · Devaneios (lista de posts do diário por membro)
   Partilhado entre todas as singles em /equipa/
   ═══════════════════════════════════════════════════════════ */
.mb-diary {
  padding: clamp(3rem, 8vh, 5rem) clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--brut-line);
  background: var(--brut-bg);
}
.mb-diary__head {
  display: flex; flex-direction: column; gap: 0.6rem;
  margin-bottom: clamp(1.8rem, 4vh, 2.5rem);
  max-width: 30ch;
}
.mb-diary__chapter {
  display: block;
  font-family: var(--brut-mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brut-muted);
}
.mb-diary__chapter b { color: var(--rosa-dark); font-weight: 700; }
.mb-diary__title {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
}
.mb-diary__title em { font-style: normal; color: var(--rosa); }

.mb-diary__list {
  list-style: none;
  padding: 0; margin: 0;
  border-top: 1.5px solid var(--brut-ink);
}
.mb-diary__list li { border-bottom: 1px solid var(--brut-line); }
.mb-diary__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  padding: clamp(1.2rem, 3vh, 1.8rem) 0;
  text-decoration: none;
  color: inherit;
  transition: padding 0.25s ease;
  position: relative;
}
@media (min-width: 720px) {
  .mb-diary__item {
    grid-template-columns: 200px 1fr auto;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: baseline;
  }
}
.mb-diary__item:hover,
.mb-diary__item:focus-visible {
  padding-left: 0.6rem;
  outline: none;
}
.mb-diary__item:hover .mb-diary__item-title,
.mb-diary__item:focus-visible .mb-diary__item-title { color: var(--rosa); }
.mb-diary__item:hover .mb-diary__item-cta,
.mb-diary__item:focus-visible .mb-diary__item-cta { color: var(--rosa); }
.mb-diary__item:hover .mb-diary__item-cta svg,
.mb-diary__item:focus-visible .mb-diary__item-cta svg { transform: translateX(4px); }

.mb-diary__item-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--brut-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brut-muted);
}
.mb-diary__item-meta time { color: var(--rosa-dark); font-weight: 700; }
.mb-diary__item-cat {
  padding: 3px 7px;
  border: 1px solid var(--brut-line);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.mb-diary__item-title {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--brut-ink);
  transition: color 0.2s ease;
}
.mb-diary__item-title em { font-style: normal; color: var(--rosa); }
.mb-diary__item-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--brut-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brut-muted);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.mb-diary__item-cta svg { transition: transform 0.25s ease; }

/* Estado vazio: editorial, com ar de revista */
.mb-diary--empty .mb-diary__empty {
  margin: 0;
  padding: clamp(1.5rem, 4vh, 2.2rem) 0;
  border-top: 1.5px solid var(--brut-ink);
  border-bottom: 1px solid var(--brut-line);
  font-family: var(--brut-mono);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  line-height: 1.5;
  color: var(--brut-muted);
  max-width: 56ch;
}
.mb-diary--empty .mb-diary__empty em {
  font-style: normal;
  color: var(--rosa);
  font-weight: 700;
}

/* ── Mobile Menu (GSAP-driven animations) ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
}

.mobile-menu__slash {
  position: absolute;
  top: 50%;
  left: 10%; right: 10%;
  height: 1px;
  background: var(--rosa);
  transform: scaleX(0);
  opacity: 0.4;
  pointer-events: none;
}

.mobile-menu__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.mobile-menu__link {
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--white);
  transition: color 0.3s;
}

.mobile-menu__link:hover,
.mobile-menu__link:focus-visible {
  color: var(--rosa);
}

.mobile-menu__link--active {
  color: var(--rosa);
}

.mobile-menu__link--cta {
  margin-top: var(--space-md);
  font-size: var(--text-xl);
  background: var(--rosa);
  padding: var(--space-sm) var(--space-2xl);
  border-radius: var(--radius-full);
  font-weight: 500;
  color: var(--white);
  transition: background 0.3s, color 0.3s;
}

.mobile-menu__link--cta:hover {
  color: var(--white);
  background: var(--rosa-light);
}

.mobile-menu__lang {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: var(--space-md);
}

.mobile-menu__lang .lang-btn {
  font-size: var(--text-sm);
  min-width: 48px;
  min-height: 48px;
}

.mobile-menu__footer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-lg) var(--space-xl);
  padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.mobile-menu__contact a {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--text-sm);
  transition: color 0.3s;
}

.mobile-menu__contact a:hover { color: var(--white); }

.mobile-menu__social {
  display: flex;
  gap: var(--space-md);
}

.mobile-menu__social a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s;
}

.mobile-menu__social a:hover { color: var(--white); }


/* Legacy bottom-nav is no longer rendered. Kept hidden for any stale markup. */
.bottom-nav {
  display: none !important;
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.25s;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
}

.bottom-nav__item svg {
  transition: transform 0.25s, color 0.25s;
}

.bottom-nav__item.is-active {
  color: var(--rosa);
}

.bottom-nav__item.is-active svg {
  transform: translateY(-1px);
}

.bottom-nav__item:active {
  color: var(--rosa);
}

.bottom-nav__item:active svg {
  transform: scale(0.9);
}


body.menu-open .bottom-nav {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.3s, transform 0.3s;
}


.steps-accordion {
  display: flex;
  gap: 0;
  min-height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.steps-accordion__item {
  flex: 1;
  position: relative;
  background: var(--gray-100);
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.5s var(--ease-out);
  min-width: 0;
  border-right: 1px solid var(--gray-200);
}

.steps-accordion__item:last-child {
  border-right: none;
}

/* Number, always top-left */
.steps-accordion__number {
  position: absolute;
  top: var(--space-lg);
  left: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--black);
  z-index: 4;
  transition: left 0.5s var(--ease-out);
}

.steps-accordion__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rosa);
  flex-shrink: 0;
}


.steps-accordion__title {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.2vw, var(--text-lg));
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: var(--black);
  white-space: nowrap;
  transform-origin: 0% 100%;
  transform: rotate(-90deg);
  transition: transform 0.5s var(--ease-out), font-size 0.5s var(--ease-out), bottom 0.5s var(--ease-out), left 0.5s var(--ease-out), white-space 0.3s;
  z-index: 4;
}


.steps-accordion__body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-xl);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s 0.15s, transform 0.3s 0.15s var(--ease-out);
  z-index: 3;
  pointer-events: none;
}

.steps-accordion__body p {
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: 1.6;
  text-wrap: pretty;
  orphans: 2;
  widows: 2;
  max-width: 420px;
}

/* ---- Expanded state ---- */
.steps-accordion__item.is-expanded {
  flex: 4;
}

.steps-accordion__item.is-expanded .steps-accordion__number {
  left: var(--space-xl);
}

.steps-accordion__item.is-expanded .steps-accordion__title {
  transform: rotate(0deg);
  bottom: auto;
  top: calc(var(--space-lg) + 2rem);
  left: var(--space-xl);
  font-size: var(--text-3xl);
  letter-spacing: -0.01em;
  white-space: normal;
  max-width: calc(100% - var(--space-xl) * 2);
}

.steps-accordion__item.is-expanded .steps-accordion__body {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.steps-accordion__item:not(.is-expanded) .steps-accordion__body {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.15s, transform 0.15s;
}


@media (max-width: 767px) {
  .steps-accordion {
    flex-direction: column;
    min-height: auto;
  }

  .steps-accordion__item {
    display: block !important;
    position: relative !important;
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    min-height: 64px;
    padding: var(--space-md) var(--space-lg);
    transition: min-height 0.3s var(--ease-out);
    overflow: visible !important;
  }

  .steps-accordion__item:last-child {
    border-bottom: none;
  }

  /* Número fica em fluxo natural à esquerda; o título seguinte fica inline a seguir. */
  .steps-accordion__number {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: inline-flex !important;
    margin: 0 var(--space-md) 0 0 !important;
    vertical-align: baseline;
    width: auto !important;
    transform: none !important;
  }

  .steps-accordion__title {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    font-size: var(--text-base) !important;
    white-space: normal !important;
    display: inline !important;
    margin: 0 !important;
    vertical-align: baseline;
    width: auto !important;
    max-width: none !important;
  }

  /* Body em block, full width — quebra para nova linha depois do número+título */
  .steps-accordion__body {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    bottom: auto !important;
    padding: 0 !important;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: none !important;
    transition: max-height 0.3s var(--ease-out), opacity 0.2s, padding 0.3s;
  }
  .steps-accordion__body p {
    max-width: 100% !important;
    width: auto;
  }

  .steps-accordion__item.is-expanded {
    flex: none;
  }

  .steps-accordion__item.is-expanded .steps-accordion__title {
    top: auto;
    font-size: var(--text-base);
    max-width: none;
  }

  .steps-accordion__item.is-expanded .steps-accordion__body {
    opacity: 1;
    max-height: 200px;
    padding: var(--space-sm) 0 0;
  }

  .steps-accordion__item.is-expanded .steps-accordion__number {
    left: auto;
  }
}


.photo-placeholder {
  background: var(--gray-800);
  border: 2px dashed var(--gray-700);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}

.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 39, 122, 0.08) 100%);
}

.photo-placeholder span {
  position: relative;
  z-index: 1;
}

.section--light .photo-placeholder {
  background: var(--gray-800);
  border-color: var(--gray-700);
  color: var(--gray-500);
}


[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered delays — mais rápidos */
[data-delay="100"] { transition-delay: 0.06s; }
[data-delay="200"] { transition-delay: 0.12s; }
[data-delay="300"] { transition-delay: 0.18s; }
[data-delay="400"] { transition-delay: 0.24s; }


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}


.cookie-consent {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  z-index: 9999;
  max-width: 420px;
  width: calc(100% - var(--space-lg));
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  font-family: var(--font-sans);
  color: var(--white);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.4s ease;
  pointer-events: none;
}

.cookie-consent.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-consent.is-hiding {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.cookie-consent__title {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--white);
}

.cookie-consent__text {
  font-size: var(--text-sm);
  line-height: 1.6;
  text-wrap: pretty;
  orphans: 2;
  widows: 2;
  color: var(--gray-300);
  margin-bottom: var(--space-md);
}

.cookie-consent__text a {
  color: var(--rosa-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.cookie-consent__text a:hover {
  color: var(--rosa);
}

.cookie-consent__text a:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Toggle group for cookie categories */
.cookie-consent__toggles {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.cookie-consent__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.cookie-consent__toggle-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-200);
  cursor: pointer;
  user-select: none;
}

.cookie-consent__toggle-label--disabled {
  color: var(--gray-400);
  cursor: default;
}

.cookie-consent__toggle-hint {
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--gray-500);
  margin-left: 0.25rem;
}

/* Custom switch */
.cookie-consent__switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.cookie-consent__switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-consent__switch-track {
  position: absolute;
  inset: 0;
  background: var(--gray-600);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.25s ease;
}

.cookie-consent__switch-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.25s var(--ease-out);
}

.cookie-consent__switch input:checked + .cookie-consent__switch-track {
  background: var(--rosa);
}

.cookie-consent__switch input:checked + .cookie-consent__switch-track::after {
  transform: translateX(20px);
}

.cookie-consent__switch input:focus-visible + .cookie-consent__switch-track {
  outline: 2px solid var(--rosa);
  outline-offset: 2px;
}

.cookie-consent__switch input:disabled + .cookie-consent__switch-track {
  background: var(--gray-700);
  cursor: not-allowed;
  opacity: 0.6;
}

/* Buttons */
.cookie-consent__actions {
  display: flex;
  gap: 0.625rem;
}

.cookie-consent__btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  text-align: center;
  line-height: 1.2;
}

.cookie-consent__btn:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: 2px;
}

.cookie-consent__btn:active {
  transform: scale(0.97);
}

.cookie-consent__btn--accept {
  background: var(--rosa);
  color: var(--white);
}

.cookie-consent__btn--accept:hover {
  background: var(--rosa-dark);
}

.cookie-consent__btn--reject {
  background: transparent;
  color: var(--gray-300);
  border: 1px solid var(--gray-600);
}

.cookie-consent__btn--reject:hover {
  background: var(--gray-700);
  color: var(--white);
}

.cookie-consent__btn--save {
  background: var(--white);
  color: var(--black);
}

.cookie-consent__btn--save:hover {
  background: var(--gray-200);
}

/* Preferences expanded state */
.cookie-consent__prefs-toggle {
  background: none;
  border: none;
  color: var(--gray-400);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  cursor: pointer;
  padding: 0;
  margin-top: 0.625rem;
  text-align: center;
  width: 100%;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.cookie-consent__prefs-toggle:hover {
  color: var(--white);
}

.cookie-consent__prefs-toggle:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: 2px;
  border-radius: 2px;
}

.cookie-consent__prefs-toggle svg {
  transition: transform 0.25s var(--ease-out);
}

.cookie-consent__prefs-toggle.is-open svg {
  transform: rotate(180deg);
}

.cookie-consent__details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out), margin 0.35s var(--ease-out);
  margin-top: 0;
}

.cookie-consent__details.is-open {
  max-height: 300px;
  margin-top: var(--space-sm);
}

/* Mobile: lift cookie banner above the bottom-pinned header */
@media (max-width: 1023px) {
  .cookie-consent {
    bottom: calc(var(--navbar-bottom-offset) + var(--space-sm));
    left: var(--space-sm);
    width: calc(100% - var(--space-md));
    max-width: none;
    padding: var(--space-md);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    transition: none;
  }
  .cookie-consent__details {
    transition: none;
  }
  .cookie-consent__switch-track::after {
    transition: none;
  }
}


/* ═══════════════════════════════════════════════════════════
   BRUTALIST UTILITIES (.b-*)
   Classes partilhadas pelas páginas v2 editorial.
   Aplica-se a body com class="b-page" + data-page="X".
   ═══════════════════════════════════════════════════════════ */

/* ── Body modifier ── */
.b-page {
  background: var(--brut-bg);
  color: var(--brut-ink);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
.b-page::before { display: none !important; }

/* ── Utilidades tipográficas ── */
.b-mono { font-family: var(--brut-mono); }

/* ── Chapter marker (eyebrow mono com b magenta) ── */
.b-chapter {
  display: block;
  font-family: var(--brut-mono);
  font-size: clamp(13px, 1vw, 20px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brut-muted);
  margin-bottom: clamp(1.5rem, 4vh, 3rem);
}
.b-chapter b { color: var(--rosa-dark); font-weight: 700; }
.b-chapter--on-dark { color: rgba(255, 255, 255, 0.55); }
.b-chapter--on-dark b { color: var(--rosa); }

/* ── Hero (padrão claro) ── */
.b-hero {
  padding: clamp(2.5rem, 7vh, 5rem) clamp(1rem, 3vw, 2rem) clamp(2.5rem, 6vh, 5rem);
}
.b-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .b-hero__grid {
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
  }
}
.b-hero__title {
  font-size: clamp(2.6rem, 11vw, 7rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 22ch;
  text-transform: uppercase;
  color: var(--brut-ink);
  /* Nunca sair do ecrã: palavras longas quebram, sem partir a meio se possível */
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

/* Mobile: encolhe o tamanho para que palavras longas (CONCRETAMENTE, FAZEMOS)
   caibam na largura do ecrã sem cortar */
@media (max-width: 600px) {
  .b-hero__title {
    font-size: clamp(1.9rem, 9.5vw, 3.2rem);
    letter-spacing: -0.035em;
  }
}
.b-hero__title em {
  font-style: normal;
  color: var(--rosa);
  font-weight: 900;
}
.b-hero__title--narrow { max-width: 18ch; }
.b-hero__lead {
  font-family: var(--brut-mono);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.55;
  color: var(--brut-muted);
  margin: 0;
  max-width: 42ch;
  letter-spacing: -0.005em;
}
.b-hero__lead strong { color: var(--brut-ink); font-weight: 700; }

/* Hero variant: full-dark (#1e1e1e) */
.b-hero--dark {
  color: #fafafa;
}
.b-hero--dark .b-chapter { color: rgba(255, 255, 255, 0.55); }
.b-hero--dark .b-chapter b { color: var(--rosa); }
.b-hero--dark .b-hero__title { color: #fff; }
.b-hero--dark .b-hero__title em { color: var(--rosa); }
.b-hero--dark .b-hero__lead { color: rgba(255, 255, 255, 0.65); }
.b-hero--dark .b-hero__lead strong { color: #fff; }

/* ── Section (genérica: chapter + head grid + body) ── */
.b-section {
  border-bottom: 1px solid var(--brut-line);
  padding: clamp(3rem, 8vh, 6rem) 0 0;
}
.b-section__head {
  padding: 0 clamp(1rem, 3vw, 2rem) clamp(2rem, 5vh, 3.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .b-section__head {
    grid-template-columns: 1fr 2fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: end;
  }
}
.b-section__title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
  max-width: 18ch;
  color: var(--brut-ink);
}
.b-section__title em { font-style: normal; color: var(--rosa); }
.b-section__lead {
  font-family: var(--brut-mono);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--brut-muted);
  max-width: 60ch;
  margin: 0;
}
.b-section--dark {
  background: #0a0a0a;
  color: #fafafa;
}
.b-section--dark .b-chapter { color: rgba(255, 255, 255, 0.55); }
.b-section--dark .b-chapter b { color: var(--rosa); }
.b-section--dark .b-section__title { color: #fafafa; }
.b-section--dark .b-section__lead { color: rgba(255, 255, 255, 0.6); }

/* ── Index editorial (tabela de links com hover preto) ── */
.b-index { border-bottom: 1px solid var(--brut-line); }
.b-index__row {
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.2rem, 3vh, 2rem) clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--brut-line-soft);
  text-decoration: none;
  color: var(--brut-ink);
  transition: background 0.3s ease, padding 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}
.b-index__row:last-child { border-bottom: 1px solid var(--brut-line); }
@media (min-width: 768px) {
  .b-index__row {
    grid-template-columns: 110px 1fr 60px;
    gap: 2rem;
  }
}
.b-index__num {
  font-family: var(--brut-mono);
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.08em;
  color: var(--brut-muted);
  transition: color 0.3s ease;
}
.b-index__name {
  font-size: clamp(2rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-transform: uppercase;
  margin: 0;
  color: var(--brut-ink);
  transition: color 0.3s ease;
}
.b-index__name em { font-style: normal; color: var(--rosa); }
.b-index__arrow {
  justify-self: end;
  font-family: var(--brut-mono);
  font-size: clamp(20px, 2vw, 28px);
  color: var(--brut-muted);
  transition: color 0.3s ease, transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.b-index__row:hover,
.b-index__row:focus-visible {
  background: var(--brut-ink);
  color: #fff;
  padding-left: clamp(1.5rem, 4vw, 3rem);
  outline: none;
}
.b-index__row:hover .b-index__num,
.b-index__row:focus-visible .b-index__num { color: rgba(255, 255, 255, 0.55); }
.b-index__row:hover .b-index__name,
.b-index__row:focus-visible .b-index__name { color: #fff; }
.b-index__row:hover .b-index__name em,
.b-index__row:focus-visible .b-index__name em { color: var(--rosa); }
.b-index__row:hover .b-index__arrow,
.b-index__row:focus-visible .b-index__arrow {
  color: var(--rosa);
  transform: translate(6px, -6px);
}

/* ── Spread full-bleed (foto cinematográfica entre blocos) ── */
.b-spread {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0a0a0a;
  border-bottom: 1px solid var(--brut-line);
  aspect-ratio: 21 / 9;
}
@media (max-width: 700px) { .b-spread { aspect-ratio: 4 / 3; } }
.b-spread img,
.b-spread video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Variante preto-e-branco editorial */
.b-spread--bw img,
.b-spread--bw video {
  filter: grayscale(1) contrast(1.05);
}

/* ── Watermark vertical lateral ── */
.b-watermark {
  position: fixed;
  right: 4px;
  bottom: 50%;
  transform: rotate(-90deg);
  transform-origin: bottom right;
  font-family: var(--brut-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brut-muted);
  z-index: 9999;
  pointer-events: none;
}
@media (max-width: 768px) { .b-watermark { display: none; } }

/* ─── Ecrãs muito largos (6K externos) ─────────────────────────────
   Override só para >= 1800px:
   - --text-base cresce até 1.55rem (sem salto visual em 1800px)
   - --container-max sobe para 2000px (mais ar lateral em ecrãs grandes) */
@media (min-width: 1800px) {
  :root {
    --text-base: clamp(1.125rem, 1vw, 1.55rem);
    --container-max: 2000px;
  }
  .sb-cta__meta {
    font-size: clamp(13px, 0.85vw, 17px);
    letter-spacing: 0.10em;
  }
  .sb-cta__meta .label {
    margin-bottom: 0.5rem;
  }
  .hp-timeline__list {
    font-size: clamp(12px, 0.7vw, 15px);
  }
}
