/* =========================================================================
   v2.0 — «Cartazes» (referência: Readymag Websites of the Year)
   A página é uma sequência de cartazes de ecrã inteiro, em cores lisas da marca,
   pela ordem do gradiente da capa: vermelho → (escuro) → verde → amarelo.
   Tipografia só da marca: Raleway (cartaz) + Open Sans (texto).
   ========================================================================= */

:root {
  /* O site é desenhado em claro: sem isto, os browsers com «modo escuro para
     sites» (Brave, Chrome) invertem as cores por conta própria e o preto sobre
     amarelo passa a branco sobre amarelo, que não se lê. */
  color-scheme: only light;

  --red: #ed2e1f;
  --orange: #f26a16;
  --green: #40b93c;
  --lime: #d5d617;
  --yellow: #f7db11;
  --ink: #151515;
  --paper: #ffffff;
  --grad: linear-gradient(135deg, var(--red) 0%, var(--orange) 18%, var(--green) 52%, var(--lime) 80%, var(--yellow) 100%);
  --grad-bar: linear-gradient(90deg, var(--red), var(--orange) 20%, var(--green) 55%, var(--lime) 82%, var(--yellow));

  --display: 'Raleway', 'Avenir Next', system-ui, sans-serif;
  --body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad: clamp(14px, 1.7vw, 28px);
  --head-h: 64px;
  --seam-h: clamp(36px, 5.5vw, 84px);
  /* --- Identidade de movimento (ver docs/identidade-de-movimento.md) ---------
     Arquétipo Corporate: limpo, previsível, sem exageros. Uma curva para tudo,
     cinco durações. Mudar aqui muda o ritmo do site inteiro. */
  --mv-ease: cubic-bezier(.2, 0, 0, 1);   /* curva-assinatura (Material Design 3) */
  --mv-hover: .12s;                        /* resposta ao rato */
  --mv-quick: .35s;                        /* estados pequenos */
  --mv-base: .5s;                          /* o padrão */
  --mv-slow: .8s;                          /* entradas maiores */
  --ease: var(--mv-ease);                  /* nome antigo, mantido por conveniência */
}

/* ---------------------------------------------------------------- base -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, figure, blockquote, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--ink); }

.v2-skip {
  position: absolute; left: var(--pad); top: 8px; z-index: 1000;
  padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff;
  font: 700 14px/1 var(--display); text-decoration: none;
  transform: translateY(-160%); transition: transform var(--mv-quick) var(--mv-ease);
}
.v2-skip:focus { transform: none; }

.v2-wrap { width: 100%; max-width: 1680px; margin-inline: auto; padding-inline: var(--pad); }

/* Tipografia de cartaz: caixa alta, pesada, entrelinha apertada. */
.v2-title, .v2-hero__kicker, .v2-hero__claim, .v2-hero__lines, .v2-service__name,
.v2-programme__title, .v2-leaders, .v2-about__name, .v2-quote__name, .v2-close__title, .v2-hero__cta {
  font-family: var(--display);
  text-transform: uppercase;
}

/* «— Título —»: os travessões da brochura, em versão de cartaz. */
.v2-title {
  display: flex;
  align-items: center;
  gap: .45em;
  font-weight: 900;
  font-size: clamp(30px, 4.6vw, 76px);
  line-height: .95;
  letter-spacing: -.01em;
  white-space: nowrap;           /* numa linha, os travessões abraçam o texto */
  margin-bottom: clamp(14px, 1.6vw, 26px);
}
.v2-split .v2-title { font-size: clamp(28px, 2.9vw, 50px); }
@media (max-width: 40em) {
  /* Em ecrãs estreitos o título pode partir; aí fica só o travessão de abertura. */
  .v2-title { white-space: normal; }
  .v2-title::after { display: none; }
}
.v2-title::before, .v2-title::after {
  content: '';
  flex: 0 0 .9em;
  height: .13em;
  background: currentColor;
}
.v2-title--spaced { margin-top: clamp(64px, 9vw, 150px); }

