/* Alfaiate Digital: landing page.
   Azul tinta, cobre e creme. Títulos em Fraunces, texto em Inter, ambas guardadas no próprio site.
   Secções .escuro são sempre azul tinta; secções .claro seguem o modo claro ou escuro do aparelho. */

@font-face { font-family: "Fraunces"; src: url("/fontes/fraunces.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fontes/fraunces-italic.woff2") format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fontes/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --tinta: #1A1E40;
  --tinta-2: #222751;
  --tinta-3: #2C3264;
  --tinta-fundo: #121530;
  --cobre: #C98672;
  --cobre-claro: #E3AE9C;
  --creme: #F5F1EA;
  --creme-suave: #C8C3BA;

  /* Secções claras (mudam no modo escuro) */
  --fundo-claro: #F5F1EA;
  --fundo-claro-2: #EFE9DE;
  --papel: #FBF8F3;
  --texto-claro: #1A1E40;
  --suave-claro: #555978;
  --linha-clara: rgba(26, 30, 64, 0.12);
  --cobre-texto: #9C523C;

  --letra-titulo: "Fraunces", Georgia, "Times New Roman", serif;
  --letra: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --curva: cubic-bezier(0.2, 0.7, 0.2, 1);
  --curva-forte: cubic-bezier(0.7, 0, 0.2, 1);
  --margem: clamp(20px, 5vw, 48px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --fundo-claro: #141733;
    --fundo-claro-2: #181C3C;
    --papel: #1D2146;
    --texto-claro: #F1ECE3;
    --suave-claro: #B6B3C8;
    --linha-clara: rgba(241, 236, 227, 0.12);
    --cobre-texto: #E3AE9C;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--letra);
  font-size: clamp(16px, 0.35vw + 15px, 18px);
  line-height: 1.6;
  color: var(--texto-claro);
  background: var(--tinta);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--cobre); color: var(--tinta); }
:focus-visible { outline: 2px solid var(--cobre); outline-offset: 3px; border-radius: 6px; }

.visualmente-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 10px;
  background: var(--cobre); color: var(--tinta); font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.saltar:focus { top: 16px; }

.contentor { width: min(1240px, 100% - 2 * var(--margem)); margin-inline: auto; }
.centro { text-align: center; }

/* Secções */
.escuro { background: var(--tinta); color: var(--creme); --linha: rgba(245, 241, 234, 0.14); --suave: var(--creme-suave); --acento: var(--cobre); }
.claro { background: var(--fundo-claro); color: var(--texto-claro); --linha: var(--linha-clara); --suave: var(--suave-claro); --acento: var(--cobre-texto); }
.claro--2 { background: var(--fundo-claro-2); }
.seccao { padding-block: clamp(96px, 12vw, 176px); position: relative; }
.seccao__cabeca { max-width: 820px; margin-bottom: clamp(48px, 6vw, 80px); }
.seccao__cabeca--centro { margin-inline: auto; text-align: center; }
.seccao__cabeca--centro .sobretitulo { justify-content: center; }

/* Tipografia */
.sobretitulo {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--acento, var(--cobre));
}
.sobretitulo::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.8; }
.sobretitulo em { font-family: var(--letra-titulo); font-size: 1.25em; letter-spacing: 0.02em; text-transform: none; font-weight: 400; }
.titulo {
  font-family: var(--letra-titulo); font-weight: 380; font-optical-sizing: auto;
  font-size: clamp(2.3rem, 4.8vw, 4.4rem); line-height: 1.04; letter-spacing: -0.022em; text-wrap: balance;
}
.titulo em, .topo__titulo em { color: var(--acento, var(--cobre)); font-weight: 340; }
.titulo--enorme { font-size: clamp(2.8rem, 7.4vw, 7rem); line-height: 0.98; }
.texto-grande { margin-top: 24px; font-size: clamp(1.08rem, 1.2vw + 0.6rem, 1.35rem); line-height: 1.55; color: var(--suave); max-width: 640px; text-wrap: pretty; }
.seccao__cabeca--centro .texto-grande { margin-inline: auto; }

