/* ==========================================================================
   2Blick — landing comercial
   Sem framework. Tokens → base → componentes → seções → responsivo → motion.
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  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;
}

:root {
  --green-900: #063D2E;
  --green-800: #0A5C45;
  --green-700: #0B7A5C;
  --green-600: #0E9A72;
  --green-500: #0BD88E;
  --green-200: #B6F0D6;
  --green-100: #DDF8EC;
  --green-50: #EFFBF5;
  --ink: #0F1720;
  --ink-2: #1F2A37;
  --ink-3: #46556A;
  --muted: #64748B;
  --line: #E6EBEF;
  --line-2: #D5DDE3;
  --bg: #FFFFFF;
  --bg-soft: #F6F9F8;
  --bg-tint: #F1F8F5;
  --danger: #B42318;
  --danger-bg: #FEF3F2;
  --warn-bg: #FFF7E6;
  --warn: #9A5B00;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 32, 0.05), 0 1px 1px rgba(15, 23, 32, 0.03);
  --shadow: 0 1px 2px rgba(15, 23, 32, 0.04), 0 10px 30px -10px rgba(15, 23, 32, 0.12);
  --shadow-lg: 0 2px 4px rgba(15, 23, 32, 0.04), 0 24px 60px -20px rgba(15, 23, 32, 0.22);
  --ring: 0 0 0 4px rgba(11, 216, 142, 0.28);
  --container: 1160px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  font-weight: 800;
}
h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.35rem);
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}
h3 {
  font-size: 1.25rem;
}
p {
  margin: 0;
}
a {
  color: var(--green-700);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus {
  top: 12px;
}
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.section {
  padding-block: clamp(64px, 9vw, 112px);
}
.section--soft {
  background: var(--bg-soft);
}
.section--tint {
  background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%);
}
.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head--left {
  margin-inline: 0;
  text-align: left;
}
.section-head p {
  margin-top: 14px;
  font-size: 1.1rem;
  color: var(--ink-3);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
}
.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.975rem;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.15s var(--ease),
    background-color 0.15s var(--ease),
    border-color 0.15s var(--ease),
    box-shadow 0.15s var(--ease),
    color 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0) scale(0.985);
}
.btn--primary {
  --btn-bg: var(--green-700);
  box-shadow: 0 6px 16px -6px rgba(11, 122, 92, 0.55);
}
.btn--primary:hover {
  --btn-bg: var(--green-800);
  box-shadow: 0 10px 22px -8px rgba(11, 122, 92, 0.6);
}
.btn--dark {
  --btn-bg: var(--ink);
}
.btn--dark:hover {
  --btn-bg: #1c2733;
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-2);
}
.btn--ghost:hover {
  --btn-bg: var(--bg-soft);
  --btn-bd: var(--ink-3);
}
.btn--mint {
  --btn-bg: var(--green-500);
  --btn-fg: var(--green-900);
}
.btn--mint:hover {
  --btn-bg: #21e39c;
}
.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}
.btn--white:hover {
  --btn-bg: var(--green-50);
}
.btn--lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1.05rem;
}
.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
  border-radius: 10px;
}
.btn--block {
  width: 100%;
}
.btn[disabled],
.btn[aria-busy='true'] {
  cursor: default;
  opacity: 0.7;
  transform: none;
}
.btn .spinner {
  display: none;
}
.btn[aria-busy='true'] .spinner {
  display: inline-block;
}
.btn[aria-busy='true'] .btn__label {
  opacity: 0.85;
}
.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: currentColor;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(15, 23, 32, 0.25);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand img {
  height: 38px;
  width: auto;
}
.nav {
  display: none;
  gap: 4px;
}
.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-3);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover {
  text-decoration: none;
  color: var(--ink);
  background: var(--bg-soft);
}
.header__actions {
  display: none;
  align-items: center;
  gap: 8px;
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  cursor: pointer;
}
.menu-btn .icon {
  width: 22px;
  height: 22px;
}
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 49;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 12px 20px 20px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.is-open {
  display: flex;
}
.mobile-menu a {
  padding: 12px 10px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 10px;
}
.mobile-menu a:hover {
  background: var(--bg-soft);
  text-decoration: none;
}
.mobile-menu .btn {
  margin-top: 8px;
}
@media (min-width: 900px) {
  .nav,
  .header__actions {
    display: inline-flex;
  }
  .menu-btn,
  .mobile-menu {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw;
  max-width: 820px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(11, 216, 142, 0.16), rgba(11, 216, 142, 0) 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero__copy {
  max-width: 600px;
}
.hero__copy h1 .accent {
  color: var(--green-700);
  position: relative;
  white-space: nowrap;
}
.hero__copy h1 .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.16em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-500), rgba(11, 216, 142, 0.25));
  z-index: -1;
}
.hero__sub {
  margin-top: 20px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-3);
  max-width: 540px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--ink-3);
}
.trust .icon {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  stroke-width: 3;
}
.hero__visual {
  position: relative;
  margin-inline: auto;
  width: min(100%, 520px);
}
.hero__panel {
  position: relative;
  border-radius: 28px;
  background:
    radial-gradient(120% 90% at 30% 10%, rgba(11, 216, 142, 0.35), transparent 60%),
    linear-gradient(160deg, #eefbf4 0%, #dbf5e9 100%);
  padding: 8% 8% 0;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.hero__panel img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(6, 61, 46, 0.25));
  transform: translateY(6%);
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.float-card .dot {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--green-100);
  color: var(--green-700);
}
.float-card .dot .icon {
  width: 16px;
  height: 16px;
}
.float-card small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.75rem;
}
.float-card--a {
  top: 10%;
  left: -6%;
  animation: floaty 6s var(--ease) infinite;
}
.float-card--b {
  bottom: 14%;
  right: -5%;
  animation: floaty 7s var(--ease) infinite reverse;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
  }
}
@media (max-width: 899px) {
  .hero__visual {
    width: min(100%, 420px);
  }
  .float-card--a {
    left: 0;
  }
  .float-card--b {
    right: 0;
  }
}
@media (max-width: 480px) {
  .float-card {
    font-size: 0.78rem;
    padding: 8px 10px;
  }
  .hero__cta .btn {
    flex: 1 1 100%;
  }
  .eyebrow {
    font-size: 0.72rem;
  }
}

/* --------------------------------------------------------------------------
   Produto (screenshots reais)
   -------------------------------------------------------------------------- */
