/* =========================================================================
   Zelyon Web: landing page v2 (24/11/2026)
   Forma: 03-design-v2.md · Cores: 05-paleta-extraida.md · Texto: 06-texto-final.md
   HTML + CSS sem framework e sem JavaScript. Mobile-first.
   Pontos de quebra (min-width): 600, 900 e 1200 px.
   ========================================================================= */

/* ---------- Fontes locais (Geist, SIL OFL 1.1) ---------- */
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens (03-design-v2.md §2.1) ---------- */
:root {
  color-scheme: light;

  /* Cores medidas (05-paleta-extraida.md) */
  --zy-navy:      #0b2741; /* logo escura; usado só no texto "Web" do cabeçalho */
  --zy-lime-logo: #8db728; /* referência da logo; NÃO usar em CSS */
  --zy-ink:       #00232c; /* texto principal; fundo do rodapé */
  --zy-teal:      #003c46; /* blocos escuros: demonstração, Profissional, CTA final */
  --zy-lime:      #a4d006; /* botão principal, barra de título, marcadores; texto SÓ sobre fundo escuro */
  --zy-paper:     #fcf7f4; /* fundo da página */
  --zy-mist:      #ededea; /* faixa "Em todos os planos", chips claros, hover do secundário */
  --zy-line:      #afadae; /* bordas de cards (decorativas) */
  --zy-white:     #ffffff;

  /* Derivados (não medidos na marca) */
  --zy-ink-2:        #4a5a60;
  --zy-on-dark-2:    #b9cbce;
  --zy-teal-2:       #0a4a55;
  --zy-lime-hover:   #b5df1c;
  --zy-line-strong:  #7a868a;
  --zy-hairline:     #e4dfdb;
  --zy-hairline-dark: rgb(255 255 255 / 0.16);

  /* Foco */
  --zy-focus: var(--zy-teal);
  --zy-focus-on-dark: var(--zy-white);

  /* Tipografia */
  --zy-font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --zy-text-h1:    clamp(2.5rem, 1.643rem + 3.81vw, 4.5rem);
  --zy-text-h2:    clamp(1.75rem, 1.321rem + 1.905vw, 2.75rem);
  --zy-text-h2-sm: clamp(1.5rem, 1.339rem + 0.714vw, 1.875rem);
  --zy-text-h3:    clamp(1.125rem, 1.018rem + 0.476vw, 1.375rem);
  --zy-text-lead:  clamp(1.0625rem, 0.955rem + 0.476vw, 1.3125rem);
  --zy-text-body:  clamp(1rem, 0.973rem + 0.119vw, 1.0625rem);
  --zy-text-price: clamp(2.5rem, 2.232rem + 1.19vw, 3.25rem);
  --zy-text-sm:    0.875rem;
  --zy-text-label: 0.8125rem;

  /* Espaço (base 4 px) */
  --zy-s-1: 0.25rem; --zy-s-2: 0.5rem;  --zy-s-3: 0.75rem; --zy-s-4: 1rem;
  --zy-s-5: 1.25rem; --zy-s-6: 1.5rem;  --zy-s-8: 2rem;    --zy-s-10: 2.5rem;
  --zy-s-12: 3rem;   --zy-s-16: 4rem;   --zy-s-20: 5rem;
  --zy-section-y: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); /* 56 → 88 (revisão 08, M2) */
  --zy-section-head: clamp(2rem, 1.464rem + 2.38vw, 3.5rem);
  --zy-gutter: clamp(1rem, 4vw, 2.5rem);
  --zy-container: 72.5rem;

  /* Forma */
  --zy-r-chip: 6px;
  --zy-r-btn: 10px;
  --zy-r-card: 16px;
  --zy-r-block: 24px;
  --zy-border: 1px solid var(--zy-line);

  /* Sombra (única; só mockups) */
  --zy-shadow-mock: 0 24px 48px -16px rgb(0 18 24 / 0.45);

  /* Movimento */
  --zy-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --zy-dur-fast: 150ms;
  --zy-dur-enter: 480ms;

  /* Cabeçalho */
  --zy-header-h: 60px;
}
@media (min-width: 900px) { :root { --zy-header-h: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* Alvos de âncora: param 16 px abaixo do cabeçalho fixo */
main section[id], #topo { scroll-margin-top: calc(var(--zy-header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--zy-font);
  font-size: var(--zy-text-body);
  line-height: 1.6;
  color: var(--zy-ink);
  background: var(--zy-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }

h2 {
  font-size: var(--zy-text-h2);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-inline-size: 18ch;
}
h3 {
  font-size: var(--zy-text-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.lead {
  font-size: var(--zy-text-lead);
  line-height: 1.5;
  color: var(--zy-ink-2);
  max-inline-size: 38rem;
}

.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Foco (§10.1) ---------- */
:focus-visible {
  outline: 3px solid var(--zy-focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible { outline-color: var(--zy-focus-on-dark); }
.btn:focus-visible { border-radius: var(--zy-r-btn); }
summary:focus-visible { outline-offset: 4px; }
main[tabindex="-1"]:focus { outline: none; }

/* ---------- Contextos escuros ---------- */
.on-dark { color: var(--zy-white); }

/* ---------- Layout ---------- */
.container {
  max-inline-size: calc(var(--zy-container) + 2 * var(--zy-gutter));
  margin-inline: auto;
  padding-inline: var(--zy-gutter);
}
.section { padding-block: var(--zy-section-y); }
.section-head { margin-bottom: var(--zy-section-head); }
.section-head .lead,
.section-head p { margin-top: var(--zy-s-4); }

@media (min-width: 600px) {
  .grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: 20px; }
  .grid > * { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
}

/* ---------- Marcadores e barra (§4) ---------- */
.title-bar {
  display: block;
  inline-size: 64px;
  block-size: 4px;
  border-radius: 2px;
  background: var(--zy-lime);
}

/* ---------- Link de pular ---------- */
.skip-link {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--zy-r-btn);
  background: var(--zy-teal);
  color: var(--zy-white);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  outline-color: var(--zy-teal);
}

/* ---------- Botões (§10.2, §10.3) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--zy-r-btn);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--zy-lime);
  border-color: var(--zy-lime);
  color: var(--zy-ink);
}
.btn--primary:hover { background: var(--zy-lime-hover); border-color: var(--zy-lime-hover); }
.btn--primary:active { transform: translateY(1px); }
.btn--secondary {
  background: transparent;
  border-color: var(--zy-ink);
  color: var(--zy-ink);
}
.btn--secondary:hover { background: var(--zy-mist); }
.on-dark .btn--secondary { border-color: var(--zy-white); color: var(--zy-white); }
.on-dark .btn--secondary:hover { background: var(--zy-teal-2); }
.on-dark .btn--primary { color: var(--zy-ink); }

.btn--header {
  min-height: 44px;
  padding-inline: 14px;
  font-size: 0.9375rem;
  flex: none;
}
@media (max-width: 359.98px) { .btn--header { padding-inline: 12px; } }
@media (max-width: 339.98px) {
  /* 320 px com barra de rolagem clássica (305 px úteis): marca + CTA cabem sem estouro */
  .site-header__inner { padding-inline: 12px; gap: 6px; }
  .btn--header { padding-inline: 10px; font-size: 0.875rem; }
  .brand__div { font-size: 1rem; }
}
@media (min-width: 900px)  { .btn--header { padding-inline: 18px; } }

/* ---------- Cabeçalho (§6-A) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--zy-paper);
  border-bottom: 1px solid var(--zy-hairline);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  block-size: calc(var(--zy-header-h) - 1px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--zy-navy);
  text-decoration: none;
  flex: none;
}
.brand__logo {
  inline-size: 112px;
  block-size: auto;
  margin-inline-start: -10px; /* 112 × 25/280: alinha o desenho à borda do container */
}
.brand__sep {
  inline-size: 1px;
  block-size: 18px;
  margin-inline-end: 10px;
  background: var(--zy-line);
}
.brand__div {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--zy-navy);
}
@media (min-width: 600px) {
  .brand__logo { inline-size: 140px; margin-inline-start: -12.5px; }
  .brand__sep { block-size: 22px; margin-inline-end: 12px; }
  .brand__div { font-size: 1.25rem; }
}

.site-nav { display: none; }
@media (min-width: 900px) {
  .site-nav { display: block; margin-inline-start: auto; margin-inline-end: 32px; }
  .site-nav__list { display: flex; gap: 32px; }
  .site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1;
    color: var(--zy-ink);
    text-decoration: none;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
  }
  .site-nav a:hover { text-decoration-line: underline; text-decoration-color: var(--zy-lime); }
  .site-nav a { white-space: nowrap; }
}
/* Entre 900 e 1199 px o cabecalho nao comporta cinco itens: o link para a area sob medida
   continua no rodape e na secao "Sistemas". */
@media (min-width: 900px) and (max-width: 1199px) {
  .site-nav { margin-inline-end: 20px; }
  .site-nav__list { gap: 20px; }
  .site-nav__premium { display: none; }
}

/* ---------- B. Abertura ---------- */
.hero { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(3rem, 2rem + 3vw, 4.5rem); }
.hero__title {
  font-size: var(--zy-text-h1);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-inline-size: 11.5em;
}
.hero__title .line { display: block; }
.hero__bar { margin-block: 24px; }
.hero__lead { color: var(--zy-ink-2); }
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.hero__actions .btn { inline-size: 100%; }
@media (min-width: 600px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { inline-size: auto; }
  .btn--lg { min-height: 52px; }
}

/* Selos: 1 coluna no celular; linha que se adapta a partir de 600; 3 colunas com divisórias a partir de 900 */
.hero__seals {
  display: grid;
  gap: 10px;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3rem);
  padding-top: 24px;
  border-top: 1px solid var(--zy-hairline);
}
.hero__seals li,
.included__list li {
  display: grid;
  grid-template-columns: 8px 1fr;
  column-gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--zy-ink);
}
.hero__seals li::before,
.included__list li::before {
  content: "";
  inline-size: 8px;
  block-size: 8px;
  margin-top: calc((1.4em - 8px) / 2);
  border-radius: 2px;
  background: var(--zy-lime);
}
/* A partir de 600 px: linha que quebra entre itens, nunca dentro de um item (evita "site" sozinho na 2ª linha) */
@media (min-width: 600px) {
  .hero__seals { display: flex; flex-wrap: wrap; gap: 12px 32px; }
  .hero__seals li { white-space: nowrap; }
}

