@import "tokens.css";

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: #fff;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-8);
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  z-index: 10000;
  padding: var(--space-2) var(--space-4);
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: var(--space-4);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-3) 0;
  background: transparent;
  pointer-events: none;
  transition: padding var(--duration) var(--ease);
}

.site-header .container {
  max-width: var(--container-max);
}

.site-header__shell {
  pointer-events: auto;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-4);
  min-height: 56px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background: color-mix(in srgb, var(--bg-secondary) 78%, transparent);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 12px 40px rgba(0, 0, 0, 0.28);
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    background var(--duration) var(--ease);
}

.site-header.is-scrolled {
  padding: var(--space-2) 0;
}

.site-header.is-scrolled .site-header__inner {
  border-color: var(--border-accent);
  background: color-mix(in srgb, var(--bg-secondary) 96%, transparent);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 16px 48px rgba(0, 0, 0, 0.45);
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: var(--space-2);
}

.site-logo img {
  height: 34px;
  width: auto;
  transition: opacity var(--duration);
}

.site-logo:hover img {
  opacity: 0.92;
}

.site-nav {
  display: none;
  justify-content: center;
  min-width: 0;
}

.site-nav__track {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-primary) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-nav__link {
  position: relative;
  padding: 0.5rem 0.95rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  border-radius: var(--radius);
  text-decoration: none;
  transition:
    color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.site-nav__link:hover {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--bg-elevated) 90%, transparent);
}

.site-nav__link:focus-visible {
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.site-nav__link.is-active {
  color: var(--text-primary);
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 4px 12px rgba(0, 0, 0, 0.35);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-primary) 50%, transparent);
  border: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
}

.lang-switcher__btn {
  min-width: 2.25rem;
  padding: 0.4rem 0.55rem;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  transition:
    color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.lang-switcher__btn:hover {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--bg-elevated) 90%, transparent);
}

.lang-switcher__btn.is-active {
  color: var(--text-primary);
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 0 0 1px color-mix(in srgb, var(--border) 80%, transparent);
}

.lang-switcher__btn:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

.mobile-nav__lang {
  padding: var(--space-4) var(--space-5) var(--space-2);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
}

.lang-switcher--mobile {
  width: 100%;
  justify-content: center;
}

@media (min-width: 992px) {
  .mobile-nav__lang {
    display: none;
  }
}

.header-actions__group {
  display: none;
  align-items: center;
  gap: var(--space-2);
  padding: 4px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-primary) 50%, transparent);
  border: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
}

.btn-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.btn-header-login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  transition:
    color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.btn-header-login:hover {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--bg-elevated) 80%, transparent);
  border-color: color-mix(in srgb, var(--border) 80%, transparent);
}

.btn-header-login:focus-visible,
.btn-header-cta:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

.btn-register,
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem 0.55rem 1.25rem;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--accent-blue-light) 70%, #fff);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-blue-light) 35%, var(--accent-blue)) 0%,
    var(--accent-blue-hover) 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 8px 28px color-mix(in srgb, var(--accent-blue-light) 55%, transparent),
    0 0 0 1px color-mix(in srgb, var(--accent-blue-light) 40%, transparent);
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    filter var(--duration) var(--ease);
  animation: register-cta-glow 2.8s ease-in-out infinite;
}

.btn-register:hover,
.btn-header-cta:hover {
  color: #fff;
  filter: brightness(1.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32) inset,
    0 12px 36px color-mix(in srgb, var(--accent-blue-light) 65%, transparent),
    0 0 32px color-mix(in srgb, var(--accent-blue-light) 35%, transparent);
  transform: translateY(-2px);
  animation: none;
}

.btn-register:active,
.btn-header-cta:active {
  transform: translateY(0);
}

.btn-register .btn-icon--arrow,
.btn-header-cta .btn-icon--arrow {
  transition: transform var(--duration) var(--ease);
}

.btn-register:hover .btn-icon--arrow,
.btn-header-cta:hover .btn-icon--arrow {
  transform: translateX(3px);
}

@keyframes register-cta-glow {
  0%,
  100% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.28) inset,
      0 8px 28px color-mix(in srgb, var(--accent-blue-light) 55%, transparent),
      0 0 0 1px color-mix(in srgb, var(--accent-blue-light) 40%, transparent);
  }
  50% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.32) inset,
      0 10px 36px color-mix(in srgb, var(--accent-blue-light) 70%, transparent),
      0 0 28px color-mix(in srgb, var(--accent-blue-light) 45%, transparent);
  }
}

.header-actions__group .btn-register {
  padding: 0.65rem 1.35rem 0.65rem 1.45rem;
  font-size: 14px;
}

.hero-cta .btn-register.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 12px 40px color-mix(in srgb, var(--accent-blue-light) 60%, transparent),
    0 0 0 2px color-mix(in srgb, var(--accent-blue-light) 35%, transparent);
}

.hero-cta .btn-register.btn-lg:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 16px 48px color-mix(in srgb, var(--accent-blue-light) 75%, transparent),
    0 0 40px color-mix(in srgb, var(--accent-blue-light) 40%, transparent);
}

.hero-cta .btn-primary.btn-register,
.sticky-cta .btn-primary.btn-register {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-blue-light) 35%, var(--accent-blue)) 0%,
    var(--accent-blue-hover) 100%
  );
  border-color: color-mix(in srgb, var(--accent-blue-light) 70%, #fff);
  color: #fff;
}

.sticky-cta .btn-primary.btn-register {
  font-weight: 800;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 6px 22px color-mix(in srgb, var(--accent-blue-light) 55%, transparent);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-elevated) 90%, transparent);
  cursor: pointer;
  transition: border-color var(--duration), background var(--duration);
}

.nav-toggle:hover {
  border-color: var(--border-accent);
  background: var(--bg-elevated);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin-inline: auto;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform var(--duration) var(--ease), opacity var(--duration);
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--border-accent);
}

.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);
}

@media (max-width: 991px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }
}

@media (min-width: 992px) {
  .site-nav {
    display: flex;
  }

  .header-actions__group {
    display: flex;
  }
}

@media (min-width: 1100px) {
  .site-nav__link {
    padding: 0.5rem 1.1rem;
    font-size: 13.5px;
  }

  .btn-header-login {
    padding: 0.6rem 1.1rem;
  }

  .btn-header-cta,
  .header-actions__group .btn-register {
    padding: 0.7rem 1.5rem 0.7rem 1.55rem;
    font-size: 14.5px;
  }
}

.mobile-nav {
  display: none;
  position: fixed;
  top: calc(var(--header-h) + var(--space-2));
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 999;
  flex-direction: column;
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-accent);
  background: color-mix(in srgb, var(--bg-secondary) 96%, transparent);
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-6);
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  padding: var(--space-4) var(--space-4);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: background var(--duration), color var(--duration), border-color var(--duration);
}

.mobile-nav__link:hover,
.mobile-nav__link:focus-visible {
  color: var(--text-primary);
  background: var(--bg-elevated);
  border-color: var(--border);
}