/* Botões */
.botao {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent;
  background: var(--cobre); color: var(--tinta); font-weight: 600; font-size: 1rem; text-decoration: none; letter-spacing: 0.01em;
  transform: translate(var(--mx), var(--my));
  transition: transform 0.35s var(--curva), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.botao::after { content: "→"; font-size: 1.05em; transition: transform 0.35s var(--curva); }
.botao:hover { background: var(--cobre-claro); box-shadow: 0 10px 40px -10px rgba(201, 134, 114, 0.6); }
.botao:hover::after { transform: translateX(4px); }
.botao--linha { background: transparent; color: var(--creme); border-color: rgba(245, 241, 234, 0.3); }
.botao--linha:hover { background: rgba(245, 241, 234, 0.08); border-color: var(--cobre); box-shadow: none; }
.botao--pequeno { min-height: 44px; padding: 0 20px; font-size: 0.92rem; }
.botao--pequeno::after { display: none; }

/* Progresso: régua no topo */
.progresso {
  position: fixed; inset: 0 0 auto; height: 4px; z-index: 60; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(201, 134, 114, 0.35) 0 1px, transparent 1px 12px);
}
.progresso__fio { display: block; height: 2px; background: var(--cobre); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Cursor (só com rato) */
.cursor { display: none; }
.tem-cursor .cursor {
  display: block; position: fixed; left: 0; top: 0; z-index: 90; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid var(--cobre); border-radius: 50%; pointer-events: none; opacity: 0;
  transform: translate(var(--cx, -100px), var(--cy, -100px)) scale(var(--cs, 1));
  transition: opacity 0.3s, background 0.3s, width 0.3s, height 0.3s;
}
.tem-cursor .cursor--visivel { opacity: 1; }
.tem-cursor .cursor--sobre { --cs: 1.7; background: rgba(201, 134, 114, 0.12); }

/* Cabeçalho */
.cabecalho { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--creme); transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, transform 0.5s var(--curva); border-bottom: 1px solid transparent; }
.cabecalho--solido { background: rgba(18, 21, 48, 0.72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: rgba(245, 241, 234, 0.08); }
.cabecalho--escondido { transform: translateY(-100%); }
.cabecalho__dentro { width: min(1320px, 100% - 2 * var(--margem)); margin-inline: auto; height: 76px; display: flex; align-items: center; gap: 32px; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.marca img { width: 40px; height: 40px; transition: transform 0.8s var(--curva); }
.marca:hover img { transform: rotate(-30deg); }
.marca__nome { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; }
.nav { display: none; gap: 30px; }
.nav a { position: relative; font-size: 0.9rem; text-decoration: none; color: var(--creme-suave); transition: color 0.3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--cobre); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--curva); }
.nav a:hover { color: var(--creme); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.cabecalho .botao--pequeno { display: none; }

.menu-botao { width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: transparent; color: inherit; cursor: pointer; }
.menu-botao__linhas, .menu-botao__linhas::before { display: block; width: 26px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.4s var(--curva); }
.menu-botao__linhas::before { content: ""; position: absolute; top: 7px; width: 18px; right: 0; }
.menu-botao[aria-expanded="true"] .menu-botao__linhas { transform: translateY(3px) rotate(45deg); }
.menu-botao[aria-expanded="true"] .menu-botao__linhas::before { top: 0; width: 26px; transform: rotate(-90deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--tinta-fundo); color: var(--creme);
  display: flex; flex-direction: column; justify-content: center; padding: 96px var(--margem) 48px;
  clip-path: circle(0 at calc(100% - 44px) 38px); transition: clip-path 0.7s var(--curva-forte);
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu--aberto { clip-path: circle(150% at calc(100% - 44px) 38px); }
.menu nav { display: grid; gap: 6px; }
.menu nav a {
  display: flex; align-items: baseline; gap: 16px; font-family: var(--letra-titulo); font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.15;
  text-decoration: none; opacity: 0; transform: translateY(24px); transition: opacity 0.5s, transform 0.6s var(--curva);
}
.menu nav a span { font-family: var(--letra); font-size: 0.8rem; color: var(--cobre); letter-spacing: 0.1em; }
.menu--aberto nav a { opacity: 1; transform: none; }
.menu--aberto nav a:nth-child(2) { transition-delay: 0.05s; }
.menu--aberto nav a:nth-child(3) { transition-delay: 0.1s; }
.menu--aberto nav a:nth-child(4) { transition-delay: 0.15s; }
.menu--aberto nav a:nth-child(5) { transition-delay: 0.2s; }
.menu--aberto nav a:nth-child(6) { transition-delay: 0.25s; }
.menu__email { margin-top: 48px; color: var(--creme-suave); font-size: 0.95rem; }

/* 1. Topo */
.topo { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.topo__fundo img { position: absolute; inset: -6% 0 0; width: 100%; height: 112%; object-fit: cover; object-position: 72% 40%; z-index: -3; transform: translateY(var(--parallax, 0px)) scale(1.04); }
.topo::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, var(--tinta) 0%, rgba(26, 30, 64, 0.97) 38%, rgba(26, 30, 64, 0.82) 60%, rgba(26, 30, 64, 0.62) 82%, rgba(26, 30, 64, 0.72) 100%),
    linear-gradient(0deg, var(--tinta) 0%, rgba(26, 30, 64, 0) 30%);
}
.topo__grao {
  position: absolute; inset: 0; z-index: -1; opacity: 0.18; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.topo__dentro {
  width: min(1320px, 100% - 2 * var(--margem)); margin-inline: auto; padding: 104px 0 112px;
  display: grid; gap: 32px; align-items: center;
}
.topo__texto { position: relative; z-index: 2; }
.topo__titulo {
  font-family: var(--letra-titulo); font-weight: 340; font-optical-sizing: auto;
  font-size: clamp(2.65rem, 6.3vw, 6.4rem); line-height: 1.0; letter-spacing: -0.028em; max-width: 14.5ch; text-wrap: balance;
}
.palavra { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.palavra > span { display: inline-block; transform: none; transition: transform 1.1s var(--curva); transition-delay: var(--d, 0s); }
.js:not(.pronto) .palavra > span { transform: translateY(105%); }

.costura { position: relative; margin-top: clamp(22px, 3vw, 36px); padding: 10px 0 14px; max-width: 640px; }
.costura__fio { position: absolute; left: -6%; top: 68%; width: 112%; height: 46px; overflow: visible; pointer-events: none; }
.costura__linha, .costura__pontos { fill: none; stroke: var(--cobre); stroke-linecap: round; }
.costura__linha { stroke-width: 1.2; opacity: 0.45; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--curva-forte) 1.1s; }
.costura__pontos { stroke-width: 2.2; stroke-dasharray: 0.006 0.014; opacity: 0.9; transition: opacity 0.6s 2.6s; }
.js:not(.pronto) .costura__linha { stroke-dashoffset: 1; }
.js:not(.pronto) .costura__pontos { opacity: 0; }
.costura__frase {
  position: relative; font-family: var(--letra-titulo); font-size: clamp(1.45rem, 2.6vw, 2.25rem); line-height: 1.2; color: var(--cobre-claro); font-weight: 320;
  clip-path: inset(0 0 0 0); transition: clip-path 2s var(--curva-forte) 1.4s;
}
.js:not(.pronto) .costura__frase { clip-path: inset(0 100% 0 0); }

.topo__lead { margin-top: clamp(24px, 3vw, 34px); max-width: 560px; font-size: clamp(1.05rem, 1vw + 0.7rem, 1.25rem); color: var(--creme-suave); line-height: 1.6; }
.topo__acoes { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.entrar { transition: opacity 1s var(--curva), transform 1s var(--curva); }
.js:not(.pronto) .entrar { opacity: 0; transform: translateY(24px); }
.pronto .sobretitulo.entrar { transition-delay: 0.1s; }
.pronto .topo__lead.entrar { transition-delay: 2.3s; }
.pronto .topo__acoes.entrar { transition-delay: 2.5s; }

.topo__emblema {
  --rx: 0deg; --ry: 0deg;
  position: relative; width: min(52vw, 220px); aspect-ratio: 1; justify-self: start; order: -1;
  perspective: 900px; transition: opacity 1.6s var(--curva) 0.3s, transform 1.6s var(--curva) 0.3s;
}
.js:not(.pronto) .topo__emblema { opacity: 0; transform: scale(0.9); }
/* O emblema e as órbitas mexem-se juntos, para as órbitas ficarem sempre centradas no desenho */
.emblema-peca {
  position: relative; width: 100%; aspect-ratio: 1;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.6s var(--curva);
  animation: flutuar 7s ease-in-out infinite;
}
.topo__emblema img, .contacto__emblema img {
  position: relative; width: 100%; height: auto; border-radius: 50%;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 40px rgba(201, 134, 114, 0.12));
}
/* O desenho ocupa 81,5 % da imagem; o círculo das órbitas ocupa 97 % de cada SVG */
.orbita { position: absolute; left: -1%; top: -1%; width: 102%; height: 102%; overflow: visible; pointer-events: none; }
.orbita circle { fill: none; stroke: var(--cobre); stroke-width: 0.5; }
.orbita--fora circle { stroke-dasharray: 1.5 5; opacity: 0.6; }
.orbita--dentro { left: 4.5%; top: 4.5%; width: 91%; height: 91%; }
.orbita--dentro circle { stroke-dasharray: 46 14 6 14; opacity: 0.35; stroke-width: 0.6; }
.orbita--fora { animation: rodar 80s linear infinite; }
.orbita--dentro { animation: rodar 110s linear infinite reverse; }

.descer { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; text-decoration: none; color: var(--creme-suave); }
.descer__fio { width: 1px; height: 54px; background: linear-gradient(to bottom, transparent, var(--cobre)); background-size: 100% 200%; animation: descer 2.4s var(--curva) infinite; }
.descer__texto { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; }

@keyframes flutuar { 50% { translate: 0 -10px; } }
@keyframes rodar { to { transform: rotate(360deg); } }
@keyframes descer { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 2. Faixa */
.faixa { background: var(--tinta-fundo); color: var(--creme); overflow: hidden; padding: 30px 0; border-block: 1px solid rgba(245, 241, 234, 0.08); }
.faixa__trilho { display: flex; width: max-content; animation: deslizar 46s linear infinite; }
.faixa__lista { display: flex; flex-shrink: 0; }
.faixa__lista li { font-family: var(--letra-titulo); font-style: italic; font-weight: 320; font-size: clamp(1.5rem, 3.2vw, 2.6rem); white-space: nowrap; padding: 0 clamp(20px, 3vw, 40px); display: flex; align-items: center; gap: clamp(40px, 6vw, 80px); }
.faixa__lista li::after { content: "×"; font-style: normal; font-family: var(--letra); font-size: 0.6em; color: var(--cobre); }
@keyframes deslizar { to { transform: translateX(-50%); } }

/* 3. O que fazemos */
.pilares { display: grid; gap: 20px; }
.pilar {
  --gx: 50%; --gy: 50%; --tx: 0deg; --ty: 0deg;
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(30px, 3vw, 42px); border-radius: 26px; border: 1px solid var(--linha); background: var(--papel);
  transform: perspective(900px) rotateX(var(--tx)) rotateY(var(--ty));
  transition: transform 0.6s var(--curva), border-color 0.4s, box-shadow 0.5s;
}
.pilar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(201, 134, 114, 0.16), transparent 60%);
}
.pilar:hover { border-color: rgba(201, 134, 114, 0.45); box-shadow: 0 30px 60px -30px rgba(26, 30, 64, 0.35); }
.pilar:hover::before { opacity: 1; }
.pilar__num { position: absolute; top: 28px; right: 32px; font-family: var(--letra-titulo); font-style: italic; color: var(--acento); font-size: 1.05rem; }
.pilar__icone { width: 46px; height: 46px; fill: none; stroke: var(--acento); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 40px; }
.pilar h3 { font-family: var(--letra-titulo); font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.4rem); letter-spacing: -0.015em; }
.pilar__destaque { margin: 10px 0 14px; font-weight: 600; }
.pilar p:last-child { color: var(--suave); }

