/* Site liftmark.pt. Sem dependências externas: a fonte Sora está em fonts/. */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/sora-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/sora-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/sora-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/sora-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/sora-latin-800-normal.woff2') format('woff2'); }

/* Layout: uma coluna editorial larga, com o telemóvel a mostrar a app real ao lado do texto.
   O traço da marca (4 barras e um risco, a contagem de 5) é o único ornamento. */
:root {
  --bg: #FFF8F4;
  --surface: #FFFFFF;
  --sunk: #F5EEF6;
  --ink: #2A1740;
  --muted: #6E5F80;
  --line: #EEE3EF;
  --accent: #FF5A1F;
  --accent-text: #C2410C;
  --accent-soft: #FFE6DA;
  --on-accent: #FFFFFF;
  --frame: #2A1740;
  --display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-lg: 22px;
  --r-md: 12px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #160E1F; --surface: #221630; --sunk: #2E2140; --ink: #F8EFFA; --muted: #B3A3C2; --line: #3A2B4C;
    --accent: #FF6B35; --accent-text: #FF9466; --accent-soft: #3A2030; --on-accent: #FFFFFF; --frame: #0C0712;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #160E1F; --surface: #221630; --sunk: #2E2140; --ink: #F8EFFA; --muted: #B3A3C2; --line: #3A2B4C;
  --accent: #FF6B35; --accent-text: #FF9466; --accent-soft: #3A2030; --on-accent: #FFFFFF; --frame: #0C0712;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
section { padding-block: clamp(56px, 9vw, 104px); }

/* Cabeçalho */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 22px/1 var(--display); letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 20px; align-items: center; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav .hide-sm { display: none; }
@media (min-width: 760px) { .nav .hide-sm { display: inline; } }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn.dark { background: var(--ink); color: var(--bg); }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 8vw, 96px); }
.hero .wrap { display: grid; gap: 36px; align-items: start; grid-template-areas: "copy" "visual" "who"; }
.hero-copy { grid-area: copy; }
.hero .duo { grid-area: visual; }
.hero .who { grid-area: who; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.15fr .85fr; grid-template-areas: "copy visual" "who visual"; row-gap: 28px; column-gap: 56px; }
}
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; letter-spacing: -0.04em; }
.hero h1 em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }

