/* ============================================================
   Keepers Lisbon — folha de estilo única
   Paleta: navy profundo + ouro, sobre off-white quente
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Altura do cabeçalho fixo — usada no deslocamento das âncoras */
  --header-h: 86px;

  /* Escala tipográfica fluida */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  /* Espaçamento 4px */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Raios, transições, sombras */
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --radius-full: 9999px;
  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Larguras */
  --content-narrow: 660px;
  --content-default: 980px;
  --content-wide: 1220px;

  /* Tipos de letra */
  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'Supreme', 'Helvetica Neue', system-ui, sans-serif;
}

/* ---------- Modo claro ---------- */
:root,
[data-theme='light'] {
  --color-bg: #f5f2e9;
  --color-surface: #fffdf7;
  --color-surface-2: #ece7d9;
  --color-surface-deep: #1f4038;
  --color-border: #d9d1bf;
  --color-divider: #e6e0d1;

  --color-text: #1c332c;
  --color-text-muted: #566159;
  --color-text-faint: #949b92;
  --color-text-inverse: #f7f4ea;

  --color-primary: #1f4038;
  --color-primary-hover: #2d5a4f;

  --color-gold: #a8813c;
  --color-gold-strong: #7a5c24;
  --color-gold-soft: #e3d5b3;

  --shadow-sm: 0 1px 2px rgba(28, 51, 44, 0.06);
  --shadow-md: 0 6px 24px rgba(28, 51, 44, 0.09);
  --shadow-lg: 0 18px 48px rgba(28, 51, 44, 0.13);

  --logo-navy: block;
  --logo-white: none;
}

/* ---------- Modo escuro ---------- */
[data-theme='dark'] {
  --color-bg: #101a16;
  --color-surface: #16231e;
  --color-surface-2: #1c2b25;
  --color-surface-deep: #0a120f;
  --color-border: #2e3f38;
  --color-divider: #22322c;

  --color-text: #e3e0d5;
  --color-text-muted: #9aa49c;
  --color-text-faint: #6c766f;
  --color-text-inverse: #101a16;

  --color-primary: #e3e0d5;
  --color-primary-hover: #ffffff;

  --color-gold: #c8a45f;
  --color-gold-strong: #d9b878;
  --color-gold-soft: #33301f;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.55);

  --logo-navy: none;
  --logo-white: block;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Sem animação de deslocamento: o Chrome dimensiona a duração pela distância,
     e numa página longa o salto para o topo parecia arrastar-se linha a linha.
     Os saltos são instantâneos e o scroll-padding-top garante que a secção
     de destino não fica escondida atrás do cabeçalho fixo. */
  scroll-behavior: auto;
  scroll-padding-top: var(--header-h, 86px);
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  transition:
    background-color 300ms ease,
    color 300ms ease;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul[role='list'] {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

p,
li {
  text-wrap: pretty;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

a,
button {
  transition:
    color var(--transition-interactive),
    background-color var(--transition-interactive),
    border-color var(--transition-interactive),
    opacity var(--transition-interactive);
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

::selection {
  background: var(--color-gold-soft);
  color: var(--color-text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Utilitários ---------- */
.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}

.wrap--narrow {
  max-width: var(--content-default);
}

section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
  scroll-margin-top: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-strong);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-gold-soft);
  max-width: 120px;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}

.section-head h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-5);
}

.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 62ch;
}

.muted {
  color: var(--color-text-muted);
}

