/* Landing do Chancela — identidade Projetive: ciano #00B0F0 de destaque, azul #0071A6 nas ações, neutros slate.
   Mobile-first; sem rolagem horizontal; claro e escuro pelo sistema. */

:root {
  --brand: #00b0f0;
  --action: #0071a6;
  --action-hover: #005f8c;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --card: #ffffff;
  --accent: #e6f7fe;
  --danger: #dc2626;
  --success: #059669;
  --shadow: 0 20px 50px -20px rgb(15 23 42 / 0.35);
  /* Selos e números com contraste AA (branco sobre o ciano não passa). */
  --chip-bg: #0071a6;
  --chip-fg: #ffffff;
  --radius: 14px;
  --gutter: max(1rem, env(safe-area-inset-left));
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --action: #00b0f0;
    --action-hover: #38c1f2;
    --ink: #e2e8f0;
    --muted: #94a3b8;
    --line: #1e293b;
    --bg: #060b12;
    --bg-alt: #0b1220;
    --card: #0f172a;
    --accent: #0b2a3a;
    --danger: #f87171;
    --success: #34d399;
    --shadow: 0 20px 50px -20px rgb(0 0 0 / 0.7);
    --chip-bg: #00b0f0;
    --chip-fg: #04131c;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: Archivo, Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

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

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

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: max(1rem, env(safe-area-inset-right));
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--card);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}

/* ── Botões ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.btn-sm {
  min-height: 40px;
  font-size: 15px;
  padding: 0 0.9rem;
}
.btn-lg {
  min-height: 52px;
  padding: 0 1.5rem;
  font-size: 17px;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  background: var(--action);
  color: #fff;
}
@media (prefers-color-scheme: dark) {
  .btn-primary {
    color: #04131c;
  }
}
.btn-primary:hover {
  background: var(--action-hover);
}
.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--bg-alt);
}
.btn-outline {
  color: var(--action);
  border-color: var(--action);
  background: transparent;
}
.btn-outline:hover {
  background: var(--accent);
}
.btn-light {
  background: #fff;
  color: #005b86;
}
.btn-light:hover {
  background: #e6f7fe;
}

/* ── Marca ── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 19px;
}
.brand-name {
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

/* ── Topo ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.topbar-actions .btn {
  white-space: nowrap;
}
/* Telas muito estreitas: o botão principal já está logo abaixo, no topo da página. */
@media (max-width: 359px) {
  .topbar-actions .btn {
    display: none;
  }
}

.nav {
  display: none;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.nav a:hover {
  color: var(--action);
}

.menu-toggle {
  display: inline-grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  place-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Menu aberto no celular: lista abaixo do topo. */
.nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(64px + env(safe-area-inset-top));
  left: 0;
  right: 0;
  padding: 0.5rem var(--gutter) 1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.nav.is-open a {
  padding: 0.85rem 0;
  font-size: 17px;
  border-bottom: 1px solid var(--line);
}
.nav.is-open a:last-child {
  border-bottom: 0;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
    gap: 1.75rem;
    align-items: center;
  }
  .menu-toggle {
    display: none;
  }
}

/* ── Hero ── */
.hero {
  padding: 2.5rem 0 3rem;
  background:
    radial-gradient(
      60rem 30rem at 85% -10%,
      color-mix(in srgb, var(--brand) 18%, transparent),
      transparent 70%
    ),
    var(--bg);
}
.hero-grid {
  display: grid;
  /* minmax(0, 1fr): o celular desenhado não pode alargar a coluna além da tela. */
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  color: var(--action);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 7vw, 3.6rem);
  overflow-wrap: break-word;
  font-weight: 800;
}
.lead {
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--muted);
  max-width: 36rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.hero-ctas .btn {
  flex: 1 1 14rem;
}
@media (min-width: 560px) {
  .hero-ctas .btn {
    flex: 0 0 auto;
  }
}
.fine {
  margin-top: 0.85rem;
  font-size: 14px;
  color: var(--muted);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.badges li {
  font-size: 14px;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
}
.badges li::before {
  content: '✓ ';
  color: var(--action);
  font-weight: 700;
}

@media (min-width: 960px) {
  .hero {
    padding: 4.5rem 0 5rem;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

/* Celular desenhado (espelha o app: cabeçalho, abas, total e cartões). */
.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 330px);
}
.phone {
  position: relative;
  border-radius: 44px;
  padding: 12px;
  background: #0b1220;
  box-shadow: var(--shadow);
}
.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  border-radius: 14px;
  background: #000;
  z-index: 2;
}
.screen {
  border-radius: 34px;
  overflow: hidden;
  background: #f8fafc;
  color: #0f172a;
  padding: 58px 12px 16px;
  font-size: 12px;
  line-height: 1.35;
  min-height: 560px;
}
.app-bar {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}
.app-link {
  color: #0071a6;
  font-weight: 500;
}
.seg {
  display: flex;
  background: #eef2f7;
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 10px;
}
.seg span {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: 8px;
  color: #64748b;
  font-weight: 600;
  font-size: 11px;
}
.seg .on {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.12);
}
.sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 2px 2px 10px;
  color: #64748b;
}
.sum strong {
  color: #0f172a;
  font-size: 14px;
}
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 11px;
  margin-bottom: 8px;
}
.card .row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.card .row b {
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card .sub {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
}
.card .late {
  color: #dc2626;
}

.float-card {
  position: absolute;
  left: -0.5rem;
  bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 13px;
  line-height: 1.3;
}
.float-card span:last-child {
  display: block;
  color: var(--muted);
}
.float-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--success);
  color: #fff !important;
  font-weight: 700;
}
@media (min-width: 960px) {
  .float-card {
    left: -2.5rem;
  }
}

