/* PÁGINA "CONHEÇA O PROJETO" (landing)
   Mesmo visual do app: degradê azul → turquesa, cartões e botões "3D"
   (com uma sombra sólida embaixo). Texto base de 17px para ler com conforto. */

:root {
  --bg: #f1f6fb;
  --surface: #ffffff;
  --surface-soft: #e6f0fa;
  --text: #1d2f45;
  --muted: #4f6479;
  --line: #dde7f0;
  --primary: #1f6fb8;
  --primary-soft: #d6e7f7;
  --coral: #ee7967;
  --coral-soft: #f8dfd8;
  --yellow: #edc653;
  --yellow-soft: #f8edc9;
  --accent: #19a7a1;
  --accent-soft: #d3f0ee;
  --hero-from: #1f6fb8;
  --hero-to: #19a7a1;
  --hero-shadow: #14548e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Manrope", sans-serif; font-weight: 800; line-height: 1.15; }

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

/* ----- Botões 3D ----- */
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 80ms ease, box-shadow 80ms ease;
}
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 transparent; }
.btn-primary { background: var(--hero-from); box-shadow: 0 4px 0 var(--hero-shadow); color: #ffffff; }
.btn-outline { border: 2px solid var(--line); background: var(--surface); box-shadow: 0 4px 0 var(--line); color: var(--primary); }
.btn-light { background: #ffffff; box-shadow: 0 4px 0 var(--hero-shadow); color: var(--hero-shadow); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, 0.7); color: #ffffff; }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 14px; }

/* ----- Cabeçalho ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-family: "Manrope", sans-serif; font-size: 22px; font-weight: 800; text-decoration: none; }
.brand img { border-radius: 10px; }
.brand > span > span { color: var(--accent); }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { color: var(--text); font-weight: 700; text-decoration: none; }
.main-nav a:hover { color: var(--primary); }
.header-actions { display: flex; gap: 10px; }

main { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ----- Topo em degradê ----- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 40px;
  margin-top: 12px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 32px;
  background: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-to) 100%);
  color: #ffffff;
}
.kicker { margin: 0 0 10px; font-size: 14px; font-weight: 800; letter-spacing: 0.1em; opacity: 0.9; }
.kicker-dark { color: var(--primary); opacity: 1; }
.hero h1 { margin: 0; font-size: clamp(40px, 5.4vw, 64px); }
.hero-text { max-width: 520px; margin: 18px 0 0; font-size: 19px; opacity: 0.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-art { position: relative; display: grid; justify-items: center; padding: 40px 0 10px; }
.hero-mascot {
  width: min(320px, 100%);
  aspect-ratio: 1;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 6px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: linear-gradient(160deg, #3a8dff 0%, #1767e6 100%);
  box-shadow: 0 10px 0 var(--hero-shadow);
  cursor: pointer;
}
.hero-mascot .mascot-svg { display: block; width: 100%; height: 100%; margin-top: 6%; }
.hero-bubble {
  position: absolute;
  top: 0;
  right: 6%;
  z-index: 1;
  padding: 10px 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 4px 0 var(--hero-shadow);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 800;
}
.hero-bubble::after { content: ""; position: absolute; bottom: -8px; left: 26px; width: 16px; height: 16px; background: #ffffff; transform: rotate(45deg); }
/* "Fichinhas" 3D em volta do mascote, como as da barra do app */
.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 0 var(--line);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 800;
}
.chip-streak { left: 0; top: 46%; }
.chip-streak .bi { color: #f0743a; }
.chip-xp { right: 0; top: 62%; }
.chip-xp .bi { color: #d9a20f; }
.chip-coins { left: 12%; bottom: 0; }
.chip-coins .bi { color: #d9a20f; }

/* ----- Seções ----- */
.section { padding: 72px 0 0; scroll-margin-top: 80px; }
.section-head { max-width: 640px; margin: 0 auto 32px; text-align: center; }
.section-head h2 { margin: 0; font-size: clamp(30px, 3.6vw, 40px); }
.section-head p:not(.kicker) { margin: 12px 0 0; color: var(--muted); font-size: 18px; }

/* Passos: três cartões com medalhas numeradas */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.step, .feature {
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 5px 0 var(--line);
}
.step h3, .feature h3 { margin: 14px 0 6px; font-size: 21px; }
.step p, .feature p { margin: 0; color: var(--muted); }
.step-medal {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 800;
}
.medal-blue { background: var(--hero-from); box-shadow: 0 5px 0 var(--hero-shadow); }
.medal-teal { background: var(--accent); box-shadow: 0 5px 0 #127a75; }
.medal-gold { background: linear-gradient(160deg, #ffd969 0%, #f3a521 100%); box-shadow: 0 5px 0 #c99a1c; }

/* Recursos */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; font-size: 26px; }
.icon-blue { background: var(--primary-soft); color: var(--primary); }
.icon-coral { background: var(--coral-soft); color: var(--coral); }
.icon-gold { background: var(--yellow-soft); color: #b58a12; }
.icon-teal { background: var(--accent-soft); color: var(--accent); }

/* Segurança */
.safety {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 32px;
  padding: clamp(24px, 4vw, 44px);
  border: 2px solid #b6e4e1;
  border-radius: 28px;
  background: var(--accent-soft);
}
.safety-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); box-shadow: 0 5px 0 #127a75; color: #ffffff; font-size: 30px; }
.safety h2 { margin: 16px 0 8px; font-size: clamp(28px, 3.2vw, 36px); }
.safety-copy p { margin: 0; color: var(--muted); font-size: 18px; }
.safety-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: 18px; }
.safety-list li { display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface); }
.safety-list .bi { flex: none; margin-top: 2px; color: var(--accent); }

/* Chamada final */
.closing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 72px 0 0;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-to) 100%);
  color: #ffffff;
}
.closing h2 { margin: 0; font-size: clamp(28px, 3.4vw, 38px); }
.closing p { margin: 8px 0 0; font-size: 18px; opacity: 0.95; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Rodapé */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 1160px;
  margin: 48px auto 0;
  padding: 24px;
  border-top: 2px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.site-footer .brand { font-size: 18px; }
.site-footer > a:last-child { font-weight: 700; text-decoration: none; }

/* ----- Tablet ----- */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ----- Celular ----- */
@media (max-width: 760px) {
  .site-header { padding: 12px 16px; gap: 12px; }
  .brand { font-size: 20px; }
  .brand img { width: 34px; height: 34px; }
  main { padding: 0 16px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 22px 32px; border-radius: 26px; text-align: center; }
  .hero-text { margin-inline: auto; font-size: 18px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-art { order: -1; padding-top: 48px; }
  .hero-mascot { width: min(230px, 64vw); border-width: 5px; box-shadow: 0 7px 0 var(--hero-shadow); }
  .hero-bubble { right: 50%; transform: translateX(50%); white-space: nowrap; font-size: 15px; }
  .hero-bubble::after { left: calc(50% - 8px); }
  .hero-chip { font-size: 14px; padding: 6px 10px; }
  .chip-streak { top: 52%; }
  .chip-xp { top: 70%; }
  .chip-coins { left: 4%; }
  .section { padding-top: 56px; }
  .steps, .features { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .step, .feature { padding: 20px; }
  .safety { grid-template-columns: minmax(0, 1fr); }
  .closing { flex-direction: column; align-items: stretch; text-align: center; }
  .closing-actions { display: grid; }
  .closing-actions .btn { width: 100%; }
  .site-footer { flex-direction: column; text-align: center; }
}

@media (max-width: 380px) {
  .header-actions .btn-outline { display: none; } /* em telas bem estreitas fica só o "Começar" */
  .btn { padding: 0 14px; font-size: 15px; letter-spacing: 0.01em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
