:root {
  --itau-orange: #EC7000;
  --itau-navy: #003C79;
  --btn-orange: #FF6200;
  --text-strong: #2B2B2B;
  --text-muted: #6B6B6B;
  --divider: #E4E4E4;
  --surface: #FFFFFF;
  --bg-var1: #F1F2F4;
  --radius-card: 16px;
  --radius-btn: 24px;
  --max-width: 480px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--text-strong);
  font-family: "Itau Text", "ItauText", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-var1)
}

header {
  background: var(--itau-orange);
  display: flex;
  justify-content: center;
  width: 100%;
}

header > .wrapper {
  max-width: var(--max-width);
}

.page {
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ---------- hero ---------- */
.hero {
  padding: 24px 20px 0;
  color: var(--surface);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.brand__logo svg { width: 40px; height: 40px; display: block; }

.brand__name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.hero__title {
  margin: 24px 0 0;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
}

.hero__illustration {
  display: flex;
  justify-content: center;
  padding: 40px 0 56px;
}

.lottie { width: 100%; max-width: 300px; height: 200px; }
.lottie svg { display: block; width: 100%; height: 100%; }
.lottie__fallback { width: 100%; max-width: 300px; height: auto; }

/* ---------- card ---------- */
.cardWrapper {
  flex: 1 1 auto;
  max-width: var(--max-width);
}

.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  margin: -32px 16px 0;
  padding: 4px 16px;
}

.tips { list-style: none; margin: 0; padding: 0; }

.tip {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--divider);
}

.tip:last-child { border-bottom: 0; }

.tip__icon { flex: 0 0 24px; color: var(--text-strong); margin-top: 2px; }
.tip__icon svg { width: 24px; height: 24px; display: block; }
.tip__icon img { width: 24px; height: 24px; display: block; }

.tip__title {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

.tip__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ---------- actions ---------- */
.actions {
  position: sticky;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--divider);
  margin-top: 16px;
  padding: 24px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 100%;
  display: flex;
  justify-content: center;
}

.actionsWrapper {
  display: grid;
  gap: 12px;
  max-width: calc(var(--max-width) - 32px);
  width: 100%;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s ease-in-out;
}

.btn:active { opacity: 0.8; }

.btn--primary { background: var(--btn-orange); color: var(--surface); }

.btn--secondary {
  background: var(--surface);
  color: var(--itau-navy);
  border: 1px solid var(--itau-navy);
}

.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

.btn:focus-visible {
  outline: 3px solid var(--itau-navy);
  outline-offset: 3px;
}

.notice {
  margin: 0;
  color: var(--text-strong);
  font-size: 14px;
  line-height: 1.5;
}

.notice--error {
  border-left: 4px solid var(--itau-orange);
  padding-left: 12px;
}

[hidden] { display: none !important; }

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