.mobile-nav__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.625rem 1.25rem;
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--duration) var(--ease), border-color var(--duration), transform var(--duration);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent-emerald);
  color: #fff;
  border-color: var(--accent-emerald);
}

.btn-primary:hover {
  background: var(--accent-emerald-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-accent);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.btn-whatsapp,
.btn-primary.btn-whatsapp {
  color: #fff;
  background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-dark) 100%);
  border-color: color-mix(in srgb, var(--whatsapp) 75%, #fff);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 8px 24px color-mix(in srgb, var(--whatsapp) 45%, transparent);
}

.btn-whatsapp:hover,
.btn-primary.btn-whatsapp:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--whatsapp-hover) 0%, var(--whatsapp-dark) 100%);
  filter: brightness(1.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32) inset,
    0 12px 32px color-mix(in srgb, var(--whatsapp) 55%, transparent);
}

.btn-header-cta.btn-whatsapp {
  font-weight: 800;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-dark) 100%);
  border-color: color-mix(in srgb, var(--whatsapp) 70%, #fff);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 8px 28px color-mix(in srgb, var(--whatsapp) 50%, transparent),
    0 0 0 1px color-mix(in srgb, var(--whatsapp) 35%, transparent);
  animation: whatsapp-cta-glow 2.8s ease-in-out infinite;
}

.btn-header-cta.btn-whatsapp:hover {
  color: #fff;
  filter: brightness(1.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32) inset,
    0 12px 36px color-mix(in srgb, var(--whatsapp) 60%, transparent),
    0 0 32px color-mix(in srgb, var(--whatsapp) 35%, transparent);
  transform: translateY(-2px);
  animation: none;
}

.hero-cta .btn-whatsapp.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  font-weight: 700;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 12px 40px color-mix(in srgb, var(--whatsapp) 50%, transparent),
    0 0 0 2px color-mix(in srgb, var(--whatsapp) 30%, transparent);
}

.hero-cta .btn-whatsapp.btn-lg:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 16px 48px color-mix(in srgb, var(--whatsapp) 60%, transparent),
    0 0 40px color-mix(in srgb, var(--whatsapp) 35%, transparent);
}

.sticky-cta .btn-whatsapp {
  font-weight: 800;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 6px 22px color-mix(in srgb, var(--whatsapp) 50%, transparent);
}

.btn-icon--whatsapp {
  flex-shrink: 0;
  opacity: 0.95;
}

@keyframes whatsapp-cta-glow {
  0%,
  100% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.28) inset,
      0 8px 28px color-mix(in srgb, var(--whatsapp) 50%, transparent),
      0 0 0 1px color-mix(in srgb, var(--whatsapp) 35%, transparent);
  }
  50% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.32) inset,
      0 10px 36px color-mix(in srgb, var(--whatsapp) 65%, transparent),
      0 0 28px color-mix(in srgb, var(--whatsapp) 40%, transparent);
  }
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: var(--text-base);
}

.btn-block {
  width: 100%;
}

/* Hero — dashboard-hero style */
.dashboard-hero {
  position: relative;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: var(--space-4) 0 var(--space-8);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--border-accent);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  background:
    radial-gradient(ellipse 55% 45% at 8% 12%, color-mix(in srgb, var(--accent-emerald) 14%, transparent), transparent 62%),
    radial-gradient(ellipse 50% 40% at 92% 88%, rgba(255, 255, 255, 0.05), transparent 58%),
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(165deg, var(--bg-secondary) 0%, var(--bg-primary) 48%, #141414 100%);
  box-shadow:
    var(--shadow-card),
    0 0 80px color-mix(in srgb, var(--accent-emerald) 6%, transparent);
}

.dashboard-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 100% 85% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.28) 100%);
  opacity: 0.5;
}

.dashboard-hero__shell {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-8);
  min-height: 0;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
  padding-block: var(--space-4);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  background-image:
    radial-gradient(
      circle at center,
      color-mix(in srgb, #404040 16%, transparent) 0.75px,
      transparent 0.75px
    ),
    linear-gradient(color-mix(in srgb, var(--border) 38%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--border) 38%, transparent) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(
    ellipse 92% 78% at 50% 38%,
    black 8%,
    rgba(0, 0, 0, 0.75) 42%,
    transparent 80%
  );
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero-glow--light {
  top: -35%;
  right: -8%;
  width: 58%;
  height: 115%;
  background: radial-gradient(ellipse at 60% 45%, rgba(255, 255, 255, 0.09), transparent 68%);
}

.hero-glow--blue {
  bottom: -25%;
  left: -12%;
  width: 52%;
  height: 90%;
  background: radial-gradient(
    ellipse at 40% 55%,
    color-mix(in srgb, var(--accent-blue) 22%, transparent),
    transparent 68%
  );
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-8);
  align-items: center;
  justify-items: center;
  width: 100%;
  margin: 0;
}

.hero-grid--brand-founder {
  gap: var(--space-6);
}

.hero-grid--brand-founder .hero-visual--brand {
  width: min(100%, clamp(12rem, 88vw, 55rem));
  margin-inline: auto;
}

.hero-visual__frame--brand {
  aspect-ratio: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hero-visual-float 6s ease-in-out infinite;
}

.hero-visual__frame--brand::after {
  display: none;
}

.hero-visual__frame--center {
  align-items: center;
  justify-content: center;
}

.hero-visual__img--brand {
  width: 100%;
  height: auto;
  max-height: none;
  margin-inline: auto;
  animation: hero-visual-glow 5s ease-in-out infinite alternate;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
    gap: var(--space-6);
    align-items: start;
  }

  .hero-grid--brand-founder {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-grid--brand-founder .hero-visual--brand {
    position: static;
    transform: none;
    width: min(55rem, 90vw);
    max-width: 55rem;
    margin: 0 auto;
  }

  .hero-visual__frame--brand {
    min-height: 24.5rem;
  }

  .hero-visual__img--brand {
    max-height: min(45.5rem, 70vh);
  }

  .hero-grid--brand-founder .hero-visual__frame--brand {
    transform: none;
    animation: hero-visual-float 6s ease-in-out infinite;
  }

  .dashboard-hero {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }
}

.hero-visual {
  margin: 0;
  width: 100%;
}

.hero-visual__frame {
  position: relative;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  aspect-ratio: 16 / 9;
  animation: hero-visual-float 6s ease-in-out infinite;
}

.hero-visual__frame--founder {
  aspect-ratio: auto;
  min-height: 0;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: none;
}

.hero-visual__frame--founder.hero-visual__frame--center {
  align-items: center;
  justify-content: center;
}

.hero-visual__frame--founder::after {
  display: none;
}

.hero-visual__img--founder {
  width: auto;
  max-width: min(100%, 360px);
  max-height: min(480px, 55vh);
  height: auto;
  margin-inline: auto;
  object-position: center center;
  animation: none;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.35));
}