.small {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.rule {
  height: 1px;
  background: var(--color-divider);
  border: 0;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--gold {
  background: var(--color-gold);
  color: #0f1e18;
}
.btn--gold:hover {
  background: var(--color-gold-strong);
  color: #fff;
}

.btn--ghost {
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn--ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-strong);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn--ghost-light:hover {
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 250ms ease,
    background-color 250ms ease;
}

.header[data-scrolled='true'] {
  border-bottom-color: var(--color-divider);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  min-height: var(--header-h, 86px);
}

.brand {
  flex-shrink: 0;
  line-height: 0;
}

.brand img {
  height: 54px;
  width: auto;
}

.brand img.is-navy {
  display: var(--logo-navy);
}
.brand img.is-white {
  display: var(--logo-white);
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(var(--space-3), 1.35vw, var(--space-5));
}

.nav a {
  font-size: var(--text-sm);
  white-space: nowrap;
  text-decoration: none;
  color: var(--color-text-muted);
  padding-block: var(--space-2);
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a[aria-current='true'] {
  color: var(--color-text);
  border-bottom-color: var(--color-gold);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.lang a {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--color-text-muted);
  padding: 0.35em 0.6em;
  border-radius: var(--radius-full);
  line-height: 1;
}

.lang a:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

.lang a[aria-current='true'] {
  color: #fff;
  background: var(--color-surface-deep);
}

[data-theme='dark'] .lang a[aria-current='true'] {
  color: #101a16;
  background: var(--color-gold);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.icon-btn:hover {
  color: var(--color-gold-strong);
  border-color: var(--color-gold);
}

.nav-toggle {
  display: none;
}

@media (max-width: 560px) {
  :root {
    --header-h: 74px;
  }

  .brand img {
    height: 42px;
  }

  /* Em ecrãs estreitos o logótipo mais o bloco de ações não cabiam na
     largura disponível e a página ganhava uma barra horizontal. */
  .header__inner {
    gap: var(--space-3);
  }

  .brand {
    min-width: 0;
  }

  .header__actions {
    gap: var(--space-2);
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .lang a {
    padding: 0.35em 0.45em;
  }
}

/* Telemóveis muito estreitos (ecrãs de 320 px). */
@media (max-width: 400px) {
  .brand img {
    height: 36px;
  }

  /* Etiquetas compridas (sobretudo em francês) deixam de forçar a página
     a ficar mais larga do que o ecrã. */
  .btn {
    white-space: normal;
    text-align: center;
    padding-inline: 1.1em;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
  }

  .lang a {
    padding: 0.3em 0.38em;
    font-size: 0.625rem;
  }
}

/* Entre 1181 e 1400 px o menu completo em inglês e francês era mais largo do
   que o ecrã, por causa das etiquetas mais compridas. Reduz-se o espaçamento
   em vez de esconder o menu. */
@media (min-width: 1181px) and (max-width: 1440px) {
  .header__inner {
    gap: var(--space-4);
  }

  .nav {
    gap: var(--space-3);
  }

  .nav a {
    font-size: 0.8125rem;
  }

  .header__actions {
    gap: var(--space-2);
  }

  .header__actions .btn {
    padding-inline: var(--space-4);
  }
}

@media (max-width: 1180px) {
  .nav {
    position: fixed;
    inset: var(--header-h, 86px) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-divider);
    padding: var(--space-4) clamp(var(--space-5), 5vw, var(--space-12))
      var(--space-8);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 200ms ease,
      transform 200ms ease;
  }

  .nav[data-open='true'] {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav a {
    padding-block: var(--space-4);
    border-bottom: 1px solid var(--color-divider);
    font-size: var(--text-base);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: grid;
    margin-left: auto;
  }

  .header__actions .btn {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 0;
  background: var(--color-bg);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
}

.hero__copy {
  display: flex;
  align-items: center;
  padding-block: clamp(var(--space-12), 7vw, var(--space-20));
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}

.hero__copy-inner {
  width: 100%;
  max-width: 620px;
}

.hero__media {
  position: relative;
  min-height: 42vh;
}

.hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 52%;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    align-items: stretch;
  }

  .hero__copy {
    padding-inline: max(
      clamp(var(--space-5), 5vw, var(--space-12)),
      calc((100vw - var(--content-wide)) / 2)
    );
    padding-right: clamp(var(--space-8), 4vw, var(--space-16));
  }

  .hero__copy-inner {
    margin-left: auto;
  }

  .hero__media {
    min-height: min(58svh, 560px);
  }
}

.hero .eyebrow {
  color: var(--color-gold-strong);
}
.hero .eyebrow::after {
  background: var(--color-gold-soft);
}

.hero h1 {
  font-size: clamp(2.2rem, 3.7vw, 3.3rem);
  line-height: 1.05;
  margin-bottom: var(--space-6);
}

.hero h1 em {
  font-style: italic;
  color: var(--color-gold-strong);
}

.hero__lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  padding-block: clamp(var(--space-8), 4vw, var(--space-10));
  border-top: 1px solid var(--color-border);
  margin-top: clamp(var(--space-8), 4vw, var(--space-12));
}

@media (min-width: 680px) {
  .hero__facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hero__fact {
  min-width: 0;
}

.hero__fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-gold-strong);
  margin-bottom: var(--space-1);
}

.hero__fact span {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ---------- Problema ---------- */
.problem {
  background: var(--color-surface-2);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.problem-card {
  background: var(--color-bg);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
}

.problem-card__num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-gold);
  display: block;
  margin-bottom: var(--space-4);
}

.problem-card h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-3);
}

