/* ==============================================
   DREAMDOMUS — CSS Principal v2
   Design fiel ao Figma Dreamdomus 2
   ============================================== */

/* ── VARIÁVEIS ─────────────────────────────── */
:root {
  --color-primary: #ff3c00;
  --color-dark:    #0e1f2a;
  --color-white:   #ffffff;
  --color-black:   #000000;
  --color-gray-100:#f5f5f5;
  --color-gray-200:#e0e0e0;
  --color-gray-600:#666666;

  --font-heading: 'Questrial', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --container-max:     1920px;
  --container-padding: clamp(24px, 6.25vw, 120px);

  --transition: 0.3s ease;
  --radius-btn: 5px;
  --radius-card: 6px;
  --header-height: 70px;
}

/* ── RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: var(--color-black); background: var(--color-white); overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.1; }

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

/* ── BOTÕES ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  padding: 14px 24px;
  height: 54px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  border: none;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover  { opacity: 0.85; transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: 1; }

.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-lg      { padding: 16px 32px; }
.btn-sm      { padding: 8px 18px; height: auto; font-size: 14px; }

.btn-arrow { flex-shrink: 0; transition: transform var(--transition); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ── TIPOGRAFIA ────────────────────────────── */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-black);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.33;
  color: var(--color-dark);
  margin-bottom: 24px;
}
.sobre-section .section-title,
.projects-section .section-title,
.porque-section .section-title {
  font-weight: 300;
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(14,31,42,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo svg, .site-logo img { height: 36px; width: auto; }

/* Nav */
.site-nav { display: flex; align-items: center; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.5vw, 56px);
}

.nav-menu li a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-white);
  transition: opacity var(--transition);
  white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item a { opacity: 0.7; }

/* Hamburger mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger-bar {
  display: block;
  width: 26px; height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero-section {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: visible; /* permite que o deco-hero se sobreponha à secção seguinte */
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5,12,18,0.75) 0%, rgba(5,12,18,0.0) 40%, rgba(5,12,18,0.0) 55%, rgba(5,12,18,0.85) 100%);
  z-index: 1;
}

/* Texto circular superior direito */
.hero-circular {
  position: absolute;
  top: clamp(80px, 12vh, 160px);
  right: clamp(40px, 5vw, 100px);
  z-index: 2;
  animation: spin 20s linear infinite;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Elemento de transição hero → sobre nós (canto inferior direito) */
.hero-deco-br {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 5;
  pointer-events: none;
  line-height: 0;
  /* Desce metade da sua altura: alinha a intercepção branco/laranja com o fim do hero */
  transform: translateY(50%);
}
.hero-deco-br img {
  width: clamp(120px, 15vw, 200px);
  height: auto;
  display: block;
}

/* Conteúdo hero */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: calc(var(--header-height) + 20px) clamp(20px, 5vw, 80px) 60px;
  max-width: 900px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(52px, 8vw, 100px);
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 28px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 300;
  line-height: 1.25;
  color: var(--color-white);
  max-width: 700px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   SOBRE NÓS
   ═══════════════════════════════════════════ */
.sobre-section {
  position: relative;
  padding-top: clamp(60px, 7vw, 110px);
  padding-bottom: calc(clamp(60px, 7vw, 110px) + 30px); /* +30px antes dos números */
  overflow: hidden;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 9vw, 140px);
  align-items: center;
}

.sobre-image-wrap {
  position: relative;
  /* O wrap agora é a "máscara": dimensões definidas + overflow hidden + clip-path */
  width: 100%;
  max-width: clamp(280px, 32vw, 420px);
  height: clamp(360px, 50vw, 580px);
  margin-left: auto; /* encostada à direita (substitui flex-end) */
  overflow: hidden;
  /* Corte diagonal no canto superior esquerdo (≈50px) — movido da imagem para o wrap */
  clip-path: polygon(50px 0, 100% 0, 100% 100%, 0 100%, 0 50px);
}