/* Painel-resumo dos planos: só a partir de 1024 px (abaixo, a seção de planos cumpre o papel) */
.hero-plans { display: none; }
@media (min-width: 1024px) {
  .hero__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: center;
  }
  .hero__text { grid-column: 1 / 8; }
  .hero__title { font-size: clamp(2.5rem, 4.4vw, 4rem); }
  .hero-plans { display: block; grid-column: 8 / 13; }
}
.hero-plans__list { display: grid; gap: 12px; }
.hero-plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8rem; /* coluna fixa: divisórias alinhadas nos 3 cards */
  grid-template-areas: "name pages" "price pages";
  column-gap: 20px;
  align-items: center;
  padding: 16px 20px;
  background: var(--zy-white);
  border: var(--zy-border);
  border-radius: var(--zy-r-card);
}
.hero-plan__name {
  grid-area: name;
  display: grid;
  grid-template-columns: 10px 1fr;
  column-gap: 10px;
  align-items: start;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-plan__name::before {
  content: "";
  inline-size: 10px;
  block-size: 10px;
  margin-top: calc((1.2em - 10px) / 2);
  border-radius: 2px;
  background: var(--zy-lime);
}
.price.hero-plan__price {
  grid-area: price;
  margin-top: 6px;
  font-size: 2rem;
}
.hero-plan__price .price__per { font-size: 0.9375rem; }
.hero-plan__pages {
  grid-area: pages;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-inline-start: 20px;
  border-inline-start: 1px solid var(--zy-hairline);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--zy-ink-2);
  white-space: nowrap;
}
.hero-plan--featured { background: var(--zy-teal); border-color: var(--zy-teal); }
.hero-plan--featured .price__per,
.hero-plan--featured .hero-plan__pages { color: var(--zy-on-dark-2); }
.hero-plan--featured .hero-plan__pages { border-inline-start-color: var(--zy-hairline-dark); }
.hero-plans__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--zy-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.hero-plans__link:hover { text-decoration-thickness: 2px; }