.v2-lead {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(19px, 1.7vw, 28px);
  line-height: 1.2;
  max-width: 34ch;
}
.v2-lead--wide { max-width: 52ch; }

/* ------------------------------------------------------------ pílulas -- */
.v2-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 700 15px/1 var(--display);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--mv-hover) var(--mv-ease), color var(--mv-hover) var(--mv-ease), transform var(--mv-hover) var(--mv-ease);
}
/* Contorno subtil: as pílulas escuras continuam a ler-se sobre o painel escuro. */
.v2-head .v2-pill { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); }
.v2-head .v2-pill--light { box-shadow: inset 0 0 0 1.5px rgba(21, 21, 21, .28); }
@media (hover: hover) { .v2-pill:hover { background: #fff; color: var(--ink); } }
.v2-pill[aria-current="page"] { background: #fff; color: var(--ink); }
.v2-pill--light { background: #fff; color: var(--ink); }
@media (hover: hover) { .v2-pill--light:hover { background: var(--ink); color: #fff; } }
.v2-pill--big { min-height: 58px; padding: 0 28px; font-size: clamp(16px, 1.3vw, 20px); }
/* Ecrãs de 320 px: um botão grande com texto comprido (a brochura) passa para duas linhas em vez de sair do ecrã. */
@media (max-width: 24em) { .v2-pill--big { max-width: 100%; padding: 14px 22px; text-align: center; line-height: 1.25; } }
.v2-pill--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
@media (hover: hover) { .v2-pill--outline:hover { background: var(--ink); color: #fff; } }

/* ------------------------------------------------------------ cabeçalho -- */
.v2-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: var(--head-h);
  padding-inline: var(--pad);
  pointer-events: none;           /* só as pílulas recebem cliques; o cartaz vê-se por trás */
}
.v2-head > * { pointer-events: auto; }
/* Afasta-se a descer, volta a subir (a classe é posta pelo v2.js). */
.v2-head { transition: transform var(--mv-base) var(--mv-ease); }
.v2-head.is-away { transform: translateY(calc(-100% - 8px)); }
@media (prefers-reduced-motion: reduce) { .v2-head { transition: none; } }
.v2-head__nav { display: flex; gap: 4px; }
.v2-head__end { position: absolute; right: var(--pad); display: flex; gap: 4px; }
/* A marca espelha o bloco da direita: o menu fica centrado entre as duas. */
.v2-head__marca { position: absolute; left: var(--pad); letter-spacing: .08em; }
.v2-head__menu { display: none; }

@media (max-width: 64em) {
  /* Sem JavaScript: as pílulas ficam visíveis e partem linha. */
  .v2-head { justify-content: flex-start; flex-wrap: wrap; height: auto; padding-block: 12px; }
  .v2-head__nav { flex-wrap: wrap; }
  .v2-head__end, .v2-head__marca { position: static; }
  /* Com JavaScript: botão «Menu» e navegação em ecrã inteiro. */
  .v2-js .v2-head { flex-wrap: nowrap; height: var(--head-h); padding-block: 0; }
  .v2-js .v2-head__menu { display: inline-flex; }
  .v2-js .v2-head__end { position: absolute; }
  .v2-js .v2-head__marca { position: static; margin-right: auto; }
  .v2-js .v2-head__nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    padding: var(--head-h) var(--pad) var(--pad);
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--mv-base) var(--mv-ease), visibility var(--mv-base);
  }
  .v2-js .v2-head.is-open .v2-head__nav { opacity: 1; visibility: visible; }
  .v2-js .v2-head__nav .v2-pill { background: transparent; box-shadow: none; font-size: clamp(28px, 8vw, 48px); font-weight: 900; text-transform: uppercase; padding: 0; min-height: 0; }
  .v2-js .v2-head__nav .v2-pill:hover, .v2-js .v2-head__nav .v2-pill[aria-current] { color: var(--yellow); background: transparent; }
}
@media (max-width: 30em) {
  .v2-head__end .v2-pill--light { padding: 0 12px; font-size: 13px; }
}

/* ------------------------------------------------------------ cartazes -- */
.v2-poster {
  position: relative;
  min-height: 100svh;
  /* Em baixo: a onda do cartaz seguinte + folga, para nada ficar tapado enquanto se lê. */
  padding-block: calc(var(--head-h) + clamp(28px, 4vw, 72px)) calc(var(--seam-h) + clamp(72px, 8vw, 136px));
  --poster-bg: var(--paper);
  background: var(--poster-bg);
}
.v2-poster--red    { --poster-bg: var(--red);    color: #fff; }
.v2-poster--ink    { --poster-bg: var(--ink);    color: #fff; }
.v2-poster--green  { --poster-bg: var(--green);  color: var(--ink); }
.v2-poster--yellow { --poster-bg: var(--yellow); color: var(--ink); }
/* Onde o conteúdo acaba rente ao fundo (manifesto e listas), mais folga ainda. */
.v2-poster--red, .v2-poster--green, .v2-poster--yellow {
  padding-bottom: calc(var(--seam-h) + clamp(104px, 11vw, 190px));
}
/* A assinatura: os cartazes empilham-se. Só com JavaScript (que calcula --stick
   para cada cartaz: 0 se couber no ecrã, negativo se for mais alto — assim só
   fica preso depois de lido até ao fim) e sem preferência por movimento reduzido. */
.is-stacking .v2-poster { position: sticky; top: var(--stick, 0px); }
/* Cada cartaz fica por cima do anterior.
   A lista é generosa de propósito: enumerava até 7 e, ao acrescentar um cartaz,
   a última secção ficou sem z-index e o cartaz amarelo passou-lhe por cima. */
main > :nth-child(1) { z-index: 1; }
main > :nth-child(2) { z-index: 2; }
main > :nth-child(3) { z-index: 3; }
main > :nth-child(4) { z-index: 4; }
main > :nth-child(5) { z-index: 5; }
main > :nth-child(6) { z-index: 6; }
main > :nth-child(7) { z-index: 7; }
main > :nth-child(8) { z-index: 8; }
main > :nth-child(9) { z-index: 9; }
main > :nth-child(10) { z-index: 10; }
/* E a rede de segurança: as secções brancas vêm todas depois dos cartazes, por
   isso ficam sempre por cima deles, independentemente de quantos existam. */
.v2-section { z-index: 50; }
.v2-poster__inner { position: relative; z-index: 1; transform-origin: 50% 0; }

/* A costura: uma onda com o gradiente da capa, a subir por cima do cartaz anterior. */
.v2-seam {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  width: 100%;
  height: var(--seam-h);
  margin-bottom: -1px;
  pointer-events: none;
}
.v2-seam__fill { fill: var(--poster-bg); }

.v2-section { position: relative; background: var(--paper); padding-block: clamp(72px, 9vw, 160px); }
.v2-section { --poster-bg: var(--paper); }

/* ------------------------------------------------------------ 1 · hero -- */
/* Folga em baixo = altura da costura do cartaz seguinte, que sobe por cima. */
.v2-hero { display: flex; overflow: hidden; }
.v2-hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto 1fr auto;
  column-gap: var(--pad);
  width: 100%;
  padding-inline: var(--pad);
  min-height: calc(100svh - var(--head-h) - clamp(28px, 4vw, 72px) - var(--seam-h) - clamp(72px, 8vw, 136px));
}
.v2-hero__logo {
  grid-column: 1; grid-row: 1;
  width: clamp(150px, 15vw, 250px);
  align-self: start;
  margin-top: calc(-1 * clamp(20px, 3vw, 56px));
}
.v2-hero__kicker {
  grid-column: 1; grid-row: 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  font-weight: 900;
  font-size: clamp(22px, 2.3vw, 40px);
  line-height: .98;
  letter-spacing: -.01em;
}
.v2-hero__year {
  grid-column: 2; grid-row: 1 / 3;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  font: 900 min(40svh, 26vw)/.78 var(--display);
  letter-spacing: -.045em;
  color: #fff;
  user-select: none;
}
.v2-hero__year span { display: block; }
.v2-hero__cta {
  grid-column: 3; grid-row: 2;
  justify-self: end;
  align-self: center;
  display: grid;
  place-items: center;
  width: clamp(170px, 16vw, 250px);
  aspect-ratio: 1.25;
  padding: 18px;
  border: 3px solid #fff;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
  font-size: clamp(20px, 1.9vw, 32px);
  line-height: .98;
  letter-spacing: -.01em;
  transition: background var(--mv-hover) var(--mv-ease), color var(--mv-hover) var(--mv-ease);
}
@media (hover: hover) { .v2-hero__cta:hover { background: #fff; color: var(--red); } }
.v2-hero__manifesto {
  grid-column: 1 / -1; grid-row: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: var(--pad) clamp(24px, 4vw, 80px);
  align-items: end;
  padding-top: clamp(18px, 2.4vw, 36px);
}
.v2-hero__claim {
  font-weight: 900;
  font-size: clamp(26px, 3.3vw, 58px);
  line-height: .95;
  letter-spacing: -.015em;
}
.v2-hero__lines {
  font-weight: 800;
  font-size: clamp(19px, 1.55vw, 27px);
  line-height: 1.12;
}

/* Formas orgânicas (da capa da brochura). Ficam longe do texto branco, que perderia
   contraste sobre o verde e o amarelo: uma por trás do logótipo branco (como na
   capa), outra pequena no canto superior direito. */
.v2-blob { position: absolute; z-index: 0; pointer-events: none; }
.v2-blob--a { top: 0; right: 0; width: min(26vw, 380px); }
.v2-blob--b { top: 0; left: 0; width: min(30vw, 440px); }

@media (max-width: 64em) {
  .v2-hero__grid { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 22px; min-height: 0; }
  .v2-hero__logo { grid-column: 1; grid-row: auto; margin-top: 0; width: clamp(140px, 40vw, 220px); }
  .v2-hero__kicker, .v2-hero__cta, .v2-hero__manifesto { grid-column: 1; grid-row: auto; }
  .v2-hero__year { grid-column: 1; grid-row: auto; font-size: min(50vw, 34svh); align-items: flex-start; }
  .v2-hero__cta { justify-self: start; aspect-ratio: auto; width: auto; padding: 16px 22px; }
  .v2-hero__manifesto { grid-template-columns: 1fr; }
  .v2-blob--a { width: 70vw; }
  .v2-blob--b { display: none; }
}

/* ------------------------------------------------------------ 2 · serviços -- */
.v2-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(28px, 5vw, 96px);
  align-items: start;
}
.v2-split__head { position: sticky; top: calc(var(--head-h) + 24px); }
.v2-poster--ink .v2-lead { color: rgba(255, 255, 255, .78); }
.v2-services { border-top: 2px solid rgba(255, 255, 255, .22); }
.v2-services > li { border-bottom: 2px solid rgba(255, 255, 255, .22); }
.v2-service summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: clamp(16px, 1.6vw, 26px) 0;
  cursor: pointer;
  list-style: none;
}
.v2-service summary::-webkit-details-marker { display: none; }
.v2-service__name {
  flex: 1;
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 42px);
  line-height: 1;
  letter-spacing: -.01em;
  transition: color var(--mv-hover) var(--mv-ease), transform var(--mv-quick) var(--mv-ease);
}
@media (hover: hover) { .v2-service summary:hover .v2-service__name { transform: translateX(6px); } }
.v2-service.is-featured .v2-service__name { color: var(--yellow); }
.v2-tag {
  flex: none;
  padding: 6px 12px 5px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font: 900 13px/1 var(--display);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.v2-service__icon { position: relative; flex: none; width: 26px; height: 26px; }
.v2-service__icon::before, .v2-service__icon::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: currentColor;
  transition: transform var(--mv-quick) var(--mv-ease);
}
.v2-service__icon::after { transform: rotate(90deg); }
.v2-service[open] .v2-service__icon::after { transform: rotate(0deg); }
.v2-service__body { padding: 0 0 clamp(20px, 2vw, 32px); max-width: 62ch; color: rgba(255, 255, 255, .86); font-size: 17px; }
.v2-service__details { margin-top: 14px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.v2-service__details li {
  padding: 7px 14px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .5);
  font: 800 14px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: #fff;
}

@media (max-width: 64em) {
  .v2-split { grid-template-columns: 1fr; }
  .v2-split__head { position: static; }
}

/* ------------------------------------------------------------ listas pontilhadas -- */
.v2-leaders { font-weight: 800; font-size: clamp(14px, 1.05vw, 17px); line-height: 1.15; letter-spacing: .01em; padding: 0; list-style: none; }
.v2-leaders li, .v2-leaders a { display: flex; align-items: baseline; gap: 8px; }
.v2-leaders li { padding: 7px 0; }
.v2-leaders i {
  flex: 1 1 24px;
  min-width: 24px;
  border-bottom: 3px dotted currentColor;
  transform-origin: 0 50%;
  opacity: .9;
}
.v2-leaders b { font-weight: 900; white-space: nowrap; }
.v2-leaders a { flex: 1; min-width: 0; text-decoration: none; }
@media (hover: hover) { .v2-leaders a:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; } }

/* ------------------------------------------------------------ 3 · executive training -- */
.v2-programmes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 64px);
  margin-top: clamp(36px, 5vw, 80px);
}
.v2-programme { border-top: 3px solid var(--ink); padding-top: 18px; }
.v2-programme__hours {
  font: 900 clamp(96px, 12vw, 210px)/.8 var(--display);
  letter-spacing: -.05em;
  margin-bottom: 18px;
}
.v2-programme__hours small { font-size: .32em; letter-spacing: 0; margin-left: .06em; }
.v2-programme__title { font-weight: 900; font-size: clamp(22px, 2vw, 34px); line-height: 1; letter-spacing: -.01em; }
.v2-programme__summary { margin: 10px 0 18px; font-weight: 600; max-width: 36ch; }
@media (max-width: 64em) { .v2-programmes { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ 4 · cursos -- */
.v2-leaders--courses {
  counter-reset: curso;
  columns: 2;
  column-gap: clamp(32px, 5vw, 96px);
  margin-top: clamp(32px, 4.5vw, 72px);
  font-size: clamp(15px, 1.2vw, 20px);
}
.v2-leaders--courses li { break-inside: avoid; counter-increment: curso; padding: 9px 0; border-top: 2px solid rgba(21, 21, 21, .18); }
.v2-leaders--courses a::before {
  content: counter(curso, decimal-leading-zero);
  flex: none;
  width: 2.4em;
  font-weight: 900;
}
@media (max-width: 52em) { .v2-leaders--courses { columns: 1; } }

/* ------------------------------------------------------------ 5 · formadora + testemunhos -- */
.v2-about__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 96px);
  align-items: start;
  margin-top: clamp(24px, 3vw, 48px);
}
/* Retrato com a cor da marca, como os retratos do júri do Readymag. Ao passar o rato, volta à cor. */
/* Retrato em duotom que passa a cores. Duas camadas sobrepostas em vez de
   mudar filtros: o cruzamento entre elas é suave nos dois sentidos, e uma
   opacidade é muito mais barata para o browser do que recalcular um filtro. */
.v2-portrait { position: relative; background: var(--red); overflow: hidden; }
.v2-portrait img { width: 100%; display: block; }
.v2-portrait__duo { filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.v2-portrait__cor {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--mv-slow) var(--mv-ease);
}
/* Ao entrar no ecrã (telemóvel e computador) e ao passar o rato (computador). */
.v2-portrait.is-cor .v2-portrait__cor { opacity: 1; }
@media (hover: hover) { .v2-portrait:hover .v2-portrait__cor { opacity: 1; } }
.v2-about__name { font-weight: 900; font-size: clamp(40px, 6vw, 104px); line-height: .88; letter-spacing: -.03em; margin-bottom: clamp(18px, 2vw, 32px); }
.v2-creds { border-top: 2px solid var(--ink); }
.v2-creds li { padding: 12px 0; border-bottom: 2px solid rgba(21, 21, 21, .14); font-weight: 600; font-size: clamp(16px, 1.1vw, 18px); line-height: 1.4; }

.v2-quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 56px) clamp(20px, 2.4vw, 44px);
  margin-top: clamp(24px, 3vw, 48px);
}
.v2-quote { border-top: 3px solid var(--ink); padding-top: 14px; }
.v2-quote figcaption { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.v2-quote__name { font-weight: 900; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.05; }
.v2-quote__role { font-size: 14px; color: #555; }
.v2-quote blockquote { margin: 0; font-size: 17px; line-height: 1.5; }
/* Aspas angulares («») como apontamento: cor de marca e mais pequenas que o
   texto, para pontuar sem competir com a citação. */
.v2-quote blockquote::before, .v2-quote blockquote::after {
  color: var(--green);
  font-weight: 700;
  font-size: .8em;
}
.v2-quote blockquote::before { content: '«'; margin-right: .1em; }
.v2-quote blockquote::after { content: '»'; margin-left: .1em; }
@media (max-width: 64em) {
  .v2-about__grid { grid-template-columns: 1fr; }
  .v2-portrait { max-width: 460px; }
  .v2-quotes { grid-template-columns: 1fr; }
}
@media (min-width: 40em) and (max-width: 64em) { .v2-quotes { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------ 6 · clientes -- */
.v2-clients {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: clamp(20px, 2.4vw, 40px) clamp(16px, 2vw, 32px);
  margin-top: clamp(32px, 4vw, 64px);
  padding: 0;
  list-style: none;
}
.v2-clients li { height: 76px; display: grid; place-items: center; }
.v2-clients img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .6;
  mix-blend-mode: multiply;
  transition: filter var(--mv-hover) var(--mv-ease), opacity var(--mv-hover) var(--mv-ease), transform var(--mv-hover) var(--mv-ease);
}
/* Acende sem devolver a cor: 11 dos 24 logótipos só existem em greyscale, e são
   os institucionais. A cor no hover faria metade da grelha acender e a outra não. */
@media (hover: hover) {
  .v2-clients li:hover img { filter: grayscale(1) contrast(1.18); opacity: 1; transform: scale(1.05); }
}

/* ------------------------------------------------------------ 7 · fecho -- */
.v2-close { padding-top: 0; }
.v2-close__title {
  font-weight: 900;
  font-size: clamp(48px, 10.5vw, 200px);
  line-height: .86;
  letter-spacing: -.04em;
  margin-bottom: clamp(20px, 2.4vw, 40px);
}
.v2-close__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 3vw, 48px); }

/* ------------------------------------------------------------ rodapé -- */
/* Experimental: escuro, uma peça só. O letreiro é o fim da página. */
.v2-foot { background: var(--ink); color: #fff; }
.v2-foot__cor { height: 10px; background: var(--grad-bar); }
.v2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.v2-estado { border-block: 1px solid #ffffff1f; background: #0e0e0d; overflow: hidden; display: flex; }
.v2-estado__pista { display: flex; will-change: transform; }
.v2-estado__grupo {
  display: flex; align-items: center; gap: 16px; padding: 11px 16px 11px 0; white-space: nowrap;
  font: 700 11.5px/1 var(--display); letter-spacing: .11em; text-transform: uppercase; color: #9a9a96;
}
.v2-estado__grupo b { color: #fff; font-weight: 800; }
.v2-estado__grupo i { font-style: normal; color: var(--yellow); }
.v2-estado__icone { font-size: 1.55em; line-height: 1; color: #fff; margin: 0 -11px 0 0; position: relative; top: .02em; }
/* A bolinha vem depois da palavra: verde quando aberto, vermelha quando fechado. */
.v2-estado__ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; margin-left: -6px; }
.v2-estado__ponto.is-fechado { background: var(--red); }
@media (prefers-reduced-motion: no-preference) {
  .v2-estado__pista { animation: v2-estado-corre 34s linear infinite; }
  .v2-estado:hover .v2-estado__pista { animation-play-state: paused; }
}
@keyframes v2-estado-corre { to { transform: translateX(-50%); } }

.v2-foot__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  gap: clamp(24px, 3vw, 56px);
  padding-block: clamp(40px, 5vw, 72px) clamp(20px, 3vw, 40px);
}
.v2-foot__head { font: 800 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #9a9a96; margin-bottom: 12px; }
.v2-foot__col ul { padding: 0; list-style: none; display: grid; gap: 4px; }
.v2-foot__col a { color: #fff; text-decoration: none; }
@media (hover: hover) { .v2-foot__col a:hover { text-decoration: underline; } }
.v2-foot address { font-style: normal; margin-bottom: 8px; }
.v2-foot__tag { font: 800 clamp(18px, 1.6vw, 24px)/1.2 var(--display); max-width: 20ch; }
.v2-foot__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 14px 18px; border-top: 1px solid #ffffff29;
  font: 700 11px/1.4 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #9a9a96;
}
.v2-foot__bottom a { color: #9a9a96; text-decoration: none; }
@media (hover: hover) { .v2-foot__bottom a:hover { color: #fff; } }

/* O letreiro: 1 no fim da página. As letras são maiores do que o quadro pode
   mostrar de uma vez; a montagem mede-se pelo quanto do letreiro já entrou. */
.v2-letreiro { position: relative; display: block; height: clamp(400px, 70svh, 720px); overflow: hidden; }
.v2-letras {
  position: absolute; left: 50%; bottom: 40px; translate: -50% 0;
  height: calc(100% - 40px - 12px); aspect-ratio: 1452 / 1883; will-change: transform;
}
.v2-letra { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* Sem JavaScript as letras ficam montadas; só se escondem quando o JS assume o controlo. */
.v2-letreiro.is-anim .v2-letra { opacity: 0; }
.v2-letreiro::before { content: ""; position: absolute; inset: 0 0 auto; height: 34%; z-index: 1; pointer-events: none;
  background: linear-gradient(var(--ink), #15151500); }
@media (max-width: 64em) { .v2-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36em) {
  .v2-foot__grid { grid-template-columns: 1fr; }
  /* Telemóvel: o logótipo ocupa 80% da largura, com folga dos lados; a altura do letreiro acompanha. */
  .v2-letreiro { height: calc(80vw * 1.297 + 52px); }
  .v2-letras { width: 80vw; height: auto; }
}

/* ------------------------------------------------------------ WhatsApp -- */
.v2-wa {
  position: fixed; right: var(--pad); bottom: var(--pad); z-index: 90;
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  transition: transform var(--mv-hover) var(--mv-ease);
}
@media (hover: hover) { .v2-wa:hover { transform: scale(1.07); } }
.v2-wa svg { width: 30px; height: 30px; }
/* No fim da página o botão recolhe-se, para não tapar o logótipo (ver v2-rodape.js). */
.v2-wa { transition: transform var(--mv-hover) var(--mv-ease), opacity .3s var(--mv-ease); }
.v2-fim .v2-wa { opacity: 0; pointer-events: none; transform: scale(.85); }

/* ------------------------------------------------------------ movimento reduzido -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .v2-service summary:hover .v2-service__name { transform: none; }
}