.sobre-image {
  /* Imagem 15% mais alta que o wrap — sobra usada para parallax (efeito mais subtil) */
  width: 100%;
  height: 115%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

/* Triângulo canto superior direito (grande, parcialmente fora do ecrã) */
.sobre-deco-tr {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
  line-height: 0;
}
.sobre-deco-tr img {
  width: clamp(80px, 12vw, 160px);
  height: auto;
  display: block;
}

/* Triângulo canto inferior direito (pequeno) */
.sobre-deco-br {
  position: absolute;
  bottom: 0;
  right: 0;
  pointer-events: none;
  line-height: 0;
}
.sobre-deco-br img {
  width: clamp(40px, 6vw, 80px);
  height: auto;
  display: block;
}

.sobre-text {
  padding-right: 90px;
}
.sobre-text .section-label { margin-bottom: 8px; }

.sobre-body {
  font-size: 16px;
  line-height: 24px;
  color: var(--color-black);
  margin-bottom: 32px;
}
.sobre-body p + p { margin-top: 16px; }


/* ═══════════════════════════════════════════
   ESTATÍSTICAS
   ═══════════════════════════════════════════ */
.stats-section {
  position: relative;
  padding-top: clamp(50px, 6vw, 90px);
  padding-bottom: calc(clamp(50px, 6vw, 90px) + 40px); /* +40px de espaço antes da imagem */
  margin-top: -90px; /* sobe 90px em relação à secção anterior */
  overflow: visible;
  z-index: 1;
}

/* Transição stats → faixa de imagem */
.stats-deco-bl {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 5;
  pointer-events: none;
  line-height: 0;
  transform: translateY(50%);
}
.stats-deco-bl img {
  width: clamp(120px, 15vw, 200px);
  height: auto;
  display: block;
}

.stats-deco-l {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  line-height: 0;
}
.stats-deco-l img {
  width: clamp(100px, 13vw, 200px);
  height: auto;
  display: block;
}
.stats-deco-r {
  position: absolute;
  right: 0;
  top: 40%;
  transform: translateY(-50%);
  pointer-events: none;
  line-height: 0;
}
.stats-deco-r img {
  width: clamp(36px, 4vw, 60px);
  height: auto;
  display: block;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* colunas fixas — não redimensionam durante a contagem */
  max-width: 860px;                       /* largura total do bloco */
  margin: 0 auto;                         /* centra na página */
  text-align: center;
  gap: 110px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 200px; /* largura fixa: impede o grid de redimensionar durante a contagem */
}

.stat-number {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(58px, 7.2vw, 90px);
  line-height: 1.2;
  color: var(--color-black);
  font-variant-numeric: tabular-nums; /* todos os dígitos ocupam a mesma largura */
}

.stat-label {
  font-family: var(--font-body);
  font-weight: 400; /* mais leve: 600→400 */
  font-size: clamp(14px, 1.6vw, 22px); /* −10%: 16→14, 1.8vw→1.6vw, 24→22 */
  line-height: 1.25;
  color: var(--color-black);
}

/* ═══════════════════════════════════════════
   FAIXA DE IMAGENS
   ═══════════════════════════════════════════ */
/* Faixa de imagem full-bleed */
.image-strip-wrap {
  width: 100%;
  overflow: hidden;
}

.image-strip-single {
  width: 100%;
  height: clamp(240px, 32vw, 460px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ═══════════════════════════════════════════
   PROJETOS
   ═══════════════════════════════════════════ */
.projects-section {
  padding: clamp(60px, 7vw, 110px) 0;
}

.section-header,
.projects-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: clamp(20px, 3vw, 40px);
}

/* Grelha de 4 colunas = mesma dos cards → label alinha com 1º card, título na col 3 */
.projects-header {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.projects-header .section-label {
  grid-column: 1;
  text-align: right;
}
.projects-header .section-title {
  grid-column: 3 / 5;
}

.section-title--right { text-align: right; margin-bottom: 0; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.project-card { display: flex; flex-direction: column; }
.project-card-link { display: flex; flex-direction: column; }

.project-card-image {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--color-gray-200);
  overflow: hidden;
}

/* Fundo da card (background-image) — escalável com transform */
.project-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.project-card:hover .project-card-bg { transform: scale(1.10); }

/* Imagens via <img> também funcionam */
.project-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.project-card:hover .project-card-image img { transform: scale(1.10); }

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,31,42,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: 0;
}
.project-card:hover .project-card-overlay { opacity: 1; }

.project-card-arrow {
  width: 50px; height: 50px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card-info { padding: 24px 0 0; }

.project-card-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 22px;
  line-height: 30px;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.project-card-meta { font-size: 14px; color: var(--color-gray-600); }

.projects-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(32px, 4vw, 60px);
}

/* ═══════════════════════════════════════════
   PORQUÊ DREAMDOMUS — secção toda a branco
   ═══════════════════════════════════════════ */
.porque-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-white);
  min-height: clamp(420px, 45vw, 650px);
}