/* 4. Porquê alfaiate */
.alfaiate { position: relative; }
.alfaiate__palco { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(96px, 12vw, 160px); }
.alfaiate__fundo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%; z-index: -2; opacity: 0.42; transform: scale(calc(1.15 - var(--p, 0) * 0.15)); }
.alfaiate__palco::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 75% 50%, rgba(26, 30, 64, 0.55), var(--tinta) 75%); }
.alfaiate__dentro { display: grid; gap: 48px; align-items: center; position: relative; }
.alfaiate__intro { margin-top: 22px; color: var(--creme-suave); font-size: clamp(1.08rem, 1.2vw + 0.6rem, 1.3rem); max-width: 480px; }
.passos-alfaiate { display: grid; gap: 40px; }
.passo-alfaiate__num { font-size: 0.8rem; letter-spacing: 0.2em; color: var(--cobre); }
.passo-alfaiate h3 { font-family: var(--letra-titulo); font-weight: 320; font-size: clamp(3.2rem, 8.4vw, 8rem); line-height: 1; letter-spacing: -0.03em; color: var(--cobre-claro); margin: 6px 0 14px; }
.passo-alfaiate p { font-size: clamp(1.05rem, 1.1vw + 0.6rem, 1.3rem); color: var(--creme); max-width: 440px; }
.fita { display: none; }

