:root {
  --bg: #f6ecda;
  --ink: #3a2415;
  --muted: #6a5238;
  --muted-2: #8a745c;
  --line: #e7c79a;
  --line-soft: #edd9b8;
  --green: #2e9c6d;
  --green-soft: #e8f5ee;
  --red: #c1503f;
  --accent: #c9761e;
  --accent-dark: #a85a14;
  --accent-soft: #fbefd8;
  --card: #fffdf9;
  --choc: #3a2415;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand span {
  font-family: 'Fredoka', 'Nunito', sans-serif;
}

a {
  color: var(--accent-dark);
}

a:hover {
  color: var(--accent);
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-wide {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  border-bottom: 1px solid var(--line-soft);
  padding: 20px 0;
}

header.site .wrap,
header.site .wrap-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand .mark {
  width: 34px;
  height: 34px;
  display: inline-block;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.brand span {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}

nav.site {
  display: flex;
  align-items: center;
  gap: 26px;
}

@media (max-width: 640px) {
  header.site .wrap,
  header.site .wrap-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  nav.site {
    flex-wrap: wrap;
    gap: 10px 18px;
  }
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  margin-left: 0;
}

nav.site a:hover {
  color: var(--ink);
}

.btn-nav-cta {
  background: var(--accent);
  color: #fff9ee;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  font-family: 'Fredoka', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px -8px rgba(201, 118, 30, 0.7);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-nav-cta:hover {
  color: #fff9ee;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -6px rgba(201, 118, 30, 0.8);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  border: 1.5px solid var(--line);
  color: var(--accent-dark);
  font-family: 'Nunito', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
}

h1 {
  font-weight: 700;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 20px 0 16px;
  color: var(--ink);
}

.lede {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 52ch;
}

.lede strong {
  color: var(--ink);
}

.hero {
  padding: 72px 0 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15.5px;
  font-family: 'Fredoka', sans-serif;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff9ee;
  box-shadow: 0 14px 26px -10px rgba(201, 118, 30, 0.7);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

/* Store links aren't live yet — shown as a disabled "em breve" state, not clickable. */
.btn-soon {
  background: var(--accent-soft);
  border-color: var(--line);
  color: var(--muted);
  cursor: default;
  box-shadow: none;
}

.disclaimer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted-2);
  font-weight: 600;
}

.disclaimer::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

section {
  padding: 56px 0;
  border-top: 1px solid var(--line-soft);
}

section h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: none;
  margin: 0 0 32px;
  text-align: center;
}

.eyebrow {
  display: block;
  text-align: center;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  margin-bottom: 10px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
  section h2 { font-size: 26px; }
  .cta-band { padding: 36px 24px; }
  .cta-band h2 { font-size: 24px; }
  .cta-band-mascot { display: none; }
}

.card {
  background: var(--card);
  border: 1.5px solid var(--line-soft);
  border-radius: 24px;
  padding: 28px 24px;
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff9ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 18px;
}

.card.benefit {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
}

.card.benefit .icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 17px;
  margin-bottom: 0;
}

.card h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--ink);
}

.card p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}

.legal {
  font-size: 13.5px;
  color: var(--muted);
}

.faq-item {
  background: var(--card);
  border: 1.5px solid var(--line-soft);
  border-radius: 16px;
  padding: 0 20px;
  margin-bottom: 12px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item .chev {
  flex: none;
  position: relative;
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.faq-item .chev::before,
.faq-item .chev::after {
  content: '';
  position: absolute;
  background: var(--accent);
}

.faq-item .chev::before {
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
}

.faq-item .chev::after {
  top: 2px;
  left: 8px;
  width: 2px;
  height: 14px;
}

.faq-item[open] .chev {
  transform: rotate(45deg);
}

.faq-item p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  padding: 0 0 20px;
}

.faq-item p a {
  color: var(--accent-dark);
}

footer.site {
  border-top: 1px solid var(--line-soft);
  padding: 32px 0 48px;
  font-size: 12.5px;
  color: var(--muted-2);
}

footer.site .wrap,
footer.site .wrap-hero {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer.site a {
  color: var(--muted-2);
  margin-right: 16px;
  text-decoration: none;
  font-weight: 600;
}

footer.site a:hover {
  color: var(--ink);
}

.page-title {
  font-size: 30px;
  font-weight: 600;
  margin: 8px 0 4px;
  letter-spacing: -0.01em;
}

.updated {
  font-size: 12.5px;
  color: var(--muted-2);
  margin-bottom: 32px;
}

.doc h2 {
  font-size: 17px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  text-align: left;
  margin: 32px 0 10px;
}

.doc p, .doc li {
  font-size: 14.5px;
  color: var(--muted);
}

.doc ul {
  padding-left: 20px;
}

.pill {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.waitlist-form {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.waitlist-form input {
  flex: 1;
  min-width: 240px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 15px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.waitlist-form input:focus {
  border-color: var(--accent);
}

.waitlist-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-message {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
}

.form-message.success {
  color: var(--green);
}

.form-message.error {
  color: var(--red);
}

.hero-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 520px;
}

.hero-visual {
  flex: 1;
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .halo {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #f7d9a6 0%, #efc488 55%, #e7b673 100%);
}

.hero-visual .mascot {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--card);
  box-shadow: 0 30px 60px -20px rgba(58, 36, 21, 0.5);
  transform: translate(-50%, -50%);
}

.hero-visual .mascot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual .stat-card {
  position: absolute;
  left: -4px;
  top: 24px;
  background: var(--card);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 18px 40px -16px rgba(58, 36, 21, 0.5);
  animation: floaty 6s ease-in-out infinite;
}

.hero-visual .stat-card .label {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-visual .stat-card .value {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
}

.hero-visual .screen-card {
  position: absolute;
  right: -8px;
  bottom: 0;
  width: 190px;
  background: var(--card);
  border-radius: 22px;
  padding: 9px;
  box-shadow: 0 24px 50px -18px rgba(58, 36, 21, 0.55);
  animation: floaty 5s ease-in-out infinite;
}

.hero-visual .screen-card img {
  /* O screenshot já vem recortado sem o cromo do sistema (status/nav bar), então o
     frame segue a proporção natural da tela do app — altura de celular de verdade. */
  width: 100%;
  height: auto;
  border-radius: 15px;
  display: block;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 900px) {
  .hero-wrap {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .lede {
    margin: 0 auto;
  }
  .waitlist-form {
    justify-content: center;
  }
  .hero-visual {
    min-height: 420px;
    width: 100%;
    margin-top: 32px;
  }
  .hero-visual .halo,
  .hero-visual .mascot {
    width: 300px;
    height: 300px;
  }
}

.cta-band {
  margin: 0 0 64px;
  background: var(--choc);
  border-radius: 28px;
  padding: 52px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  color: var(--bg);
  font-size: 36px;
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}

.cta-band-mascot {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.9;
}

.cta-band .btn-primary {
  margin-top: 24px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 18, 10, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border-radius: 24px;
  padding: 36px 32px 32px;
  box-shadow: 0 40px 80px -30px rgba(58, 36, 21, 0.5);
}

.modal-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}

.modal-lede {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 4px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--ink);
}