/* Painel esquerdo — fundo branco */
.porque-left {
  position: relative;
  background: var(--color-white);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  /* +30px adicionais entre o grafismo e o conteúdo (acumulado: +70px do original) */
  gap: clamp(90px, 6vw, 110px);
  padding: clamp(40px, 5vw, 80px);
  /* +200px de espaço branco antes do rodapé (100 originais + 100 novos) */
  padding-bottom: calc(clamp(40px, 5vw, 80px) + 200px);
}

/* Decoração PNG — encostada à esquerda, alinhada ao topo do conteúdo */
.porque-deco {
  flex-shrink: 0;
  line-height: 0;
  pointer-events: none;
  margin-left: calc(-1 * clamp(40px, 5vw, 80px));
  align-self: flex-start;
}
.porque-deco img {
  /* Tamanho real do PNG: 279×335 — mostrar próximo do tamanho nativo no desktop */
  width: clamp(180px, 20vw, 279px);
  height: auto;
  display: block;
}

.porque-left-content {
  flex: 1;
}

/* Título e label da secção Porquê reutilizam .section-title / .section-label
   para garantir consistência com Sobre Nós e Projetos */

/* Painel direito — fundo branco */
.porque-right {
  padding: clamp(40px, 5vw, 80px);
  /* +48px no topo para alinhar "Rigor e experiência" com "Porquê escolher a Dreamdomus"
     (compensa label "Nosso foco" 24px + margin-bottom 16px + ajuste visual) */
  padding-top: calc(clamp(40px, 5vw, 80px) + 48px);
  /* +200px de espaço branco antes do rodapé (100 originais + 100 novos) */
  padding-bottom: calc(clamp(40px, 5vw, 80px) + 200px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-white);
}

/* Limitar largura dos itens conforme Figma (~479px) */
.porque-right > * {
  width: 100%;
  max-width: 479px;
}

.feature-item { padding: clamp(16px, 2.2vw, 28px) 0; }
.feature-item:first-child { padding-top: 0; }
.feature-item:last-child  { padding-bottom: 0; }

.feature-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 30px;
  color: var(--color-black);
  margin-bottom: 10px;
}

.feature-text {
  font-size: 16px;
  line-height: 24px;
  color: var(--color-black);
}

.feature-divider {
  border: none;
  border-top: 1px solid var(--color-gray-200);
  margin: 0;
}

/* ═══════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════ */
.cta-section {
  position: relative;
  /* z-index garante que a decoração que sai para cima fica visível
     por cima da secção anterior (porque-right) */
  z-index: 2;
  background: var(--color-dark);
  padding: clamp(70px, 9vw, 130px) var(--container-padding);
  /* overflow visível para deixar o paralelogramo direito sair para cima */
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-deco {
  position: absolute;
  top: 0;
  pointer-events: none;
  line-height: 0;
  z-index: 1;
}
.cta-deco img { width: 100%; height: 100%; display: block; }
/* Decoração superior esquerda: 3 triângulos (laranja + 2 brancos)
   Sobe 2px para ajuste fino vs. Figma. */
.cta-deco--tl {
  left: 0;
  top: -2px;
  width: clamp(220px, 22vw, 420px);
  aspect-ratio: 420 / 243;
}
/* Decoração superior direita: paralelogramo laranja (sai 36% para cima — 79/217 do Figma) */
.cta-deco--tr {
  right: 4.2vw;
  width: clamp(60px, 5.7vw, 109px);
  aspect-ratio: 109 / 217;
}
.cta-deco--tr img { transform: translateY(-36%); }

/* Botão circular nos cartões de projeto */
.project-card-btn {
  position: absolute;
  bottom: 16px;
  left: 16px;
  line-height: 0;
  z-index: 2;
}
.project-card-btn svg {
  display: block;
  transition: transform var(--transition);
}
.project-card--featured .project-card-image:hover .project-card-btn svg {
  transform: scale(1.1);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 55px;
  color: var(--color-white);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer { background: var(--color-dark); }

.footer-main { padding: clamp(32px, 3.5vw, 56px) 0 clamp(28px, 3vw, 44px); }

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* — Brand (logo + IMPIC + Certif) — */
.footer-brand {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 36px);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  /* Logo Dreamdomus afastado 120px para a esquerda, mantendo IMPIC/Certif/copyright/sociais nas posições originais */
  position: relative;
  left: -120px;
}
.footer-logo-img {
  display: block;
  height: clamp(40px, 3.2vw, 50px);
  width: auto;
}

.footer-credentials {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-impic img {
  display: block;
  height: clamp(40px, 3.5vw, 54px);
  width: auto;
}
.footer-certif img {
  display: block;
  height: clamp(48px, 4.2vw, 66px);
  width: auto;
}

/* — Centro: copyright + links na MESMA linha — */
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12px;
  line-height: 18px;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.footer-copy a,
.footer-copy-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-copy a:hover,
.footer-copy-link:hover { color: var(--color-white); }

.footer-nav {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--color-white); }

/* — Redes sociais — */
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.footer-social a:hover { opacity: 1; }
.footer-social svg,
.footer-social img {
  width: 26px;
  height: 26px;
  display: block;
}

/* ═══════════════════════════════════════════
   PÁGINAS INTERIORES — PAGE HERO
   ═══════════════════════════════════════════ */
.page-hero {
  position: relative;
  min-height: 50svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(40px, 6vw, 80px);
  padding-top: calc(var(--header-height) + 40px);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg--default { background: var(--color-dark); }

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,31,42,0.85) 0%, rgba(14,31,42,0.3) 100%);
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero-title {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--color-white);
  margin-top: 8px;
}