/* Com JavaScript e movimento: a secção fica fixa e os passos passam um a um */
@media (prefers-reduced-motion: no-preference) {
  .js .alfaiate { height: 420vh; }
  .js .alfaiate__palco { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding-block: 88px 40px; }
  .js .passos-alfaiate { position: relative; min-height: clamp(280px, 40vh, 380px); }
  .js .passo-alfaiate { position: absolute; inset: 0; opacity: 0; transform: translateY(60px); filter: blur(6px); transition: opacity 0.8s var(--curva), transform 0.9s var(--curva), filter 0.8s; pointer-events: none; }
  .js .passo-alfaiate.ativo { opacity: 1; transform: none; filter: none; pointer-events: auto; }
  .js .passo-alfaiate.passou { transform: translateY(-60px); }
  .js .fita {
    display: block; position: absolute; right: 0; top: 50%; height: 64vh; width: 64px; transform: translateY(-50%); overflow: hidden;
    mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
  }
  .js .fita__escala {
    position: absolute; left: 0; right: 0; top: 0; height: 600%;
    background:
      repeating-linear-gradient(180deg, var(--cobre) 0 1px, transparent 1px 10px) left / 14px 100% no-repeat,
      repeating-linear-gradient(180deg, var(--cobre) 0 1px, transparent 1px 50px) left / 26px 100% no-repeat;
    opacity: 0.6; transform: translateY(calc(var(--p, 0) * -83.33%));
  }
  .js .fita__valor { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--letra-titulo); font-style: italic; color: var(--cobre-claro); font-size: 0.95rem; white-space: nowrap; }
}