/* ── Seções ── */
.section {
  padding: 3.5rem 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-title {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 800;
  max-width: 44rem;
  margin-bottom: 2rem;
}
@media (min-width: 960px) {
  .section {
    padding: 5rem 0;
  }
}

.grid-3 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.tile h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.tile p {
  color: var(--muted);
  font-size: 16px;
}

/* Passos */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--chip-bg);
  color: var(--chip-fg);
  font-family: Archivo, sans-serif;
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.steps h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.steps p {
  color: var(--muted);
  font-size: 16px;
}

/* Recursos do app */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}
.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
.features li {
  padding-left: 1rem;
  border-left: 3px solid var(--brand);
}
.features h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.features p {
  color: var(--muted);
  font-size: 16px;
}

/* Planos */
.plans {
  display: grid;
  gap: 1rem;
}
@media (min-width: 860px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.4rem;
}
.plan .btn {
  margin-top: auto;
}
.plan h3 {
  font-size: 1.3rem;
}
.plan-for {
  color: var(--muted);
  font-size: 15px;
}
.plan-featured {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow);
}
.plan-flag {
  position: absolute;
  top: -0.8rem;
  left: 1.4rem;
  background: var(--chip-bg);
  color: var(--chip-fg);
  font-size: 13px;
  font-weight: 700;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
}
.price {
  font-family: Archivo, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.6rem 0 1.1rem;
}
.price span {
  font-size: 1.1rem;
  vertical-align: 0.9rem;
  margin-right: 0.15rem;
}
.price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.price-text {
  font-size: 1.8rem;
  margin: 0.9rem 0 1.35rem;
}
.plan-common {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 16px;
}
@media (min-width: 700px) {
  .plan-common {
    grid-template-columns: repeat(2, 1fr);
  }
}
.plan-common li::before {
  content: '✓ ';
  color: var(--action);
  font-weight: 700;
}

/* Quem faz */
.maker {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.maker .section-title {
  margin-bottom: 0.75rem;
}
.maker-logo {
  width: 200px;
}
.maker-logo-dark {
  display: none;
}
@media (prefers-color-scheme: dark) {
  .maker-logo-light {
    display: none;
  }
  .maker-logo-dark {
    display: block;
  }
}
@media (min-width: 860px) {
  .maker {
    grid-template-columns: 240px minmax(0, 1fr);
  }
}

/* Dúvidas */
.faq {
  max-width: 820px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 28px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--action);
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  margin-top: 0.6rem;
  color: var(--muted);
}

/* Chamada final */
.cta-final {
  padding-top: 0;
}
.cta-box {
  text-align: center;
  background: linear-gradient(135deg, #0071a6, #00b0f0);
  color: #fff;
  border-radius: 20px;
  padding: 2.5rem 1.25rem;
}
.wrap.cta-box {
  max-width: 1120px;
  width: calc(100% - 2rem);
}
.cta-box h2 {
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  font-weight: 800;
}
.cta-box p {
  margin: 0.75rem auto 1.5rem;
  max-width: 34rem;
  opacity: 0.92;
}

/* Rodapé */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom));
}
.footer-inner {
  display: grid;
  gap: 1.25rem;
}
.footer-inner p {
  margin-top: 0.5rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  min-height: 28px;
}
.footer-links a:hover {
  color: var(--action);
}
.legal {
  margin-top: 1.25rem;
  font-size: 13px;
  color: var(--muted);
}
@media (min-width: 860px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

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