:root {
  --petrol: #0a3344;
  --petrol-deep: #041820;
  --grafite: #1c2e38;
  --turquesa: #12ada4;
  --turquesa-soft: #3fd4cb;
  --ink: #03141c;
  --text: #ffffff;
  --muted: #d5e8ed;
  --line: rgba(18, 173, 164, 0.35);
  --surface: rgba(255, 255, 255, 0.07);
  --wa: #25d366;
  --wa-dark: #128c7e;
  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --header-h: 4.25rem;
  --page-pad-x: clamp(1rem, 3vw, 1.5rem);
  --page-max: 1100px;
  --account-max: 1160px;
  --toast-z: 60;
  --header-z: 40;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

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

  .run,
  .fit,
  .brand-logo,
  .hero h1,
  .lead,
  .cta,
  .plan {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1100px 640px at 90% -8%, rgba(18, 173, 164, 0.2), transparent 55%),
    radial-gradient(800px 480px at 0% 90%, rgba(13, 59, 78, 0.9), transparent 55%),
    linear-gradient(165deg, var(--petrol-deep) 0%, var(--petrol) 48%, #0f465c 100%);
}

body.is-modal-open {
  overflow: hidden;
  touch-action: none;
}

main {
  flex: 1 0 auto;
  width: 100%;
  min-width: 0;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top {
  position: sticky;
  top: 0;
  z-index: var(--header-z);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding: 0.75rem var(--page-pad-x);
  backdrop-filter: blur(14px);
  background: rgba(4, 24, 32, 0.96);
  border-bottom: 1px solid rgba(18, 173, 164, 0.28);
  flex-shrink: 0;
}

.mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.mark img {
  display: block;
  height: 34px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(8, 40, 51, 0.55);
  color: #fff;
  font: inherit;
  font-weight: 650;
  font-size: 0.9rem;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  min-height: 44px;
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(18, 173, 164, 0.7);
  outline-offset: 2px;
}

.lang {
  display: inline-flex;
  gap: 0.2rem;
  margin-left: 0.35rem;
  padding: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(8, 40, 51, 0.45);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.active,
.lang-btn[aria-pressed="true"] {
  background: var(--turquesa);
  color: #fff;
}

nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

nav a:hover,
nav a[aria-current="page"] {
  color: #fff;
  text-shadow: 0 0 18px rgba(18, 173, 164, 0.35);
}

.hero {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2.5rem, 8vh, 5rem) var(--page-pad-x) clamp(2.5rem, 6vh, 4.5rem);
  max-width: min(1180px, 100%);
  width: 100%;
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: end;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 2.5rem;
  }
}

@media (max-height: 720px) {
  .hero {
    min-height: 0;
    justify-content: flex-start;
    padding-top: clamp(1.5rem, 4vh, 2.5rem);
    padding-bottom: clamp(2rem, 5vh, 3rem);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.pipes {
  width: 100%;
  height: 100%;
  opacity: 0.95;
}

.iso-grid {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(30deg, rgba(18, 173, 164, 0.45) 1px, transparent 1px),
    linear-gradient(-30deg, rgba(18, 173, 164, 0.35) 1px, transparent 1px);
  background-size: 48px 84px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.run {
  stroke-dasharray: 2200;
  stroke-dashoffset: 2200;
  animation: draw 3.2s ease-out forwards;
}

.r2 {
  animation-delay: 0.28s;
}

.r3 {
  animation-delay: 0.55s;
}

.r4 {
  animation-delay: 0.8s;
}

.fit {
  opacity: 0;
  animation: pop 0.45s ease-out forwards;
}

.f1 { animation-delay: 1.1s; }
.f2 { animation-delay: 1.35s; }
.f3 { animation-delay: 1.55s; }
.f4 { animation-delay: 1.75s; }
.f5 { animation-delay: 1.95s; }

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.brand-logo,
.hero h1,
.lead,
.cta {
  position: relative;
  z-index: 1;
}

.brand-logo {
  display: block;
  width: min(420px, 78vw);
  height: auto;
  margin: 0 0 1.1rem;
  animation: rise 0.9s ease-out both;
  filter: drop-shadow(0 8px 28px rgba(18, 173, 164, 0.18));
}

.hero h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  animation: rise 0.9s ease-out 0.12s both;
}

.lead {
  margin: 1rem 0 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.08rem;
  animation: rise 0.9s ease-out 0.22s both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise 0.9s ease-out 0.32s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn.primary {
  background: var(--turquesa);
  color: #fff;
}

.btn.primary:hover {
  background: var(--turquesa-soft);
  color: #fff;
}

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

.btn.ghost:hover {
  border-color: rgba(18, 173, 164, 0.55);
}

.showcase,
.functions,
.how,
.product,
.pricing,
.contact {
  padding: clamp(3rem, 7vw, 5rem) var(--page-pad-x);
  max-width: var(--page-max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  width: 100%;
  min-width: 0;
}

.eyebrow {
  margin: 0;
  color: var(--turquesa);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase h2,
.functions h2,
.how h2,
.product h2,
.pricing h2,
.contact h2 {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.4vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-weight: 700;
  max-width: 24ch;
}

.sub {
  margin: 1rem 0 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.features {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .features {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2.5rem;
  }
}

.features li {
  color: var(--muted);
  font-size: 0.98rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.features span {
  display: block;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.compat {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.plans {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) and (max-width: 899px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .plans {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
  }
}

.section-deco {
  max-width: 420px;
  margin: 0 0 1.25rem;
  opacity: 0.9;
}

.section-deco svg {
  display: block;
  width: 100%;
  height: 48px;
}

.btn.wa {
  gap: 0.55rem;
  background: var(--wa);
  color: #fff;
  border-color: transparent;
}

.btn.wa:hover {
  background: #2be076;
  color: #fff;
}

.btn.wa.wa-lg {
  margin-top: 1.25rem;
  padding: 0.95rem 1.35rem;
  font-size: 1rem;
}

.wa-ico {
  flex-shrink: 0;
  display: block;
  color: #fff;
  fill: #fff;
}

.plan {
  position: relative;
  padding: 1.5rem 1.4rem 1.35rem;
  border: 1px solid var(--line);
  background: rgba(8, 40, 51, 0.45);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  animation: rise 0.8s ease-out both;
  min-width: 0;
  width: 100%;
  overflow-wrap: anywhere;
}

.plan.featured {
  border-color: rgba(18, 173, 164, 0.55);
  background:
    linear-gradient(160deg, rgba(18, 173, 164, 0.14), transparent 55%),
    rgba(8, 40, 51, 0.55);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--petrol-deep);
  background: var(--turquesa);
  border-radius: 3px;
}

.plan h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.price {
  margin: 0.25rem 0 0;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.price strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.price span {
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-note {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.plan .btn {
  margin-top: auto;
  align-self: flex-start;
}

.trial-line {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.trial-line strong {
  color: var(--turquesa-soft);
}

.contact p {
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.mail {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--turquesa-soft);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.mail:hover {
  border-bottom-color: var(--turquesa-soft);
}

.place {
  font-size: 0.9rem !important;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding: 1.5rem var(--page-pad-x);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
}

footer > * {
  max-width: var(--page-max);
}

footer img {
  opacity: 0.85;
}

/* Conta */
.account-body {
  min-height: 100dvh;
}

.account-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 12% 20%, rgba(18, 173, 164, 0.22), transparent 60%),
    radial-gradient(700px 420px at 88% 70%, rgba(13, 59, 78, 0.55), transparent 55%);
}

.account-page {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

.account-page-rich {
  max-width: 980px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.account-side h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 1.5rem;
}

.account-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.account-steps li {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.account-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.account-steps strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.account-steps span,
.account-side-note {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.account-side-note {
  margin-top: 1.25rem;
}

.account-card {
  background: rgba(4, 24, 32, 0.82);
  border: 1px solid rgba(18, 173, 164, 0.4);
  border-radius: 18px;
  padding: 1.75rem 1.5rem 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.account-card-rich {
  position: relative;
}

.account-card h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0.25rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.account-lead {
  margin-bottom: 1.25rem;
}

.auth-steps {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}

.auth-step {
  margin: 0;
  padding: 0.55rem 0.45rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(18, 173, 164, 0.22);
  border-radius: 999px;
  background: rgba(2, 16, 22, 0.4);
}

.auth-step.is-current {
  color: #fff;
  border-color: rgba(18, 173, 164, 0.65);
  background: rgba(18, 173, 164, 0.22);
}

.auth-step.is-done {
  color: #7dffcf;
  border-color: rgba(125, 255, 207, 0.35);
}

.auth-intent {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(18, 173, 164, 0.4);
  background: rgba(18, 173, 164, 0.12);
}

.auth-intent p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  padding: 0.3rem;
  border: 1px solid rgba(18, 173, 164, 0.4);
  border-radius: 12px;
  background: rgba(2, 16, 22, 0.55);
}

.auth-tab {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-weight: 600;
  padding: 0.7rem 0.5rem;
  border-radius: 9px;
  cursor: pointer;
}

.auth-tab.active {
  background: var(--turquesa);
  color: #fff;
}

.btn-block {
  width: 100%;
  justify-content: center;
  margin-top: 0.35rem;
}

.field-hint {
  margin: -0.35rem 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.profile-head h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.2rem 0 1rem;
  word-break: break-word;
}

.account-plan-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.plan-pick {
  position: relative;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(8, 40, 51, 0.4);
  color: var(--text);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  font: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.plan-pick:hover {
  border-color: rgba(18, 173, 164, 0.55);
  transform: translateY(-1px);
}

.plan-pick.plan-pick-focus {
  border-color: var(--turquesa);
  box-shadow: 0 0 0 2px rgba(18, 173, 164, 0.35);
}

.plan-pick.featured {
  border-color: rgba(18, 173, 164, 0.45);
  background: rgba(18, 173, 164, 0.1);
}

.plan-pick-main {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.plan-pick-label {
  color: #fff;
  font-size: 1rem;
  font-weight: 650;
  text-transform: none;
  letter-spacing: 0;
}

.plan-pick-sub {
  color: var(--muted);
  font-size: 0.82rem;
}

.plan-pick-price {
  display: grid;
  justify-items: end;
  gap: 0.25rem;
  flex-shrink: 0;
}

.plan-pick strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
}

.plan-pick-badge {
  position: static;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--turquesa);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  width: fit-content;
}

@media (max-width: 820px) {
  .account-page-rich {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.95rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.field input {
  border: 1px solid rgba(18, 173, 164, 0.55);
  background: rgba(2, 16, 22, 0.75);
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  font-size: 16px; /* evita zoom automático no iOS ao focar */
  font-weight: 500;
  width: 100%;
  box-sizing: border-box;
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.field input:focus {
  outline: 2px solid rgba(18, 173, 164, 0.75);
  outline-offset: 1px;
  border-color: var(--turquesa);
}

.password-wrap {
  position: relative;
  display: grid;
}

.password-wrap input {
  padding-right: 5.5rem;
}

.pwd-toggle {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--turquesa);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
}

.pwd-toggle:hover {
  background: rgba(18, 173, 164, 0.15);
}

.oauth-block {
  display: grid;
  justify-items: stretch;
  gap: 0.7rem;
  margin-bottom: 0.2rem;
}

.oauth-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.oauth-logos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  width: 100%;
}

.oauth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: #fff;
  color: #1a1a1a;
  cursor: pointer;
  padding: 0.7rem 0.95rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.oauth-btn:hover {
  border-color: rgba(18, 173, 164, 0.7);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.oauth-btn:focus-visible {
  outline: 2px solid var(--turquesa);
  outline-offset: 2px;
}

.oauth-btn img {
  display: block;
  flex-shrink: 0;
}

.oauth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin: 0.35rem 0 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.oauth-divider::before,
.oauth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.oauth-divider span {
  white-space: nowrap;
}

.auth-links {
  margin: -0.35rem 0 0.85rem;
  text-align: right;
}

.auth-links .btn.linkish {
  font-size: 0.88rem;
  padding: 0;
}

.org-howto {
  margin: 0.65rem 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  display: grid;
  gap: 0.25rem;
}

.org-invites {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.org-invite-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(2, 16, 22, 0.45);
  font-size: 0.9rem;
}

.org-seat-label {
  font-weight: 600;
  white-space: nowrap;
}

.org-seat-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  color: #7dffcf;
  overflow: hidden;
  text-overflow: ellipsis;
}

.org-seat-status {
  grid-column: 2 / -1;
  color: var(--muted);
}

.org-copy {
  padding: 0.35rem 0.65rem !important;
  font-size: 0.82rem !important;
  margin: 0 !important;
}

#prof-email {
  margin: 0 0 1rem;
}

.account-block {
  margin: 0 0 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(18, 173, 164, 0.28);
}

.account-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

#btn-logout {
  margin-top: 0.5rem;
}

#prof-email-input[readonly] {
  opacity: 0.75;
  cursor: default;
}

.org-revoke {
  padding: 0.35rem 0.55rem !important;
  font-size: 0.78rem !important;
  margin: 0 !important;
  color: #ffb4b4 !important;
}

.org-invite-row.has-actions {
  grid-template-columns: auto 1fr auto auto;
}

.org-invite-row.orga-invite-open,
.org-invite-row.org-invite-open {
  grid-template-columns: auto 1fr auto auto auto;
}

#add-seats-panel {
  margin-top: 1rem;
}

.account-actions,
.account-plans {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.feedback {
  min-height: 1.25rem;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.feedback.ok {
  color: #7dffcf;
}

.feedback.err {
  color: #ffb4b4;
}

.field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #ffb4b4;
}

.field-error[hidden] {
  display: none !important;
}

input[aria-invalid="true"] {
  border-color: #e57373;
  outline-color: #e57373;
}

.signup-legal {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.signup-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.profile-dl {
  margin: 0;
}

.profile-dl > div {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.profile-dl dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.profile-dl dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.btn.linkish {
  margin-top: 1.25rem;
  background: transparent;
  border: none;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.qty-field input {
  max-width: 8rem;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.85rem 0 0.35rem;
  font-size: 0.92rem;
  line-height: 1.45;
  cursor: pointer;
}

.remember-field {
  margin: 0.15rem 0 0.35rem;
}

.check-field input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--accent, #1a5cff);
}

.org-panel {
  /* id org-panel; espaçamento vem de .account-block */
}

.org-invites {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.88rem;
  color: #fff;
}

.invite-claim {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .top nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.85rem var(--page-pad-x) 1rem;
    background: rgba(4, 24, 32, 0.97);
    border-bottom: 1px solid rgba(18, 173, 164, 0.28);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  }

  .top.is-nav-open nav {
    display: flex;
  }

  .top nav a,
  .top nav .lang {
    width: 100%;
  }

  .top nav .lang {
    margin-left: 0;
    justify-content: flex-start;
  }

  .mark img {
    height: 28px;
  }

  .hero {
    padding-bottom: 2.75rem;
  }
}

/* —— Conta SaaS (auditoria UX + responsividade) —— */
.account-shell {
  width: min(var(--account-max), calc(100% - 2 * var(--page-pad-x)));
  margin: 1.5rem auto 2.5rem;
  position: relative;
  z-index: 2;
  min-width: 0;
}

.account-app {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  min-width: 0;
  padding-top: 0.15rem;
}

.account-toast {
  position: fixed;
  top: calc(var(--header-h) + 0.65rem);
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  left: auto;
  z-index: var(--toast-z);
  width: min(22rem, calc(100vw - 1.7rem));
  margin: 0;
  min-height: 0;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  background: rgba(4, 24, 32, 0.96);
  border: 1px solid rgba(18, 173, 164, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  overflow-wrap: anywhere;
  pointer-events: none;
}

.account-toast:empty,
.account-toast:not(.ok):not(.err) {
  display: none;
}

.account-toast.ok,
.account-toast.err {
  display: block;
  pointer-events: auto;
}

.account-toast .toast-dismiss {
  display: block;
  margin-top: 0.45rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--teal, #12ada4);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}

.account-dialog {
  position: fixed;
  inset: 0;
  z-index: calc(var(--toast-z) + 10);
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(2, 12, 16, 0.72);
}

.account-dialog[hidden] {
  display: none;
}

.account-dialog-card {
  width: min(26rem, 100%);
  background: rgba(4, 24, 32, 0.98);
  border: 1px solid rgba(18, 173, 164, 0.4);
  border-radius: 16px;
  padding: 1.25rem 1.35rem 1.1rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.account-dialog-card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.account-auth-card {
  max-width: 440px;
  width: 100%;
  margin: 0.5rem auto 0;
}

.account-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  margin: 0 0 0.35rem;
}

.account-nav {
  background: rgba(4, 24, 32, 0.82);
  border: 1px solid rgba(18, 173, 164, 0.35);
  border-radius: 16px;
  padding: 1.1rem 0.85rem;
  position: sticky;
  top: calc(var(--header-h) + 0.65rem);
  min-width: 0;
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  box-sizing: border-box;
}

.account-nav-toggle {
  display: none;
  width: 100%;
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(8, 40, 51, 0.55);
  color: #fff;
  font: inherit;
  font-weight: 650;
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  cursor: pointer;
  min-height: 44px;
}

.account-nav-toggle:focus-visible {
  outline: 2px solid rgba(18, 173, 164, 0.7);
  outline-offset: 2px;
}

.account-nav-panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.account-nav-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.account-nav-greeting {
  margin: 0.35rem 0 1rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.account-nav-list {
  display: grid;
  gap: 0.25rem;
}

.account-nav-item {
  text-align: left;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-weight: 600;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  min-height: 44px;
  overflow-wrap: anywhere;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.account-nav-item .nav-ico,
.account-nav-logout .nav-ico {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  opacity: 0.9;
}

.account-nav-item .nav-ico svg,
.account-nav-logout .nav-ico svg {
  display: block;
}

.account-nav-item:hover,
.account-nav-item:focus-visible {
  background: rgba(18, 173, 164, 0.15);
  outline: 2px solid rgba(18, 173, 164, 0.55);
  outline-offset: 1px;
}

.account-nav-item.active {
  background: var(--turquesa);
  color: #fff;
}

.account-nav-logout {
  margin-top: auto;
  padding-top: 1.25rem;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
}

.account-nav-logout:focus-visible {
  outline: 2px solid rgba(18, 173, 164, 0.7);
  outline-offset: 2px;
}

.account-main {
  min-width: 0;
}

.account-view {
  background: rgba(4, 24, 32, 0.82);
  border: 1px solid rgba(18, 173, 164, 0.35);
  border-radius: 18px;
  padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1rem, 2.2vw, 1.35rem) 1.75rem;
  min-width: 0;
}

.view-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.view-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.view-head-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.overview-grid,
.billing-grid,
.profile-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  margin-bottom: 1.25rem;
}

.stat-card,
.account-card-inner {
  background: rgba(2, 16, 22, 0.55);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.15rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.stat-label {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-value {
  margin: 0.45rem 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.stat-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.activate-choices {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.activate-choice {
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(2, 16, 22, 0.55);
  color: inherit;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  cursor: pointer;
  display: grid;
  gap: 0.25rem;
  min-height: 44px;
  font: inherit;
  overflow-wrap: anywhere;
}

.activate-choice:hover,
.activate-choice:focus-visible {
  border-color: rgba(18, 173, 164, 0.65);
  outline: 2px solid rgba(18, 173, 164, 0.45);
}

.activate-choice.featured {
  border-color: rgba(18, 173, 164, 0.55);
  background: rgba(18, 173, 164, 0.12);
}

.activate-choice.is-selected {
  border-color: rgba(18, 173, 164, 0.75);
  background: rgba(18, 173, 164, 0.16);
}

.activate-choice:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.activate-choice strong {
  font-size: 1.05rem;
}

.activate-choice span {
  color: var(--muted);
  font-size: 0.92rem;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 100%;
}

.team-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 36rem;
}

.team-table th,
.team-table td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid rgba(18, 173, 164, 0.2);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.team-table th {
  background: rgba(18, 173, 164, 0.12);
  font-weight: 650;
}

.team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.team-open-pool {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(18, 173, 164, 0.08);
}

.team-open-pool-copy {
  flex: 1 1 220px;
}

.team-open-pool-copy strong {
  display: block;
  margin-bottom: 0.25rem;
}

.team-open-pool .field-hint {
  margin: 0;
}

.team-more {
  position: relative;
  display: inline-block;
}

.team-more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 5;
  min-width: 12rem;
  padding: 0.35rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0f1c24;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: none;
}

.team-more.is-open .team-more-menu {
  display: grid;
  gap: 0.2rem;
}

.team-more-menu button {
  text-align: left;
  width: 100%;
}

.hml-banner {
  margin: 0;
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #122;
  background: #f0c14b;
}

.hml-banner a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-sm {
  padding: 0.4rem 0.65rem !important;
  font-size: 0.82rem !important;
  min-height: 40px;
}

.code-mask {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: #7dffcf;
  overflow-wrap: anywhere;
}

.team-cards {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: none;
  gap: 0.65rem;
}

.team-card-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  display: grid;
  gap: 0.35rem;
  background: rgba(2, 16, 22, 0.45);
  min-width: 0;
  overflow-wrap: anywhere;
}

.help-steps {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  line-height: 1.45;
}

.help-tasks {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
}

.help-task {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.help-task .section-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.help-task .field-hint {
  margin: 0 0 0.75rem;
}

.help-task .btn + .btn,
.help-task .btn + a,
.help-task a + a {
  margin-left: 0.35rem;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(18, 173, 164, 0.45);
  border-radius: 12px;
  background: rgba(18, 173, 164, 0.08);
}

.download-panel .section-title {
  margin: 0 0 0.35rem;
}

.download-panel .field-hint {
  margin: 0;
}

.download-panel .field-hint + .field-hint {
  margin-top: 0.35rem;
}

.download-panel .btn {
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .download-panel {
    flex-direction: column;
    align-items: stretch;
  }
}

.post-claim-checklist {
  margin-top: 1.5rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(18, 173, 164, 0.45);
  border-radius: 12px;
  background: rgba(18, 173, 164, 0.08);
}

.post-claim-checklist .section-title {
  margin: 0 0 0.35rem;
}

.checklist-steps {
  margin: 0.85rem 0 1rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  line-height: 1.45;
}

.checklist-steps .is-done {
  color: var(--text);
  font-weight: 600;
}

.checklist-steps a {
  color: var(--accent, #12ada4);
  font-weight: 600;
}

.onboarding {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 80;
  padding: max(0.85rem, env(safe-area-inset-top)) 1rem max(0.85rem, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  display: block;
}

.onboarding[hidden] {
  display: none !important;
}

.onboarding-card {
  width: min(440px, 100%);
  margin: 0 auto;
  margin-top: max(1rem, 4vh);
  margin-bottom: 1.5rem;
  max-height: none;
  background: #041820;
  border: 1px solid rgba(18, 173, 164, 0.45);
  border-radius: 16px;
  padding: 1.35rem;
}

.onboarding-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .account-app {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 1rem;
  }
}

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

  .account-nav {
    position: static;
    padding: 0.85rem;
    height: auto;
    min-height: 0;
  }

  .account-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .account-nav-toggle::after {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.15s ease;
    margin-left: 0.75rem;
    flex-shrink: 0;
  }

  .account-nav.is-open .account-nav-toggle::after {
    transform: rotate(-135deg);
    margin-top: 0.35rem;
  }

  .account-nav-panel {
    display: none;
    margin-top: 0.75rem;
    flex: none;
    width: 100%;
  }

  .account-nav.is-open .account-nav-panel {
    display: flex;
    width: 100%;
  }

  .account-nav-list {
    width: 100%;
  }

  .account-nav-item {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
  }

  .account-nav-logout {
    margin-top: 1rem;
    padding-top: 0.5rem;
    width: 100%;
    min-height: 44px;
    text-align: left;
  }

  .team-table {
    display: none;
  }

  .table-wrap {
    display: none;
  }

  .team-cards {
    display: grid;
  }
}

@media (max-width: 480px) {
  .account-toast {
    left: 0.85rem;
    right: 0.85rem;
    width: auto;
  }

  .quick-actions .btn {
    flex: 1 1 100%;
  }
}

/* —— Landing: product showcase —— */
.showcase,
.functions,
.how {
  max-width: min(1180px, 100%);
}

.hero-copy .brand-logo {
  width: min(280px, 70vw);
}

.hero h1 {
  max-width: 22ch;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.15rem 0 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.chips li {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--turquesa-soft);
  border: 1px solid var(--line);
  background: rgba(8, 40, 51, 0.55);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

.hero-media {
  margin: 0;
  position: relative;
  z-index: 1;
}

.hero-media figcaption,
.slide figcaption,
.fn-shot figcaption {
  display: none;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #041820;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.video-frame img,
.slide > img,
.fn-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 173, 164, 0.92);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.play-btn span {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.play-btn:hover {
  background: var(--turquesa-soft);
}

.carousel {
  margin-top: 2rem;
}

.carousel-conta {
  margin-top: 2.25rem;
}

.carousel-frame {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 10px;
}

.carousel-track {
  display: flex;
  transition: transform 0.35s ease;
  touch-action: pan-y;
  user-select: none;
}

.slide {
  min-width: 100%;
  margin: 0;
  background: rgba(8, 40, 51, 0.4);
}

.slide > img,
.slide .video-frame {
  aspect-ratio: 16 / 9;
  cursor: zoom-in;
}

.slide .video-frame {
  cursor: default;
}

.carousel-nav {
  appearance: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(8, 40, 51, 0.75);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-nav:hover {
  border-color: var(--turquesa);
  color: var(--turquesa-soft);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.carousel-dot.is-on {
  background: var(--turquesa);
  transform: scale(1.2);
}

.thumbs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  margin-top: 0.9rem;
  padding-bottom: 0.25rem;
}

.thumb {
  flex: 0 0 auto;
  width: 92px;
  height: 56px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #041820;
  cursor: pointer;
  opacity: 0.55;
  position: relative;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.thumb.is-on {
  opacity: 1;
  border-color: var(--turquesa);
}

.thumb-video::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
}

.fn-group {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .fn-group {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
    align-items: center;
  }

  .fn-group.reverse .fn-copy {
    order: 2;
  }
}

.fn-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
}

.fn-copy > p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  max-width: 48ch;
}

.tool-grid {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

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

.tool-grid li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 40, 51, 0.4);
}

.tool-grid img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

.tool-grid strong {
  display: block;
  font-size: 0.92rem;
}

.tool-grid em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

.fn-shot {
  margin: 0;
}

.fn-shot img {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid var(--line);
  cursor: zoom-in;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
  }
}

.steps li {
  counter-increment: step;
  padding: 1.1rem 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 40, 51, 0.4);
}

.steps li::before {
  content: counter(step);
  display: block;
  color: var(--turquesa);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.steps strong {
  display: block;
  margin-bottom: 0.35rem;
}

.steps span {
  color: var(--muted);
  font-size: 0.92rem;
}

.lightbox {
  border: 0;
  padding: 2.75rem 0.5rem 1rem;
  width: min(1100px, 96vw);
  max-width: 96vw;
  background: transparent;
  color: #fff;
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.lightbox::backdrop {
  background: rgba(2, 10, 14, 0.88);
}

.lightbox figure {
  margin: 0;
  min-width: 0;
}

.lightbox img {
  display: block;
  max-width: min(88vw, 1040px);
  max-height: 78vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}

.lightbox figcaption:empty,
.lightbox figcaption[hidden] {
  display: none;
}

.lb-close {
  position: fixed;
  top: 0.85rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 2;
}

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

  .carousel-frame {
    grid-template-columns: 1fr;
  }
}

/* —— Home HML (Onda 3) —— */
.home-hml .hml-banner {
  position: relative;
  z-index: calc(var(--header-z) + 1);
}

.home-hml .nav-enter {
  opacity: 0.9;
  font-weight: 600;
}

.home-hml .nav-cta {
  padding: 0.45rem 0.9rem !important;
  min-height: 40px;
  font-size: 0.88rem !important;
  text-decoration: none;
}

.home-hml .hero h1 {
  max-width: 18ch;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
}

.home-hml .lead {
  max-width: 38ch;
}

.home-hml .proof {
  width: min(var(--page-max), calc(100% - 2 * var(--page-pad-x)));
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 2;
}

.home-hml .proof-list {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  justify-content: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.home-hml .home-sub {
  margin: -0.35rem auto 1.5rem;
  max-width: 46ch;
  text-align: center;
  color: var(--muted);
}

.home-hml .demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-hml .demo-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(8, 40, 51, 0.45);
}

.home-hml .demo-card img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.home-hml .demo-card figcaption {
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 650;
}

.home-hml .outcomes {
  width: min(var(--page-max), calc(100% - 2 * var(--page-pad-x)));
  margin: 0 auto 3.5rem;
  position: relative;
  z-index: 2;
}

.home-hml .outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.75rem;
}

.home-hml .outcome {
  padding: 0.25rem 0 1rem;
  border-bottom: 1px solid rgba(18, 173, 164, 0.22);
}

.home-hml .outcome h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.home-hml .outcome p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.home-hml .home-more {
  margin: 1.25rem 0 0;
  text-align: center;
}

.home-hml .trial-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(18, 173, 164, 0.45);
  border-radius: 12px;
  background: rgba(18, 173, 164, 0.1);
}

.home-hml .trial-strip strong {
  display: block;
  font-size: 1.05rem;
}

.home-hml .trial-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.home-hml .plans {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .home-hml .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .home-hml .top nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.85rem var(--page-pad-x) 1rem;
    background: rgba(4, 24, 32, 0.97);
    border-bottom: 1px solid rgba(18, 173, 164, 0.28);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  }

  .home-hml .top.is-nav-open nav {
    display: flex;
  }

  .home-hml .top nav a,
  .home-hml .top nav .nav-cta {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .home-hml .nav-cta {
    justify-content: center;
  }
}

/* —— Onda 5: a11y + FAQ —— */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--turquesa);
  color: #041820;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  left: 0.75rem;
}

.account-body .field input:focus-visible,
.account-body .btn:focus-visible,
.account-body .plan-pick:focus-visible,
.account-body .activate-choice:focus-visible,
.account-body .faq-item summary:focus-visible {
  outline: 2px solid rgba(18, 173, 164, 0.85);
  outline-offset: 2px;
}

.help-faq-title {
  margin: 1.75rem 0 0.75rem;
}

.help-faq {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  background: rgba(8, 40, 51, 0.35);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 1rem;
  font-weight: 650;
  min-height: 44px;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--turquesa-soft);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 1rem 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 820px) {
  .home-hml .demo-grid,
  .home-hml .outcome-grid,
  .home-hml .plans {
    grid-template-columns: 1fr;
  }
}