@media (max-width: 699px) {
  .js .fita { display: none; }
  .plano .plano__selo { position: static; display: inline-block; margin-bottom: 20px; }
}

/* 5. Como trabalhamos */
.processo { display: grid; gap: 56px; }
.linha-tempo { position: relative; padding-left: 56px; }
.linha-tempo__fio { position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px; background: var(--linha); border-radius: 2px; overflow: hidden; }
.linha-tempo__progresso { position: absolute; inset: 0; background: var(--acento); transform-origin: top; transform: scaleY(var(--p, 0)); }
.linha-tempo__passo { position: relative; padding-bottom: clamp(44px, 5vw, 72px); }
.linha-tempo__passo:last-child { padding-bottom: 0; }
.linha-tempo__ponto {
  position: absolute; left: -49px; top: 6px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--linha); background: var(--fundo-claro);
  transition: border-color 0.5s, background 0.5s, box-shadow 0.5s;
}
.linha-tempo__passo.ativo .linha-tempo__ponto { border-color: var(--acento); background: var(--acento); box-shadow: 0 0 0 7px rgba(201, 134, 114, 0.18); }
.linha-tempo__num { font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--acento); font-weight: 600; }
.linha-tempo__passo h3 { font-family: var(--letra-titulo); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 8px 0 8px; line-height: 1.15; }
.linha-tempo__passo h3 em { color: var(--acento); }
.nota { font-family: var(--letra); font-size: 0.5em; color: var(--suave); font-style: normal; font-weight: 500; vertical-align: middle; }
.linha-tempo__passo p { color: var(--suave); font-size: 1.08rem; }
.js .linha-tempo__passo { opacity: 0.4; transition: opacity 0.6s; }
.js .linha-tempo__passo.ativo { opacity: 1; }

/* 6. Diferenças */
.diferencas { display: grid; gap: 18px; }
.diferenca {
  --gx: 50%; --gy: 50%;
  position: relative; overflow: hidden; isolation: isolate; padding: 34px 30px 32px; border-radius: 22px; border: 1px solid var(--linha); background: var(--papel);
  transition: border-color 0.4s, transform 0.5s var(--curva);
}
.brilho::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(320px circle at var(--gx) var(--gy), rgba(201, 134, 114, 0.15), transparent 65%);
}
.brilho:hover::before { opacity: 1; }
.diferenca:hover { border-color: rgba(201, 134, 114, 0.45); transform: translateY(-4px); }
.diferenca svg { width: 34px; height: 34px; fill: none; stroke: var(--acento); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 28px; }
.diferenca h3 { font-size: 1.16rem; font-weight: 650; margin-bottom: 8px; letter-spacing: -0.005em; }
.diferenca p { color: var(--suave); }
.biscoito {
  position: absolute; top: 22px; right: 22px; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px;
  border-radius: 10px; background: var(--fundo-claro); border: 1px solid var(--linha); font-size: 0.72rem; color: var(--suave);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.3);
}
.biscoito__botao { padding: 4px 10px; border-radius: 6px; background: var(--texto-claro); color: var(--fundo-claro); font-weight: 600; }
.diferenca--privacidade.visivel .biscoito { animation: desfazer 1.8s var(--curva-forte) 1.2s forwards; }
@keyframes desfazer {
  0% { clip-path: inset(0 0 0 0 round 10px); opacity: 1; }
  45% { clip-path: inset(46% 0 46% 0 round 2px); opacity: 1; border-color: var(--cobre); background: var(--cobre); }
  100% { clip-path: inset(49% 0 49% 100%); opacity: 0; background: var(--cobre); }
}