.hero-visual__frame::after {
  content: "";
  position: absolute;
  inset: -15% -50%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(255, 255, 255, 0.04) 46%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.04) 54%,
    transparent 58%
  );
  mix-blend-mode: soft-light;
  transform: translateX(-100%) skewX(-14deg);
  animation: hero-visual-shine 7s ease-in-out infinite;
}

.hero-visual__img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  filter:
    drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 48px color-mix(in srgb, var(--accent-blue-light) 32%, transparent))
    drop-shadow(0 0 100px color-mix(in srgb, var(--accent-blue) 18%, transparent));
  animation: hero-visual-glow 5s ease-in-out infinite alternate;
}

@keyframes hero-visual-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes hero-visual-glow {
  from {
    filter:
      drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5))
      drop-shadow(0 0 40px color-mix(in srgb, var(--accent-blue-light) 26%, transparent))
      drop-shadow(0 0 90px color-mix(in srgb, var(--accent-blue) 14%, transparent));
  }
  to {
    filter:
      drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55))
      drop-shadow(0 0 64px color-mix(in srgb, var(--accent-blue-light) 42%, transparent))
      drop-shadow(0 0 120px color-mix(in srgb, var(--accent-blue) 24%, transparent));
  }
}

@keyframes hero-visual-shine {
  0%,
  28% {
    transform: translateX(-100%) skewX(-14deg);
    opacity: 0;
  }
  42% {
    opacity: 1;
  }
  58%,
  100% {
    transform: translateX(220%) skewX(-14deg);
    opacity: 0;
  }
}

@media (min-width: 992px) {
  .hero-visual__frame {
    transform: scale(1.12);
    transform-origin: center center;
    animation: hero-visual-float-lg 6s ease-in-out infinite;
  }

  .hero-visual__frame--brand,
  .hero-visual__frame--founder {
    transform: none;
    animation: none;
  }

  .hero-visual__frame--brand {
    animation: hero-visual-float 6s ease-in-out infinite;
  }
}

@keyframes hero-visual-float-lg {
  0%,
  100% {
    transform: scale(1.12) translateY(0);
  }
  50% {
    transform: scale(1.12) translateY(-12px);
  }
}

@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
  .hero-visual__frame {
    transform: none;
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual__frame {
    animation: none;
  }

  .hero-visual__frame::after {
    animation: none;
    opacity: 0;
  }

  .hero-visual__img {
    animation: none;
  }
}

/* Cabeçalho de seções de produto (Kanban, CRM…) */
.kanban-section {
  padding-block: var(--space-16);
}

.feature-split__lead strong {
  color: var(--text-primary);
  font-weight: 600;
}

.crm-section.section--alt {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--space-16);
  border-top: 1px solid color-mix(in srgb, #25d366 22%, var(--border-accent));
  border-bottom: 1px solid var(--border-accent);
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 90% 60% at 8% 12%, color-mix(in srgb, #25d366 16%, transparent), transparent 58%),
    radial-gradient(ellipse 75% 55% at 95% 88%, color-mix(in srgb, var(--accent-blue-light) 24%, transparent), transparent 62%),
    radial-gradient(ellipse 120% 50% at 50% -5%, color-mix(in srgb, var(--accent-blue) 14%, transparent), transparent 72%),
    linear-gradient(
      165deg,
      color-mix(in srgb, #152218 55%, var(--bg-secondary)) 0%,
      var(--bg-secondary) 38%,
      var(--bg-primary) 100%
    );
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #25d366 8%, transparent),
    0 24px 64px rgba(0, 0, 0, 0.35);
}

.crm-section.section--alt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    radial-gradient(circle at center, color-mix(in srgb, var(--border) 55%, transparent) 0.7px, transparent 0.7px),
    linear-gradient(color-mix(in srgb, var(--border) 30%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--border) 30%, transparent) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 92% 80% at 50% 42%, black 10%, transparent 78%);
}

.crm-section.section--alt::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      118deg,
      transparent 0%,
      color-mix(in srgb, #25d366 5%, transparent) 42%,
      transparent 68%
    ),
    radial-gradient(ellipse 110% 90% at 50% 50%, transparent 42%, rgba(0, 0, 0, 0.32) 100%);
}

.crm-section > .container {
  position: relative;
  z-index: 1;
}

.crm-section .feature-section-header {
  margin-bottom: var(--space-10);
  padding: var(--space-8) var(--space-6) var(--space-4);
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.crm-section .feature-section-header__chip--accent {
  border-color: color-mix(in srgb, #25d366 45%, var(--border));
  color: color-mix(in srgb, #5dde8a 70%, var(--text-primary));
  background: color-mix(in srgb, #25d366 12%, var(--bg-elevated));
}

.crm-showcase {
  position: relative;
  margin: 0 0 var(--space-12);
  padding: var(--space-6) 0 var(--space-4);
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.crm-showcase__glow {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: min(95%, 1100px);
  height: 62%;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, color-mix(in srgb, #25d366 20%, transparent), transparent 68%),
    radial-gradient(ellipse 55% 50% at 35% 55%, color-mix(in srgb, var(--accent-blue-light) 16%, transparent), transparent 58%),
    radial-gradient(ellipse 40% 35% at 75% 40%, rgba(255, 255, 255, 0.05), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.crm-showcase .section-screenshot__frame {
  position: relative;
  z-index: 1;
  width: 70%;
  max-width: 980px;
  margin-inline: auto;
}

.crm-showcase__caption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin: var(--space-5) auto 0;
  max-width: 62ch;
  padding: 0 var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.55;
  text-align: center;
  color: var(--text-secondary);
}

.crm-showcase__badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, #5dde8a 88%, white);
  background: color-mix(in srgb, #25d366 12%, var(--bg-secondary));
  border: 1px solid color-mix(in srgb, #25d366 32%, var(--border));
  border-radius: var(--radius);
}

.crm-split {
  display: grid;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in srgb, #25d366 22%, var(--border));
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--bg-secondary) 92%, #152218) 0%,
    color-mix(in srgb, var(--bg-primary) 95%, transparent) 100%
  );
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 color-mix(in srgb, #25d366 8%, transparent);
}

@media (min-width: 992px) {
  .crm-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    gap: var(--space-10);
    padding: var(--space-8) var(--space-10);
  }
}

.crm-split__copy {
  position: relative;
  min-width: 0;
}

.crm-split__copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #25d366, color-mix(in srgb, var(--accent-blue-light) 40%, transparent) 55%, transparent);
  opacity: 0.85;
  pointer-events: none;
}

.crm-split__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: var(--space-2) var(--space-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, #5dde8a 80%, var(--text-secondary));
  background: color-mix(in srgb, #25d366 10%, var(--bg-elevated));
  border: 1px solid color-mix(in srgb, #25d366 28%, var(--border));
  border-radius: var(--radius);
}

.crm-split__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 8px color-mix(in srgb, #25d366 80%, transparent);
  flex-shrink: 0;
}

.crm-split__title {
  margin: 0 0 var(--space-3);
  font-size: clamp(var(--text-2xl), 2.4vw, var(--text-3xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
}

.crm-split__lead {
  margin: 0 0 var(--space-5);
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--text-secondary);
}

.crm-split__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: grid;
  gap: var(--space-2);
}

@media (min-width: 640px) {
  .crm-split__list {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2) var(--space-4);
  }
}

.crm-split__list li {
  position: relative;
  padding: var(--space-2) 0 var(--space-2) 1.35rem;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--text-secondary);
}

.crm-split__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: var(--space-2);
  font-size: 11px;
  font-weight: 800;
  color: #25d366;
}

.crm-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.crm-split__visual {
  margin: 0;
  width: 100%;
  max-width: 340px;
  justify-self: center;
}

@media (min-width: 992px) {
  .crm-split__visual {
    justify-self: end;
  }
}

.crm-split__visual-frame {
  background: transparent;
  border: none;
  box-shadow: none;
  line-height: 0;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.45));
}

.crm-split__visual-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  object-position: center top;
}

.crm-split__visual-caption {
  margin: var(--space-3) 0 0;
  font-size: var(--text-xs);
  line-height: 1.4;
  text-align: center;
  color: var(--text-muted);
}

.feature-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-10);
  padding: var(--space-8) var(--space-6) var(--space-4);
}

