/* CovenantFlow — design tokens e temas */
:root {
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --brand: #5f73f6;
  --brand-hover: #7b8df8;
  --brand-muted: rgba(95, 115, 246, 0.22);
  --accent: #14cba8;
  --accent-muted: rgba(20, 203, 168, 0.18);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.2);

  --header-h: 72px;
  /*
    Em telas largas o layout era limitado por max-width (antes 1120px), não só pelo recuo lateral —
    por isso mudar só os rem nas laterais quase não aparecia. +10% na largura máxima libera espaço visível.
  */
  --container: min(1232px, calc(100% - 1.6rem));
  --focus-ring: 2px solid var(--brand);
  --focus-offset: 2px;

  --transition: 0.22s ease;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg-root: #020617;
  --bg-elevated: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.55);
  --bg-card-solid: #1e293b;
  --border: #334155;
  --text: #f8fafc;
  --text-muted: #cbd5e1;
  --text-subtle: #94a3b8;
  --hero-gradient: linear-gradient(165deg, #020617 0%, #0a1628 45%, #020617 100%);
  --surface-band: color-mix(in srgb, var(--bg-elevated) 68%, var(--bg-root));
  --glass-border: rgba(148, 163, 184, 0.14);
  --glass-bg: rgba(15, 23, 42, 0.45);
  --input-bg: rgba(15, 23, 42, 0.85);
  --mockup-chrome: #334155;
}


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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-root);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html.js .reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  transition: color var(--transition);
  background-color: transparent;
}

/* Degradê + halos fixos na viewport (mesmo eixo do hero); fundo html opaco por baixo. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg-root);
  background-image: radial-gradient(
      ellipse 110% 85% at 92% -8%,
      rgba(95, 115, 246, 0.42) 0%,
      transparent 56%
    ),
    radial-gradient(ellipse 95% 75% at -12% 102%, rgba(20, 203, 168, 0.32) 0%, transparent 54%),
    var(--hero-gradient);
}

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

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover {
  color: var(--brand-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--brand);
  color: #fff;
  z-index: 9999;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  outline: none;
  box-shadow: 0 0 0 3px var(--accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

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

.container--narrow {
  width: min(720px, calc(100% - 1.6rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg-root) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

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

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.nav {
  display: none;
}

.nav-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--text);
  background: var(--brand-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 420px) {
  .header-inner {
    gap: 0.55rem;
  }

  .logo {
    font-size: 0.95rem;
    letter-spacing: -0.03em;
  }

  .logo-mark {
    width: 24px;
    height: 24px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }
}

.header-actions__ctas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta {
  display: none;
}


.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card-solid);
  cursor: pointer;
  padding: 0 10px;
}

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

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--glass-border);
  background: var(--bg-elevated);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-list a {
  display: block;
  padding: 0.65rem 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.mobile-nav-list a:hover {
  background: var(--brand-muted);
}

/* "Entrar" só no menu mobile: .btn sobrescrevia .nav-cta e quebrava o layout horizontal */
@media (max-width: 959px) {
  .header-actions .header-actions__login.btn {
    display: none;
  }
}

@media (min-width: 960px) {
  .nav {
    display: flex;
    flex: 1;
    justify-content: center;
    min-width: 0;
  }

  .header-actions__login {
    margin-left: 0.35rem;
    padding-left: 0.85rem;
    border-left: 1px solid var(--glass-border);
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .nav-cta {
    display: inline-flex;
  }
}

@media (min-width: 960px) and (max-width: 1180px) {
  .nav-list {
    gap: 0.15rem;
  }

  .nav-list a {
    padding: 0.45rem 0.45rem;
    font-size: 0.82rem;
  }
}

@media (min-width: 960px) and (max-width: 1120px) {
  .header-actions {
    gap: 0.35rem;
  }

  .header-actions__ctas {
    gap: 0.35rem;
  }

  .header-actions .btn--sm {
    font-size: 0.78rem;
    padding: 0.45rem 0.55rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition),
    box-shadow var(--transition), transform 0.15s ease;
}

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

.btn--sm {
  font-size: 0.85rem;
  padding: 0.5rem 0.9rem;
}

.btn--lg {
  padding: 0.85rem 1.35rem;
  font-size: 1rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand), #4c5fd4);
  color: #fff;
  box-shadow: 0 8px 28px var(--brand-muted);
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 10px 34px rgba(95, 115, 246, 0.45);
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.38);
}