/* ---------- C. Benefícios ---------- */
.benefit {
  display: grid;
  gap: 8px;
  padding-block: 20px;
  border-top: 1px solid var(--zy-hairline);
}
.benefit:last-child { border-bottom: 1px solid var(--zy-hairline); }
.benefit p { color: var(--zy-ink-2); max-inline-size: 62ch; }
.benefit__title,
.plan__name {
  display: grid;
  grid-template-columns: 10px 1fr;
  column-gap: 12px;
  align-items: start;
}
.benefit__title::before,
.plan__name::before {
  content: "";
  inline-size: 10px;
  block-size: 10px;
  margin-top: calc((1.3em - 10px) / 2);
  border-radius: 2px;
  background: var(--zy-lime);
}
@media (min-width: 600px) {
  .benefit { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; padding-block: 28px; }
}
@media (min-width: 900px) {
  .benefits__head { grid-column: 1 / 5; margin-bottom: 0; }
  .benefits__list { grid-column: 6 / 13; }
  .benefit { grid-template-columns: 3fr 4fr; }
}

/* ---------- D. Demonstração ---------- */
.demo-section { background: var(--zy-teal); }
.demo-section h2 { color: var(--zy-white); }
.demo-section__head p { color: var(--zy-on-dark-2); max-inline-size: 62ch; }
@media (min-width: 900px) {
  .demo-section .grid { align-items: center; }
  .demo-section__head { grid-column: 1 / 5; margin-bottom: 0; }
  .demo { grid-column: 5 / 13; }
}
.demo__label { margin-bottom: 16px; }
.chip-demo {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--zy-lime);
  border-radius: var(--zy-r-chip);
  font-size: var(--zy-text-label);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.on-dark .chip-demo { color: var(--zy-lime); } /* único uso de texto lima: sobre teal (6,69:1) */