.showcase {
  display: grid;
  gap: 28px;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--ink-3);
  cursor: pointer;
  transition: all 0.15s var(--ease);
}
.tab .icon {
  width: 18px;
  height: 18px;
}
.tab:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}
.tab[aria-selected='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.screen {
  display: none;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
.screen.is-active {
  display: grid;
}
.screen__frame {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.screen__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.screen__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-2);
}
.screen__bar span {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}
.screen__frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1240 / 690;
  object-fit: cover;
}
.screen__copy h3 {
  font-size: 1.4rem;
}
.screen__copy p {
  margin-top: 10px;
  color: var(--ink-3);
}
.checks {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-2);
  font-weight: 500;
}
.checks .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  stroke-width: 3;
  margin-top: 1px;
}
@media (min-width: 960px) {
  .screen.is-active {
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
  }
}

/* --------------------------------------------------------------------------
   Pilares
   -------------------------------------------------------------------------- */
.pillars {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.pillar {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--green-200);
}
.pillar__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--green-50);
  color: var(--green-700);
  margin-bottom: 18px;
}
.pillar__icon .icon {
  width: 22px;
  height: 22px;
}
.pillar h3 {
  font-size: 1.1rem;
}
.pillar p {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 0.975rem;
}
@media (min-width: 640px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   Como funciona
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 24px 22px 24px 70px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--green-500);
  font-weight: 800;
  font-size: 0.95rem;
}
.step h3 {
  font-size: 1.05rem;
}
.step p {
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 0.95rem;
}
.note {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  color: var(--green-900);
  font-size: 0.95rem;
}
.note .icon {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--green-700);
  margin-top: 2px;
}
.note strong {
  color: var(--green-900);
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .step {
    padding: 66px 22px 26px 22px;
  }
  .step::before {
    left: 22px;
    top: 20px;
  }
}