.btn--whatsapp:hover {
  color: #fff;
  background: #20bd5a;
  box-shadow: 0 10px 34px rgba(37, 211, 102, 0.48);
}

/* Header: rótulo longo sem empurrar o menu (tipografia mais compacta em telas médias) */
.header-actions__ctas .btn--whatsapp.nav-cta.btn--sm {
  white-space: nowrap;
  letter-spacing: -0.02em;
}

@media (min-width: 960px) and (max-width: 1280px) {
  .header-actions__ctas .btn--whatsapp.nav-cta.btn--sm {
    font-size: 0.72rem;
    padding: 0.45rem 0.55rem;
  }
}

@media (min-width: 960px) and (max-width: 1100px) {
  .header-actions__ctas .btn--whatsapp.nav-cta.btn--sm {
    font-size: 0.66rem;
    padding: 0.42rem 0.48rem;
  }
}

.btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--brand);
  color: var(--text);
  background: var(--brand-muted);
}

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

.btn--ghost:hover {
  color: var(--text);
  background: var(--brand-muted);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: transparent;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
}

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

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

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

/* Hero mantém o eyebrow alinhado ao texto da coluna esquerda */
.hero .eyebrow {
  text-align: left;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* Mockup */
.mockup {
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.mockup__chrome {
  display: flex;
  gap: 6px;
  padding: 0.65rem 1rem;
  background: color-mix(in srgb, var(--mockup-chrome) 35%, var(--bg-elevated));
  border-bottom: 1px solid var(--glass-border);
}

.mockup__chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
  opacity: 0.7;
}

.mockup__chrome span:nth-child(1) {
  background: #f87171;
}

.mockup__chrome span:nth-child(2) {
  background: #fbbf24;
}

.mockup__chrome span:nth-child(3) {
  background: #34d399;
}

.mockup__body {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 260px;
}

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

  .mockup__sidebar {
    display: none;
  }
}

.mockup__sidebar {
  padding: 1rem;
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mockup__pill {
  height: 8px;
  width: 70%;
  border-radius: 4px;
  background: var(--brand-muted);
}

.mockup__line {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  opacity: 0.7;
}

.mockup__line--short {
  width: 60%;
}

.mockup__main {
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup__header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.mockup__title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mockup__badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--accent-muted);
  color: var(--accent);
}

.mockup__cards {
  display: grid;
  gap: 0.5rem;
}

.mockup__card {
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: color-mix(in srgb, var(--bg-card-solid) 80%, transparent);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mockup__label {
  font-size: 0.68rem;
  color: var(--text-subtle);
}

.mockup__value {
  font-size: 0.8rem;
  font-weight: 600;
}

.mockup__value--ok {
  color: var(--accent);
}

.mockup__value--warn {
  color: #fbbf24;
}


.mockup__timeline {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}

.mockup__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.mockup__dot--accent {
  background: var(--accent);
}

.mockup__dot--outline {
  background: transparent;
  border: 2px solid var(--border);
}

.mockup__bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0.85;
}

.mockup__bar--dim {
  background: var(--border);
  opacity: 0.6;
}

/* Sections — divisor superior em todas (alinha hero + faixas alt ao mesmo traço de 1px) */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--glass-border);
  /* Compensa o header sticky ao clicar no menu / âncoras (#sobre, #contato, etc.) */
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.section--tight {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

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

.section__head {
  max-width: 42rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Intro das seções Sobre e Funcionalidades: texto longo usa largura do container */
#sobre .section__head,
#funcionalidades .section__head {
  max-width: none;
  width: 100%;
}

/* Lead da seção Sobre: usa a largura útil do container (sem coluna estreita) */
#sobre .section__lead {
  max-width: none;
  width: 100%;
}