.demo__caption {
  margin-top: 20px;
  font-size: var(--zy-text-sm);
  line-height: 1.5;
  color: var(--zy-on-dark-2);
}

/* Palco e escala (§8.2) */
.demo__stage { container-type: inline-size; }
.demo__canvas {
  --demo-bg: #ffffff; --demo-soft: #f6efe8; --demo-ink: #2a211c; --demo-ink-2: #5e5148;
  --demo-accent: #a8471f; --demo-shape: #e8c9b6;
  position: relative;
  aspect-ratio: 62.5 / 44.5; /* altura = celular (32%) + folga da animação; nada vazio sob o desenho */
  font-size: clamp(5px, 1.1vw, 12px);
  line-height: 1.25;
  color: var(--demo-ink);
  user-select: none;
}
@supports (width: 1cqi) { .demo__canvas { font-size: 1.6cqi; } } /* 100cqi = 62,5em */
@media (min-width: 600px) { .demo__canvas { aspect-ratio: 62.5 / 39; } }
.demo__canvas span { display: block; }

/* Janela (§8.3) */
.demo__window {
  position: absolute;
  top: 0; left: 0;
  inline-size: 84%;
  background: #ffffff;
  border-radius: 0.75em;
  overflow: hidden;
  box-shadow: var(--zy-shadow-mock);
}
.win-bar {
  position: relative;
  display: flex;
  align-items: center;
  block-size: 2.4em;
  padding-inline-start: 1em;
  background: #f1ece8;
  border-bottom: 1px solid #e2dcd7;
}
.win-dots { display: flex !important; gap: 0.45em; }
.win-dots span { inline-size: 0.6em; block-size: 0.6em; border-radius: 50%; background: #d4cdc7; }
.win-url {
  position: absolute !important;
  left: 30%;
  inline-size: 40%;
  block-size: 1.3em;
  border-radius: 0.65em;
  background: #ffffff;
  display: flex !important;
  align-items: center;
  gap: 0.5em;
  padding-inline: 0.6em;
}
.win-lock {
  inline-size: 0.7em; block-size: 0.6em;
  border: 0.12em solid #a39a93;
  border-radius: 0.15em;
  flex: none;
}
.win-url__text { flex: 1; block-size: 0.35em; border-radius: 0.2em; background: #e2dcd7; max-inline-size: 60%; }

.site {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding-inline: 2.2em;
  background: var(--demo-bg);
}
.site__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6em;
  block-size: 3.2em;
}
.site__brand { font-size: 1.05em; font-weight: 700; color: var(--demo-ink); white-space: nowrap; }
.site__menu { display: flex !important; gap: 1.6em; margin-inline-start: auto; font-size: 0.7em; color: var(--demo-ink-2); }
.site__pill {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45em;
  padding: 0.5em 0.9em;
  border-radius: 999px;
  background: var(--demo-accent);
  color: #ffffff;
  font-size: 0.7em;
  font-weight: 600;
  white-space: nowrap;
}
.ico-chat {
  inline-size: 1em; block-size: 0.85em;
  border: 0.14em solid currentColor;
  border-radius: 50% 50% 50% 12%;
  flex: none;
}
.site__hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2em;
  align-items: center;
  padding-block: 2.2em;
}
.site__title { font-size: 2.1em; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--demo-ink); }
.site__text { margin-top: 0.9em; font-size: 0.8em; line-height: 1.45; color: var(--demo-ink-2); }
.site__actions { display: flex !important; gap: 0.6em; margin-top: 1.4em; }
.site__btn {
  padding: 0.65em 1em;
  border-radius: 0.5em;
  background: var(--demo-accent);
  color: #ffffff;
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
}
.site__btn--ghost { background: transparent; color: var(--demo-accent); box-shadow: inset 0 0 0 0.12em var(--demo-accent); }
.site__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 0.6em;
  background: var(--demo-soft);
  overflow: hidden;
}
.site__art { display: block; inline-size: 100%; block-size: 100%; }
.site__section-title { font-size: 0.9em; font-weight: 700; margin-bottom: 0.7em; }
.site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.site__card {
  padding: 1em;
  border-radius: 0.5em;
  background: var(--demo-soft);
}
.card__sq { inline-size: 1.4em; block-size: 1.4em; border-radius: 0.3em; background: var(--demo-accent); margin-bottom: 0.7em; }
.card__title { font-size: 0.8em; font-weight: 600; color: var(--demo-ink); }
.card__text { margin-top: 0.35em; font-size: 0.62em; line-height: 1.4; color: var(--demo-ink-2); }