.page-hero-meta { color: rgba(255,255,255,0.7); font-size: 18px; margin-top: 8px; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--color-white); }

/* ═══════════════════════════════════════════
   PÁGINA GENÉRICA
   ═══════════════════════════════════════════ */
.page-content  { padding: clamp(60px, 8vw, 100px) 0; }
.page-body     { max-width: 820px; }
.page-body h2  { font-size: 28px; margin: 32px 0 16px; }
.page-body h3  { font-size: 22px; margin: 24px 0 12px; }
.page-body p   { margin-bottom: 16px; line-height: 1.7; }
.page-body ul, .page-body ol { padding-left: 24px; margin-bottom: 16px; }
.page-body li  { margin-bottom: 8px; }

/* ═══════════════════════════════════════════
   SINGLE PROJETO
   ═══════════════════════════════════════════ */
.single-projeto { padding: clamp(60px, 8vw, 100px) 0; }

.projeto-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  margin-bottom: 80px;
}

.projeto-content p { margin-bottom: 16px; line-height: 1.7; }

.projeto-sidebar { position: sticky; top: calc(var(--header-height) + 20px); align-self: start; }

.projeto-details {
  background: var(--color-gray-100);
  border-radius: var(--radius-card);
  padding: 28px;
}

.projeto-details-title { font-family: var(--font-body); font-weight: 600; font-size: 18px; margin-bottom: 20px; }

.projeto-details-list { display: flex; flex-direction: column; gap: 0; }
.projeto-details-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-gray-200);
}
.projeto-details-list li:last-child { border-bottom: none; }

.detail-label { font-size: 14px; color: var(--color-gray-600); }
.detail-value  { font-weight: 600; color: var(--color-dark); }

.related-projects { margin-top: 80px; }
.related-title  { font-size: 28px; margin-bottom: 32px; }

/* ═══════════════════════════════════════════
   ARQUIVO PORTFOLIO
   ═══════════════════════════════════════════ */
.portfolio-archive { padding: clamp(60px, 8vw, 100px) 0; }
.projects-grid--archive { grid-template-columns: repeat(3, 1fr); }
.no-results { font-size: 18px; color: var(--color-gray-600); text-align: center; padding: 60px 0; }

/* Paginação */
.navigation.pagination { margin: 60px 0; display: flex; justify-content: center; }
.nav-links { display: flex; gap: 8px; }
.page-numbers {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--color-gray-200); border-radius: 4px;
  font-weight: 600; transition: all var(--transition);
}
.page-numbers.current, .page-numbers:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ═══════════════════════════════════════════
   CONTACTOS
   ═══════════════════════════════════════════ */
.contactos-page { padding: clamp(60px, 8vw, 100px) 0; }

.contactos-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contactos-title    { font-size: clamp(24px, 3vw, 36px); margin-bottom: 10px; }
.contactos-subtitle { color: var(--color-gray-600); margin-bottom: 36px; }

.contactos-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; font-size: 15px; color: var(--color-dark); }
.form-group label span { color: var(--color-primary); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-dark);
  background: var(--color-white);
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--color-primary); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-weight: 400 !important;
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  margin-top: 2px; accent-color: var(--color-primary);
}
.checkbox-label a { color: var(--color-primary); text-decoration: underline; }

