/* ============================================
   lua.email — Landing Page
   Mobile-first, professional, accessible
   ============================================ */

:root {
  /* Paleta alinhada ao painel Lua Email Admin */
  --color-bg: #1a1a1a;
  --color-bg-rgb: 26, 26, 26;
  --color-bg-alt: #222222;
  --color-surface: #262626;
  --color-surface-hover: #2e2e2e;
  --color-border: rgba(255, 255, 255, 0.15);
  --color-text: #f0f0f0;
  --color-text-muted: #b0b8c4;
  --color-text-subtle: #949ca8;

  /* Lima — botões primários, abas ativas, destaques */
  --color-accent: #e5ff78;
  --color-accent-rgb: 229, 255, 120;
  --color-accent-text: #1a1a1a;
  --color-accent-hover: #d4f06a;
  --color-accent-dim: rgba(229, 255, 120, 0.12);
  --color-accent-glow: rgba(229, 255, 120, 0.22);

  /* Teal — mailboxes, status ativo, secundário */
  --color-secondary: #17a2b8;
  --color-secondary-rgb: 23, 162, 184;
  --color-secondary-text: #67e8f9;
  --color-secondary-soft: #90beba;
  --color-secondary-dim: rgba(23, 162, 184, 0.14);

  --color-success: #198754;
  --color-warm: #ffc107;
  --color-warm-rgb: 255, 193, 7;
  --color-danger: #ff7eb6;
  --color-danger-rgb: 255, 126, 182;
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 60px var(--color-accent-glow);
  --header-h: 64px;
  --container: min(1120px, 100% - 2rem);
  --transition: 0.2s ease;
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Ícones SVG de linha — herdam o font-size do container (mesmo tamanho dos antigos emojis) */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

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

.btn--primary:focus-visible {
  outline-color: var(--color-accent-text);
}

ul { list-style: none; }

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--color-accent);
  color: var(--color-accent-text);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 20px var(--color-accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  background: var(--color-surface);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.0625rem; }

/* ---- Header ---- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(var(--color-bg-rgb), 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
}

.logo__icon { font-size: 1.25rem; }
.logo__dot { color: var(--color-accent); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: var(--color-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}

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

.nav__link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.nav__link:hover { color: var(--color-text); }

.nav__link--active {
  color: var(--color-accent);
}

.nav__cta { margin-top: 0.5rem; }

.nav__link--external::after {
  content: ' ↗';
  font-size: 0.7em;
  opacity: 0.75;
}

.portal-bar {
  margin-bottom: 2rem;
  max-width: 26rem;
}

.portal-bar--wide {
  max-width: 28rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.portal-bar__heading {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-subtle);
  margin-bottom: 0.625rem;
}

.portal-bar__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

.portal-bar__btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
  padding: 0.75rem 1rem;
  padding-right: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: border-color var(--transition), background var(--transition);
}

.portal-bar__btn:hover {
  border-color: rgba(var(--color-secondary-rgb), 0.45);
  background: var(--color-secondary-dim);
}

.portal-bar__btn::after {
  content: '↗';
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  opacity: 0.65;
}

.portal-bar__btn-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}

.portal-bar__btn-hint {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  line-height: 1.35;
}

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

.hero {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -30%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, var(--color-accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.4;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--color-accent-dim);
  color: var(--color-accent);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero__title em {
  font-style: italic;
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.hero__stats--compact {
  margin-top: 1.5rem;
  margin-bottom: 0;
  max-width: 22rem;
  grid-template-columns: repeat(2, 1fr);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.stat strong {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-accent);
}

.stat span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* Inbox card visual */

.hero__visual {
  display: flex;
  justify-content: center;
}

.inbox-card {
  width: 100%;
  max-width: 380px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  overflow: hidden;
}

.inbox-card__header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.875rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--color-border);
}

.inbox-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.inbox-card__dot--green { background: var(--color-success); }
.inbox-card__dot--yellow { background: var(--color-warm); }
.inbox-card__dot--red { background: var(--color-danger); }

