/* MyBeautyAI — estilo compartilhado do site (política + suporte).
   Paleta espelha o app: lilás #7C6BF0 sobre fundo lilás claro. */

:root {
  --primary: #7C6BF0;
  --primary-deep: #6A57E0;
  --bg: #F5F1FF;
  --surface: #FFFFFF;
  --text-strong: #3D3550;
  --text-body: #5A5470;
  --text-caption: #8B84A0;
  --border: #E4DDF7;
  --fill: #EDE7FF;
  --todo-bg: #FFE9A8;
  --todo-text: #6B4E00;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #A99AFF;
    --primary-deep: #BCAEFF;
    --bg: #191527;
    --surface: #221D35;
    --text-strong: #F2EEFF;
    --text-body: #C8C1DE;
    --text-caption: #9990B0;
    --border: #332B4D;
    --fill: #2C2544;
    --todo-bg: #6B5300;
    --todo-text: #FFE9A8;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 22px 64px;
}

header.top { margin-bottom: 34px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

h1 {
  font-size: clamp(27px, 6vw, 35px);
  line-height: 1.2;
  color: var(--text-strong);
  margin: 20px 0 6px;
  letter-spacing: -0.4px;
}

.updated { color: var(--text-caption); font-size: 14px; margin: 0; }

h2 {
  font-size: 20px;
  color: var(--text-strong);
  margin: 40px 0 12px;
  letter-spacing: -0.2px;
}

h3 {
  font-size: 16px;
  color: var(--text-strong);
  margin: 26px 0 8px;
}

p, li { color: var(--text-body); }
li { margin-bottom: 7px; }
strong { color: var(--text-strong); }

a { color: var(--primary-deep); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 22px 0;
}

.card.resumo { border-color: var(--primary); }
.card.resumo h2 { margin-top: 0; }
.card.resumo ul { margin-bottom: 0; }

/* Caminho da foto, passo a passo */
.flow { list-style: none; padding: 0; margin: 18px 0; counter-reset: step; }
.flow li {
  position: relative;
  padding: 0 0 18px 44px;
  margin: 0;
  counter-increment: step;
}
.flow li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 28px; height: 28px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13.5px; top: 30px; bottom: 4px;
  width: 2px;
  background: var(--border);
}

.table-scroll { overflow-x: auto; margin: 18px 0; }

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 460px;
  font-size: 15px;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th { background: var(--fill); color: var(--text-strong); font-weight: 700; }
tr:last-child td { border-bottom: none; }

.todo {
  background: var(--todo-bg);
  color: var(--todo-text);
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 5px;
}

footer.bottom {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text-caption);
  font-size: 14px;
}

footer.bottom a { margin-right: 16px; }

/* --- Home --- */
.hero { text-align: center; padding: 26px 0 8px; }

.hero img {
  width: 108px; height: 108px;
  border-radius: 26px;
  display: block; margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(124, 107, 240, 0.25);
}

.hero h1 { margin: 0 0 10px; }

.hero .tagline {
  font-size: 17px;
  max-width: 30ch;
  margin: 0 auto;
}

.links { display: grid; gap: 12px; margin: 34px 0 10px; }

.linkcard {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}

.linkcard:hover { border-color: var(--primary); transform: translateY(-1px); }
.linkcard strong { display: block; color: var(--text-strong); font-size: 16px; }
.linkcard span { color: var(--text-caption); font-size: 14px; }
