:root {
  --paper: oklch(0.985 0.006 255);
  --surface: oklch(1 0 0);
  --ink: oklch(0.19 0.04 258);
  --muted: oklch(0.43 0.035 258);
  --line: oklch(0.88 0.018 258);
  --blue: oklch(0.55 0.24 262);
  --blue-deep: oklch(0.26 0.14 263);
  --blue-soft: oklch(0.93 0.035 260);
  --signal: oklch(0.84 0.2 142);
  --coral: oklch(0.7 0.19 34);
  --yellow: oklch(0.89 0.18 95);
  --display: "Familjen Grotesk", Arial, sans-serif;
  --body: "Source Sans 3", Arial, sans-serif;
  --shell: 1200px;
  --radius-s: 8px;
  --radius-m: 14px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --z-sticky: 40;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body, button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
p { text-wrap: pretty; }
.shell { width: min(100% - 48px, var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; background: var(--signal); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: var(--z-sticky); top: 0; background: color-mix(in oklch, var(--paper) 92%, transparent); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); transition: border-color .25s ease; }
.site-header.is-scrolled { border-color: var(--line); }
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-family: var(--display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.035em; text-decoration: none; }
.brand-signal { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px color-mix(in oklch, var(--signal) 22%, transparent); }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { position: relative; color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.main-nav a:hover { color: var(--blue); }
/* sublinhado que cresce do centro — detalhe pequeno, lê-se como cuidado */
.main-nav a::after { position: absolute; inset-inline: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform .28s var(--ease-out); content: ""; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.visually-hidden { position: absolute; overflow: hidden; clip-path: inset(50%); width: 1px; height: 1px; white-space: nowrap; }

/* Botão de menu: só existe quando há JS para o accionar. Sem JS os links ficam
   visíveis (ver media query) — nunca inalcançáveis atrás de um botão morto. */
.nav-toggle { display: none; }
.nav-toggle-bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle-bars i { height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease-out), opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border: 0; border-radius: var(--radius-s); font-family: var(--display); font-weight: 700; text-decoration: none; transition: transform .25s var(--ease-out), background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .demo-choice:focus-visible, .product-tabs button:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.button-small { min-height: 42px; padding: 9px 16px; font-size: .88rem; }
.button-ink { background: var(--ink); color: white; }
.button-ink:hover { background: var(--blue); }
.button-signal { background: var(--signal); color: var(--ink); box-shadow: 0 6px 0 color-mix(in oklch, var(--signal) 50%, var(--blue-deep)); }
.button-signal:hover { box-shadow: 0 4px 0 color-mix(in oklch, var(--signal) 50%, var(--blue-deep)); }

.hero { overflow: hidden; background: var(--blue); color: white; }
.hero-layout { min-height: calc(100svh - 76px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(460px, 1fr); gap: clamp(48px, 6vw, 88px); align-items: center; padding-block: clamp(64px, 7vw, 94px); }
.hero-copy { position: relative; z-index: 2; }
.hero-label { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: white; font-family: var(--display); font-size: .84rem; font-weight: 600; }
.hero-label span { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); }
/* O 11ch obrigava o título a 11 caracteres por linha: com tipo de 85px as cinco
   linhas mediam 483/263/265/452/343px — rag violento, metade da largura a saltar.
   Agora a medida é a coluna e o corpo desce o suficiente para cada uma das duas
   frases assentar em duas linhas equilibradas. */
.hero h1 { margin-bottom: 24px; font-size: clamp(3.35rem, 5.1vw, 4.5rem); line-height: .96; letter-spacing: -.04em; }
/* As duas frases do título são duas ideias ("atende" / "mesmo quando não podes").
   Em desktop cada uma ganha o seu bloco, e o balance passa a equilibrar cada
   frase em vez de misturar as duas. Em telemóvel voltam a correr seguidas. */
.hero h1 > span { display: block; }
.hero-lead { max-width: 49ch; margin-bottom: 32px; color: oklch(0.94 0.025 260); font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height: 1.58; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.text-link { color: white; font-family: var(--display); font-size: .95rem; font-weight: 700; text-underline-offset: 5px; }
.approval-note { max-width: 54ch; margin: 30px 0 0; padding-top: 20px; border-top: 1px solid color-mix(in oklch, white 28%, transparent); color: oklch(0.92 0.03 260); font-size: .94rem; }
.approval-note strong { color: white; }

.hero-product { min-width: 0; }
.demo-switcher { display: flex; align-items: center; gap: 8px; margin: 0 0 14px 18px; }
.demo-choice { padding: 8px 13px; border: 1px solid color-mix(in oklch, white 32%, transparent); border-radius: 999px; color: white; background: transparent; cursor: pointer; font-size: .8rem; font-weight: 600; }
.demo-choice.is-active { border-color: var(--signal); background: var(--signal); color: var(--ink); }
.site-preview { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--radius-m); background: white; color: #10213b; box-shadow: 0 46px 80px color-mix(in oklch, var(--blue-deep) 54%, transparent); transform: rotate(-1.4deg); transition: background .35s ease, color .35s ease, transform .5s var(--ease-out); }
.site-preview:hover { transform: rotate(0deg) translateY(-4px); }
.browser-bar { height: 42px; display: flex; align-items: center; gap: 7px; padding-inline: 14px; background: #f1f3f7; color: #667085; }
.browser-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #c8cfdb; }
.browser-bar b { margin-left: 8px; font-size: .7rem; font-weight: 600; }
.preview-page { position: relative; min-height: 478px; overflow: hidden; padding: 30px 34px; background: #f7f9ff; transition: background .35s ease; }
.preview-nav { position: relative; z-index: 2; display: flex; align-items: center; gap: 18px; }
.preview-nav strong { margin-right: auto; font-family: var(--display); font-size: .94rem; }
.preview-nav i { width: 30px; height: 4px; border-radius: 999px; background: currentColor; opacity: .32; }
.preview-content { position: relative; z-index: 2; width: 62%; padding-top: 76px; }
.preview-content p { margin-bottom: 12px; color: inherit; font-size: .72rem; font-weight: 700; }
.preview-content h2 { margin-bottom: 24px; font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: .95; letter-spacing: -.035em; }
.preview-action { display: inline-block; padding: 10px 14px; border-radius: 5px; background: #1e58e8; color: white; font-family: var(--display); font-size: .76rem; font-weight: 700; }
.preview-art { position: absolute; right: -4%; bottom: -3%; width: 47%; height: 81%; }
.preview-art span { position: absolute; display: block; background: #cbd9ff; }
.preview-art span:nth-child(1) { inset: 5% 12% 0; border-radius: 100px 100px 0 0; }
.preview-art span:nth-child(2) { right: 0; bottom: 0; width: 68%; height: 58%; background: #1e58e8; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.preview-art span:nth-child(3) { right: 17%; top: 19%; width: 56%; height: 56%; border-radius: 50%; background: #ff865e; }
.assistant-pop { position: absolute; z-index: 3; right: 18px; bottom: 18px; width: min(270px, 72%); display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: #11213c; color: white; box-shadow: 0 6px 8px rgba(12, 28, 54, .2); }
.assistant-dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }
.assistant-pop p { margin: 0; color: #dce5f8; font-size: .74rem; line-height: 1.3; }
.assistant-pop b { color: white; }
.product-caption { display: flex; justify-content: space-between; gap: 18px; margin-top: 18px; color: oklch(0.94 0.025 260); font-size: .78rem; }

.site-preview[data-theme="restaurante"] .preview-page { background: #fff2df; color: #641c13; }
.site-preview[data-theme="restaurante"] .preview-action { background: #c5301d; }
.site-preview[data-theme="restaurante"] .preview-art span:nth-child(1) { background: #f7bd39; border-radius: 50%; }
.site-preview[data-theme="restaurante"] .preview-art span:nth-child(2) { background: #c5301d; clip-path: circle(48%); }
.site-preview[data-theme="restaurante"] .preview-art span:nth-child(3) { background: #163d2b; }
.site-preview[data-theme="ginasio"] .preview-page { background: #15171a; color: #f6f4ed; }
.site-preview[data-theme="ginasio"] .preview-action { background: #d8f43b; color: #15171a; }
.site-preview[data-theme="ginasio"] .preview-art span:nth-child(1) { background: #272b31; border-radius: 0; transform: skew(-8deg); }
.site-preview[data-theme="ginasio"] .preview-art span:nth-child(2) { background: #d8f43b; clip-path: polygon(0 26%, 100% 0, 74% 100%); }
.site-preview[data-theme="ginasio"] .preview-art span:nth-child(3) { background: #ee552f; border-radius: 0; }

.hero-marquee { overflow: hidden; border-top: 1px solid color-mix(in oklch, white 22%, transparent); border-bottom: 1px solid color-mix(in oklch, white 22%, transparent); background: var(--blue-deep); }
.hero-marquee div { width: max-content; padding-block: 14px; color: white; font-family: var(--display); font-size: .84rem; font-weight: 600; animation: ticker 30s linear infinite; }
.hero-marquee span { margin-inline: 22px; color: var(--signal); }
@keyframes ticker { to { transform: translateX(-50%); } }

.difference, .product, .process, .pricing, .assurance, .closing { padding-block: clamp(88px, 11vw, 150px); }
.section-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(34px, 8vw, 120px); align-items: end; margin-bottom: 64px; }
.section-intro h2, .product-story h2, .pricing-copy h2, .pricing-head h2, .assurance-copy h2 { margin-bottom: 0; font-size: clamp(2.55rem, 5.5vw, 5.2rem); line-height: .98; letter-spacing: -.04em; }
.section-intro p { max-width: 48ch; margin-bottom: 4px; color: var(--muted); font-size: 1.08rem; }

.showcase-grid { display: grid; grid-template-columns: 1.05fr .85fr 1.1fr; gap: 16px; align-items: stretch; }
.showcase { min-height: 480px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 30px; border-radius: var(--radius-m); }
.showcase-copy > span { font-size: .76rem; font-weight: 700; }
.showcase-copy h3 { margin: 6px 0 8px; font-size: 2rem; line-height: 1; letter-spacing: -.03em; }
.showcase-copy p { max-width: 28ch; margin-bottom: 0; font-size: .92rem; }
.showcase-estate { background: #dce8ff; color: #0e347e; }
.showcase-estate p { color: #365681; }
.estate-visual { position: relative; height: 240px; margin: 20px -30px -30px 22px; overflow: hidden; background: #2157e8; }
.estate-visual i { position: absolute; left: 12%; bottom: 0; width: 45%; height: 82%; border-radius: 100px 100px 0 0; background: #f9b092; }
.estate-visual b { position: absolute; left: 19%; bottom: 14%; color: #11357d; font-family: var(--display); font-size: 4rem; }
.estate-visual span { position: absolute; right: 9%; top: 16%; color: white; font-family: var(--display); font-size: 1.4rem; font-weight: 700; line-height: 1.35; }
.showcase-food { background: #a92c1b; color: #fff9e8; }
.showcase-food p { color: #ffd8c8; }
.food-visual { height: 250px; display: flex; flex-direction: column; justify-content: space-between; margin: -30px -30px 28px; padding: 28px; background: var(--yellow); color: #6a1e14; transform: rotate(-3deg); transform-origin: top right; }
.food-visual span, .food-visual i { font-size: .78rem; font-style: normal; font-weight: 700; }
.food-visual b { font-family: var(--display); font-size: clamp(2.6rem, 4vw, 4.1rem); line-height: .84; letter-spacing: -.045em; }
.showcase-gym { background: #17191d; color: white; }
.showcase-gym p { color: #b7bac0; }
.gym-visual { position: relative; height: 245px; margin: 28px -30px -30px; padding: 24px; overflow: hidden; background: #d8f43b; color: #17191d; }
.gym-visual::after { content: ""; position: absolute; right: -32px; bottom: -65px; width: 210px; height: 210px; border: 38px solid #ee552f; border-radius: 50%; }
.gym-visual b { font-family: var(--display); font-size: 4.4rem; letter-spacing: -.055em; }
.gym-visual span { position: absolute; left: 27px; bottom: 29px; font-size: .77rem; font-weight: 700; line-height: 1.3; }
.gym-visual i { position: absolute; right: 22px; top: 24px; padding: 7px 10px; background: #17191d; color: white; font-size: .7rem; font-style: normal; font-weight: 700; }

.product { background: var(--ink); color: white; }
.product-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.plain-label { margin-bottom: 20px; color: var(--blue); font-family: var(--display); font-weight: 700; }
.product .plain-label { color: var(--signal); }
.product-story > p:not(.plain-label) { max-width: 54ch; color: #bfc6d3; }
.product-story h2 { margin-bottom: 28px; font-size: clamp(2.7rem, 4.6vw, 4.4rem); }
.product-tabs { display: flex; gap: 8px; margin: 36px 0 24px; border-bottom: 1px solid #3c4350; }
.product-tabs button { padding: 10px 4px 12px; margin-right: 24px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #aab2c1; cursor: pointer; font-family: var(--display); font-weight: 700; }
.product-tabs button[aria-selected="true"] { border-color: var(--signal); color: white; }
.tab-copy h3 { margin-bottom: 8px; font-size: 1.5rem; }
.tab-copy p { max-width: 52ch; margin-bottom: 0; color: #bfc6d3; }

.dashboard-window { overflow: hidden; border-radius: var(--radius-m); background: #f7f8fb; color: #172139; box-shadow: 0 34px 70px rgba(0, 0, 0, .34); }
.dashboard-head { height: 60px; display: flex; align-items: center; gap: 22px; padding: 0 20px; border-bottom: 1px solid #e1e4ea; }
.dashboard-head > b { color: #677187; font-size: .78rem; }
.dashboard-head > i { width: 31px; height: 31px; display: grid; place-items: center; margin-left: auto; border-radius: 50%; background: #dfe7ff; color: #1d50d0; font-size: .7rem; font-style: normal; font-weight: 700; }
.mini-brand { display: inline-flex; align-items: center; gap: 5px; font-family: var(--display); font-weight: 700; }
.mini-brand span { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.dashboard-body { min-height: 470px; display: grid; grid-template-columns: 165px 1fr; }
.dashboard-body aside { display: flex; flex-direction: column; gap: 6px; padding: 26px 15px; border-right: 1px solid #e1e4ea; background: white; }
.dashboard-body aside strong { margin: 0 10px 14px; font-family: var(--display); font-size: .76rem; }
.dashboard-body aside span { padding: 9px 10px; border-radius: 6px; color: #6c7588; font-size: .72rem; }
.dashboard-body aside .is-current { background: #e9efff; color: #174bc7; font-weight: 700; }
.dashboard-main { min-width: 0; padding: 30px; }
.dashboard-title { display: flex; justify-content: space-between; gap: 16px; align-items: end; }
.dashboard-title small { color: #7a8497; font-size: .68rem; }
.dashboard-title h3 { margin: 2px 0 0; font-size: 1.6rem; }
.dashboard-title button { padding: 9px 12px; border: 0; border-radius: 6px; background: #2157e8; color: white; font-size: .7rem; font-weight: 700; }
.dashboard-filter { display: flex; gap: 18px; margin: 26px 0 12px; padding-bottom: 10px; border-bottom: 1px solid #e1e4ea; color: #6f788b; font-size: .68rem; }
.content-row { display: grid; grid-template-columns: 48px 1fr auto 18px; gap: 11px; align-items: center; padding: 13px 0; border-bottom: 1px solid #e8eaf0; }
.content-row .thumb { width: 48px; height: 42px; border-radius: 5px; background: #dce6fd; }
.content-row .thumb-two { background: #f3d9c9; }
.content-row .thumb-three { background: #e4e6eb; }
.content-row div { min-width: 0; }
.content-row b, .content-row span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.content-row b { font-size: .73rem; }
.content-row span { margin-top: 3px; color: #7d8698; font-size: .64rem; }
.content-row em { padding: 5px 8px; border-radius: 999px; background: #daf5e5; color: #187446; font-size: .61rem; font-style: normal; font-weight: 700; }
.content-row em.draft { background: #eceef2; color: #616a7b; }
.content-row > strong { color: #929aaa; font-size: .7rem; }

.process { background: var(--blue-soft); }
/* Antes eram quatro linhas iguais com o parágrafo travado a 60ch dentro de um
   contentor de 1200px: sobrava meia largura vazia em cada linha, e nada dizia
   que aquilo era uma sequência além dos números. Agora são três colunas
   (número · passo · o que acontece) que usam a largura toda, com uma espinha a
   ligar os números — lê-se como percurso, não como lista. */
.process-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); counter-reset: none; }
.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(170px, 1fr) minmax(0, 1.5fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid color-mix(in oklch, var(--ink) 24%, transparent);
}
/* a espinha: contínua entre o primeiro e o último número, e não sai fora deles */
.process-list li::before {
  position: absolute; z-index: 0; inset-block: 0; left: 27px;
  width: 2px; background: color-mix(in oklch, var(--blue) 28%, transparent);
  content: "";
}
.process-list li:first-child::before { top: 32px; }
.process-list li:last-child::before { bottom: auto; height: 32px; }
.process-list li > span {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border: 2px solid var(--blue); border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: var(--display); font-size: 1.05rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.process-list h3 { margin: 12px 0 0; font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1.15; }
.process-list p { max-width: 54ch; margin: 14px 0 0; color: var(--muted); }

.pricing { background: var(--coral); color: var(--ink); }
.pricing-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 9vw, 130px); align-items: center; }
.pricing-copy .plain-label, .pricing-head .plain-label { color: var(--ink); }
.pricing-copy h2, .pricing-head h2 { margin-bottom: 26px; }
.pricing-copy > p:not(.plain-label), .pricing-head > p:not(.plain-label) { max-width: 50ch; margin-bottom: 30px; color: color-mix(in oklch, var(--ink) 82%, var(--coral)); }
.pricing-head { max-width: 66ch; margin-bottom: clamp(38px, 6vw, 68px); }
.price-sheet { padding: clamp(28px, 5vw, 52px); background: var(--paper); box-shadow: 8px 8px 0 var(--ink); transform: rotate(1deg); }
.price-line { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.price-line span { font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
.price-line p { margin: 5px 0 0; color: var(--muted); font-size: .88rem; }
.price-line strong { flex: 0 0 auto; font-family: var(--display); font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.04em; }
.price-line small { font-size: .85rem; letter-spacing: 0; }
.price-rule { height: 7px; margin: 30px 0; background: var(--blue); }
.price-sheet ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.price-sheet li { display: flex; gap: 10px; font-size: .92rem; }
.price-sheet li span { color: var(--blue); font-weight: 700; }
.tax-note { margin: 24px 0 0; color: var(--muted); font-size: .76rem; }

/* Dois planos: folhas lado a lado, mesma linguagem de papel colado. */
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 4vw, 46px); align-items: start; }
.price-sheet.plan-main { transform: rotate(-1deg); border-top: 7px solid var(--blue); }
.price-sheet.plan-lite { transform: rotate(1deg); }
.plan-tag { display: inline-block; margin: 0 0 16px; padding: 6px 12px; background: var(--signal); color: var(--ink); font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.plan-name { margin: 0 0 6px; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; letter-spacing: -.035em; }
.plan-lede { margin: 0 0 4px; max-width: 30ch; color: var(--muted); font-size: .95rem; }
.plan-shared { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 36px; margin: clamp(38px, 5vw, 62px) 0 0; padding: 0; list-style: none; }
.plan-shared li { display: flex; gap: 10px; font-size: .92rem; }
.plan-shared li span { color: var(--blue-deep); font-weight: 700; }
.pricing .tax-note { color: color-mix(in oklch, var(--ink) 72%, var(--coral)); }

.assurance { background: var(--paper); }
.assurance-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(50px, 10vw, 150px); align-items: center; }
.assurance-mark { width: min(100%, 330px); aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; padding: 38px; border-radius: 50%; background: var(--signal); color: var(--ink); transform: rotate(-7deg); }
.assurance-mark span { font-family: var(--display); font-size: 1.15rem; font-weight: 600; }
.assurance-mark b { font-family: var(--display); font-size: clamp(3.4rem, 7vw, 6rem); line-height: .76; letter-spacing: -.055em; }
.assurance-copy h2 { margin-bottom: 28px; }
.assurance-copy > p { max-width: 70ch; color: var(--muted); }
details { margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
summary { padding: 18px 0; cursor: pointer; font-family: var(--display); font-weight: 700; }
details > div { padding-bottom: 18px; }
details strong { color: var(--ink); }
details a { color: var(--blue); }

.closing { background: var(--blue-deep); color: white; }
.closing-layout { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; }
.closing p { margin-bottom: 10px; color: var(--signal); font-family: var(--display); font-weight: 700; }
.closing h2 { margin: 0; font-size: clamp(3.3rem, 7vw, 6rem); line-height: .9; letter-spacing: -.04em; }
.closing-actions { min-width: min(100%, 330px); display: flex; flex-direction: column; gap: 14px; }
.closing-actions > a:not(.button) { color: #d5dff5; font-size: .9rem; text-underline-offset: 4px; }

footer { padding: 64px 0 26px; background: #101725; color: #c7cfde; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-brand { color: white; }
.footer-grid p { max-width: 25ch; color: #8f9bad; }
.footer-grid strong { margin-bottom: 7px; color: white; font-family: var(--display); font-size: .86rem; }
.footer-grid a, .footer-grid span { color: #aeb8c8; font-size: .82rem; text-decoration: none; }
.footer-grid a:hover { color: var(--signal); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 22px; border-top: 1px solid #30394a; color: #8793a6; font-size: .75rem; }

.reveal { transition: transform .8s var(--ease-out), opacity .8s ease; }
html.has-js .reveal:not(.in-view) { transform: translateY(20px); opacity: .82; }

@media (max-width: 980px) {
  .hero-layout, .product-layout, .pricing-layout { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .hero-layout { min-height: auto; }
  .hero-product { max-width: 720px; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-gym { grid-column: 1 / -1; min-height: 420px; }
  .assurance-layout { grid-template-columns: .55fr 1.45fr; }
  .closing-layout { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.2fr repeat(2, 1fr); }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell { width: min(100% - 32px, var(--shell)); }
  .nav-shell { min-height: 66px; }

  /* O menu passa a painel. Só se esconde se houver JS para o abrir. */
  .has-js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); cursor: pointer; }
  .has-js .main-nav {
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 8px 24px 18px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px -24px oklch(0.19 0.04 258 / 0.5);
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .24s ease, transform .28s var(--ease-out), visibility .24s;
  }
  .has-js .main-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .has-js .main-nav a { padding-block: 14px; border-bottom: 1px solid color-mix(in oklch, var(--line) 60%, transparent); font-size: 1.05rem; color: var(--ink); }
  .has-js .main-nav a:last-child { border-bottom: 0; }
  .has-js .main-nav a::after { display: none; }
  /* sem JS: sem painel, os links ficam simplesmente na barra */
  .main-nav { gap: 18px; }
  .hero-layout { padding-block: 64px 74px; }
  .hero h1 { font-size: clamp(3.25rem, 16vw, 5.1rem); }
  .hero-product { margin-inline: -5px; }
  .site-preview { min-height: 430px; transform: none; }
  .preview-page { min-height: 388px; padding: 24px 22px; }
  .preview-content { width: 74%; padding-top: 52px; }
  .preview-content h2 { font-size: clamp(2.15rem, 11vw, 3.25rem); }
  .preview-art { right: -13%; width: 56%; }
  .product-caption { flex-direction: column; gap: 3px; }
  .section-intro { grid-template-columns: 1fr; margin-bottom: 42px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase, .showcase-gym { grid-column: auto; min-height: 420px; }
  .product-layout { gap: 52px; }
  .dashboard-body { grid-template-columns: 1fr; min-height: 390px; }
  .dashboard-body aside { display: none; }
  .dashboard-main { padding: 22px 16px; }
  .content-row { grid-template-columns: 42px 1fr auto; }
  .content-row > strong { display: none; }
  .assurance-layout { grid-template-columns: 1fr; }
  .assurance-mark { width: 230px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .brand { font-size: 1.2rem; }
  .nav-actions .button { min-height: 40px; padding: 9px 12px; font-size: .78rem; }
  .nav-actions { gap: 8px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .demo-switcher { margin-left: 0; overflow-x: auto; }
  .demo-choice { flex: 0 0 auto; }
  .site-preview { min-height: 400px; }
  .preview-page { min-height: 358px; }
  .preview-nav i { display: none; }
  .preview-content { width: 88%; }
  .preview-art { opacity: .62; }
  .assistant-pop { right: 12px; bottom: 12px; }
  .product-tabs button { margin-right: 12px; }
  .process-list li { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 16px; padding: 24px 0; }
  .process-list li > span { width: 44px; height: 44px; font-size: .95rem; }
  .process-list li::before { left: 21px; }
  .process-list li:first-child::before { top: 24px; }
  .process-list li:last-child::before { height: 24px; }
  .process-list h3 { grid-column: 2; margin-top: 8px; }
  .process-list p { grid-column: 2; margin-top: 8px; }
  .price-line { flex-direction: column; }
  .price-sheet { box-shadow: 5px 5px 0 var(--ink); transform: none; }
  /* especificidade: as variantes (0,2,0) ganhavam ao reset acima (0,1,0) — repor aqui */
  .price-sheet.plan-main, .price-sheet.plan-lite { transform: none; }
  .plan-shared { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.has-js .reveal:not(.in-view) { transform: none; opacity: 1; }
}

/* ── Afinação [2026-09-18] ──────────────────────────────────────────────────
   Detalhe, não redesenho. O sistema visual (coral, sombras duras, cartões
   rodados, Familjen Grotesk) é deliberado e fica como está. */

/* FUNCIONAL, não cosmético: o header é sticky com 76px. Sem isto, clicar em
   "Preço" leva a secção para debaixo da barra e o título fica escondido. O menu
   de telemóvel usa as mesmas âncoras, por isso agravava-se em mobile. */
.hero, .difference, .product, .process, .pricing, .assurance, .closing { scroll-margin-top: 92px; }

/* Preços com numerais de largura fixa: "350 €" e "250 €" passam a alinhar na
   vertical entre os dois cartões em vez de dançarem conforme os dígitos. */
.price-line strong, .price-line small { font-variant-numeric: tabular-nums; }

/* O botão do menu não estava na lista de focus-visible — teclado sem anel de
   foco visível é falha de acessibilidade, e o botão é novo. */
.nav-toggle:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

/* Sublinhados que não cortam as descendentes (g, p, q). */
a:not(.button):not(.brand) { text-underline-offset: .18em; text-decoration-thickness: from-font; }

/* Seleção e cursor na cor da marca em vez do azul do sistema. */
::selection { background: var(--signal); color: var(--ink); }
html { caret-color: var(--blue); }

@media (max-width: 760px) {
  .hero, .difference, .product, .process, .pricing, .assurance, .closing { scroll-margin-top: 76px; }
}