.form-message {
  padding: 12px 16px; border-radius: var(--radius-btn);
  font-weight: 600; display: none;
}
.form-message.success { background: #e8f5e9; color: #2e7d32; display: block; }
.form-message.error   { background: #ffebee; color: #c62828; display: block; }

.contact-info-block { margin-bottom: 28px; }
.contact-info-block h3 { font-size: 18px; margin-bottom: 6px; color: var(--color-dark); }
.contact-info-block p  { color: var(--color-gray-600); line-height: 1.6; }
.contact-info-block a  { color: var(--color-primary); }
.contact-info-block a:hover { text-decoration: underline; }

.contact-map { border-radius: var(--radius-card); overflow: hidden; margin-top: 28px; }

/* ═══════════════════════════════════════════
   BLOG / INDEX
   ═══════════════════════════════════════════ */
.main-content { padding: clamp(60px, 8vw, 100px) 0; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-bottom: 60px;
}

.post-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  transition: box-shadow var(--transition);
}
.post-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); }

.post-card-image { display: block; overflow: hidden; aspect-ratio: 16/9; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .post-card-image img { transform: scale(1.04); }

.post-card-body { padding: 22px; }
.post-date { font-size: 13px; color: var(--color-gray-600); }
.post-card-title { font-size: 20px; margin: 8px 0 12px; }
.post-card-title a:hover { color: var(--color-primary); }
.post-card-excerpt { font-size: 15px; color: var(--color-gray-600); margin-bottom: 20px; }

/* ═══════════════════════════════════════════
   HERO — Split-text word reveal
   ═══════════════════════════════════════════ */

/* Wrapper de cada palavra: máscara de clip */
.sw {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* espaço extra para não cortar descendentes (ç, g, p…) */
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
}

/* Palavra interior: começa abaixo e sobe */
.si {
  display: inline-block;
}

/* Container do subtitle rotativo */
.hero-subtitle {
  overflow: hidden;
}

/* ═══════════════════════════════════════════
   ANIMAÇÕES DE ENTRADA — Scroll Reveal
   ═══════════════════════════════════════════ */

/* Base: escondido antes de entrar no viewport */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

/* Deslizar para cima — 50px (títulos, cards) */
[data-reveal="up"] {
  transform: translateY(50px);
}

/* Deslizar para cima — 24px (labels, parágrafos, botões) */
[data-reveal="up-sm"] {
  transform: translateY(24px);
}

/* Fade + micro-scale (imagens, painéis) */
[data-reveal="fade"] {
  transform: scale(0.97) translateY(18px);
}

/* Estado visível — comum a todos */
[data-reveal].is-visible {
  opacity: 1;
  transform: none !important;
}

/* Compat. com sistema antigo */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.animate-in.visible,
.animate-in.is-visible {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════
   RESPONSIVO TABLET ≤ 1100px
   ═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .sobre-grid  { grid-template-columns: 1fr; }
  .sobre-image-wrap { padding-left: 0; }
  .sobre-deco-tr, .sobre-deco-br { display: none; }
  .hero-deco-br { display: none; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid--archive { grid-template-columns: repeat(2, 1fr); }
  .porque-section { grid-template-columns: 1fr; }
  .porque-left { min-height: 360px; }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .footer-brand {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .footer-credentials { justify-content: center; }
  .footer-social { justify-content: center; }
  .section-header { grid-template-columns: 1fr; }
  .projects-header { grid-template-columns: 1fr; gap: 8px; }
  .projects-header .section-label { grid-column: 1; text-align: left; }
  .projects-header .section-title { grid-column: 1; }
  .section-title--right { text-align: left; }
  .projeto-layout { grid-template-columns: 1fr; }
  .projeto-sidebar { position: static; }
  .contactos-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   RESPONSIVO MOBILE ≤ 768px
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Header */
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-height); left: 0; right: 0;
    background: var(--color-dark);
    padding: 24px var(--container-padding);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    z-index: 999;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-menu { flex-direction: column; align-items: flex-start; gap: 20px; width: 100%; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-number { font-size: 64px; }

  /* Image strip */
  .image-strip { grid-template-columns: 1fr; height: 260px; }
  .image-strip-item:not(:first-child) { display: none; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; }
  .projects-grid--archive { grid-template-columns: 1fr; }

  /* Posts */
  .posts-grid { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* CTA */
  .cta-title { line-height: 1.2; }
}

/* ═══════════════════════════════════════════
   CURSOR PERSONALIZADO
   Apenas em dispositivos com rato real
   ═══════════════════════════════════════════ */
@media (hover: hover) and (pointer: fine) {

  /* Esconder cursor nativo em todo o lado */
  html, body, a, button, input, textarea, select, label,
  [role="button"], [tabindex] {
    cursor: none !important;
  }

  /* Contentor do cursor (fixo, fora do fluxo) */
  #custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999999;
    will-change: transform;
  }

  /* ─── Ponto central (segue o rato rapidamente) ─── */
  .cursor-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease, transform 0.25s ease;
    will-change: left, top;
  }

  /* Esconde o ponto quando uma bolha está activa */
  #custom-cursor.is-label .cursor-dot,
  #custom-cursor.is-arrow .cursor-dot,
  #custom-cursor.is-dot .cursor-dot {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }

  /* ─── Bolha base (segue com lag) ─── */
  .cursor-bubble {
    position: absolute;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity  0.25s ease;
    pointer-events: none;
    will-change: left, top, transform;
  }

  /* Bolha de texto: forma rectangular */
  .cursor-bubble--label {
    height: 38px;
    padding: 0 16px;
    border-radius: 0;
    min-width: auto;
    white-space: nowrap;
  }

  .cursor-label-text {
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    text-transform: uppercase;
  }

  /* Bolha de seta: círculo */
  .cursor-bubble--arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
  }

  /* Bolha intermédia: círculo (redes sociais + links do rodapé) — laranja com seta branca */
  .cursor-bubble--dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
  }

  /* ─── Estados activos ─── */
  #custom-cursor.is-label .cursor-bubble--label {
    transform: translate(-50%, -50%) scale(1);
  }

  #custom-cursor.is-arrow .cursor-bubble--arrow {
    transform: translate(-50%, -50%) scale(1);
  }

  #custom-cursor.is-dot .cursor-bubble--dot {
    transform: translate(-50%, -50%) scale(1);
  }

  /* Cursor oculto (fora da janela) */
  #custom-cursor.cursor-hidden {
    opacity: 0;
  }

  /* Pequeno "press" ao clicar */
  #custom-cursor.cursor-click .cursor-dot {
    transform: translate(-50%, -50%) scale(0.6);
  }
}