.feature-section-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: var(--space-2) var(--space-4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
}

.feature-section-header__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent-emerald) 80%, transparent);
  flex-shrink: 0;
}

.feature-section-header__title {
  margin: 0 0 var(--space-4);
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-4xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-primary);
}

.feature-section-header__desc {
  margin: 0 auto;
  max-width: 54ch;
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--text-secondary);
}

.feature-section-header__desc strong {
  color: var(--text-primary);
  font-weight: 600;
}

.feature-section-header__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.feature-section-header__chip {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--duration), color var(--duration);
}

.feature-section-header__chip:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
}

.feature-section-header__chip--accent {
  color: color-mix(in srgb, var(--accent-emerald) 90%, white);
  border-color: color-mix(in srgb, var(--accent-emerald) 35%, var(--border));
  background: color-mix(in srgb, var(--accent-emerald) 8%, var(--bg-secondary));
}

/* Screenshots de seção (Kanban, CRM, etc.) */
.section-screenshot {
  margin: 0;
  width: 100%;
}

.section-screenshot__frame {
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: var(--radius);
  overflow: visible;
  line-height: 0;
}

.section-screenshot__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.section-screenshot--split {
  margin: 0;
  min-width: 0;
}

.section-screenshot--half .section-screenshot__frame {
  display: flex;
  justify-content: center;
}

.section-screenshot--half .section-screenshot__img {
  width: 50%;
}

.section-screenshot--75 .section-screenshot__frame {
  width: 75%;
  max-width: 1050px;
  margin-inline: auto;
}

/* Split de feature (modal Kanban, etc.) */
.feature-split {
  display: grid;
  gap: var(--space-10);
  align-items: center;
  margin-top: var(--space-4);
}

@media (min-width: 992px) {
  .feature-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--space-12);
  }

  .feature-split--reverse .feature-split__panel {
    order: 2;
  }

  .feature-split--reverse .feature-split__visual {
    order: 1;
  }
}

.feature-split__panel {
  padding: var(--space-8);
  background: linear-gradient(165deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.feature-split__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-emerald), transparent 70%);
  opacity: 0.9;
  pointer-events: none;
}

.feature-split__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: var(--space-2) var(--space-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
}

.feature-split__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent-emerald) 75%, transparent);
  flex-shrink: 0;
}

.feature-split__title {
  margin: 0 0 var(--space-3);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
}

.feature-split__lead {
  margin: 0 0 var(--space-6);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-secondary);
}

.feature-split__grid {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 480px) {
  .feature-split__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3) var(--space-4);
  }
}

.feature-split__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  background: color-mix(in srgb, var(--bg-elevated) 60%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--duration);
}

.feature-split__item:hover {
  border-color: var(--border-accent);
}

.feature-split__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--accent-emerald);
}

.feature-split__label {
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  padding-top: var(--space-1);
}

.feature-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.feature-split__visual {
  margin: 0;
  min-width: 0;
}

/* CTA de seção (banner) */
.section-cta-banner {
  margin-block: var(--space-12);
}

.section-cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-6);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, color-mix(in srgb, var(--accent-emerald) 12%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(255, 255, 255, 0.04), transparent 50%),
    linear-gradient(165deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.section-cta-banner__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.section-cta-banner__eyebrow {
  margin: 0 0 var(--space-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent-emerald) 85%, white);
}

.section-cta-banner__title {
  margin: 0 0 var(--space-3);
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-cta-banner__text {
  margin: 0 auto;
  max-width: 46ch;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-secondary);
}

.section-cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

@media (min-width: 768px) {
  .section-cta-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: var(--space-8) var(--space-10);
    gap: var(--space-8);
  }

  .section-cta-banner__copy {
    flex: 1;
    min-width: 0;
  }

  .section-cta-banner__text {
    margin: 0;
    max-width: none;
  }

  .section-cta-banner__actions {
    flex-shrink: 0;
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
  }
}

@media (min-width: 992px) {
  .section-cta-banner__actions {
    flex-direction: row;
    align-items: center;
    min-width: auto;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 12px var(--accent-emerald);
}

.hero-title {
  margin: 0 0 var(--space-4);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-brand {
  margin: 0;
}

.hero-brand__img {
  display: block;
  width: 100%;
  max-width: min(100%, 440px);
  height: auto;
  filter:
    drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4))
    drop-shadow(0 0 32px color-mix(in srgb, var(--accent-blue-light) 18%, transparent));
}

.hero-brand__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-consultant-cta {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: var(--space-2) 0;
}

.hero-consultant-cta__shell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.hero-consultant-cta__shell::before {
  content: none;
}

.hero-consultant-cta__hint {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--whatsapp) 82%, #fff);
}

.hero-consultant-cta .btn-consultant {
  position: relative;
  z-index: 1;
  overflow: hidden;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.875rem 1.625rem 0.875rem 0.875rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--whatsapp) 55%, rgba(255, 255, 255, 0.35));
  background: linear-gradient(
    135deg,
    #3ee878 0%,
    var(--whatsapp) 42%,
    var(--whatsapp-dark) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 1px 2px rgba(0, 0, 0, 0.14),
    0 4px 10px rgba(0, 0, 0, 0.12),
    0 14px 28px rgba(0, 0, 0, 0.2);
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    filter var(--duration) var(--ease);
}

.hero-consultant-cta .btn-consultant::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 62%
  );
  transform: translateX(-120%);
  animation: hero-consultant-shine 4.5s ease-in-out infinite;
  pointer-events: none;
}

.btn-consultant__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-consultant-cta .btn-consultant .btn-icon--whatsapp {
  width: 1.15rem;
  height: 1.15rem;
  opacity: 1;
}

.btn-consultant__label {
  line-height: 1.2;
}