/* 7. Acompanhamento */
.planos { display: grid; gap: 20px; margin-bottom: 56px; }
.plano {
  --gx: 30%; --gy: 20%;
  position: relative; overflow: hidden; isolation: isolate; padding: clamp(34px, 4vw, 52px); border-radius: 30px; border: 1px solid rgba(245, 241, 234, 0.12);
  transition: transform 0.6s var(--curva), border-color 0.4s;
}
.plano:hover { transform: translateY(-6px); }
.plano__tecido { position: absolute; inset: 0; z-index: -1; }
.plano--linho .plano__tecido {
  background:
    repeating-linear-gradient(0deg, rgba(245, 241, 234, 0.018) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(245, 241, 234, 0.018) 0 1px, transparent 1px 3px),
    var(--tinta-2);
}
.plano--seda { border-color: rgba(201, 134, 114, 0.4); }
.plano--seda .plano__tecido {
  background:
    radial-gradient(640px circle at var(--gx) var(--gy), rgba(227, 174, 156, 0.26), transparent 55%),
    linear-gradient(120deg, transparent 30%, rgba(245, 241, 234, 0.07) 45%, transparent 60%),
    linear-gradient(140deg, var(--tinta-3), var(--tinta) 70%);
  background-size: 100% 100%, 250% 100%, 100% 100%;
  animation: seda 9s ease-in-out infinite;
}
@keyframes seda { 50% { background-position: 0 0, 100% 0, 0 0; } }
.plano__selo { position: absolute; top: 26px; right: 26px; padding: 6px 14px; border-radius: 999px; background: var(--cobre); color: var(--tinta); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.plano__rotulo { font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--creme-suave); }
.plano h3 { font-family: var(--letra-titulo); font-weight: 320; font-size: clamp(3.2rem, 5.6vw, 4.8rem); line-height: 1; margin: 14px 0 10px; color: var(--cobre-claro); }
.plano__resumo { color: var(--creme); font-size: 1.08rem; margin-bottom: 28px; }
.plano ul { display: grid; gap: 12px; border-top: 1px solid rgba(245, 241, 234, 0.12); padding-top: 26px; }
.plano li { position: relative; padding-left: 26px; color: var(--creme-suave); }
.plano li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 1.5px; background: var(--cobre); }
.plano li em { color: var(--cobre-claro); }
.plano--linho li::before { opacity: 0.55; }
.plano__inclui { border-top: 1px solid rgba(245, 241, 234, 0.12); padding-top: 26px; margin-bottom: 18px; font-family: var(--letra-titulo); font-style: italic; color: var(--creme); }
.plano__inclui em { color: var(--cobre-claro); }
.plano--seda ul { border-top: 0; padding-top: 0; gap: 14px; }
.plano--seda li { color: var(--creme); }
.plano--seda li strong { font-weight: 600; color: var(--cobre-claro); }
.plano--seda li::before { top: 0.5em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--cobre-claro); box-shadow: 0 0 10px rgba(227, 174, 156, 0.6); }

/* 8. Para quem */
.paraquem .titulo--enorme { max-width: 15ch; }
.etiquetas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.etiquetas li {
  padding: 14px 24px; border-radius: 999px; border: 1px solid var(--linha); background: var(--papel); font-size: 1rem;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--curva);
}
.etiquetas li:hover { border-color: var(--acento); transform: translateY(-3px) rotate(-1deg); }