.section__head .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.section__head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section__lead {
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 52rem;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: border-color var(--transition), transform 0.2s ease, box-shadow var(--transition);
}

.glass-card:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--glass-border));
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .glass-card:hover {
    transform: none;
  }
}

/* Problem grid */
.problem-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

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

.problem-grid > li {
  padding: 1.25rem 1.35rem;
}

.problem-icon {
  display: inline-flex;
  width: calc(36px * 1.2);
  height: calc(36px * 1.2);
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--brand-muted);
  color: var(--brand-hover);
  margin-bottom: 0.75rem;
}

.problem-icon svg {
  display: block;
  width: calc(18px * 1.2);
  height: calc(18px * 1.2);
}

.problem-icon--sm {
  width: calc(32px * 1.05);
  height: calc(32px * 1.05);
  margin-bottom: 0;
  flex-shrink: 0;
}

.problem-icon--sm svg {
  width: calc(16px * 1.05);
  height: calc(16px * 1.05);
}

.problem-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.problem-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Funcionalidades — abas + print / texto (site estático) */
.features-tabs {
  padding: clamp(1.1rem, 3vw, 1.75rem) clamp(1rem, 3vw, 1.65rem) clamp(1.25rem, 3vw, 2rem);
}

.features-tabs.glass-card:hover {
  transform: none;
  border-color: color-mix(in srgb, var(--brand) 28%, var(--glass-border));
}

.features-tabs__tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.features-tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--text-muted);
  background: color-mix(in srgb, var(--bg-card-solid) 55%, transparent);
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.features-tabs__tab:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--bg-card-solid) 85%, transparent);
}

.features-tabs__tab:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 var(--focus-offset) var(--bg-root),
    0 0 0 calc(var(--focus-offset) + 2px) var(--accent);
}

.features-tabs__tab[aria-selected="true"] {
  color: #fff;
  background: color-mix(in srgb, var(--brand) 88%, #1e293b);
  border-color: color-mix(in srgb, var(--brand) 40%, transparent);
  box-shadow: 0 6px 22px rgba(95, 115, 246, 0.28);
}

.features-tabs__tab-icon {
  display: inline-flex;
  opacity: 0.92;
}

.features-tabs__tab[aria-selected="true"] .features-tabs__tab-icon {
  opacity: 1;
}

.features-tabs__panel[hidden] {
  display: none !important;
}

.features-tabs__grid {
  display: grid;
  gap: clamp(1.25rem, 4vw, 2rem);
}

@media (min-width: 768px) {
  .features-tabs__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.25rem);
    align-items: stretch;
  }

  /* Print à esquerda (3/5), texto à direita — DOM mantém texto primeiro para mobile */
  .features-tabs__visual {
    grid-column: 1 / span 3;
    grid-row: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .features-tabs__copy {
    grid-column: 4 / span 2;
    grid-row: 1;
    min-height: 0;
  }

  /* Figura da captura acompanha a altura do bloco de texto ao lado (sem ultrapassar por baixo). */
  .features-tabs__grid .features-tabs__placeholder--image {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
  }

  .features-tabs__grid .features-tabs__placeholder--image .features-tabs__zoom-trigger {
    flex: 1;
    min-height: 0;
    height: 100%;
  }

  .features-tabs__grid .features-tabs__placeholder--image .features-tabs__zoom-trigger img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: top center;
  }

  /*
    Governe: imagem 1.46:1 vs ~2.1:1 das demais — sem intervenção a altura
    natural da imagem vence a referência circular de height:100% e empurra
    o grid para além da altura do texto.
    Correção: tudo dentro da coluna visual é position:absolute, eliminando
    qualquer contribuição para a altura intrínseca. O grid passa a usar só
    a coluna de texto para determinar a altura da linha; a coluna visual
    se estica via align-self:stretch e a imagem cobre o espaço com cover.
  */
  #features-panel-governe .features-tabs__visual {
    position: relative;
    display: block;
    overflow: hidden;
  }

  #features-panel-governe .features-tabs__placeholder--governe,
  #features-panel-governe .features-tabs__placeholder--governe .features-tabs__zoom-trigger {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    flex: none;
  }

  #features-panel-governe .features-tabs__placeholder--governe .features-tabs__zoom-trigger img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
  }
}