/* --------------------------------------------------------------------------
   Planos
   -------------------------------------------------------------------------- */
.cycle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.segmented {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--line-2);
  box-shadow: var(--shadow-sm);
  gap: 4px;
  max-width: 100%;
}
.segmented__btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 46px;
  padding: 6px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-3);
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.segmented__btn small {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-700);
  line-height: 1;
  white-space: nowrap;
}
@media (max-width: 420px) {
  .segmented__btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  .segmented__btn small {
    font-size: 0.66rem;
  }
}
.segmented__btn[aria-checked='true'] {
  background: var(--ink);
  color: #fff;
}
.segmented__btn[aria-checked='true'] small {
  color: var(--green-500);
}
.segmented__btn:hover:not([aria-checked='true']) {
  background: var(--bg-soft);
  color: var(--ink);
}
.cycle__hint {
  font-size: 0.925rem;
  color: var(--muted);
  min-height: 1.4em;
  text-align: center;
}
.plans {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.plan:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.plan.is-picked {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(11, 216, 142, 0.25), var(--shadow);
}
.plan--pro {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(15, 23, 32, 0.55);
}
.plan--pro h3,
.plan--pro .price__value {
  color: #fff;
}
.plan--pro .plan__tagline,
.plan--pro .price__period,
.plan--pro .price__note,
.plan--pro .features li {
  color: rgba(255, 255, 255, 0.78);
}
.plan--pro .features .icon {
  background: rgba(11, 216, 142, 0.18);
  color: var(--green-500);
}
.plan--custom {
  background: var(--bg-soft);
  border: 1.5px dashed var(--line-2);
  box-shadow: none;
}
.plan__badge {
  position: absolute;
  top: -14px;
  left: 24px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-500);
  color: var(--green-900);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px -6px rgba(11, 216, 142, 0.8);
}
.plan__head h3 {
  font-size: 1.35rem;
}
.plan__tagline {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.925rem;
}
.price {
  margin-top: 22px;
}
.price__row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price__value {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price__value .cur {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-right: 2px;
}
.price__period {
  color: var(--muted);
  font-weight: 600;
}
.price__note {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  min-height: 1.3em;
  transition: opacity 0.2s;
}
.price.is-swapping .price__value,
.price.is-swapping .price__note {
  animation: swap 0.28s var(--ease);
}
@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.price__custom {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.features {
  margin-top: 22px;
  display: grid;
  gap: 10px;
  flex: 1;
  align-content: start;
}
.features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.features .icon {
  width: 20px;
  height: 20px;
  padding: 4px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  stroke-width: 3;
  margin-top: 2px;
}
.plan .btn {
  margin-top: 26px;
}
.plan__fine {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.plan--pro .plan__fine {
  color: rgba(255, 255, 255, 0.6);
}
@media (min-width: 640px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .plans {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .plan--pro {
    transform: translateY(-8px);
  }
  .plan--pro:hover {
    transform: translateY(-11px);
  }
}
.plans__foot {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Comparação */
.compare {
  margin-top: 8px;
}
.compare[hidden] {
  display: none;
}
.compare__table {
  display: none;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  font-size: 0.925rem;
}
.compare__table th,
.compare__table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare__table thead th {
  background: var(--bg-soft);
  font-weight: 800;
  color: var(--ink);
}
.compare__table thead th small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.8rem;
}
.compare__table tbody th {
  font-weight: 600;
  color: var(--ink-2);
  width: 24%;
}
.compare__table tbody tr:last-child th,
.compare__table tbody tr:last-child td {
  border-bottom: 0;
}
.compare__table td.is-pro {
  background: var(--green-50);
}
.compare__table .yes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-700);
  font-weight: 700;
}
.compare__table .yes .icon {
  width: 16px;
  height: 16px;
  stroke-width: 3;
}
.compare__acc {
  display: grid;
  gap: 10px;
}
.compare__acc details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.compare__acc summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.compare__acc summary::-webkit-details-marker {
  display: none;
}
.compare__acc summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--muted);
}
.compare__acc details[open] summary::after {
  content: '–';
}
.compare__acc .acc-body {
  padding: 0 16px 14px;
  display: grid;
  gap: 12px;
}
.compare__acc .crow {
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}
.compare__acc .crow__label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.925rem;
  margin-bottom: 6px;
}
.compare__acc .crow__label small {
  font-weight: 500;
  color: var(--muted);
}
.compare__acc dl {
  margin: 0;
  display: grid;
  gap: 4px;
}
.compare__acc dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}
.compare__acc dt {
  color: var(--muted);
  font-weight: 600;
}
.compare__acc dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
  font-weight: 600;
}
.compare__acc .yes {
  color: var(--green-700);
}
.compare__acc .yes .icon {
  display: none;
}
@media (min-width: 900px) {
  .compare__table {
    display: table;
  }
  .compare__acc {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Adicionais + API Oficial
   -------------------------------------------------------------------------- */
.two-col {
  display: grid;
  gap: 24px;
}
@media (min-width: 960px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
.card {
  padding: 28px 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.card h3 {
  font-size: 1.3rem;
}
.card > p {
  margin-top: 8px;
  color: var(--ink-3);
}
.addons {
  margin-top: 18px;
  display: grid;
}
.addons li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.addons li:first-child {
  border-top: 0;
}
.addons .name {
  font-weight: 600;
  color: var(--ink);
}
.addons .name small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.8rem;
}
.addons .val {
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.addons .val small {
  font-weight: 600;
  color: var(--muted);
}
.api-grid {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.api-grid > div {
  padding: 16px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.api-grid h4 {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.api-grid h4 .icon {
  width: 18px;
  height: 18px;
  color: var(--green-700);
}
.api-grid p {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--ink-3);
}
@media (min-width: 560px) {
  .api-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.callout {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 0.9rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Permanência
   -------------------------------------------------------------------------- */
.rules {
  display: grid;
  gap: 16px;
}
.rule {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.rule h3 {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rule h3 .icon {
  width: 22px;
  height: 22px;
  color: var(--green-700);
}
.rule p {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 0.95rem;
}
@media (min-width: 900px) {
  .rules {
    grid-template-columns: repeat(3, 1fr);
  }
}
.rules__foot {
  margin-top: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 10px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq details[open] {
  border-color: var(--green-200);
}
.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--muted);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary .icon {
  transform: rotate(45deg);
  color: var(--green-700);
}
.faq .faq__a {
  padding: 0 20px 18px;
  color: var(--ink-3);
  font-size: 0.975rem;
}

/* --------------------------------------------------------------------------
   CTA final + rodapé
   -------------------------------------------------------------------------- */
.cta-final {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(56px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: auto -10% -60% auto;
  width: 50vw;
  max-width: 700px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(11, 216, 142, 0.28), transparent 70%);
  pointer-events: none;
}
.cta-final__inner {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
}
.cta-final h2 {
  color: #fff;
}
.cta-final p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  max-width: 560px;
}
.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (min-width: 900px) {
  .cta-final__inner {
    grid-template-columns: 1.3fr 1fr;
  }
  .cta-final__actions {
    justify-content: flex-end;
  }
}
.footer {
  background: #0a1017;
  color: rgba(255, 255, 255, 0.7);
  padding-block: 48px 28px;
  font-size: 0.925rem;
}
.footer__grid {
  display: grid;
  gap: 32px;
}
.footer__brand img {
  height: 36px;
  width: auto;
}
.footer__brand p {
  margin-top: 14px;
  max-width: 360px;
}
.footer h3 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer ul {
  display: grid;
  gap: 10px;
}
.footer a {
  color: rgba(255, 255, 255, 0.72);
}
.footer a:hover {
  color: #fff;
}
.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
}

/* --------------------------------------------------------------------------
   Barra fixa (mobile) + toast + WhatsApp
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.25s var(--ease), visibility 0s linear 0.25s;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sticky-cta.is-visible {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.25s var(--ease), visibility 0s;
}
.sticky-cta__text {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
  color: var(--ink-3);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sticky-cta .btn {
  min-height: 44px;
}
@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.925rem;
  box-shadow: var(--shadow-lg);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  max-width: min(92vw, 520px);
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.toast .icon {
  width: 20px;
  height: 20px;
  color: var(--green-500);
  flex: none;
}
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 39;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.7);
  transition: transform 0.15s var(--ease);
}
.wa-float:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.wa-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
@media (max-width: 899px) {
  .wa-float {
    bottom: 84px;
    width: 46px;
    height: 46px;
  }
  .wa-float svg {
    width: 24px;
    height: 24px;
  }
}

/* --------------------------------------------------------------------------
   Modal de contratação
   -------------------------------------------------------------------------- */
.modal {
  border: 0;
  padding: 0;
  width: min(100vw - 24px, 960px);
  max-height: calc(100dvh - 24px);
  border-radius: 22px;
  background: #fff;
  color: var(--ink-2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal::backdrop {
  background: rgba(10, 16, 23, 0.55);
  backdrop-filter: blur(4px);
}
.modal[open] {
  animation: modal-in 0.22s var(--ease);
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.modal__head h2 {
  font-size: 1.15rem;
}
.modal__close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.modal__close .icon {
  width: 18px;
  height: 18px;
}
.modal__body {
  display: grid;
  max-height: calc(100dvh - 24px - 73px);
  overflow: auto;
}
.modal__col {
  padding: 22px;
}
.modal__col--summary {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 820px) {
  .modal__body {
    grid-template-columns: 1fr 1.1fr;
  }
  .modal__col--summary {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
}
.summary__plan {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.summary__plan strong {
  font-size: 1.25rem;
  color: var(--ink);
}
.summary__plan button,
.linkish {
  border: 0;
  background: none;
  color: var(--green-700);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.summary__cycle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}
.field-group {
  margin-top: 20px;
}
.field-group > label,
.field-group > .lbl {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.choice {
  display: grid;
  gap: 8px;
}
.choice label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.choice label:has(input:checked) {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(11, 216, 142, 0.2);
}
.choice input {
  margin-top: 3px;
  accent-color: var(--green-700);
  width: 18px;
  height: 18px;
  flex: none;
}
.choice .t {
  flex: 1;
  font-size: 0.925rem;
}
.choice .t strong {
  color: var(--ink);
  display: block;
}
.choice .t small {
  color: var(--muted);
  display: block;
  margin-top: 2px;
}
.choice .p {
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  font-size: 0.925rem;
}
.totals {
  margin-top: 20px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: 0.925rem;
}
.totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.totals .tot {
  padding-top: 8px;
  border-top: 1px dashed var(--line-2);
  font-weight: 800;
  color: var(--ink);
  font-size: 1.05rem;
}
.totals .muted {
  color: var(--muted);
}
.permanence {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--ink-3);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.permanence .icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--green-700);
  margin-top: 2px;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.auth-tabs button {
  border: 0;
  border-radius: 9px;
  padding: 10px;
  background: transparent;
  font-weight: 700;
  color: var(--ink-3);
  cursor: pointer;
}
.auth-tabs button[aria-selected='true'] {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.form {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}
.form[hidden] {
  display: none;
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
}
.form input {
  font: inherit;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form input:focus {
  outline: 0;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(11, 216, 142, 0.22);
}
.form .row {
  display: grid;
  gap: 12px;
}
@media (min-width: 520px) {
  .form .row {
    grid-template-columns: 1fr 1fr;
  }
}
.form .hint {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
.signed {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  font-size: 0.9rem;
  color: var(--green-900);
}
.signed strong {
  display: block;
  word-break: break-all;
}
.alert {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}
.alert[hidden] {
  display: none;
}
.alert--error {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid #fecdca;
}
.alert--info {
  background: var(--warn-bg);
  color: var(--warn);
}
.alert a {
  color: inherit;
  font-weight: 700;
}
.modal__actions {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}
.secure .icon {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   Sucesso
   -------------------------------------------------------------------------- */
.success {
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  place-items: center;
  padding-block: 48px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%);
}
.success__card {
  width: min(100%, 640px);
  padding: 36px 30px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.success__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-100);
  color: var(--green-700);
}
.success__icon .icon {
  width: 34px;
  height: 34px;
  stroke-width: 2.5;
}
.success__icon.is-wait {
  background: var(--warn-bg);
  color: var(--warn);
}
.success__icon.is-wait .icon {
  animation: spin 1.6s linear infinite;
}
.success h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}
.success__lead {
  margin-top: 10px;
  color: var(--ink-3);
}
.success__grid {
  margin-top: 26px;
  display: grid;
  gap: 10px;
  text-align: left;
}
.success__grid div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-soft);
  font-size: 0.925rem;
}
.success__grid dt {
  color: var(--muted);
  font-weight: 600;
}
.success__grid dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}
.success__next {
  margin-top: 22px;
  padding: 16px;
  border-radius: 14px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  text-align: left;
  font-size: 0.925rem;
  color: var(--green-900);
}
.success__next strong {
  display: block;
  margin-bottom: 4px;
}
.success__actions {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.success__fine {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Reveal + motion
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* Resumo do checkout: itens incluídos no plano (sem escolha) */
.checks--tight {
  margin-top: 0;
  gap: 8px;
  font-size: 0.925rem;
}
.checks--tight .icon {
  width: 20px;
  height: 20px;
}

/* Card de plano: implantação incluída (benefício, não escolha) */
.features li.features__onb {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-2);
  font-weight: 700;
  color: var(--ink);
}
.features li.features__onb small {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
}
.features li.features__api {
  font-weight: 700;
  color: var(--ink);
}
.plan--pro .features li.features__onb {
  border-top-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.plan--pro .features li.features__onb small {
  color: rgba(255, 255, 255, 0.62);
}
.plan--pro .features li.features__api {
  color: #fff;
}

/* Card de plano: os três ciclos sempre visíveis; o ciclo escolhido em destaque */
.cycles {
  margin-top: 16px;
  display: grid;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.cycles__row {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: baseline;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.cycles__name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.cycles__eq {
  text-align: right;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cycles__total {
  grid-column: 1 / -1;
  text-align: right;
  font-size: 0.76rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cycles__row:hover:not(.is-current) {
  background: rgba(15, 23, 32, 0.035);
}
.cycles__row.is-current {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--green-500), 0 2px 8px -4px rgba(11, 216, 142, 0.5);
}
.cycles__row.is-current .cycles__name {
  color: var(--green-700);
}
.cycles__row.is-current .cycles__eq {
  color: var(--ink);
}
.plan--pro .cycles {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.plan--pro .cycles__name,
.plan--pro .cycles__total {
  color: rgba(255, 255, 255, 0.6);
}
.plan--pro .cycles__eq {
  color: rgba(255, 255, 255, 0.88);
}
.plan--pro .cycles__row:hover:not(.is-current) {
  background: rgba(255, 255, 255, 0.05);
}
.plan--pro .cycles__row.is-current {
  background: rgba(11, 216, 142, 0.12);
  box-shadow: inset 0 0 0 1.5px var(--green-500);
}
.plan--pro .cycles__row.is-current .cycles__name {
  color: var(--green-500);
}
.plan--pro .cycles__row.is-current .cycles__eq,
.plan--pro .cycles__row.is-current .cycles__total {
  color: #fff;
}
.price.is-swapping ~ .cycles .is-current {
  animation: swap 0.28s var(--ease);
}

.c-total {
  display: block;
  font-size: 0.8em;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

/* Rodapé dos planos: implantação é parte da oferta, não um item à parte */
.plans__onb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink-2);
}
.plans__onb .icon {
  width: 20px;
  height: 20px;
  padding: 4px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  stroke-width: 3;
  flex: none;
}

/* --------------------------------------------------------------------------
   Termos de Uso: aceite no checkout, links legais e página /termo
   -------------------------------------------------------------------------- */
.terms-consent {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-3);
  text-align: center;
}
.terms-consent a,
.success__fine a {
  color: var(--green-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer__legal a {
  font-weight: 600;
}
.footer__legal a[aria-current='page'] {
  color: #fff;
}
.footer--legal {
  padding-block: 8px 28px;
}

.legal-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.legal-actions .icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}
@media (max-width: 400px) {
  .legal-actions__login {
    display: none;
  }
}
.legal {
  padding-block: clamp(32px, 6vw, 56px) 72px;
  background: var(--bg);
}
.legal__head {
  max-width: 760px;
  margin-bottom: 36px;
}
.legal__head h1 {
  margin-top: 10px;
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.legal__sub {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 1.05rem;
}
.legal__date {
  margin-top: 14px;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.legal__date time {
  color: var(--ink-2);
  font-weight: 700;
}
.legal__grid {
  display: grid;
  gap: 28px;
}
.legal__toc {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.9rem;
}
.legal__toc h2 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.legal__toc ol {
  display: grid;
  gap: 6px;
  padding-left: 1.2em;
  list-style: decimal;
}
.legal__toc a {
  color: var(--ink-2);
}
.legal__toc a:hover {
  color: var(--green-700);
}
.legal__body {
  max-width: 72ch;
  min-width: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.legal__body h2 {
  margin-top: 40px;
  padding-top: 8px;
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal__body h2:first-child {
  margin-top: 0;
}
.legal__body h3 {
  margin-top: 24px;
  font-size: 1.05rem;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal__body p,
.legal__body ul,
.legal__body ol {
  margin-top: 12px;
}
.legal__body ul {
  list-style: disc;
  padding-left: 1.3em;
}
.legal__body ol {
  list-style: decimal;
  padding-left: 1.3em;
}
.legal__body li + li {
  margin-top: 6px;
}
.legal__body a {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal__body strong {
  color: var(--ink);
}
@media (min-width: 1000px) {
  .legal__grid {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
  .legal__toc {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    max-height: calc(100vh - var(--header-h) - 40px);
    overflow: auto;
  }
}
.legal__intro {
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  margin-bottom: 8px;
}
.legal__intro p:first-child {
  margin-top: 0;
}
.legal__lead {
  color: var(--ink);
  font-weight: 500;
}
.legal__body ol.legal__items {
  list-style: none;
  padding-left: 0;
}
.legal__items li {
  display: flex;
  gap: 8px;
}
.legal__item-mark {
  flex: none;
  font-weight: 700;
  color: var(--ink);
}
.legal__table {
  margin-top: 14px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.legal__table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  line-height: 1.55;
}
.legal__table th,
.legal__table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}
.legal__table thead th {
  border-top: 0;
  background: var(--bg-soft);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal__table tbody th {
  color: var(--ink);
  font-weight: 600;
  min-width: 11em;
}
.legal__note {
  margin-top: 40px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.terms-consent a.terms-consent__privacy {
  display: inline-block;
  margin-left: 4px;
  font-weight: 600;
  color: var(--muted);
}
.legal__table td,
.legal__table th {
  overflow-wrap: normal;
  hyphens: auto;
}
@media (max-width: 600px) {
  .legal__table--stack thead {
    display: none;
  }
  .legal__table--stack tr,
  .legal__table--stack th,
  .legal__table--stack td {
    display: block;
  }
  .legal__table--stack tbody th {
    min-width: 0;
    padding-bottom: 4px;
  }
  .legal__table--stack tbody tr:first-child th {
    border-top: 0;
  }
  .legal__table--stack td {
    border-top: 0;
    padding-top: 0;
    color: var(--ink-3);
  }
  .legal__table--stack td::before {
    content: 'Base legal: ';
    font-weight: 700;
    color: var(--muted);
  }
}