/* ═══════════════════════════════════════════
   LINK-ARROW (botão tipo "Saiba mais →")
   ═══════════════════════════════════════════ */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-dark);
  text-decoration: none;
  transition: gap var(--transition), opacity var(--transition);
}
.link-arrow svg { transition: transform var(--transition); flex-shrink: 0; }
.link-arrow:hover { gap: 14px; }
.link-arrow:hover svg { transform: translateX(4px); }
.sobre-link { margin-top: 32px; }

/* ═══════════════════════════════════════════
   PÁGINA SOBRE NÓS
   ═══════════════════════════════════════════ */

/* ── 1. Hero capa (foto + título sobreposto + 2 gradientes + decoração) ── */
.about-hero {
  position: relative;
  width: 100%;
  height: clamp(480px, 56vw, 820px);
  /* z-index: stacking sobre intro (a metade laranja da deco passa por cima do branco). */
  z-index: 2;
  /* overflow visível: deixa a deco sair para a próxima secção. */
  overflow: visible;
}
.about-hero-image-wrap { position: absolute; inset: 0; overflow: hidden; }
.about-hero-image { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Gradientes (legibilidade do header em cima e do título em baixo) */
.about-hero-overlay-top,
.about-hero-overlay-bottom {
  position: absolute;
  left: 0; right: 0;
  pointer-events: none;
  z-index: 1;
}
.about-hero-overlay-top {
  top: 0;
  height: 240px;
  background: linear-gradient(to bottom, rgba(14,31,42,0.55), rgba(14,31,42,0));
}
.about-hero-overlay-bottom {
  bottom: 0;
  height: 360px;
  background: linear-gradient(to top, rgba(14,31,42,0.85), rgba(14,31,42,0));
}

/* Título sobreposto à imagem, alinhado com o bloco intro abaixo */
.about-hero-content {
  position: absolute;
  bottom: clamp(48px, 8vw, 120px);
  left: 0; right: 0;
  z-index: 2;
}
.about-hero-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.18;
  color: var(--color-white);
  margin: 0 0 0 clamp(0px, 12vw, 200px);
  white-space: nowrap; /* uma linha em desktop */
}
@media (max-width: 720px) { .about-hero-title { white-space: normal; } }

/* Decoração canto inf. direito: intersecção branco/laranja fica sobre o fim da imagem. */
.about-hero-deco {
  position: absolute;
  bottom: 0; right: 0;
  width: clamp(140px, 16vw, 300px);
  aspect-ratio: 298 / 296;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
  transform: translateY(calc(50% - 1px));
}
.about-hero-deco img { width: 100%; height: 100%; display: block; }