/* Quem és: o encaminhamento */
.who { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 14px; }
.who-q { font-weight: 700; font-size: 17px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--sunk); color: var(--ink); font: 600 15px/1 var(--body); cursor: pointer; }
.choice[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.answer { display: grid; gap: 12px; padding-top: 4px; }
.answer p { color: var(--muted); }
.answer .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.answer code { font: 600 14px/1.4 var(--body); background: var(--sunk); padding: 6px 10px; border-radius: 8px; user-select: all; }
.copied { font-size: 14px; color: var(--accent-text); }

/* Dois telemóveis no topo: o PT no painel, o aluno no ginásio */
.duo { position: relative; width: 100%; max-width: 340px; aspect-ratio: 470 / 640; margin: 8px auto 0; }
@media (min-width: 900px) { .duo { max-width: 470px; } }
.duo .phone { position: absolute; margin: 0; }
.duo .back { width: 60%; left: 0; top: 0; transform: rotate(-5deg); box-shadow: 0 20px 40px -18px rgba(42, 23, 64, .3); }
.duo .front { width: 64%; right: 0; bottom: 0; transform: rotate(3deg); }
.tag { position: absolute; z-index: 2; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; box-shadow: 0 8px 20px -10px rgba(42, 23, 64, .35); white-space: nowrap; }
.tag b { color: var(--accent-text); }
.tag.t1 { left: 4%; top: -14px; }
.tag.t2 { right: 2%; bottom: -14px; }

/* Telemóvel */
.phone { position: relative; width: min(300px, 78vw); aspect-ratio: 600 / 1026; max-width: 100%; margin: 0 auto; border-radius: 42px; background: var(--frame); padding: 10px; box-shadow: 0 30px 60px -20px rgba(42, 23, 64, .35); }
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 33px; background: #FFF8F4; display: block; }
.duo .phone img { border-radius: 28px; }
@media (prefers-reduced-motion: no-preference) { .phone img { transition: opacity .25s ease; } .phone img.swap { opacity: 0; } }


/* Passos do PT */
.steps-grid { display: grid; gap: 40px; margin-top: 40px; align-items: start; }
@media (min-width: 900px) { .steps-grid { grid-template-columns: 1fr 340px; gap: 64px; } .steps-grid .phone { position: sticky; top: 96px; } }
.step { scroll-margin-top: 84px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: step; }
.step button { width: 100%; text-align: left; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 18px 18px; border-radius: var(--r-lg); border: 1px solid transparent; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.step button:hover { background: var(--sunk); }
.step button[aria-current="true"] { background: var(--surface); border-color: var(--line); }
.step .n { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font: 800 18px/1 var(--display); background: var(--sunk); color: var(--muted); font-variant-numeric: tabular-nums; }
.step button[aria-current="true"] .n { background: var(--accent); color: var(--on-accent); }
.step h3 { font-size: 19px; align-self: center; grid-column: 2; }
.step p { grid-column: 2; }
.step p { color: var(--muted); font-size: 15px; }
.step .more { display: none; }
.step .inline { display: none; }
@media (max-width: 899px) {
  .steps-grid > .phone { display: none; }
  .step.open .inline { display: block; width: min(250px, 72vw); margin: 4px auto 18px; }
}
.step button[aria-current="true"] .more { display: block; }

/* Aluno */
.band { background: var(--surface); border-block: 1px solid var(--line); }
.trio { display: grid; gap: 32px; margin-top: 44px; }
@media (min-width: 820px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio figure { margin: 0; display: grid; gap: 18px; }
.trio .phone { width: min(260px, 72vw); }
.trio figcaption strong { display: block; font-size: 18px; margin-bottom: 4px; }
.trio figcaption { color: var(--muted); font-size: 15px; max-width: 26em; margin: 0 auto; text-align: center; }
.trio figcaption strong { color: var(--ink); }

/* Avaliações */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 340px 1fr; gap: 120px; } }
.formulas { display: grid; gap: 10px; margin-top: 24px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .formulas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.eval { position: relative; display: grid; justify-items: center; }
.eval .calc { width: min(330px, 88%); height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 24px 48px -18px rgba(42, 23, 64, .4); margin-top: -110px; position: relative; transform: rotate(-2deg); }
@media (min-width: 900px) { .eval .calc { position: absolute; right: -130px; bottom: 36px; margin: 0; width: 270px; } }
.formula { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.formula b { display: block; font-size: 15px; }
.formula span { color: var(--muted); font-size: 14px; }

/* Privacidade */
.facts { display: grid; gap: 16px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.fact { border-top: 2px solid var(--ink); padding-top: 14px; display: grid; gap: 6px; }
.fact b { font-size: 17px; }
.fact span { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 8px; margin-top: 32px; max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--accent-text); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 16px; color: var(--muted); }

/* Final */
.cta { background: var(--ink); color: var(--bg); border-radius: 32px; padding: clamp(32px, 6vw, 64px); display: grid; gap: 20px; }
.cta h2 { font-size: clamp(30px, 4.6vw, 52px); }
.cta p { color: color-mix(in srgb, var(--bg) 75%, var(--ink)); max-width: 34em; }
.cta .btn.ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
footer { padding-block: 40px 56px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer a { color: var(--muted); }
h2.sec { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; letter-spacing: -0.035em; margin-top: 10px; }

.gap-top { margin-top: 16px; }
.gap-top-lg { margin-top: 28px; }
.note { margin-top: 18px; font-size: 15px; }
.row-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.select-all { user-select: all; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