.btn-consultant__arrow {
  flex-shrink: 0;
  opacity: 0.9;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.hero-consultant-cta .btn-consultant:hover {
  color: #fff;
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 2px 4px rgba(0, 0, 0, 0.12),
    0 8px 18px rgba(0, 0, 0, 0.16),
    0 20px 36px rgba(0, 0, 0, 0.22);
}

.hero-consultant-cta .btn-consultant:hover::after {
  animation: none;
}

.hero-consultant-cta .btn-consultant:hover .btn-consultant__arrow {
  transform: translateX(4px);
  opacity: 1;
}

.hero-consultant-cta .btn-consultant:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.14),
    0 4px 10px rgba(0, 0, 0, 0.14);
}

.hero-consultant-cta .btn-consultant:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@keyframes hero-consultant-shine {
  0%,
  72%,
  100% {
    transform: translateX(-120%);
  }
  88% {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-consultant-cta .btn-consultant::after {
    animation: none;
  }
}

.hero-framework-card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--accent-emerald) 28%, var(--border));
  border-left: 3px solid var(--accent-emerald);
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, color-mix(in srgb, var(--accent-blue) 12%, transparent), transparent 55%),
    radial-gradient(ellipse 70% 60% at 0% 100%, color-mix(in srgb, var(--accent-emerald) 12%, transparent), transparent 58%),
    color-mix(in srgb, var(--bg-secondary) 88%, transparent);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 10px 32px rgba(0, 0, 0, 0.24),
    0 0 40px color-mix(in srgb, var(--accent-emerald) 8%, transparent);
}

.hero-framework-card__main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-4);
}

.hero-framework-card__copy {
  min-width: 0;
}

.hero-framework-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 var(--space-2);
  padding: 0.2rem 0.55rem 0.2rem 0.45rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-emerald);
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent-emerald) 30%, transparent);
  background: color-mix(in srgb, var(--accent-emerald) 8%, var(--bg-primary));
}

.hero-framework-card__eyebrow::before {
  content: '';
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.hero-framework-card__title {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-wrap: balance;
}

.hero-framework-card__text {
  margin: 0 0 var(--space-3);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.hero-framework-card__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-framework-card__pillar {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.62rem 0.28rem 0.35rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent-emerald) 24%, var(--border));
  background: color-mix(in srgb, var(--accent-emerald) 7%, var(--bg-primary));
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.hero-framework-card__pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--pillar-accent, var(--accent-emerald)) 18%, var(--bg-primary));
  color: var(--pillar-accent, var(--accent-emerald));
}

.hero-framework-card__pillar-icon svg {
  width: 0.78rem;
  height: 0.78rem;
}

.hero-framework-card__pillar-label {
  line-height: 1.2;
}

.hero-framework-card__pillar--comercial {
  --pillar-accent: #2563eb;
  border-color: color-mix(in srgb, #2563eb 35%, var(--border));
  background: color-mix(in srgb, #2563eb 10%, var(--bg-primary));
}

.hero-framework-card__pillar--atendimentos {
  --pillar-accent: #0891b2;
  border-color: color-mix(in srgb, #0891b2 35%, var(--border));
  background: color-mix(in srgb, #0891b2 10%, var(--bg-primary));
}

.hero-framework-card__pillar--operacional {
  --pillar-accent: #7c3aed;
  border-color: color-mix(in srgb, #7c3aed 35%, var(--border));
  background: color-mix(in srgb, #7c3aed 10%, var(--bg-primary));
}

.hero-framework-card__pillar--financeira {
  --pillar-accent: #059669;
  border-color: color-mix(in srgb, #059669 35%, var(--border));
  background: color-mix(in srgb, #059669 10%, var(--bg-primary));
}

.hero-framework-card__cta {
  margin: 0;
  flex-shrink: 0;
  flex-direction: column;
  align-items: stretch;
}

.hero-framework-card__cta .btn {
  width: 100%;
  white-space: nowrap;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-framework-card__main {
    flex-direction: row;
    align-items: center;
    gap: var(--space-5);
  }

  .hero-framework-card__cta {
    align-self: center;
    flex-direction: column;
    align-items: stretch;
    min-width: 11rem;
  }

  .hero-framework-card__cta .btn {
    width: 100%;
    min-width: 11rem;
  }
}

.hero-subtitle {
  margin: 0 0 var(--space-6);
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 52ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

/* Sections */
main {
  padding-top: 0;
}

@media (min-width: 768px) {
  .dashboard-hero__shell {
    padding-inline: var(--space-8);
  }
}

.section {
  padding-block: var(--space-16);
}

.section--alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-12);
}

.section-eyebrow {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-title {
  margin: 0 0 var(--space-4);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--text-lg);
}

/* Media placeholders */
.media-placeholder {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px dashed var(--border-accent);
  background: var(--bg-card);
  position: relative;
}

.media-placeholder__frame {
  width: 100%;
  aspect-ratio: var(--aspect-ratio, 16 / 9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6);
  text-align: center;
  min-height: 120px;
}

.media-placeholder__icon {
  font-size: 2rem;
  opacity: 0.4;
}

.media-placeholder__size {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.media-placeholder__file {
  font-size: var(--text-sm);
  font-family: ui-monospace, monospace;
  color: var(--text-muted);
  word-break: break-all;
}

.media-placeholder__hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
  max-width: 32ch;
}

.media-placeholder figcaption {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

/* Feature grid */
/* Financeiro */
.finance-section {
  padding-block: var(--space-16);
}

.finance-section .feature-section-header {
  margin-bottom: var(--space-12);
}

.finance-grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .finance-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}

.finance-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  background: linear-gradient(165deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color var(--duration),
    transform var(--duration),
    box-shadow var(--duration);
}

.finance-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.finance-card--highlight {
  border-color: color-mix(in srgb, var(--accent-emerald) 32%, var(--border));
}

.finance-card--highlight::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--accent-emerald), transparent 75%);
  opacity: 0.85;
  pointer-events: none;
}

.finance-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-5);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.finance-card__icon--emerald {
  color: var(--accent-emerald);
  border-color: color-mix(in srgb, var(--accent-emerald) 35%, var(--border));
  background: color-mix(in srgb, var(--accent-emerald) 10%, var(--bg-elevated));
}

.finance-card__title {
  margin: 0 0 var(--space-3);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.finance-card__text {
  margin: 0 0 var(--space-5);
  flex: 1;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-secondary);
}

.finance-card__text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.finance-card__tag {
  margin: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.finance-card--highlight .finance-card__tag {
  color: color-mix(in srgb, var(--accent-emerald) 85%, var(--text-muted));
}

.finance-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
  padding: var(--space-8) var(--space-6);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.finance-cta__text {
  margin: 0;
  max-width: 48ch;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (min-width: 640px) {
  .finance-cta {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: var(--space-6) var(--space-8);
  }

  .finance-cta .btn {
    flex-shrink: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .finance-card:hover {
    transform: none;
  }
}

.feature-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .feature-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration), box-shadow var(--duration);
}

.feature-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.feature-card__icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
}

.feature-card h3 {
  margin: 0 0 var(--space-2);
  font-size: var(--text-lg);
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Product dual cards */
/* Products / workspaces — seção abaixo do hero, visual colado */
.products-section {
  padding-block: var(--space-16);
}

.products-section--attached {
  margin: 0 0 var(--space-8);
  padding: 0 0 var(--space-12);
  border: 1px solid var(--border-accent);
  border-top: 1px solid color-mix(in srgb, var(--border-accent) 80%, var(--accent-emerald));
  border-radius: 0 0 var(--radius) var(--radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent-emerald) 4%, transparent), transparent 28%),
    linear-gradient(165deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  box-shadow: var(--shadow-card);
}

.products-section--attached .container {
  padding-top: var(--space-8);
}

@media (min-width: 768px) {
  .products-section--attached .container {
    padding-top: var(--space-10);
  }
}

.dashboard-hero + .products-section--attached {
  margin-top: 0;
}

.products-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-12);
}

.products-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: var(--space-2) var(--space-4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-primary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
}

.products-header__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

.products-header .section-title {
  margin-bottom: var(--space-3);
}

.products-header__desc {
  margin: 0 auto;
  max-width: 52ch;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-secondary);
}