.problem-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.problem__close {
  margin-top: clamp(var(--space-10), 5vw, var(--space-16));
  padding-left: clamp(var(--space-5), 3vw, var(--space-8));
  border-left: 2px solid var(--color-gold);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.4;
  max-width: 46ch;
}

/* ---------- O que fazemos ---------- */
.do-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: start;
}

@media (max-width: 900px) {
  .do-layout {
    grid-template-columns: 1fr;
  }
}

.do-list {
  display: grid;
  gap: var(--space-6);
}

.do-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}

.do-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.do-item__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-gold-soft);
  border-radius: var(--radius-full);
  color: var(--color-gold-strong);
  flex-shrink: 0;
}

.do-item h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.do-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.do-aside {
  position: relative;
}

.do-aside figure {
  position: relative;
}

.do-aside img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.do-aside figcaption {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: var(--space-4);
}

.do-note {
  margin-top: var(--space-8);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  padding: var(--space-6);
}

.do-note h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-strong);
  margin-bottom: var(--space-3);
}

.do-note p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ---------- Como funciona ---------- */
.how {
  background: var(--color-surface-deep);
  color: #f0ece3;
}

.how .eyebrow {
  color: var(--color-gold);
}
.how .eyebrow::after {
  background: rgba(217, 172, 95, 0.4);
}
.how .section-head h2 {
  color: #fff;
}
.how .lede {
  color: rgba(240, 236, 227, 0.78);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(var(--space-6), 3vw, var(--space-10));
  counter-reset: step;
}

.step {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(240, 236, 227, 0.22);
}

.step__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-gold);
  display: block;
  margin-bottom: var(--space-4);
  line-height: 1;
}

.step h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-3);
}

.step p {
  font-size: var(--text-sm);
  color: rgba(240, 236, 227, 0.72);
}

.sla {
  margin-top: clamp(var(--space-12), 6vw, var(--space-20));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(240, 236, 227, 0.16);
  border: 1px solid rgba(240, 236, 227, 0.16);
}

.sla__item {
  background: var(--color-surface-deep);
  padding: var(--space-6);
}

.sla__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-gold);
  margin-bottom: var(--space-1);
}

.sla__item span {
  font-size: var(--text-sm);
  color: rgba(240, 236, 227, 0.72);
}

/* ---------- Planos ---------- */
.plans-note {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-10);
}

.chip {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45em 0.9em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}

.chip--gold {
  border-color: var(--color-gold);
  color: var(--color-gold-strong);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

@media (max-width: 1080px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Nota do plano à medida, sob a grelha de planos */
.plans-bespoke {
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface-2);
  display: grid;
  grid-template-columns: minmax(15rem, 19rem) 1fr;
  align-items: start;
  gap: var(--space-3) var(--space-6);
}

.plans-bespoke > strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  line-height: 1.25;
  color: var(--color-text);
  text-wrap: balance;
}

.plans-bespoke p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.65;
  max-width: 62ch;
}