.inbox-card__title {
  margin-left: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.inbox-card__body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.email-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.email-item--blocked {
  background: rgba(var(--color-danger-rgb), 0.08);
  border: 1px solid rgba(var(--color-danger-rgb), 0.18);
}

.email-item--blocked .email-item__from,
.email-item--blocked .email-item__preview {
  color: var(--color-text-subtle);
}

.email-item__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent-dim);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.email-item--blocked .email-item__avatar {
  background: rgba(var(--color-danger-rgb), 0.15);
  color: var(--color-danger);
}

.email-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.email-item__from {
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-item__preview {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-item__badge {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  flex-shrink: 0;
}

.email-item__badge--ok {
  background: rgba(25, 135, 84, 0.18);
  color: #4ade80;
}

.email-item__badge--block {
  background: rgba(var(--color-danger-rgb), 0.15);
  color: var(--color-danger);
}

/* ---- Trust bar ---- */

.trust {
  padding: 1.25rem 0;
  border-block: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.trust__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.trust__item {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ---- Sections ---- */

.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__header {
  margin-bottom: 2.5rem;
}

.section__header--center {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section__desc {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 32rem;
}

.section__header--center .section__desc {
  margin-inline: auto;
}

/* ---- Cards grid ---- */

.cards {
  display: grid;
  gap: 1.25rem;
}

.cards--2col {
  max-width: 44rem;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .cards--2col {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards--2col .card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 1.25rem) / 2);
    justify-self: center;
  }
}

.cards--3col {
  max-width: 56rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .cards--3col {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Centraliza um único card órfão na última linha (ex.: 10 cards = 3+3+3+1) */
  .cards--3col > .card:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .cards--3col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 44rem;
  }

  .cards--3col .card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 1.25rem) / 2);
    justify-self: center;
  }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition), transform var(--transition);
}

.card:hover {
  border-color: rgba(var(--color-accent-rgb), 0.2);
  transform: translateY(-2px);
}

.card__icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ---- Products ---- */

.products {
  display: grid;
  gap: 1.5rem;
}

.product-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--transition);
}

.product-card:hover {
  border-color: rgba(var(--color-accent-rgb), 0.15);
}

.product-card--highlight {
  border-color: rgba(var(--color-accent-rgb), 0.25);
  background: linear-gradient(160deg, var(--color-surface) 0%, rgba(var(--color-accent-rgb), 0.04) 100%);
}

.product-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  background: var(--color-accent-dim);
  color: var(--color-accent);
}

.product-card__badge--core {
  background: rgba(var(--color-warm-rgb), 0.12);
  color: var(--color-warm);
}

.product-card__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.product-card__icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.product-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.product-card__tagline {
  font-size: 0.875rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-top: 0.125rem;
}

.product-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.product-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.product-card__features li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.product-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.8125rem;
}

/* Flow diagram */

.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.flow-diagram__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

.flow-diagram__step--split {
  flex-direction: column;
  gap: 0.375rem;
}

.flow-diagram__nodes {
  display: flex;
  gap: 0.375rem;
  justify-content: center;
}

.flow-diagram__node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.flow-diagram__node--sm {
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
}

.flow-diagram__node--accent {
  background: var(--color-accent-dim);
  border-color: rgba(var(--color-accent-rgb), 0.3);
}

.flow-diagram__label {
  font-size: 0.625rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 4.5rem;
  line-height: 1.2;
}

.flow-diagram__arrow {
  font-size: 0.875rem;
  color: var(--color-text-subtle);
  flex-shrink: 0;
}