.products-header__desc strong {
  color: var(--text-primary);
  font-weight: 600;
}

.product-duo {
  display: grid;
  gap: var(--space-6);
  align-items: stretch;
}

@media (min-width: 768px) {
  .product-duo {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (min-width: 1100px) {
  .product-duo {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, var(--bg-card) 0%, var(--bg-primary) 100%);
  transition:
    border-color var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    box-shadow var(--duration);
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0.6;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.product-card--task {
  border-color: var(--border-accent);
}

.product-card--task:hover {
  border-color: color-mix(in srgb, var(--text-muted) 50%, var(--border-accent));
}

.product-card--task::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}

.product-card--crm {
  border-color: color-mix(in srgb, var(--accent-emerald) 28%, var(--border));
}

.product-card--crm:hover {
  border-color: color-mix(in srgb, var(--accent-emerald) 45%, var(--border));
}

.product-card--crm::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--accent-emerald), transparent 70%);
  opacity: 0.75;
  pointer-events: none;
}

.product-card--servicos {
  border-color: color-mix(in srgb, #0ea5e9 28%, var(--border));
}

.product-card--servicos:hover {
  border-color: color-mix(in srgb, #0ea5e9 45%, var(--border));
}

.product-card--servicos::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, #0ea5e9, transparent 70%);
  opacity: 0.75;
  pointer-events: none;
}

.product-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.product-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.product-card__icon--emerald {
  color: var(--accent-emerald);
  border-color: color-mix(in srgb, var(--accent-emerald) 35%, var(--border));
  background: color-mix(in srgb, var(--accent-emerald) 8%, var(--bg-elevated));
}

.product-card__icon--sky {
  color: #38bdf8;
  border-color: color-mix(in srgb, #0ea5e9 35%, var(--border));
  background: color-mix(in srgb, #0ea5e9 8%, var(--bg-elevated));
}

.product-card__badge {
  padding: var(--space-1) var(--space-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.product-card__badge--emerald {
  color: color-mix(in srgb, var(--accent-emerald) 90%, white);
  border-color: color-mix(in srgb, var(--accent-emerald) 35%, var(--border));
  background: color-mix(in srgb, var(--accent-emerald) 10%, var(--bg-elevated));
}

.product-card__badge--sky {
  color: color-mix(in srgb, #38bdf8 90%, white);
  border-color: color-mix(in srgb, #0ea5e9 35%, var(--border));
  background: color-mix(in srgb, #0ea5e9 10%, var(--bg-elevated));
}

.product-card__title {
  margin: 0 0 var(--space-3);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
}

.product-card__lead {
  margin: 0 0 var(--space-6);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-secondary);
}

.product-card__features {
  list-style: none;
  margin: 0 0 var(--space-8);
  padding: 0;
  flex: 1;
}

.product-card__features li {
  position: relative;
  padding: var(--space-2) 0 var(--space-2) 1.75rem;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-secondary);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}

.product-card__features li:last-child {
  border-bottom: none;
}

.product-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: var(--space-2);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-emerald);
}

.product-card--task .product-card__features li::before {
  color: var(--text-muted);
}

.product-card--servicos .product-card__features li::before {
  color: #38bdf8;
}

.product-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: auto;
  padding: 0.75rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  transition:
    background var(--duration),
    border-color var(--duration),
    color var(--duration);
}

.product-card__cta:hover {
  color: #fff;
  background: var(--bg-card);
  border-color: var(--text-muted);
}

.product-card__cta svg {
  transition: transform var(--duration) var(--ease);
}

.product-card__cta:hover svg {
  transform: translateX(3px);
}

.product-card__cta--emerald:hover {
  background: color-mix(in srgb, var(--accent-emerald) 18%, var(--bg-elevated));
  border-color: color-mix(in srgb, var(--accent-emerald) 50%, var(--border));
  color: var(--text-primary);
}

.product-card__cta--sky:hover {
  background: color-mix(in srgb, #0ea5e9 18%, var(--bg-elevated));
  border-color: color-mix(in srgb, #0ea5e9 50%, var(--border));
  color: var(--text-primary);
}

@media (prefers-reduced-motion: reduce) {
  .product-card:hover {
    transform: none;
  }
}

/* Split layout */
.split {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 992px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--reverse .split__media {
    order: 2;
  }
  .split--reverse .split__copy {
    order: 1;
  }
}

.split__copy h2 {
  margin: 0 0 var(--space-4);
  font-size: var(--text-3xl);
  font-weight: 800;
}

.split__copy p {
  color: var(--text-secondary);
  margin: 0 0 var(--space-4);
}

.feature-list-inline {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
}

.feature-list-inline li {
  padding: var(--space-2) 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.feature-list-inline li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-weight: 700;
}

/* Stats / social proof */
/* Trust / prova social */
.trust-section {
  padding-block: var(--space-12);
}

.trust-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-10);
}

.trust-header .section-title {
  margin-bottom: var(--space-3);
}

.trust-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

@media (min-width: 640px) {
  .trust-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}

@media (min-width: 1200px) {
  .trust-metrics {
    grid-template-columns: repeat(5, 1fr);
  }
}

.trust-metric {
  position: relative;
  padding: var(--space-6);
  background: linear-gradient(160deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    box-shadow var(--duration);
}

.trust-metric::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  border-radius: var(--radius) var(--radius) 0 0;
  pointer-events: none;
}

.trust-metric:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.trust-metric__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.trust-metric__icon--emerald {
  color: var(--accent-emerald);
  border-color: color-mix(in srgb, var(--accent-emerald) 35%, var(--border));
  background: color-mix(in srgb, var(--accent-emerald) 8%, var(--bg-elevated));
}

.trust-metric__value {
  margin: 0 0 var(--space-2);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

.trust-metric__label {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-secondary);
}

.trust-partners {
  padding: var(--space-8) var(--space-6);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.trust-partners__head {
  position: relative;
  text-align: center;
  margin-bottom: var(--space-10);
  padding: var(--space-8) var(--space-6) var(--space-8);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 120% at 50% 0%, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(180deg, var(--bg-elevated) 0%, transparent 100%);
  border-radius: var(--radius) var(--radius) 0 0;
}

.trust-partners__head::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(200px, 40%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-emerald), transparent);
  opacity: 0.65;
}

.trust-partners__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: var(--space-2) var(--space-4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-primary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
}

.trust-partners__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent-emerald) 80%, transparent);
  flex-shrink: 0;
}