@media (max-width: 720px) {
  .plans-bespoke {
    grid-template-columns: 1fr;
  }
}

.plans-bespoke p strong {
  color: var(--color-text);
  font-weight: 500;
}

@media (max-width: 560px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-5), 2.5vw, var(--space-8));
  box-shadow: var(--shadow-sm);
}

.plan--featured {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
  position: relative;
}

.plan__badge {
  position: absolute;
  top: 0;
  right: var(--space-5);
  transform: translateY(-50%);
  background: var(--color-gold);
  color: #1c332c;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3em 0.8em;
  border-radius: var(--radius-full);
}

.plan__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.plan__kind {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-strong);
  margin-bottom: var(--space-5);
  min-height: 2.9em;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1;
}

.plan__price span {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-muted);
}

.plan__vat {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-2);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-divider);
}

.plan__features {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  margin: var(--space-5) 0 var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.plan__features li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: var(--space-3);
  align-items: start;
}

.plan__features li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 0.55em;
  border-radius: var(--radius-full);
  background: var(--color-gold);
}

.plan__features li.is-off {
  color: var(--color-text-faint);
}
.plan__features li.is-off::before {
  background: var(--color-text-faint);
  opacity: 0.5;
}

.plan .btn {
  margin-top: auto;
  width: 100%;
}

.plan-residence {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  justify-content: space-between;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-5), 3vw, var(--space-8));
}

.plan-residence h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.plan-residence p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 60ch;
}

.plan-residence__price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  white-space: nowrap;
}

/* Blocos de condições */
.cond-grid {
  margin-top: clamp(var(--space-12), 6vw, var(--space-20));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(var(--space-6), 3vw, var(--space-10));
}

.cond .table-wrap table {
  font-size: var(--text-xs);
  min-width: 0;
  table-layout: fixed;
}

.cond .table-wrap th:first-child,
.cond .table-wrap td:first-child {
  width: 38%;
}

.cond .table-wrap td.price {
  white-space: normal;
  overflow-wrap: break-word;
}

.cond .table-wrap th,
.cond .table-wrap td {
  padding: var(--space-2) var(--space-3);
}

.cond {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-5), 2.5vw, var(--space-8));
}

.cond h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-strong);
  margin-bottom: var(--space-5);
}

.cond p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ---------- Tabelas de preços ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: var(--text-sm);
}

caption {
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-strong);
  padding: var(--space-5) var(--space-5) var(--space-3);
}

th,
td {
  text-align: left;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-divider);
  vertical-align: top;
}

thead th {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  border-bottom-color: var(--color-border);
}

tbody tr:last-child td {
  border-bottom: 0;
}

td.price,
th.price {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 500;
  color: var(--color-text);
}

td.desc {
  color: var(--color-text-muted);
}

.tables-stack {
  display: grid;
  gap: clamp(var(--space-8), 4vw, var(--space-12));
}

.extras {
  background: var(--color-surface-2);
}

/* ---------- Quem somos ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}

.about-layout img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 620px;
  object-fit: cover;
}

.about-body p + p {
  margin-top: var(--space-5);
}

.about-body p {
  color: var(--color-text-muted);
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.values h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.values p {
  font-size: var(--text-sm);
}

/* ---------- Contactos ---------- */
.contact {
  background: var(--color-surface-deep);
  color: #f0ece3;
}

.contact .eyebrow {
  color: var(--color-gold);
}
.contact .eyebrow::after {
  background: rgba(217, 172, 95, 0.4);
}
.contact .section-head h2 {
  color: #fff;
}
.contact .lede {
  color: rgba(240, 236, 227, 0.78);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-list {
  list-style: none;
  display: grid;
  gap: var(--space-6);
}

.contact-list dt,
.contact-list__label {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}

.contact-list__value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: #fff;
  overflow-wrap: anywhere;
}

.contact-list__value a {
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 172, 95, 0.5);
}

.contact-list__value a:hover {
  color: var(--color-gold);
}