/* Celular (§8.4) */
.demo__phone {
  position: absolute;
  right: 0; bottom: 0;
  inline-size: 32%;
  aspect-ratio: 9 / 18.5;
  border: 0.55em solid var(--zy-ink);
  border-radius: 2.2em;
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--zy-shadow-mock), 0 0 0 1px rgb(255 255 255 / 0.18);
}
@media (min-width: 600px) { .demo__phone { inline-size: 27%; } }
.phone__speaker {
  position: absolute;
  top: 0.6em; left: 35%;
  inline-size: 30%;
  block-size: 0.35em;
  border-radius: 999px;
  background: #d4cdc7;
}
.phone__screen {
  position: relative;
  block-size: 100%;
  padding: 1.6em 1em 1em;
}
.m__nav { display: flex; align-items: center; justify-content: space-between; }
.m__brand { font-size: 0.85em; font-weight: 700; white-space: nowrap; }
.m__burger { display: grid !important; gap: 0.2em; inline-size: 1.1em; }
.m__burger span { block-size: 0.12em; border-radius: 1em; background: var(--demo-ink); }
.m__photo { margin-top: 0.8em; }
.m__title { margin-top: 0.8em; font-size: 1.25em; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.m__bars { display: grid !important; gap: 0.35em; margin-top: 0.7em; }
.m__bars span { block-size: 0.45em; border-radius: 0.2em; background: rgb(94 81 72 / 0.35); }
.m__bars span:first-child { inline-size: 90%; }
.m__bars span:last-child { inline-size: 70%; }
.m__btn {
  margin-top: 0.8em;
  padding: 0.7em;
  border-radius: 0.5em;
  background: var(--demo-accent);
  color: #ffffff;
  font-size: 0.7em;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
.m__card {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 0.5em;
  padding: 0.6em;
  border-radius: 0.5em;
  background: var(--demo-soft);
}
.m__card .card__sq { inline-size: 1.1em; block-size: 1.1em; margin: 0; flex: none; }
.m__card .card__title { font-size: 0.72em; }
.m__fab {
  position: absolute;
  right: 0.8em; bottom: 0.8em;
  display: grid !important;
  place-items: center;
  inline-size: 2.4em; block-size: 2.4em;
  border-radius: 50%;
  background: var(--demo-accent);
  color: #ffffff;
}

/* ---------- E. Como funciona ---------- */
.steps-section { background: var(--zy-mist); } /* alterna a superfície entre seções claras (revisão 08, M2) */
.step {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  padding-bottom: 32px;
}
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 30px;
  bottom: 6px;
  inline-size: 1px;
  background: var(--zy-hairline);
}
.step__num {
  display: block;
  font-size: var(--zy-text-sm);
  font-weight: 600;
  line-height: 1.6;
  color: var(--zy-ink-2);
  font-variant-numeric: tabular-nums lining-nums;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--zy-ink-2); max-inline-size: 62ch; }