/* 9. Fundadores */
.fundadores { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(96px, 12vw, 176px); }
.fundadores__fundo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; z-index: -2; opacity: 0.5; transform: translateY(var(--parallax, 0px)) scale(1.1); }
.fundadores::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26, 30, 64, 0.82), rgba(26, 30, 64, 0.94) 55%, var(--tinta)); }
.fundadores__dentro { display: grid; gap: 56px; align-items: start; }
.carrinhos { display: flex; gap: 22px; margin-top: 44px; }
.carrinho { width: 64px; height: auto; overflow: visible; }
.carrinho rect { fill: none; stroke: var(--cobre); stroke-width: 1.5; }
.carrinho .carrinho__nucleo { fill: rgba(245, 241, 234, 0.05); stroke-dasharray: 3 3; stroke-width: 1; }
.carrinho__fio path { fill: none; stroke: var(--cobre); stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 32; stroke-dashoffset: 32; opacity: 0.35; transition: stroke-dashoffset 1.2s var(--curva); }
.carrinhos.visivel .carrinho__fio path { stroke-dashoffset: 26; }
.carrinho--ocupado .carrinho__fio path { opacity: 1; }
.carrinhos.visivel .carrinho--ocupado .carrinho__fio path { stroke-dashoffset: 0; }
.vagas { margin-top: 20px; color: var(--creme-suave); }
.vagas strong { color: var(--cobre-claro); font-family: var(--letra-titulo); font-size: 1.4em; font-weight: 400; }
.vantagens { display: grid; }
.vantagem { padding: 26px 0; border-top: 1px solid rgba(245, 241, 234, 0.14); display: grid; gap: 6px; }
.vantagem__numero { font-family: var(--letra-titulo); font-weight: 320; font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; color: var(--cobre-claro); letter-spacing: -0.02em; }
.vantagem__numero span:first-child:not(.contar) { font-size: 0.42em; font-style: italic; }
.vantagem__texto { color: var(--creme-suave); font-size: 1.05rem; }
.vantagem--botao { border-top: 0; padding-top: 18px; justify-items: start; }

/* 10. Perguntas */
.perguntas { display: grid; gap: 40px; }
.acordeao details { border-bottom: 1px solid var(--linha); }
.acordeao details:first-child { border-top: 1px solid var(--linha); }
.acordeao summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0;
  font-family: var(--letra-titulo); font-size: clamp(1.25rem, 1.6vw + 0.6rem, 1.6rem); font-weight: 400; transition: color 0.3s;
}
.acordeao summary::-webkit-details-marker { display: none; }
.acordeao summary::after {
  content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linha); display: grid; place-items: center;
  font-family: var(--letra); font-size: 1.3rem; font-weight: 300; transition: transform 0.5s var(--curva), background 0.3s, border-color 0.3s, color 0.3s;
}
.acordeao summary:hover { color: var(--acento); }
.acordeao details[open] summary::after { transform: rotate(45deg); background: var(--acento); border-color: var(--acento); color: var(--fundo-claro); }
.acordeao__resposta { padding: 0 64px 28px 0; color: var(--suave); font-size: 1.08rem; }
.acordeao details[open] .acordeao__resposta { animation: abrir 0.6s var(--curva); }
@keyframes abrir { from { opacity: 0; transform: translateY(-8px); } }

/* 11. Contacto */
.contacto { position: relative; overflow: hidden; padding-block: clamp(110px, 14vw, 200px); text-align: center; isolation: isolate; }
.contacto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 30%, rgba(201, 134, 114, 0.12), transparent 60%); }
.contacto__dentro { display: grid; justify-items: center; }
.contacto .sobretitulo { justify-content: center; }
.contacto__emblema { position: relative; width: clamp(120px, 16vw, 190px); margin-bottom: 48px; }
.contacto .texto-grande { margin-inline: auto; }
.email { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; }
.email__ligacao {
  --mx: 0px; --my: 0px;
  font-family: var(--letra-titulo); font-style: italic; font-weight: 320; font-size: clamp(1.6rem, 5vw, 3.6rem); color: var(--cobre-claro); text-decoration: none;
  background: linear-gradient(var(--cobre), var(--cobre)) 0 100% / 0 1px no-repeat; padding-bottom: 6px;
  transform: translate(var(--mx), var(--my)); transition: background-size 0.6s var(--curva), transform 0.35s var(--curva);
  overflow-wrap: anywhere;
}
.email__ligacao:hover { background-size: 100% 1px; }
.email__copiar { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(245, 241, 234, 0.3); background: transparent; color: var(--creme); font: inherit; font-size: 0.9rem; cursor: pointer; transition: border-color 0.3s, background 0.3s; }
.email__copiar:hover { border-color: var(--cobre); background: rgba(245, 241, 234, 0.06); }
.aviso-copiado { margin-top: 16px; min-height: 1.6em; color: var(--cobre-claro); font-size: 0.95rem; }