/* ── 2. Intro (label + descrição grande alinhados à esquerda, +200px right) ── */
.about-intro {
  background: var(--color-white);
  padding: clamp(70px, 9vw, 130px) 0;
}
.about-intro-inner {
  max-width: 826px;
  margin: 0 0 0 clamp(0px, 12vw, 200px);
  text-align: left;
}
.about-intro-label { display: inline-block; margin-bottom: 28px; }
.about-intro-body {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.18;
  color: var(--color-dark);
  margin: 0;
}
/* Reveal mais visível no intro (slide 40px + 1.1s) */
.about-intro-inner [data-reveal] { transition-duration: 1.1s; }
.about-intro-inner [data-reveal="up-sm"] { transform: translateY(40px); }

/* ── 3. Strip (faixa full-bleed com texto direita + overlay + parallax + deco) ── */
.about-strip {
  position: relative;
  width: 100%;
  background: var(--color-dark);
  overflow: visible; /* permite que a deco saia para cima */
}
.about-strip-image-wrap {
  position: relative;
  width: 100%;
  height: clamp(480px, 42vw, 802px);
  overflow: hidden;
}
.about-strip-image {
  width: 100%;
  height: 115%; /* extra vertical para parallax */
  object-fit: cover;
  display: block;
  will-change: transform;
}
.about-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(14,31,42,0.65), rgba(14,31,42,0.25) 60%, rgba(14,31,42,0.15));
  pointer-events: none;
}
.about-strip .container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.about-strip-text {
  margin-left: auto;
  width: clamp(280px, 30vw, 484px);
  color: var(--color-white);
  pointer-events: auto;
}
.about-strip-text p {
  font-family: var(--font-body);
  font-size: clamp(22px, 1.8vw, 27px);
  line-height: 1.5;
  margin: 0;
}
/* Paralelogramo laranja — sai para cima, parte sobre branco / parte sobre a imagem. */
.about-strip-deco {
  position: absolute;
  top: 0;
  left: clamp(40px, 10vw, 186px);
  width: clamp(120px, 11vw, 219px);
  aspect-ratio: 219 / 109;
  pointer-events: none;
  line-height: 0;
  z-index: 3;
  transform: translateY(calc(-100% + 60px));
}
.about-strip-deco img { width: 100%; height: 100%; display: block; }

/* ── 4-6. Missão / Visão / Valores (pin scroll: sticky 100vh, 3 estados crossfade) ── */
.about-mvv {
  position: relative;
  background: var(--color-white);
}
.about-mvv-track {
  position: relative;
  height: 300vh; /* 3 estados × 100vh de scroll */
}
.about-mvv-sticky {
  position: sticky;
  top: var(--header-height); /* abaixo do header fixo */
  height: calc(100vh - var(--header-height));
  overflow: hidden;
  box-sizing: border-box;
  padding: 100px 0; /* branco simétrico (top/bottom) visível durante o pin */
}
.about-mvv-grid {
  position: relative;
  display: grid;
  /* [whitespace flex] [texto fixo] [espaçador ~200px] [imagem até ao limite direito] */
  grid-template-columns:
    minmax(0, 1fr)
    clamp(240px, 26vw, 482px)
    clamp(40px, 8vw, 200px)
    clamp(440px, 64vw, 1230px);
  align-items: stretch;
  width: 100%;
  height: 100%;
}

/* Texto: 3 itens empilhados, crossfade controlado por .is-active */
.about-mvv-text {
  grid-column: 2;
  position: relative;
  height: 100%;
  min-height: clamp(220px, 30vw, 320px);
}
.about-mvv-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.about-mvv-item.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.about-mvv-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.15;
  color: var(--color-dark);
  margin: 0 0 24px;
}
.about-mvv-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-dark);
  margin: 0;
  max-width: 482px;
}

/* Imagens: 3 imagens empilhadas, crossfade + zoom-out subtil */
.about-mvv-images {
  grid-column: 4;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.about-mvv-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 0.9s ease;
  display: block;
}
.about-mvv-image.is-active { opacity: 1; transform: scale(1); }

/* Indicador lateral — 3 traços verticais à direita do viewport */
.about-mvv-indicator {
  position: absolute;
  top: 50%;
  right: clamp(16px, 1.6vw, 32px);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2;
}
.about-mvv-dot {
  display: block;
  width: 2px;
  height: 28px;
  background: rgba(14, 31, 42, 0.25);
  transition: background 0.4s ease, height 0.4s ease;
}
.about-mvv-dot.is-active { background: var(--color-primary); height: 44px; }