.contact-list p {
  font-size: var(--text-sm);
  color: rgba(240, 236, 227, 0.7);
  margin-top: var(--space-1);
}

.form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(240, 236, 227, 0.18);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  display: grid;
  gap: var(--space-5);
}

.field {
  display: grid;
  gap: var(--space-2);
}

.field label {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 236, 227, 0.75);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: var(--text-sm);
  color: #fff;
  background: rgba(9, 15, 28, 0.55);
  border: 1px solid rgba(240, 236, 227, 0.22);
  border-radius: var(--radius-md);
  padding: 0.75em 0.9em;
  width: 100%;
}

.field select option {
  color: #1c332c;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form .btn {
  justify-self: start;
}

.form__note {
  font-size: var(--text-xs);
  color: rgba(240, 236, 227, 0.6);
}

.form__status {
  font-size: var(--text-sm);
  color: var(--color-gold);
  min-height: 1.2em;
}

.form__status.is-ok {
  color: var(--color-text);
  font-weight: 500;
}

.form__status.is-erro {
  color: #a1352f;
}

[data-theme='dark'] .form__status.is-erro {
  color: #e08b83;
}

/* Campo-armadilha anti-robô: fora do ecrã, invisível para pessoas */
.isca {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Avisos legais ---------- */
.legal {
  background: var(--color-bg);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(var(--space-6), 3vw, var(--space-10));
}

.legal-item h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}

.legal-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ---------- Rodapé ---------- */
.footer {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-border);
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  justify-content: space-between;
  align-items: start;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.footer__brand img {
  height: 56px;
  width: auto;
  margin-bottom: var(--space-4);
}

.footer__brand img.is-navy {
  display: var(--logo-navy);
}
.footer__brand img.is-white {
  display: var(--logo-white);
}

.footer__brand {
  flex: 0 1 260px;
}

.footer__brand p {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 34ch;
}

.footer__cols {
  flex: 1 1 560px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-8) clamp(var(--space-6), 4vw, var(--space-12));
}

.footer__cols h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-strong);
  margin-bottom: var(--space-4);
}

.footer__cols ul {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}

.footer__cols a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer__cols a:hover {
  color: var(--color-gold-strong);
}

.footer__bottom {
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ---------- Revelação ao scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ================= Dois serviços: Property Care / Concierge ================= */
.svc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-6), 3vw, var(--space-10));
}

@media (max-width: 900px) {
  .svc-split {
    grid-template-columns: 1fr;
  }
}

.svc {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  display: flex;
  flex-direction: column;
}

.svc__tag {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-strong);
  margin-bottom: var(--space-4);
}

.svc h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.svc__promise {
  font-size: var(--text-base);
  color: var(--color-text);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}

.svc__list {
  list-style: none;
  margin: var(--space-6) 0 var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.svc__list li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.svc__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 1px;
  background: var(--color-gold);
}

.svc__foot {
  margin-top: auto;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
}

.svc__price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
}

.do-layout--tail {
  margin-top: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: center;
}

.svc-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.svc-figure figcaption {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: var(--space-4);
}

.do-layout--tail .do-note:first-child {
  margin-top: 0;
}

/* ================= Cartões de condições simplificados ================= */
.cond p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.cond__value {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-gold-strong);
}

.cond__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cond__list li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.cond__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--color-gold);
}

.cond-foot {
  margin-top: clamp(var(--space-8), 4vw, var(--space-12));
  max-width: var(--content-default);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-left: 2px solid var(--color-gold-soft);
  padding-left: var(--space-6);
}

.plan__vat {
  color: var(--color-text-muted);
}

/* ================= Concierge: cartões de preço ================= */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(var(--space-5), 2.5vw, var(--space-8));
}

.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-5), 2.5vw, var(--space-8));
  display: flex;
  flex-direction: column;
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.price-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.price-card__value {
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
}

.price-card .price-card__note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-2);
}

/* ================= Fundo de maneio ================= */
.fund-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: start;
}

@media (max-width: 900px) {
  .fund-grid {
    grid-template-columns: 1fr;
  }
}

