/* Zanzy — site institucional (HTML estático, sem JavaScript, sem cookies). */

:root {
  --bg: #fffaf2;
  --surface: #ffffff;
  --surface-2: #fff1df;
  --ink: #10283a;
  --ink-soft: #4a5d6b;
  --line: #eadfce;
  --accent: #ff6233;
  --accent-ink: #ffffff;
  --accent-soft: #ffe2d6;
  --route: #10a596;
  --route-soft: #d7f3ef;
  --sun: #ffc23d;
  --chat-bg: #efe7dc;
  --chat-in: #ffffff;
  --chat-out: #d9f7c9;
  --shadow: 0 1px 2px rgb(16 40 58 / 6%), 0 12px 32px rgb(16 40 58 / 10%);
  --radius: 18px;
  --max: 1120px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", var(--font-body);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1a25;
    --surface: #12263a;
    --surface-2: #163049;
    --ink: #f3ede4;
    --ink-soft: #a9b8c4;
    --line: #23415a;
    --accent: #ff7a50;
    --accent-ink: #1a0d07;
    --accent-soft: #3a2219;
    --route: #3fd0bf;
    --route-soft: #12383a;
    --sun: #ffcf5c;
    --chat-bg: #0f2231;
    --chat-in: #1b3a52;
    --chat-out: #1f4a3a;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px rgb(0 0 0 / 35%);
    color-scheme: dark;
  }
}

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

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 10;
}

.skip:focus {
  left: 16px;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

/* --- Cabeçalho ------------------------------------------------------------------- */

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 0.97rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

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

@media (max-width: 640px) {
  .nav {
    display: none;
  }
}

/* --- Botões ---------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 35%, transparent);
}

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

.btn svg {
  width: 20px;
  height: 20px;
}

/* --- Hero ------------------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--route-soft);
  color: var(--route);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.hero h1 .hl {
  color: var(--accent);
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 34em;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 14px;
}

.note {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.route-bg {
  position: absolute;
  inset: auto -80px -40px auto;
  width: 560px;
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

/* Celular com a conversa de exemplo */

.phone {
  justify-self: center;
  width: min(100%, 360px);
  border-radius: 38px;
  padding: 12px;
  background: var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: var(--chat-bg);
  color: #10283a;
}

@media (prefers-color-scheme: dark) {
  .phone {
    background: #050d14;
  }

  .phone-screen {
    color: var(--ink);
  }
}

.phone-cap {
  margin: 10px 0 2px;
  text-align: center;
  font-size: 0.8rem;
  color: #fff;
  opacity: 0.75;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #0b7d72;
  color: #fff;
}

.chat-head .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}

.chat-head .avatar svg {
  width: 24px;
  height: 24px;
}

.chat-head b {
  display: block;
  line-height: 1.2;
}

.chat-head small {
  opacity: 0.85;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 12px 20px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.msg {
  max-width: 86%;
  padding: 9px 12px;
  border-radius: 14px;
  box-shadow: 0 1px 1px rgb(0 0 0 / 8%);
}

.msg.in {
  align-self: flex-start;
  background: var(--chat-in);
  border-top-left-radius: 4px;
}

.msg.out {
  align-self: flex-end;
  background: var(--chat-out);
  border-top-right-radius: 4px;
}

.msg p {
  margin: 0 0 6px;
}

.msg p:last-child {
  margin: 0;
}

.msg .maps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-weight: 700;
  color: var(--route);
}

.msg .src {
  font-size: 0.78rem;
  opacity: 0.75;
}

/* --- Seções ---------------------------------------------------------------------- */

section {
  padding: 72px 0;
}

[id] {
  scroll-margin-top: 80px;
}

.section-head {
  max-width: 40em;
  margin-bottom: 36px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.alt {
  background: var(--surface-2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 800;
}

.step p {
  color: var(--ink-soft);
  margin: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
}

.feature .ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--route-soft);
  color: var(--route);
  margin-bottom: 14px;
}

.feature .ico svg {
  width: 24px;
  height: 24px;
}

.feature p {
  color: var(--ink-soft);
  margin: 0;
}

/* --- Preços ---------------------------------------------------------------------- */

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

@media (max-width: 760px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.plan.featured {
  border: 2px solid var(--accent);
}

.plan .tag {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 12px;
}

.price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  margin: 8px 0 4px;
}

.price small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.plan li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.plan li::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--route-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310a596' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.packs {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.packs table {
  width: 100%;
  border-collapse: collapse;
}

.packs caption {
  text-align: left;
  padding: 20px 24px 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}

.packs th,
.packs td {
  padding: 14px 24px;
  text-align: left;
  border-top: 1px solid var(--line);
}

.packs td:last-child,
.packs th:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
}

.packs thead th {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.fine {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* --- Perguntas ------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 20px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 32px 18px 0;
  font-weight: 700;
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  color: var(--ink-soft);
}

/* --- Chamada final --------------------------------------------------------------- */

.final {
  text-align: center;
}

.final .box {
  background: var(--ink);
  color: var(--bg);
  border-radius: 28px;
  padding: 56px 24px;
}

.final .box p {
  color: color-mix(in srgb, var(--bg) 80%, transparent);
  max-width: 34em;
  margin-inline: auto;
}

.final .cta {
  justify-content: center;
}

/* --- Rodapé ---------------------------------------------------------------------- */

.foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.foot .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

@media (max-width: 760px) {
  .foot .wrap {
    grid-template-columns: 1fr;
  }
}

.foot p {
  margin: 0 0 6px;
}

.foot .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: flex-end;
  align-content: start;
}

@media (max-width: 760px) {
  .foot .links {
    justify-content: flex-start;
  }
}

/* --- Documentos (termos e privacidade) ------------------------------------------ */

.doc {
  padding: 48px 0 72px;
}

.doc .wrap {
  max-width: 780px;
}

.doc h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.doc h2 {
  font-size: 1.4rem;
  margin-top: 2.2em;
  padding-top: 0.4em;
}

.doc h3 {
  margin-top: 1.4em;
}

.doc .meta {
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.doc .summary {
  background: var(--route-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 28px;
}

.doc .summary p:last-child,
.doc .summary ul:last-child {
  margin-bottom: 0;
}

.doc .toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 24px;
}

.doc .toc ol {
  margin: 0;
  padding-left: 1.2em;
}

.doc ul,
.doc ol {
  padding-left: 1.3em;
}

.doc li {
  margin-bottom: 0.4em;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0 1.4em;
  font-size: 0.97rem;
}

.doc th,
.doc td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.doc thead th {
  background: var(--surface-2);
}

.table-scroll {
  overflow-x: auto;
}

.nw {
  white-space: nowrap;
}