.features-tabs__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
  text-align: center;
}

.features-tabs__subtitle {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: center;
}

.features-tabs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.features-tabs__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.features-tabs__item h4 {
  margin: 0 0 0.25rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
}

.features-tabs__item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.52;
}

.features-tabs__placeholder {
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: color-mix(in srgb, var(--bg-elevated) 92%, var(--text) 4%);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.features-tabs__placeholder--image {
  aspect-ratio: auto;
  padding: 0;
  display: block;
  margin: 0;
}

.features-tabs__placeholder--image .features-tabs__zoom-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: calc(var(--radius-md) - 2px);
  position: relative;
  overflow: hidden;
  font: inherit;
  color: inherit;
}

.features-tabs__placeholder--image .features-tabs__zoom-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.features-tabs__placeholder--image .features-tabs__zoom-trigger img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-md) - 2px);
}

.features-tabs__zoom-hint {
  position: absolute;
  bottom: 0.55rem;
  right: 0.55rem;
  padding: 0.3rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: color-mix(in srgb, var(--bg-root) 72%, transparent);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  pointer-events: none;
}

@media (max-width: 480px) {
  .features-tabs__zoom-hint {
    font-size: 0.62rem;
    bottom: 0.4rem;
    right: 0.4rem;
  }
}

.features-tabs__placeholder p {
  margin: 0;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-subtle);
  max-width: 28rem;
}

@media (prefers-reduced-motion: no-preference) {
  .features-tabs__panel-inner--enter {
    animation: features-tab-in 0.28s ease-out;
  }
}

@keyframes features-tab-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .features-tabs__panel-inner--enter {
    animation: none;
  }
}

/* Lightbox — PNG nos pixels nativos do arquivo (não usar max-width: 100% do img global). */
.image-lightbox {
  margin: auto;
  padding: 3.25rem 0.5rem 0.5rem;
  border: none;
  background: transparent;
  width: max-content;
  height: max-content;
  max-width: 100vw;
  max-height: 100dvh;
  overflow: auto;
  box-sizing: border-box;
}

.image-lightbox::backdrop {
  background: transparent;
}

.image-lightbox__scrim {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  cursor: zoom-out;
  background: rgba(2, 6, 23, 0.92);
}

.image-lightbox__sheet {
  position: relative;
  z-index: 1;
  display: block;
  width: max-content;
  margin: 0;
  padding: 0;
  line-height: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  background: #0b0f1a;
  overflow: visible;
}

/* Tamanho 1:1 ao pixel do arquivo (cada PNG com dimensões próprias). */
dialog.image-lightbox .image-lightbox__sheet img {
  display: block;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.image-lightbox__close {
  position: fixed;
  top: max(0.75rem, env(safe-area-inset-top, 0px));
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--bg-card-solid);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.image-lightbox__close:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--glass-border));
  color: var(--accent);
}

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

/* Benefits */
.benefit-grid {
  display: grid;
  gap: 1rem;
}

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

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

.benefit-card {
  padding: 1.25rem 1.35rem;
}

.benefit-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.benefit-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

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

.step {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  align-items: flex-start;
}

.step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 6px 20px var(--brand-muted);
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.steps__note {
  margin: 1.1rem auto 0;
  text-align: center;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq__item {
  padding: 0;
  overflow: hidden;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 1.15rem;
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
}

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

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 400;
}

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

.faq__item p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band__inner {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-band__text {
  text-align: center;
}

.cta-band__text .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.cta-band__text h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
}