.trust-partners__title {
  margin: 0 0 var(--space-3);
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
  max-width: 20ch;
  margin-inline: auto;
}

.trust-partners__desc {
  margin: 0 auto;
  max-width: 52ch;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-secondary);
}

.trust-partners__desc strong {
  color: var(--text-primary);
  font-weight: 600;
}

.trust-partners__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .trust-partners__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-partners__slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: var(--space-4) var(--space-5);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color var(--duration),
    background var(--duration),
    box-shadow var(--duration);
}

.trust-partners__slot:hover {
  border-color: var(--border-accent);
  background: var(--bg-elevated);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.trust-partners__slot img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 48px;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) brightness(1.15) contrast(0.95);
  opacity: 0.88;
  transition: filter var(--duration), opacity var(--duration);
}

.trust-partners__slot:hover img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .trust-metric:hover {
    transform: none;
  }
}

/* Pricing */
.plans-grid {
  display: grid;
  gap: var(--space-6);
  align-items: stretch;
}

@media (min-width: 640px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .plans-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}

.plan-card--featured {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-1) var(--space-3);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: var(--radius);
}

.plan-card h3 {
  margin: var(--space-2) 0 0;
  font-size: var(--text-xl);
}

.plan-subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 600;
  margin: 0;
}

.plan-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: var(--space-3) 0 var(--space-4);
  flex: 1;
}

.plan-price {
  margin-bottom: var(--space-4);
}

.plan-price__amount {
  font-size: var(--text-3xl);
  font-weight: 800;
}

.plan-price__period {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.plan-features li {
  padding: var(--space-1) 0;
  padding-left: 1.25rem;
  position: relative;
}

.plan-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
}

.plan-card .btn {
  margin-top: auto;
}

/* FAQ */
.faq-section {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-20);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, color-mix(in srgb, var(--accent-blue) 8%, transparent), transparent 70%),
    var(--bg-secondary);
  border-top: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}

.faq-section__glow {
  pointer-events: none;
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, color-mix(in srgb, var(--accent-blue) 6%, transparent), transparent);
}

.faq-header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-12);
}

.faq-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: var(--space-2) var(--space-4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: color-mix(in srgb, var(--bg-primary) 80%, transparent);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
}

.faq-header__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-blue-light);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent-blue-light) 60%, transparent);
  flex-shrink: 0;
}

.faq-header__title {
  margin: 0 0 var(--space-3);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.faq-header__desc {
  margin: 0 auto;
  max-width: 48ch;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-secondary);
}

.faq-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--bg-card) 0%, var(--bg-primary) 100%);
  box-shadow: var(--shadow-card);
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.faq-item:hover {
  border-color: var(--border-accent);
}

.faq-item[open] {
  border-color: color-mix(in srgb, var(--accent-blue-light) 35%, var(--border));
  box-shadow:
    var(--shadow-card),
    0 0 0 1px color-mix(in srgb, var(--accent-blue) 12%, transparent),
    0 12px 40px color-mix(in srgb, var(--accent-blue) 10%, transparent);
}

.faq-item__summary {
  padding: var(--space-5) var(--space-6);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-4);
  transition: color var(--duration) var(--ease);
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__summary:hover {
  color: var(--text-primary);
}

.faq-item[open] .faq-item__summary {
  color: var(--text-primary);
}

.faq-item__index {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-primary);
  min-width: 2.25rem;
  text-align: center;
}

.faq-item[open] .faq-item__index {
  color: color-mix(in srgb, var(--accent-blue-light) 70%, var(--text-primary));
  border-color: color-mix(in srgb, var(--accent-blue-light) 30%, var(--border));
  background: color-mix(in srgb, var(--accent-blue) 12%, var(--bg-primary));
}

.faq-item__question {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.faq-item__toggle {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.faq-item__toggle::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: rotate(45deg) translateY(-1px);
  transition:
    transform var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.faq-item[open] .faq-item__toggle {
  background: color-mix(in srgb, var(--accent-blue) 18%, var(--bg-primary));
  border-color: color-mix(in srgb, var(--accent-blue-light) 40%, var(--border));
}

.faq-item[open] .faq-item__toggle::before {
  transform: rotate(-135deg) translateY(1px);
  border-color: color-mix(in srgb, var(--accent-blue-light) 80%, var(--text-primary));
}

.faq-item__body {
  padding: 0 var(--space-6) var(--space-6);
  animation: faq-body-in 0.35s var(--ease);
}

@keyframes faq-body-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item__body > .faq-item__text,
.faq-item__body > .faq-item__highlight,
.faq-item__body > div {
  margin: 0;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: color-mix(in srgb, var(--bg-primary) 65%, transparent);
}

.faq-item__highlight {
  margin: 0;
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text-primary);
  text-align: center;
}

.faq-item__text {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.75;
}

.faq-pill-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 540px) {
  .faq-pill-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-pill {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  background: linear-gradient(160deg, var(--bg-elevated) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease);
}

.faq-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue-light);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent-blue-light) 50%, transparent);
  flex-shrink: 0;
}

.faq-pill:hover {
  border-color: color-mix(in srgb, var(--accent-blue-light) 35%, var(--border));
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--accent-blue) 8%, var(--bg-elevated)) 0%,
    var(--bg-primary) 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__body {
    animation: none;
  }
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: var(--space-16) var(--space-6);
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255, 255, 255, 0.03), transparent),
    var(--bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-accent);
}

.cta-band h2 {
  margin: 0 0 var(--space-4);
  font-size: var(--text-3xl);
}

.cta-band p {
  margin: 0 auto var(--space-8);
  max-width: 50ch;
  color: var(--text-secondary);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background:
    radial-gradient(ellipse 55% 80% at 50% 100%, color-mix(in srgb, var(--accent-blue) 7%, transparent), transparent 65%),
    var(--bg-primary);
}

.site-footer__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 60% at 0% 50%, color-mix(in srgb, var(--accent-blue) 5%, transparent), transparent);
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-12);
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-brand__logo {
  display: inline-flex;
  width: fit-content;
  opacity: 0.95;
  transition: opacity var(--duration) var(--ease);
}

.footer-brand__logo:hover {
  opacity: 1;
}

.footer-privacy-note {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 42ch;
}

.footer-privacy-note a {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--text-secondary) 35%, transparent);
  transition:
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.footer-privacy-note a:hover {
  color: var(--text-primary);
  border-color: color-mix(in srgb, var(--text-primary) 45%, transparent);
}

.footer-nav__title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.footer-nav__title::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue-light);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent-blue-light) 45%, transparent);
  flex-shrink: 0;
}