.products-cta {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.products-cta a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.products-cta a:hover {
  color: var(--color-accent-hover);
}

.product-card__cta {
  margin-top: auto;
  width: 100%;
}

.inline-link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link:hover {
  color: var(--color-accent-hover);
}

/* ---- Pricing band ---- */

.pricing-band {
  padding: 2.5rem 0;
  background: linear-gradient(135deg, rgba(var(--color-accent-rgb), 0.08) 0%, rgba(var(--color-accent-rgb), 0.02) 100%);
  border-block: 1px solid rgba(var(--color-accent-rgb), 0.15);
}

.pricing-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.pricing-band__icon {
  font-size: 2rem;
  line-height: 1;
}

.pricing-band__title {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 3.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.pricing-band__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 40rem;
  margin-inline: auto;
}

.pricing-band .btn {
  margin-top: 1rem;
}

/* ---- Pricing plans ---- */

.pricing {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.pricing__unit {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: -0.5rem auto 1.75rem;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--color-accent-rgb), 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.pricing-card--featured {
  background: linear-gradient(160deg, rgba(var(--color-accent-rgb), 0.08) 0%, var(--color-surface) 55%);
  border-color: rgba(var(--color-accent-rgb), 0.28);
  box-shadow: 0 0 40px rgba(var(--color-accent-rgb), 0.06);
}

.pricing-card--featured:hover {
  border-color: rgba(var(--color-accent-rgb), 0.4);
}

.pricing-card__badge {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 100px;
  background: var(--color-accent);
  color: var(--color-accent-text);
}

.pricing-card__head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pricing-card__storage {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1;
  color: var(--color-text);
}

.pricing-card__storage span {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-left: 0.125rem;
}

.pricing-card--featured .pricing-card__storage {
  color: var(--color-accent);
}

.pricing-card__quota {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.125rem;
}

.pricing-card__currency {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-right: 0.125rem;
}

.pricing-card__amount {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--color-text);
}

.pricing-card__cents {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-text-muted);
}

.pricing-card__period {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-left: 0.25rem;
}

.pricing-card__cta {
  width: 100%;
  margin-top: auto;
}

.pricing-includes {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.pricing-includes__title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.pricing-includes__list {
  display: grid;
  gap: 0.625rem;
  max-width: 36rem;
  margin-inline: auto;
}

.pricing-includes__list li {
  position: relative;
  padding-left: 1.375rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.pricing-includes__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.8125rem;
}

.pricing__note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 32rem;
  margin-inline: auto;
}

/* ---- Conversion / UX patterns ---- */

.hero__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(var(--color-accent-rgb), 0.08);
  border: 1px solid rgba(var(--color-accent-rgb), 0.2);
  border-radius: var(--radius-md);
  max-width: 20rem;
}

.hero__price-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.hero__price-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-accent);
  line-height: 1;
}