@media (min-width: 600px) {
  .steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .step { display: block; padding-bottom: 0; }
  .step:not(:last-child)::after { content: none; }
  .step__rule { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
  .step__num { order: 1; }
  .step__rule::before {
    content: "";
    order: 2;
    flex: none;
    inline-size: 10px; block-size: 10px;
    border-radius: 2px;
    background: var(--zy-lime);
  }
  .step__rule::after {
    content: "";
    order: 3;
    flex: 1;
    block-size: 1px;
    background: var(--zy-hairline);
  }
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- F. Planos (§7) ---------- */
.plans { display: grid; gap: 16px; }
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  background: var(--zy-white);
  border: var(--zy-border);
  border-radius: var(--zy-r-card);
}
.plan__name {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan__name::before { margin-top: calc((1.2em - 10px) / 2); }
.plan__for {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--zy-ink-2);
}
.price {
  margin-top: 20px;
  font-size: var(--zy-text-price);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.price, .step__num, .plan dd { font-variant-numeric: tabular-nums lining-nums; }
.price__cur { font-size: 0.42em; font-weight: 600; letter-spacing: 0; }
.price__per { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--zy-ink-2); }
.plan__limits {
  display: grid;
  gap: 20px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--zy-hairline);
}
.limit {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 12px;
}
.limit__icon {
  grid-row: 1 / span 2;
  inline-size: 20px; block-size: 20px;
  margin-top: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--zy-ink-2);
}
.limit dt {
  grid-column: 2;
  font-size: var(--zy-text-sm);
  font-weight: 500;
  line-height: 1.5;
  color: var(--zy-ink-2);
}
.limit dd {
  grid-column: 2;
  margin: 2px 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--zy-ink);
}
.scope {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 2px 8px;
  border-radius: var(--zy-r-chip);
  background: var(--zy-mist);
  color: var(--zy-ink-2);
  font-size: var(--zy-text-label);
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  vertical-align: 0.1em;
}
.plan__btn { margin-top: 28px; inline-size: 100%; }