.fund-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.fund-item {
  padding-left: var(--space-6);
  border-left: 2px solid var(--color-divider);
}

.fund-item h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-3);
}

.fund-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.fund-item a {
  color: var(--color-gold-strong);
  text-underline-offset: 3px;
}

.fund-item--warn {
  border-left-color: var(--color-gold);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  padding: var(--space-6);
}

.fund-facts {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  position: sticky;
  top: 120px;
}

@media (max-width: 900px) {
  .fund-facts {
    position: static;
  }
}

.fund-facts h3 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-strong);
  margin-bottom: var(--space-6);
}

.fund-facts dl > div {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-divider);
}

.fund-facts dl > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.fund-facts dt {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-2);
}

.fund-facts dd {
  font-size: var(--text-sm);
  color: var(--color-text);
}

/* ---------- Emergência ---------- */
.emg {
  margin-top: clamp(var(--space-12), 6vw, var(--space-20));
  border-top: 1px solid var(--color-border);
  padding-top: clamp(var(--space-8), 4vw, var(--space-12));
}

.emg h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.1;
  margin-bottom: var(--space-5);
}

.emg__lede {
  max-width: var(--content-default);
  color: var(--color-text-muted);
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}

.emg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-6), 3vw, var(--space-10));
}

@media (max-width: 760px) {
  .emg-grid {
    grid-template-columns: 1fr;
  }
}

.emg-col {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-5), 2.5vw, var(--space-8));
}

.emg-col--yes {
  border-top: 3px solid var(--color-gold);
}

.emg-col--no {
  border-top: 3px solid var(--color-border);
  background: transparent;
}

.emg-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.emg-col--yes h4 {
  color: var(--color-gold-strong);
}

.emg-col--no h4 {
  color: var(--color-text-faint);
}

.emg-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.emg-col li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.emg-col--yes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 1px;
  background: var(--color-gold);
}

.emg-col--no li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 1px;
  background: var(--color-text-faint);
}

.emg-foot {
  margin-top: clamp(var(--space-8), 4vw, var(--space-12));
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: clamp(var(--space-6), 3vw, var(--space-10));
}

@media (max-width: 760px) {
  .emg-foot {
    grid-template-columns: 1fr;
  }
}

.emg-foot p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.emg-foot strong {
  color: var(--color-text);
}

.cond-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1000px) {
  .cond-grid--three {
    grid-template-columns: 1fr;
  }
}

/* ---------- Ligacao de salto visivel ao receber foco ---------- */
.sr-only:focus,
.sr-only:focus-visible {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 999;
  width: auto;
  height: auto;
  margin: 0;
  padding: var(--space-3) var(--space-5);
  clip: auto;
  overflow: visible;
  background: var(--color-surface);
  color: var(--color-text);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
}

/* ---------- Paginas de texto corrido: privacidade, cookies ---------- */
.doc {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: var(--color-bg);
}

.doc__inner {
  max-width: 74ch;
  margin-inline: auto;
}

.doc h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.doc__meta {
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
}

.doc h2 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.doc h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.doc p,
.doc li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.doc strong {
  color: var(--color-text);
  font-weight: 500;
}

.doc ul {
  padding-left: var(--space-5);
  margin-bottom: var(--space-6);
}

.doc li {
  margin-bottom: var(--space-2);
  list-style: disc;
}

.doc a {
  color: var(--color-gold-deep, var(--color-gold));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc__table-wrap {
  overflow-x: auto;
  margin-bottom: var(--space-8);
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-xs);
}

.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
  color: var(--color-text-muted);
}

.doc th {
  color: var(--color-text);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
  border-bottom: 1px solid var(--color-border);
}

.doc__back {
  display: inline-block;
  margin-top: var(--space-12);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* ---------- Bloco de mencoes legais no rodape ---------- */
.footer__legal {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}

.footer__legal p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

.footer__legal strong {
  color: var(--color-text);
  font-weight: 500;
}

.footer__legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__legal a:hover {
  color: var(--color-gold);
}