.footer-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav__link {
  display: inline-flex;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  transition:
    color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.footer-nav__link:hover {
  color: var(--text-primary);
  transform: translateX(2px);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  width: fit-content;
  max-width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--bg-elevated) 0%, var(--bg-secondary) 100%);
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.footer-contact-link:hover {
  border-color: color-mix(in srgb, var(--accent-blue-light) 35%, var(--border));
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--accent-blue) 10%, var(--bg-elevated)) 0%,
    var(--bg-secondary) 100%
  );
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent-blue) 8%, transparent);
}

.footer-contact-link__icon {
  flex-shrink: 0;
  color: color-mix(in srgb, var(--accent-blue-light) 75%, var(--text-secondary));
}

.footer-contact-link span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
}

.footer-bottom__copy {
  margin: 0;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.lang-switcher--footer {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: var(--space-12);
  }

  .footer-grid {
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: var(--space-3) var(--space-4);
  background: color-mix(in srgb, var(--bg-primary) 92%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  gap: var(--space-2);
}

.sticky-cta .btn {
  flex: 1;
}

@media (max-width: 991px) {
  .sticky-cta {
    display: flex;
  }
  body {
    padding-bottom: 72px;
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Inline CTA between sections */
.section-cta {
  text-align: center;
  margin-top: var(--space-10);
}

/* Two-column media stack */
.media-stack {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .media-stack--2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Header — tutorial */
.btn-header-tutorial {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.btn-header-tutorial:hover {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--bg-elevated) 80%, transparent);
  border-color: var(--border-accent);
}

@media (min-width: 992px) {
  .btn-header-tutorial {
    display: inline-flex;
  }
}

.mobile-nav__link--button {
  width: 100%;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  gap: var(--space-3);
}

.mobile-nav__link--button svg {
  flex-shrink: 0;
  opacity: 0.85;
}

body.video-modal-open {
  overflow: hidden;
}

/* Video tutorial — PiP compacto + modal maximizado */
.video-modal {
  position: fixed;
  z-index: 10001;
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--duration) var(--ease),
    visibility var(--duration) var(--ease);
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal.is-open:not(.is-maximized) {
  inset: 0;
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}

.video-modal.is-open.is-maximized {
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  pointer-events: auto;
}

.video-modal[hidden] {
  display: none;
}

.video-modal.is-open[hidden] {
  display: flex;
}

.video-modal__backdrop {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.video-modal.is-maximized .video-modal__backdrop {
  display: block;
}

.video-modal__stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: auto;
}

.video-modal.is-open:not(.is-maximized) .video-modal__stack {
  position: fixed;
  z-index: 1;
  width: min(360px, calc(100vw - var(--space-8)));
  margin: 0;
}

.video-modal.is-maximized .video-modal__stack {
  position: relative;
  left: auto !important;
  top: auto !important;
  width: min(960px, 100%);
  max-height: calc(100vh - var(--space-4));
}

.video-modal__register {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem;
  font-size: 13px;
  border-radius: var(--radius-lg);
  margin: 0;
  flex-shrink: 0;
}

.video-modal.is-maximized .video-modal__register {
  padding: 0.85rem 1.25rem;
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.video-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-accent);
  background: color-mix(in srgb, var(--bg-secondary) 98%, transparent);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition:
    max-height var(--duration) var(--ease),
    border-radius var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.video-modal.is-open:not(.is-maximized) .video-modal__panel {
  width: 100%;
  max-height: none;
}

.video-modal.is-maximized .video-modal__panel {
  width: 100%;
  max-height: calc(100vh - var(--space-8) - 3.5rem);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}

.video-modal.is-maximized .video-modal__stack {
  filter: drop-shadow(0 32px 80px rgba(0, 0, 0, 0.55));
}

.video-modal.is-maximized .video-modal__panel {
  box-shadow: none;
}

.video-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--border);
}

.video-modal.is-open:not(.is-maximized) .video-modal__header {
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.video-modal.is-dragging .video-modal__header {
  cursor: grabbing;
}

.video-modal.is-dragging .video-modal__stack,
.video-modal.is-dragging .video-modal__panel {
  transition: none;
}

.video-modal.is-maximized .video-modal__header {
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
}

.video-modal__title {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-modal.is-maximized .video-modal__title {
  font-size: var(--text-lg);
}

.video-modal__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.video-modal__toggle-size,
.video-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  flex-shrink: 0;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.video-modal.is-maximized .video-modal__toggle-size,
.video-modal.is-maximized .video-modal__close {
  width: 40px;
  height: 40px;
}

.video-modal__toggle-size:hover,
.video-modal__close:hover {
  color: var(--text-primary);
  background: var(--bg-elevated);
  border-color: var(--border-accent);
}

.video-modal__icon-collapse {
  display: none;
}

.video-modal.is-maximized .video-modal__icon-expand {
  display: none;
}

.video-modal.is-maximized .video-modal__icon-collapse {
  display: block;
}

.video-modal__body {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 480px) {
  .video-modal.is-open:not(.is-maximized) .video-modal__stack {
    width: calc(100vw - var(--space-4));
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-register {
    animation: none;
  }

  .video-modal,
  .video-modal__stack,
  .video-modal__panel {
    transition: none;
  }
}

/* Testimonials */
.testimonials {
  margin-bottom: var(--space-12);
}

.testimonials__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--space-8);
}

.testimonials__title {
  margin: var(--space-2) 0 0;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
}

.testimonials__grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  margin: 0;
  padding: var(--space-5);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.testimonial-card__quote {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-secondary);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}

.testimonial-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  background: color-mix(in srgb, var(--accent-blue) 22%, var(--bg-elevated));
  border: 1px solid color-mix(in srgb, var(--accent-blue-light) 35%, var(--border));
  border-radius: var(--radius);
}

.testimonial-card__name {
  display: block;
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-card__role {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

/* Legal pages */
.legal-header .site-header__shell {
  border-bottom: 1px solid var(--border);
}

.legal-header__inner {
  grid-template-columns: 1fr auto;
}

.legal-page {
  padding: var(--header-clearance) 0 var(--space-16);
}

.legal-page__inner {
  max-width: 720px;
}

.legal-page__updated {
  margin: 0 0 var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.legal-page__title {
  margin: 0 0 var(--space-4);
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.legal-page__lead {
  margin: 0 0 var(--space-8);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-secondary);
}

.legal-section {
  margin-bottom: var(--space-8);
}

.legal-section h2 {
  margin: 0 0 var(--space-3);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.legal-section p,
.legal-section li {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--text-secondary);
}

.legal-section ul {
  margin: var(--space-2) 0 0;
  padding-left: 1.25rem;
}

.legal-section li {
  margin-bottom: var(--space-2);
}

.legal-section code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  background: var(--bg-elevated);
  border-radius: 3px;
}

.legal-page__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  font-size: var(--text-sm);
}

.legal-page__nav a {
  color: var(--text-secondary);
}

.legal-page__nav a:hover {
  color: var(--text-primary);
}
