/* Guardô — site de apresentação. CSS puro, sem dependências externas. */

:root {
  color-scheme: light dark;
  --bg: #f2effa;
  --bg-2: #eae5f5;
  --surface: #fbf9ff;
  --surface-2: #ffffff;
  --subtle: #f3effc;
  --primary: #7e61e3;
  --primary-dark: #6648ce;
  --primary-light: #e4dcff;
  --on-primary: #ffffff;
  --text: #2d264b;
  --text-2: #5c537e;
  --text-3: #6b6190;
  --border: #e4defa;
  --hi: rgba(255, 255, 255, 0.95);
  --sh-in: rgba(138, 111, 232, 0.16);
  --sh-out: rgba(92, 73, 158, 0.18);
  --sh-soft: rgba(92, 73, 158, 0.1);
  --warn-bg: #fff0df;
  --warn-text: #8a4106;
  --focus: #6648ce;
  --radius: 28px;
  --radius-sm: 18px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #140f22;
    --bg-2: #1c162e;
    --surface: #241d3b;
    --surface-2: #2f264c;
    --subtle: #1f1932;
    --primary: #8b70ec;
    --primary-dark: #6d4ecc;
    --primary-light: #34275e;
    --text: #f5f2ff;
    --text-2: #c4bce3;
    --text-3: #a79fc6;
    --border: #362b54;
    --hi: rgba(255, 255, 255, 0.1);
    --sh-in: rgba(0, 0, 0, 0.38);
    --sh-out: rgba(0, 0, 0, 0.55);
    --sh-soft: rgba(0, 0, 0, 0.35);
    --warn-bg: #442914;
    --warn-text: #ffb067;
    --focus: #c9b9ff;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(60rem 30rem at 85% -5%, var(--primary-light), transparent 70%),
    radial-gradient(40rem 24rem at -10% 40%, var(--bg-2), transparent 70%);
  background-repeat: no-repeat;
  min-height: 100vh;
}

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

a { color: var(--primary-dark); text-underline-offset: 0.2em; }
@media (prefers-color-scheme: dark) { a { color: #c9b9ff; } }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--primary-dark);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  z-index: 10;
}
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 46rem); margin-inline: auto; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }

/* Cabeçalho */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
  text-decoration: none;
}
.brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 4px 10px var(--sh-soft); }
.topnav { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.topnav a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}
.topnav a:hover { background: var(--primary-light); color: var(--text); }
.topnav a[aria-current] { background: var(--surface-2); box-shadow: 0 3px 8px var(--sh-soft); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  padding-block: clamp(2rem, 6vw, 4.5rem);
}
.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
@media (prefers-color-scheme: dark) { .eyebrow { color: #d9ccff; } }
.hero h1 .accent { color: var(--primary); }
.lead { font-size: 1.25rem; color: var(--text-2); max-width: 34rem; }
.soon {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 800;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  color: var(--on-primary);
  background: linear-gradient(180deg, #9980f2, var(--primary-dark));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), inset 0 -4px 8px rgba(60, 30, 140, 0.3), 0 10px 22px var(--sh-out);
}
.hero-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 26rem;
  margin-inline: auto;
  width: 100%;
  border-radius: 48px;
  background: linear-gradient(160deg, var(--surface-2), var(--primary-light));
  box-shadow: inset 0 3px 0 var(--hi), inset 0 -10px 24px var(--sh-in), 0 24px 48px var(--sh-out);
}
.hero-art img { width: 78%; height: auto; filter: drop-shadow(0 16px 18px var(--sh-out)); }

/* Seções */
section { padding-block: clamp(2.2rem, 6vw, 4rem); }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head p { color: var(--text-2); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: inset 0 2px 0 var(--hi), inset 0 -6px 14px var(--sh-in), 0 14px 28px var(--sh-soft);
}
.card h3 { margin-bottom: 0.4em; }
.card p { margin: 0; color: var(--text-2); font-size: 1rem; }
.card .dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-bottom: 0.9rem;
  background: radial-gradient(circle at 30% 30%, #c9b9ff, var(--primary));
  box-shadow: 0 3px 6px var(--sh-out);
}

.privacy-band {
  border-radius: 40px;
  padding: clamp(1.6rem, 5vw, 3rem);
  background: linear-gradient(160deg, #9980f2, #6648ce);
  color: #fff;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.3), inset 0 -10px 24px rgba(40, 20, 110, 0.35), 0 24px 48px var(--sh-out);
}
.privacy-band h2 { color: #fff; }
.privacy-band p { color: #f0eaff; max-width: 38rem; }
.privacy-band ul {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.privacy-band li {
  font-weight: 800;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.privacy-band a { color: #fff; font-weight: 800; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  font-weight: 800;
  color: var(--on-primary);
  background: linear-gradient(180deg, #9980f2, var(--primary-dark));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 6px 12px var(--sh-out);
}

/* FAQ */
.faq { display: grid; gap: 0.9rem; }
.faq details {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.2rem 1.25rem;
  box-shadow: inset 0 2px 0 var(--hi), 0 8px 18px var(--sh-soft);
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  padding: 0.9rem 0;
  list-style-position: outside;
}
.faq details p { color: var(--text-2); margin: 0 0 1rem; }

/* Rodapé */
footer {
  margin-top: 2rem;
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.97rem;
}
.foot-grid { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
footer h2 { font-size: 1rem; margin-bottom: 0.5rem; }
.placeholder-mark {
  background: var(--warn-bg);
  color: var(--warn-text);
  font-weight: 800;
  padding: 0.1rem 0.5rem;
  border-radius: 8px;
}
.fineprint { margin-top: 1.5rem; font-size: 0.88rem; color: var(--text-3); }

/* Política de privacidade (texto longo) */
.doc { padding-block: 1rem 3rem; }
.doc h1 { font-size: clamp(2rem, 6vw, 3rem); }
.doc h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.doc blockquote {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--warn-bg);
  color: var(--warn-text);
}
.doc blockquote p { margin: 0.2rem 0; }
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 1.8rem 0; }
.doc ul, .doc ol { padding-left: 1.4rem; }
.doc li { margin-bottom: 0.5rem; }
.doc code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.92em;
  background: var(--subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.05rem 0.4rem;
}

/* Página 404 */
.notfound { text-align: center; padding-block: 4rem; }
.notfound img { margin: 0 auto 1.5rem; }
.btn {
  display: inline-block;
  font-weight: 800;
  text-decoration: none;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  color: var(--on-primary);
  background: linear-gradient(180deg, #9980f2, var(--primary-dark));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 10px 22px var(--sh-out);
}
.btn:hover { color: #fff; filter: brightness(1.06); }

@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-art { order: -1; max-width: 17rem; }
}
@media (max-width: 30rem) {
  body { font-size: 1rem; }
  .topbar { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: no-preference) {
  .card, .soon, .btn { transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .card:hover { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
