@font-face { font-family: 'Cormorant'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/cormorant-latin-600-normal-lu.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/montserrat-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/montserrat-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/montserrat-latin-600-normal.woff2') format('woff2'); }

/* Mesmas cores da app Lu Semijoias (lu-revendedoras-api/public/reset-password.html) */
:root {
  --sage: #B1C5B1; --sage-dark: #8A9A8A; --sage-deep: #6F806F; --sage-light: #D3DDD3;
  --bg: #F4F7F4; --surface: #FFFFFF; --surface-soft: #FCFDFC;
  --ink: #2C332C; --muted: #5A635A; --light: #7D8A7D; --border: #E8EEE8;
  --serif: 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--ink);
  line-height: 1.6; min-height: 100vh; min-height: 100dvh;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* ---------- Página inicial ---------- */
.home {
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 32px 16px 24px;
}
.card {
  background: var(--surface); width: 100%; max-width: 440px; border-radius: 24px;
  overflow: hidden; box-shadow: 0 2px 20px rgba(44, 51, 44, .08);
}
.card-head { background: var(--sage); padding: 36px 24px 32px; }
.card-head img { width: 120px; height: 120px; border-radius: 26px; margin: 0 auto; }
.card-body { padding: 34px 30px 30px; text-align: center; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: 10px;
}
h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 7vw, 36px);
  line-height: 1.15; letter-spacing: .2px; margin-bottom: 14px;
}
.lead { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.actions { display: grid; gap: 12px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: 16px; font-weight: 600; text-decoration: none;
  border-radius: 999px; padding: 15px 22px; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid rgba(111, 128, 111, .45); outline-offset: 3px; }
.btn-primary { background: var(--sage-deep); color: #fff; }
.btn-primary:hover { background: #5E6E5E; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--sage); }
.btn-ghost:hover { background: var(--bg); border-color: var(--sage-dark); }
.phone { margin-top: 18px; font-size: 13px; color: var(--light); }
.phone a { text-decoration: none; font-weight: 500; color: var(--muted); transition: color .2s ease; }
.phone a:hover { color: var(--ink); }

.legal { margin-top: 22px; text-align: center; font-size: 12px; color: var(--muted); line-height: 1.9; }
.legal a { text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: color .2s ease; }
.legal a:hover { color: var(--ink); }
.legal .sep { margin: 0 6px; }

/* ---------- Política de privacidade ---------- */
.doc-head { background: var(--bg); border-bottom: 1px solid var(--border); }
.doc-head-inner {
  max-width: 760px; margin: 0 auto; padding: 18px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.doc-head a.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer; }
.doc-head img { width: 52px; height: 52px; border-radius: 12px; }
.doc-head .brand span { font-family: var(--serif); font-size: 20px; letter-spacing: .3px; color: var(--ink); }
.doc-head .back {
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px; min-height: 44px; cursor: pointer; transition: opacity .2s ease;
}
.doc-head .back:hover { opacity: .7; }
.doc-head .back svg { width: 18px; height: 18px; }

.doc { max-width: 760px; margin: 0 auto; padding: 40px 16px 56px; }
.doc article {
  background: var(--surface); border-radius: 20px; padding: 40px 32px;
  box-shadow: 0 2px 16px rgba(44, 51, 44, .06);
}
.doc h1 { font-size: clamp(30px, 6vw, 40px); margin-bottom: 6px; }
.doc .updated { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.doc h2 {
  font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: 0;
  text-transform: none; color: var(--ink); margin: 34px 0 10px;
}
.doc p, .doc li { font-size: 15px; color: var(--muted); }
.doc p + p { margin-top: 10px; }
.doc ul { margin: 8px 0 10px 20px; }
.doc li + li { margin-top: 4px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 30px 0 0; }
.doc .contact {
  margin-top: 36px; background: var(--bg); border-radius: 14px; padding: 20px 22px;
}
.doc .contact p { color: var(--ink); }
.doc .contact a { font-weight: 600; text-underline-offset: 3px; cursor: pointer; }
.doc .legal { margin-top: 28px; }

/* Computador: cartão horizontal (logótipo à esquerda, texto e botões à direita), cabe no ecrã sem rolar */
@media (min-width: 760px) {
  .card {
    max-width: 880px; display: grid; grid-template-columns: clamp(200px, 30%, 300px) 1fr;
  }
  .card-head { display: flex; align-items: center; justify-content: center; padding: 40px 32px; }
  .card-head img { width: 168px; height: 168px; border-radius: 32px; }
  .card-body { text-align: left; padding: 48px 48px 44px; display: flex; flex-direction: column; justify-content: center; }
  h1 { font-size: clamp(32px, 3.4vw, 40px); }
  .lead { max-width: 46ch; }
  /* lado a lado quando cabem, um por linha quando não (janela estreita ou zoom) */
  .actions { display: flex; flex-wrap: wrap; }
  .btn { flex: 1 1 210px; white-space: nowrap; font-size: 15px; padding: 14px 16px; }
}

/* Ecrãs baixos (portáteis pequenos, browser com zoom): tudo mais compacto */
@media (min-width: 760px) and (max-height: 620px) {
  .home { padding: 16px 16px 12px; }
  .card-head { padding: 24px; }
  .card-head img { width: 132px; height: 132px; border-radius: 26px; }
  .card-body { padding: 28px 36px 26px; }
  .eyebrow { margin-bottom: 6px; }
  h1 { font-size: 30px; margin-bottom: 10px; }
  .lead { font-size: 14px; margin-bottom: 18px; }
  .phone { margin-top: 12px; }
  .legal { margin-top: 12px; }
}
@media (max-width: 759px) and (max-height: 640px) {
  .home { padding: 16px 16px 12px; }
  .card-head { padding: 22px 24px 20px; }
  .card-head img { width: 96px; height: 96px; border-radius: 22px; }
  .card-body { padding: 24px 22px 22px; }
  .lead { margin-bottom: 20px; }
}

@media (max-width: 480px) {
  .card-body { padding: 30px 22px 28px; }
  .doc article { padding: 30px 20px; }
  .doc-head .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

.nowrap { white-space: nowrap; }