/* Profissional: destaque só por cor, sem selo */
.plan--featured { background: var(--zy-teal); border-color: var(--zy-teal); }
.plan--featured .plan__for,
.plan--featured .price__per,
.plan--featured .limit dt { color: var(--zy-on-dark-2); }
.plan--featured .limit dd { color: var(--zy-white); }
.plan--featured .limit__icon { color: var(--zy-lime); }
.plan--featured .plan__limits { border-top-color: var(--zy-hairline-dark); }
.plan--featured .scope { background: var(--zy-teal-2); color: var(--zy-white); }

@media (min-width: 600px) and (max-width: 899.98px) {
  .plans { max-inline-size: 720px; }
  .plan {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas: "name limits" "for limits" "price limits" "btn limits";
    column-gap: 32px;
  }
  .plan__name { grid-area: name; }
  .plan__for { grid-area: for; }
  .price { grid-area: price; }
  .plan__btn { grid-area: btn; align-self: end; }
  .plan__limits {
    grid-area: limits;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    padding-inline-start: 32px;
    border-inline-start: 1px solid var(--zy-hairline);
    align-content: center;
  }
  .plan--featured .plan__limits { border-inline-start-color: var(--zy-hairline-dark); }
}
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
  .plan__btn { margin-top: auto; }
  .plan__limits { margin-bottom: 28px; }
  @supports (grid-template-rows: subgrid) {
    .plan {
      display: grid;
      grid-row: span 5;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
    .plan__btn { margin-top: 0; align-self: end; }
  }
}