.cta-band__text p {
  margin: 0 auto;
  max-width: 42rem;
  color: var(--text-muted);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--glass-border);
  display: grid;
  gap: 0.75rem;
}

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

.contact-list strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  margin-bottom: 0.2rem;
}

.contact-list a {
  word-break: break-word;
}

#pedir-demonstracao {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.contact-form {
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form__note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

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

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

  .field--full {
    grid-column: 1 / -1;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.field__optional {
  font-weight: 500;
  color: var(--text-subtle);
  font-size: 0.8rem;
}

.field--checkbox {
  padding-top: 0.15rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0;
}

.checkbox-label input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.contact-form__fieldset {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.contact-form__fieldset .field__label {
  margin-bottom: 0.5rem;
}

.contact-form__radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0;
}

.radio-label input {
  accent-color: var(--accent);
}

/* Página de confirmação de envio (FormSubmit) */
.thank-you-card {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
}

.thank-you-card .eyebrow {
  margin-bottom: 0.75rem;
}

.thank-you-card__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
}

.thank-you-card__lead {
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.thank-you-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.field input,
.field textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

/* Área da mensagem ~20% mais alta que 4 linhas (linha 1.6 + padding) */
.field textarea {
  min-height: calc((4 * 1.6rem + 1.3rem) * 1.2);
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-subtle);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-muted);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-elevated);
}

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

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
  }
}

.footer__tagline {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 22rem;
}

.footer__social {
  margin-top: 0.75rem;
}

.footer__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer__linkedin-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer__nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

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

.footer__legal p {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: var(--text-subtle);
}

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

.footer__legal-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
}

.footer__legal-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer__legal-links a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__legal-links .footer__cookie-settings {
  font-size: 0.88rem;
  text-align: left;
}

.footer__copy {
  margin-top: 0.75rem !important;
}

/* Páginas legais (texto substituível com assessoria jurídica) */
.legal-page {
  min-height: 100vh;
  padding: 2rem 1rem 4rem;
}

.legal-page .container {
  width: min(42rem, calc(100% - 1.6rem));
  margin-inline: auto;
}

.legal-page h1 {
  margin-top: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
}

.legal-page p {
  color: var(--text-muted);
  line-height: 1.65;
}

.legal-page h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.legal-page h2:first-of-type {
  margin-top: 1.25rem;
}

.legal-page h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.legal-page ul,
.legal-page ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.legal-page li + li {
  margin-top: 0.35rem;
}

.legal-page .legal-meta {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
}

.legal-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Scroll reveal — sem JS, conteúdo permanece visível */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 0.08s;
}

/* Botão flutuante WhatsApp — mesmo padrão visual de equalia.com.br */
.whatsapp-float {
  position: fixed;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  background: #20bd5a;
  color: #fff;
}

.whatsapp-float:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.whatsapp-float__icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .whatsapp-float {
    width: 4rem;
    height: 4rem;
  }

  .whatsapp-float__icon {
    width: 2.25rem;
    height: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: background-color 0.2s ease;
  }

  .whatsapp-float:hover {
    transform: none;
  }
}

/* Banner de consentimento de cookies (LGPD) */
.cookie-consent {
  position: fixed;
  z-index: 70;
  left: 0;
  right: 0;
  bottom: 0;
  padding: max(0.85rem, env(safe-area-inset-bottom, 0px)) max(0.85rem, env(safe-area-inset-right, 0px))
    max(0.85rem, env(safe-area-inset-left, 0px));
  pointer-events: none;
}

.cookie-consent.is-open {
  pointer-events: auto;
}

.cookie-consent__panel {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.cookie-consent__title {
  margin: 0 0 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.cookie-consent__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 52rem;
  line-height: 1.5;
}

.cookie-consent__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

html.cookie-consent-open .whatsapp-float {
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

.footer__cookie-settings {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--text-subtle);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.footer__cookie-settings:hover {
  color: var(--text-muted);
}

.legal-cookie-settings {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.legal-cookie-settings:hover {
  color: var(--brand-hover);
}