/* 12. Rodapé */
.rodape { background: var(--tinta-fundo); padding: 72px 0 32px; color: var(--creme-suave); font-size: 0.95rem; }
.rodape__dentro { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(245, 241, 234, 0.1); }
.rodape__marca { display: flex; gap: 16px; align-items: center; }
.rodape__marca img { width: 48px; height: 48px; }
.rodape__nome { color: var(--creme); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.82rem; margin-bottom: 4px; }
.rodape__colunas { display: grid; gap: 28px; }
.rodape__colunas ul { display: grid; gap: 8px; }
.rodape a { text-decoration: none; transition: color 0.3s; }
.rodape a:hover { color: var(--cobre-claro); }
.rodape__fim { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 0.85rem; }

/* Entradas ao fazer scroll */
.js .revelar { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--curva), transform 1.1s var(--curva); transition-delay: calc(var(--i, 0) * 90ms); }
.js .revelar.visivel { opacity: 1; transform: none; }
.js .pilar.revelar { transition: opacity 1s var(--curva), transform 1.1s var(--curva), border-color 0.4s, box-shadow 0.5s; transition-delay: calc(var(--i, 0) * 110ms); }
.js .pilar.revelar.visivel { transform: perspective(900px) rotateX(var(--tx)) rotateY(var(--ty)); }
.js .pilar.revelar.visivel.inclinado { transition-delay: 0s; }

/* Páginas legais */
.legal { min-height: 100svh; padding: 140px 0 96px; }
.legal .contentor { max-width: 760px; }
.legal h1 { font-family: var(--letra-titulo); font-weight: 380; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 32px; }
.legal h2 { font-family: var(--letra-titulo); font-weight: 400; font-size: 1.5rem; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--suave); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; color: var(--suave); }
.legal a { color: var(--acento); }
.legal .voltar { display: inline-block; margin-bottom: 40px; text-decoration: none; color: var(--acento); font-weight: 600; }
.por-preencher { background: #FFF1B8; color: #1A1E40; padding: 0 4px; border-radius: 4px; }

/* Ecrãs maiores */
@media (min-width: 700px) {
  .diferencas { grid-template-columns: repeat(2, 1fr); }
  .planos { grid-template-columns: 0.92fr 1.08fr; align-items: center; }
  .rodape__colunas { grid-template-columns: repeat(2, auto); gap: 64px; }
}
@media (min-width: 900px) {
  .topo__dentro { grid-template-columns: 1.3fr 0.7fr; gap: 24px; padding: 132px 0 120px; }
  .topo__emblema { order: 0; width: min(34vw, 520px); justify-self: end; }
  .pilares { grid-template-columns: repeat(3, 1fr); }
  .pilar { min-height: 420px; }
  .pilar__icone { margin-bottom: 96px; }
  .alfaiate__dentro { grid-template-columns: 0.9fr 1.1fr; padding-right: 96px; }
  .processo { grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
  .processo__cabeca { position: sticky; top: 140px; }
  .fundadores__dentro { grid-template-columns: 1.1fr 0.9fr; gap: 96px; align-items: center; }
  .perguntas { grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
  .perguntas header { position: sticky; top: 140px; }
  .rodape__dentro { grid-template-columns: 1fr auto; align-items: start; }
}
@media (min-width: 1000px) {
  .nav { display: flex; }
  .cabecalho .botao--pequeno { display: inline-flex; }
  .menu-botao, .menu { display: none !important; }
  .diferencas { grid-template-columns: repeat(3, 1fr); }
}

/* Menos movimento: tudo aparece logo, sem animações */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .revelar, .entrar, .topo__emblema { opacity: 1; transform: none; }
  .palavra > span { transform: none; }
  .costura__linha { stroke-dashoffset: 0; }
  .costura__pontos { opacity: 0.9; }
  .costura__frase { clip-path: none; }
  .biscoito { display: none; }
  .carrinho__fio path { stroke-dashoffset: 26; }
  .carrinho--ocupado .carrinho__fio path { stroke-dashoffset: 0; }
}