/* Em todos os planos */
.included {
  margin-top: 24px;
  padding: 24px clamp(1.5rem, 1rem + 2vw, 2rem);
  background: var(--zy-mist);
  border-radius: var(--zy-r-card);
}
.included__title { font-size: 1rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.included__list { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 600px) {
  .included__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
}
@media (min-width: 900px) {
  .included { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 40px; }
  .included__list { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 0; }
}

/* Nota de regras */
.plan-rules {
  margin-top: 20px;
  font-size: var(--zy-text-sm);
  line-height: 1.5;
  color: var(--zy-ink-2);
}
.plan-rules li { break-inside: avoid; margin-bottom: 8px; }
@media (min-width: 900px) { .plan-rules { columns: 2; column-gap: 48px; } }

/* ---------- G. Sistemas ---------- */
.systems-section { padding-block: 0 var(--zy-section-y); }
.systems {
  display: grid;
  gap: 24px;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--zy-white);
  border: var(--zy-border);
  border-radius: var(--zy-r-card);
}
.chip {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 10px;
  border-radius: var(--zy-r-chip);
  background: var(--zy-mist);
  color: var(--zy-ink);
  font-size: var(--zy-text-label);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.h2-sm {
  font-size: var(--zy-text-h2-sm);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-inline-size: none;
}
.systems__text p:last-child { margin-top: 12px; color: var(--zy-ink-2); max-inline-size: 62ch; }
.systems__action .btn { inline-size: 100%; }
@media (min-width: 900px) {
  .systems { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
  .systems__text { grid-column: 1 / 9; }
  .systems__action { grid-column: 9 / 13; justify-self: end; }
  .systems__action .btn { inline-size: auto; }
}

/* ---------- H. FAQ ---------- */
@media (min-width: 900px) {
  .faq__head { grid-column: 1 / 5; margin-bottom: 0; }
  .faq { grid-column: 6 / 13; }
}
.faq details { border-top: 1px solid var(--zy-hairline); }
.faq details:last-child { border-bottom: 1px solid var(--zy-hairline); }
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding-block: 18px;
  padding-inline-end: 40px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--zy-ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 50%;
  inline-size: 14px;
  block-size: 2px;
  margin-top: -1px;
  border-radius: 1px;
  background: var(--zy-teal);
}
.faq summary::after {
  right: 11px;
  inline-size: 2px;
  block-size: 14px;
  margin-top: -7px;
}
.faq details[open] summary::after { transform: scaleY(0); }
.faq details p {
  padding-bottom: 20px;
  color: var(--zy-ink-2);
  max-inline-size: 62ch;
}
@media (min-width: 900px) { .faq summary { font-size: 1.125rem; } }

/* ---------- I. CTA final ---------- */
.cta {
  display: grid;
  gap: 32px;
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  background: var(--zy-teal);
  border-radius: var(--zy-r-block);
}
.cta .title-bar { margin-bottom: 24px; }
.cta h2 { color: var(--zy-white); }
.cta__text p { margin-top: 16px; color: var(--zy-on-dark-2); max-inline-size: 38rem; }
.cta__actions { display: grid; gap: 12px; }
.cta__actions .btn { inline-size: 100%; }
@media (min-width: 900px) {
  .cta { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .cta__text { grid-column: 1 / 8; }
  .cta__actions { grid-column: 9 / 13; }
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--zy-ink);
  color: var(--zy-on-dark-2);
  font-size: var(--zy-text-sm);
  line-height: 1.5;
  padding-block: 56px 32px;
}
.footer__grid { display: grid; gap: 32px; }
.brand--footer { color: var(--zy-white); }
.brand--footer .brand__logo { inline-size: 140px; margin-inline-start: -11.67px; } /* 140 × 30/360 */
.brand--footer .brand__sep { block-size: 22px; margin-inline-end: 12px; background: var(--zy-on-dark-2); } /* 9,79:1 sobre ink */
.brand--footer .brand__div { font-size: 1.375rem; color: var(--zy-white); }
@media (min-width: 600px) {
  .brand--footer .brand__logo { inline-size: 160px; margin-inline-start: -13.33px; } /* 160 × 30/360 */
}
.footer__tagline { margin-top: 16px; max-inline-size: 34ch; }
.footer__nav a,
.footer__channels a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--zy-white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.footer__nav a:hover,
.footer__channels a:hover { text-decoration-color: var(--zy-lime); }
.footer__icon {
  inline-size: 20px; block-size: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--zy-hairline-dark);
  font-size: var(--zy-text-label);
}
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 0; }
  .footer__brand { grid-column: 1 / 6; }
  .footer__nav { grid-column: 7 / 9; }
  .footer__channels { grid-column: 10 / 13; }
  .footer__bottom {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
  }
}

/* ---------- Movimento (§9) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  @keyframes zy-rise { from { opacity: 0; transform: translateY(12px); } }
  .hero__title   { animation: zy-rise var(--zy-dur-enter) var(--zy-ease) both; }
  .hero__bar     { animation: zy-rise var(--zy-dur-enter) var(--zy-ease) 60ms both; }
  .hero__lead    { animation: zy-rise var(--zy-dur-enter) var(--zy-ease) 120ms both; }
  .hero__actions { animation: zy-rise var(--zy-dur-enter) var(--zy-ease) 180ms both; }
  .hero__seals   { animation: zy-rise var(--zy-dur-enter) var(--zy-ease) 240ms both; }

  @supports (animation-timeline: view()) {
    @keyframes zy-phone { from { transform: translateY(-8%); } } /* desce até o lugar: nunca invade a legenda */
    .demo__phone {
      animation: zy-phone linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%; /* termina quando o aparelho entrou inteiro: legenda sempre a 20 px */
    }
  }

  .faq summary::after { transition: transform 180ms var(--zy-ease); }
  .btn, .site-nav a, .footer__nav a, .footer__channels a {
    transition: background-color var(--zy-dur-fast) ease, border-color var(--zy-dur-fast) ease,
      text-decoration-color var(--zy-dur-fast) ease;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