.hero__price-period {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.product-card__from {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: -0.25rem;
}

.product-card__fit {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-style: italic;
  padding-top: 0.25rem;
  border-top: 1px solid var(--color-border);
  margin-top: 0.25rem;
}

.steps--start {
  counter-reset: step;
}

.steps--start .step {
  text-align: center;
}

.steps--start .step__number {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.compare {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compare__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare__table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.compare__table th,
.compare__table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.compare__table thead th {
  background: rgba(0, 0, 0, 0.2);
  font-weight: 600;
  font-size: 0.8125rem;
}

.compare__table th:first-child,
.compare__table td:first-child {
  color: var(--color-text-muted);
  width: 38%;
}

.compare__table .compare__col--lua {
  background: rgba(var(--color-accent-rgb), 0.04);
  color: var(--color-text);
  font-weight: 500;
}

.compare__yes {
  color: var(--color-accent);
  font-weight: 700;
}

.compare__no {
  color: var(--color-text-subtle);
}

.faq {
  max-width: 40rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq__item[open] {
  border-color: rgba(var(--color-accent-rgb), 0.22);
}

.faq__question {
  padding: 1rem 1.125rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: '+';
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 1.125rem 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.selector {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.selector__card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
}

.selector__card:hover {
  border-color: rgba(var(--color-accent-rgb), 0.25);
  transform: translateY(-2px);
}

.selector__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.selector__card h3 {
  font-size: 1rem;
  font-weight: 600;
}

.selector__card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.selector__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 0.25rem;
}

.specialist-band {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(var(--color-accent-rgb), 0.1) 0%, rgba(var(--color-accent-rgb), 0.02) 100%);
  border: 1px solid rgba(var(--color-accent-rgb), 0.2);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 2rem;
}

.specialist-band__title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.specialist-band__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 32rem;
  margin: 0 auto 1.25rem;
}

/* Duas colunas de CTA lado a lado (bridge/shield) */
.cta-columns {
  display: grid;
  gap: 1.5rem;
}

.cta-columns .specialist-band {
  margin-top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-columns .specialist-band__text {
  flex: 1;
}

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

/* Menos vazio acima da seção final de CTA (bridge/shield) */
.section.section--cta-duo {
  padding-top: 2.5rem;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(var(--color-bg-rgb), 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 0.625rem;
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta .btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.sticky-cta .btn--ghost {
  flex: 0 1 auto;
}

@media (min-width: 768px) {
  .sticky-cta { display: none; }

  .selector {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  body:has(.sticky-cta) {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 640px) {
  .steps--start {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- Product pages ---- */

.product-hero {
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  position: relative;
  overflow: hidden;
}

.product-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -20%;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse, var(--color-accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.35;
}

.product-hero--bridge::before {
  background: radial-gradient(ellipse, rgba(var(--color-secondary-rgb), 0.2) 0%, transparent 70%);
}

.product-hero--shield::before {
  background: radial-gradient(ellipse, rgba(var(--color-accent-rgb), 0.2) 0%, transparent 70%);
}

.product-hero--contact::before {
  background: radial-gradient(ellipse, rgba(var(--color-accent-rgb), 0.18) 0%, transparent 70%);
}

.product-hero--partners::before {
  background: radial-gradient(ellipse, rgba(var(--color-secondary-rgb), 0.18) 0%, transparent 70%);
}

.product-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--color-accent); }

.breadcrumb__sep {
  color: var(--color-text-subtle);
  user-select: none;
}

.breadcrumb__current {
  color: var(--color-text);
  font-weight: 500;
}

.product-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.product-hero__title em {
  font-style: italic;
  color: var(--color-accent);
}

.product-hero__subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.portal-bar + .hero__stats--compact {
  margin-top: 0;
}

.product-hero__visual {
  display: flex;
  justify-content: center;
}

.flow-diagram--large {
  max-width: 100%;
  padding: 1.5rem;
}

.flow-diagram--centered {
  margin-top: 2.5rem;
  max-width: 28rem;
  margin-inline: auto;
}

/* Steps */

.steps {
  display: grid;
  gap: 1.5rem;
}

.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--color-accent-dim);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- Linha do tempo (Comece em 3 passos) ---- */
.steps--timeline {
  gap: 0;
}

.steps--timeline .step {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0 0 2rem 3.25rem;
}

.steps--timeline .step:last-child {
  padding-bottom: 0;
}

.steps--timeline .step__number {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  font-size: 1rem;
  z-index: 1;
}

/* Conector — vertical no mobile */
.steps--timeline .step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: calc(1.25rem - 1px);
  top: 2.9rem;
  bottom: 0;
  width: 2px;
  background: rgba(var(--color-accent-rgb), 0.4);
  transform-origin: top;
}

html.js .steps--timeline .step:not(:last-child)::before {
  transform: scaleY(0);
  transition: transform 0.5s ease;
}

html.js .steps--timeline.is-drawn .step:nth-child(1)::before { transition-delay: 0.10s; }
html.js .steps--timeline.is-drawn .step:nth-child(2)::before { transition-delay: 0.45s; }

html.js .steps--timeline.is-drawn .step:not(:last-child)::before {
  transform: scaleY(1);
}

/* Nós acendem quando a linha chega neles */
.steps--timeline .step__number {
  background: var(--color-accent);
  color: var(--color-accent-text);
  box-shadow: 0 0 14px var(--color-accent-glow);
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

/* Com JS: começam apagados, acendem ao chegar a linha */
html.js .steps--timeline .step__number {
  background: var(--color-accent-dim);
  color: var(--color-accent);
  box-shadow: none;
}

html.js .steps--timeline.is-drawn .step__number {
  background: var(--color-accent);
  color: var(--color-accent-text);
  box-shadow: 0 0 14px var(--color-accent-glow);
}

html.js .steps--timeline.is-drawn .step:nth-child(1) .step__number { transition-delay: 0.10s; }
html.js .steps--timeline.is-drawn .step:nth-child(2) .step__number { transition-delay: 0.55s; }
html.js .steps--timeline.is-drawn .step:nth-child(3) .step__number { transition-delay: 0.90s; }

@media (min-width: 640px) {
  .steps--timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .steps--timeline .step {
    padding: 3.75rem 0.75rem 0;
    text-align: center;
  }

  .steps--timeline .step:last-child {
    padding-bottom: 0;
  }

  .steps--timeline .step__number {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  /* Conector — horizontal no desktop */
  .steps--timeline .step:not(:last-child)::before {
    left: 50%;
    top: calc(1.25rem - 1px);
    bottom: auto;
    width: calc(100% + 2rem);
    height: 2px;
    transform-origin: left;
  }

  html.js .steps--timeline .step:not(:last-child)::before {
    transform: scaleX(0);
  }

  html.js .steps--timeline.is-drawn .step:not(:last-child)::before {
    transform: scaleX(1);
  }
}

/* Use cases */

.use-cases {
  display: grid;
  gap: 1.25rem;
}

.use-case {
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.use-case h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.use-case p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Example table */

.example-table {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.example-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
}

.example-row:last-child { border-bottom: none; }

.example-row--header {
  background: rgba(0, 0, 0, 0.2);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  display: none;
}

.example-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
}

.example-badge--ms {
  background: rgba(var(--color-secondary-rgb), 0.18);
  color: var(--color-secondary-text);
}

.example-badge--google {
  background: rgba(var(--color-warm-rgb), 0.15);
  color: var(--color-warm);
}

.example-badge--lua {
  background: var(--color-accent-dim);
  color: var(--color-accent);
}

/* Related products */

.related-products {
  display: grid;
  gap: 1.25rem;
}

.related-card {
  display: block;
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
}

.related-card:hover {
  border-color: rgba(var(--color-accent-rgb), 0.2);
  transform: translateY(-2px);
}

.related-card__icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.75rem;
}

.related-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.related-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.related-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* ---- Panel showcase ---- */

.panel-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.panel-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 100px;
  background: var(--color-accent-dim);
  color: var(--color-accent);
  border: 1px solid rgba(var(--color-accent-rgb), 0.2);
}

.showcase {
  display: grid;
  gap: 2rem;
}

.showcase__item {
  margin: 0;
}

.showcase__frame {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.showcase__frame img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.showcase__caption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.875rem;
  padding-inline: 0.25rem;
}

.showcase__caption strong {
  font-size: 0.9375rem;
  font-weight: 600;
}

.showcase__caption span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ---- Split layout ---- */

.split {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* Shield card */

.shield-card {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

/* Variante com anel de progresso: sem quadrado fixo, cresce conforme o conteúdo */
.shield-card--gauge {
  aspect-ratio: auto;
  padding: 2.25rem 1.5rem;
  gap: 1rem;
}

.shield-card__gauge {
  position: relative;
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.shield-card__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.shield-card__ring-track,
.shield-card__ring-bar {
  fill: none;
}

.shield-card__ring-track {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1.5;
}

.shield-card__ring-bar {
  stroke: var(--color-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;               /* estado inicial vazio (pintado pelo CSS) */
  transition: stroke-dashoffset 1.4s ease-out;
}

/* Pulso: glow que emana para FORA do anel (box-shadow em círculo → nunca quadrado) */
.shield-card__gauge::before {
  content: '';
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  animation: gauge-pulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gauge-pulse {
  0%, 100% { box-shadow: 0 0 5px 0 rgba(var(--color-accent-rgb), 0.12); }
  50%      { box-shadow: 0 0 18px 3px rgba(var(--color-accent-rgb), 0.45); }
}

.shield-card__icon { font-size: 3rem; z-index: 1; }

.shield-card__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  z-index: 1;
}

.shield-card__metrics {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
  z-index: 1;
}

.shield-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.shield-metric__value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

.shield-metric__label {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  max-width: 6rem;
  line-height: 1.3;
}

/* Panel card */

.panel-card {
  width: 100%;
  max-width: 400px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.panel-card__sidebar {
  display: flex;
  gap: 0.25rem;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
}

.panel-card__nav-item {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.panel-card__nav-item--active {
  background: var(--color-accent);
  color: var(--color-accent-text);
}

.panel-card__main { padding: 1rem; }

.panel-card__header {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text-muted);
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-border);
}

.panel-row:last-of-type { border-bottom: none; }

.panel-row__email {
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-row__status {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  flex-shrink: 0;
}

.panel-row__status--active {
  background: var(--color-secondary-soft);
  color: var(--color-accent-text);
}

.panel-card__btn {
  margin-top: 0.75rem;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  border: 1px dashed rgba(var(--color-accent-rgb), 0.3);
  border-radius: var(--radius-sm);
}

/* ---- Support grid ---- */

.support-grid {
  display: grid;
  gap: 1.5rem;
}

.support-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.support-item__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.support-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.support-item p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- Contact & partners ---- */

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.contact-card__icon {
  font-size: 1.75rem;
}

.contact-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
}

.contact-card__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
}

.contact-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 0.25rem;
}

.contact-hero-card,
.partner-hero-card {
  width: 100%;
  max-width: 18rem;
  padding: 2rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.contact-hero-card__icon,
.partner-hero-card__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.contact-hero-card__label,
.partner-hero-card__label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-hero-card__items {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.partner-hero-card__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.tier-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.tier-card {
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.tier-card--highlight {
  border-color: rgba(var(--color-accent-rgb), 0.25);
  background: linear-gradient(135deg, rgba(var(--color-accent-rgb), 0.06) 0%, var(--color-surface) 100%);
}

.tier-card__level {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.tier-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ---- CTA ---- */

.cta {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, var(--color-accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.3;
}

.cta__inner {
  text-align: center;
  position: relative;
}

.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 28rem;
  margin-inline: auto;
}

.cta__desc {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  max-width: 28rem;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta__actions {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.cta__note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ---- Footer ---- */

.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo--footer { justify-content: center; }

.footer__tagline {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  max-width: 28rem;
  margin-inline: auto;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  max-width: 40rem;
}

.footer__nav a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer__nav a:hover { color: var(--color-text); }

.footer__copy {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
}

/* ---- Platform security (shared) ---- */

.platform-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  background: var(--color-accent);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.resources-cta {
  text-align: center;
  margin-top: 2rem;
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.resources-cta__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.resources-cta__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.feature-group {
  margin-bottom: 3rem;
}

.feature-group:last-child {
  margin-bottom: 0;
}

.feature-group__title {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.feature-group__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  max-width: 40rem;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

/* ============================================
   Tablet (640px+)
   ============================================ */

@media (min-width: 640px) {
  .hero__stats { gap: 2rem; }

  .stat strong { font-size: 1.5rem; }
  .stat span { font-size: 0.8125rem; }

  .trust__inner {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .products {
    grid-template-columns: repeat(2, 1fr);
  }

  .products .product-card:first-child {
    grid-column: 1 / -1;
  }

  .support-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tier-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .use-cases {
    grid-template-columns: repeat(3, 1fr);
  }

  .related-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-includes__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1.5rem;
  }

  .pricing-band__inner {
    gap: 1.25rem;
  }

  .example-row {
    grid-template-columns: 2fr 1fr 1.5fr;
    align-items: center;
    gap: 1rem;
  }

  .example-row--header {
    display: grid;
  }

  .showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase__item--featured {
    grid-column: 1 / -1;
  }
}

/* ============================================
   Desktop (768px+)
   ============================================ */

@media (min-width: 768px) {
  .nav-toggle { display: none; }

  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    background: none;
    padding: 0;
    gap: 1.75rem;
  }

  .nav__link { font-size: 0.875rem; }
  .nav__cta { margin-top: 0; }

  .hero { padding: calc(var(--header-h) + 5rem) 0 6rem; }

  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .hero__content { flex: 1; }
  .hero__visual { flex: 0 0 auto; }

  .product-hero {
    padding: calc(var(--header-h) + 4rem) 0 5rem;
  }

  .product-hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .product-hero__content { flex: 1; }
  .product-hero__visual { flex: 0 0 auto; }

  .split {
    flex-direction: row;
    gap: 4rem;
  }

  .split--reverse { flex-direction: row-reverse; }

  .split__content { flex: 1; }
  .split__visual { flex: 0 0 auto; }

  .section { padding: 6rem 0; }

  .footer__inner { gap: 2.5rem; }
}

/* ============================================
   Large desktop (1024px+)
   ============================================ */

@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards--2col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 44rem;
  }

  .cards--3col {
    grid-template-columns: repeat(3, 1fr);
    max-width: 56rem;
  }

  .products {
    grid-template-columns: repeat(3, 1fr);
  }

  .products .product-card:first-child {
    grid-column: auto;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

/* Reduced motion */

/* ============================================
   Efeitos dinâmicos (progressive enhancement)
   Todo estado inicial escondido é gated por html.js —
   sem JS, nada é ocultado (conteúdo/SEO intactos).
   ============================================ */

/* ---- Reveals ao rolar ----
   MANTER EM SINCRONIA com REVEAL_SELECTOR em js/main.js */
html.js .section__header,
html.js .card,
html.js .product-card,
html.js .step,
html.js .pricing-card,
html.js .support-item,
html.js .use-case,
html.js .related-card,
html.js .contact-card,
html.js .tier-card,
html.js .compare,
html.js .faq,
html.js .showcase__item,
html.js .specialist-band,
html.js .selector__card {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

html.js .is-inview {
  opacity: 1;
  transform: none;
}

/* ---- Entrada escalonada do hero (dispara com html.is-loaded) ---- */
html.js .hero__content > *,
html.js .hero__visual,
html.js .product-hero__content > *,
html.js .product-hero__visual {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html.is-loaded .hero__content > *,
html.is-loaded .hero__visual,
html.is-loaded .product-hero__content > *,
html.is-loaded .product-hero__visual {
  opacity: 1;
  transform: none;
}

html.js .hero__content > *:nth-child(1) { transition-delay: 0.05s; }
html.js .hero__content > *:nth-child(2) { transition-delay: 0.12s; }
html.js .hero__content > *:nth-child(3) { transition-delay: 0.19s; }
html.js .hero__content > *:nth-child(4) { transition-delay: 0.26s; }
html.js .hero__content > *:nth-child(5) { transition-delay: 0.33s; }
html.js .hero__content > *:nth-child(6) { transition-delay: 0.40s; }
html.js .hero__content > *:nth-child(7) { transition-delay: 0.47s; }
html.js .hero__visual { transition-delay: 0.54s; }

html.js .product-hero__content > *:nth-child(1) { transition-delay: 0.05s; }
html.js .product-hero__content > *:nth-child(2) { transition-delay: 0.14s; }
html.js .product-hero__content > *:nth-child(3) { transition-delay: 0.23s; }
html.js .product-hero__content > *:nth-child(4) { transition-delay: 0.32s; }
html.js .product-hero__content > *:nth-child(5) { transition-delay: 0.41s; }
html.js .product-hero__visual { transition-delay: 0.50s; }

/* ---- Glow de fundo respirando ---- */
@keyframes hero-glow {
  0%, 100% { opacity: 0.30; transform: scale(1); }
  50%      { opacity: 0.50; transform: scale(1.08); }
}

html.js .hero::before {
  animation: hero-glow 8s ease-in-out infinite;
}

html.js .product-hero::before {
  animation: hero-glow 9s ease-in-out infinite;
}

/* ---- Demo "ao vivo" da caixa de entrada ---- */
@keyframes inbox-item-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@keyframes inbox-block-flash {
  0%   { box-shadow: 0 0 0 0 rgba(var(--color-danger-rgb), 0); }
  40%  { box-shadow: 0 0 0 4px rgba(var(--color-danger-rgb), 0.28); }
  100% { box-shadow: 0 0 0 0 rgba(var(--color-danger-rgb), 0); }
}

@keyframes inbox-badge-pop {
  0%   { transform: scale(0.8); opacity: 0; }
  60%  { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

html.js .email-item { opacity: 0; }

/* Hero (home): dispara no load, após a entrada do conteúdo */
html.is-loaded .hero__visual .email-item {
  animation: inbox-item-in 0.5s ease forwards;
}
html.is-loaded .hero__visual .email-item:nth-child(1) { animation-delay: 0.8s; }
html.is-loaded .hero__visual .email-item:nth-child(2) { animation-delay: 1.1s; }
html.is-loaded .hero__visual .email-item:nth-child(3) { animation-delay: 1.4s; }
html.is-loaded .hero__visual .email-item--blocked {
  animation: inbox-item-in 0.5s ease forwards,
             inbox-block-flash 0.9s ease 1.9s;
}
html.is-loaded .hero__visual .email-item--blocked .email-item__badge--block {
  animation: inbox-badge-pop 0.4s ease 2.1s both;
}

/* Demais páginas/seções: dispara ao rolar até o card (classe is-demo via JS) */
.inbox-card.is-demo .email-item {
  animation: inbox-item-in 0.5s ease forwards;
}
.inbox-card.is-demo .email-item:nth-child(1) { animation-delay: 0.15s; }
.inbox-card.is-demo .email-item:nth-child(2) { animation-delay: 0.40s; }
.inbox-card.is-demo .email-item:nth-child(3) { animation-delay: 0.65s; }
.inbox-card.is-demo .email-item--blocked {
  animation: inbox-item-in 0.5s ease forwards,
             inbox-block-flash 0.9s ease 1.15s;
}
.inbox-card.is-demo .email-item--blocked .email-item__badge--block {
  animation: inbox-badge-pop 0.4s ease 1.35s both;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shield-card__ring { animation: none; }
  .card:hover { transform: none; }
  .btn:active { transform: none; }
  .related-card:hover { transform: none; }
  .pricing-card:hover { transform: none; }

  /* Neutraliza todos os efeitos dinâmicos novos */
  html.js .hero__content > *,
  html.js .hero__visual,
  html.js .product-hero__content > *,
  html.js .product-hero__visual,
  html.js .is-inview,
  html.js .section__header,
  html.js .card,
  html.js .product-card,
  html.js .step,
  html.js .pricing-card,
  html.js .support-item,
  html.js .use-case,
  html.js .related-card,
  html.js .contact-card,
  html.js .tier-card,
  html.js .compare,
  html.js .faq,
  html.js .showcase__item,
  html.js .specialist-band,
  html.js .selector__card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  html.js .hero::before,
  html.js .product-hero::before { animation: none !important; }

  html.js .email-item { opacity: 1 !important; animation: none !important; }
  html.js .email-item--blocked .email-item__badge--block { animation: none !important; }

  /* Anel de progresso: preenche na hora, sem transição nem pulso */
  .shield-card__ring-bar { transition: none !important; animation: none !important; }
  .shield-card__gauge::before { animation: none !important; }

  /* Linha do tempo: conector cheio e nós acesos, sem animar */
  html.js .steps--timeline .step::before { transform: none !important; transition: none !important; }
  html.js .steps--timeline .step__number { transition: none !important; }
}