/* ── 7. Serviços (label esquerda, conteúdo direita +200px, items em 2 cols) ── */
.about-services {
  position: relative;
  background: var(--color-white);
  padding: clamp(70px, 9vw, 130px) 0;
  overflow: hidden;
}
.about-services .container { position: relative; }
.about-services-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(40px, 8vw, 200px);
  align-items: start;
  padding-left: clamp(0px, 10vw, 200px);
}
.about-services-label { margin: 0; padding-top: 4px; white-space: nowrap; }
.about-services-main {
  min-width: 0;
  margin-left: clamp(0px, 10vw, 200px); /* +200px extra label → conteúdo */
}
.about-services-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(21px, 2.4vw, 34px);
  line-height: 1.2;
  color: var(--color-dark);
  margin: 0 0 clamp(40px, 6vw, 80px);
  max-width: 683px;
}

.about-services-list { width: 100%; }
.about-services-item {
  display: grid;
  grid-template-columns: 143px 1fr; /* Figma: 143 / 539 */
  gap: clamp(20px, 3vw, 60px);
  padding: clamp(28px, 3vw, 44px) 0;
  align-items: start;
  max-width: 683px;
}
.about-services-item:first-of-type { padding-top: 0; }
.about-services-item-title,
.about-services-item-text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-black);
  margin: 0;
}
.about-services-item-title { font-weight: 600; } /* mesma tipografia da label */
.about-services-divider {
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin: 0;
  max-width: 683px;
}

/* Pequeno triângulo laranja escuro (#EF4523) no canto direito */
.about-services-deco {
  position: absolute;
  top: clamp(40px, 6vw, 100px);
  right: clamp(40px, 8vw, 190px);
  width: clamp(28px, 2.5vw, 41px);
  height: clamp(28px, 2.5vw, 41px);
  pointer-events: none;
  line-height: 0;
}
.about-services-deco img { width: 100%; height: 100%; display: block; }

/* ═══════════════════════════════════════════
   RESPONSIVO — SOBRE NÓS
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Hero capa: título e gradient escalam — sem mudanças estruturais */
  .about-hero-title { max-width: 100%; }
  .about-hero-deco { width: clamp(110px, 30vw, 200px); }

  /* Intro: centrado já — só ajustar padding */
  .about-intro { padding: clamp(50px, 8vw, 80px) 0; }

  /* Strip: texto centrado em vez de à direita */
  .about-strip .container { position: relative; padding-top: 40px; padding-bottom: 40px; }
  .about-strip-text { width: 100%; margin: 0; }

  /* MVV: cai para layout stacked (sem pin) */
  .about-mvv-track { height: auto; }
  .about-mvv-sticky { position: relative; height: auto; padding: 60px 0; }
  .about-mvv-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    /* Em mobile: padding simétrico esq./dir. */
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }
  /* Reset das colunas específicas (text col 2, image col 4) */
  .about-mvv-text,
  .about-mvv-images { grid-column: auto; }
  .about-mvv-text { min-height: auto; }
  .about-mvv-item {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
    margin-bottom: 48px;
    pointer-events: auto;
  }
  .about-mvv-images { aspect-ratio: 888 / 800; max-width: 100%; margin: 0; }
  .about-mvv-image { position: relative; opacity: 1; transform: none; margin-bottom: 24px; }
  .about-mvv-image:nth-of-type(1) { display: block; }
  .about-mvv-image:nth-of-type(2),
  .about-mvv-image:nth-of-type(3) { display: none; }
  .about-mvv-indicator { display: none; }

  /* Serviços: cai para 1 coluna */
  .about-services-grid { grid-template-columns: 1fr; gap: 24px; padding-left: 0; }
  .about-services-main { margin-left: 0; }
  .about-services-item { grid-template-columns: 1fr; gap: 12px; }
  .about-services-divider { max-width: 100%; }
}

/* Acessibilidade — utilizadores com reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about-mvv-track { height: auto; }
  .about-mvv-sticky { position: relative; height: auto; padding: 60px 0; }
  .about-mvv-item { position: relative; inset: auto; opacity: 1; transform: none; margin-bottom: 48px; pointer-events: auto; }
  .about-mvv-image { position: relative; opacity: 1; transform: none; margin-bottom: 24px; }
  .about-mvv-indicator { display: none; }
}
