/* ===== BASE ===== */
body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: clip;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.geo-summary {
  padding: 28px 0;
  background: #f4f7fb;
  border-block: 1px solid rgba(13, 51, 93, 0.08);
}

.geo-summary p {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-text-muted, #5a6b7d);
  line-height: 1.75;
  font-size: 1.02rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title .highlight {
  color: var(--color-accent);
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-gray-700);
  max-width: 600px;
  margin: 0 auto 40px;
}

.text-center { text-align: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn:hover { transform: scale(1.05); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(245, 142, 51, 0.4);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 6px 20px rgba(245, 142, 51, 0.5);
}

.btn-navy {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(13, 51, 93, 0.3);
}

.btn-navy:hover {
  background: #0a2849;
}

.btn-outline {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-gray-300);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-outline--light {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline--light:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost {
  background: var(--color-gray-100);
  color: var(--color-secondary);
}

.btn-sm { padding: 10px 20px; font-size: 13px; }

.btn-icon { font-size: 16px; }

.btn-whatsapp {
  background: #25d366;
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  border-radius: var(--radius-sm);
  padding: 16px 32px;
  font-size: 16px;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp i { font-size: 20px; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
  overflow: visible;
}

.header .header-inner.container {
  max-width: none;
  width: 100%;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 56px;
  width: auto;
  max-height: calc(var(--header-height) - 16px);
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: visible;
}

.nav-desktop > li { position: relative; }

.nav-desktop > li > a,
.nav-desktop > li > button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}

.nav-desktop > li > a:hover,
.nav-desktop > li > button:hover { color: var(--color-accent); }

.nav-desktop .chevron { font-size: 10px; transition: transform var(--transition); }

.nav-desktop li.has-dropdown:hover .chevron { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 280px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  pointer-events: none;
  z-index: 10;
}

.nav-desktop li.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-wide {
  left: 0;
  right: auto;
  min-width: 680px;
  max-width: min(720px, calc(100vw - 2 * var(--container-padding-x)));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transform: translateY(10px);
}

.nav-desktop li.has-dropdown:hover .dropdown-wide {
  transform: translateY(0);
}

.dropdown-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-gray-200);
}

.dropdown-group a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--color-gray-700);
  transition: color var(--transition);
}

.dropdown-group a:hover { color: var(--color-accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-desktop > li > a.nav-link-preco {
  color: var(--color-accent);
  font-weight: 700;
}

.nav-desktop > li > a.nav-link-preco:hover {
  color: var(--color-accent-dark);
}

.mobile-nav a.nav-link-preco {
  display: inline-flex;
  width: fit-content;
  margin: 8px 0;
  padding: 10px 18px;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  border-radius: 50px;
  border-bottom: none;
  box-shadow: 0 4px 14px rgba(245, 142, 51, 0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-secondary);
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 90vw);
  height: 100vh;
  background: var(--color-white);
  z-index: 1001;
  padding: 24px;
  overflow-y: auto;
  transition: right var(--transition);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open { right: 0; }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mobile-menu-close {
  font-size: 24px;
  color: var(--color-secondary);
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--color-gray-200);
}

.mobile-nav .sub-group {
  padding-left: 16px;
}

.mobile-nav .sub-group a {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-gray-700);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.menu-overlay.open { opacity: 1; visibility: visible; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 60px) 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(245, 142, 51, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 142, 51, 0.1) 0%, transparent 40%),
    linear-gradient(135deg, #0D335D 0%, #1a4a7a 50%, #0D335D 100%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,51,93,0.3) 0%, rgba(13,51,93,0.6) 100%);
  z-index: 1;
}

.hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 480px);
  gap: 48px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-media {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-video-wrap {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  overflow: hidden;
  background: #0a0f14;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(245, 142, 51, 0.2);
}

.hero-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  vertical-align: top;
}

.hero-rotating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}

.hero-rotating .word {
  display: inline-block;
  min-width: 180px;
  color: var(--color-white);
  font-weight: 700;
  animation: fadeWord 0.5s ease;
}

@keyframes fadeWord {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 640px;
}

.hero h1 .white { color: var(--color-white); }

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 0 32px;
  line-height: 1.6;
}

.hero-carousel { display: none; margin-top: 32px; }

.hero-carousel .slide {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
}

.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.hero-carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: var(--transition);
}

.hero-carousel-dots button.active { background: var(--color-accent); width: 24px; border-radius: 5px; }

/* ===== CLIENTS MARQUEE ===== */
.clients-marquee {
  width: 100%;
  background: var(--color-white);
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--color-gray-200);
}

.clients-marquee-title {
  text-align: center;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--color-gray-700);
  margin-bottom: 32px;
  line-height: 1.5;
}

.clients-marquee-title strong {
  color: var(--color-heading);
  font-weight: 600;
}

.clients-marquee-wrap {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marqueeLTR 45s linear infinite;
  padding: 8px 0;
}

.clients-marquee-track img {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.75;
  filter: grayscale(30%);
  transition: opacity var(--transition), filter var(--transition);
}

.clients-marquee-track img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes marqueeLTR {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.clients-marquee-wrap:hover .clients-marquee-track {
  animation-play-state: paused;
}

/* ===== CTA MARQUEE ===== */
.cta-marquee {
  --scroll-progress: 0;
  --scroll-x: 0px;
  width: 100%;
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
  overflow: hidden;
  transform: scale(calc(1 + var(--scroll-progress) * 0.04));
  transform-origin: center center;
}

.cta-marquee-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 28px 0;
  cursor: pointer;
}

.cta-marquee-link:hover .cta-marquee-chunk span {
  color: var(--color-accent-dark);
}

.cta-marquee-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.cta-marquee-scroll-layer {
  transform: translateX(var(--scroll-x, 0));
  will-change: transform;
}

.cta-marquee-track {
  display: flex;
  width: max-content;
  animation: ctaMarqueeScroll 48s linear infinite;
}

.cta-marquee-chunk {
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding-right: clamp(16px, 3vw, 40px);
  white-space: nowrap;
  font-family: var(--font-primary);
  font-size: clamp(36px, 7vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-heading);
  text-transform: uppercase;
}

.cta-marquee-chunk span {
  transition: color 0.25s ease;
}

.cta-marquee-chunk i {
  font-size: 0.55em;
  color: var(--color-accent);
  flex-shrink: 0;
}

@keyframes ctaMarqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .cta-marquee-track {
    animation-duration: 60s;
  }
}

/* ===== RESULTS COMPARE ===== */
.results-compare {
  padding: 64px 0 72px;
  background: var(--color-gray-100);
}

.results-compare-title {
  text-align: center;
  font-family: var(--font-primary);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.35;
  max-width: 720px;
  margin: 0 auto 40px;
}

.results-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.compare-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.compare-card--before {
  border-top: 4px solid var(--color-gray-300);
}

.compare-card--after {
  border-top: 4px solid #22c55e;
}

.compare-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 28px 20px;
}

.compare-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  font-size: 14px;
}

.compare-icon--bad {
  background: #fee2e2;
  color: #dc2626;
}

.compare-icon--good {
  background: #22c55e;
  color: var(--color-white);
}

.compare-card-header h3 {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-gray-700);
}

.compare-card--after .compare-card-header h3 {
  color: #16a34a;
}

.compare-list {
  list-style: none;
}

.compare-list li {
  padding: 16px 28px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
  border-top: 1px solid var(--color-gray-200);
}

.compare-list li:last-child {
  padding-bottom: 20px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 72px 0 80px;
  background: linear-gradient(90deg, #0D335D 0%, #1565a8 50%, #38bdf8 100%);
  text-align: center;
  color: var(--color-white);
}

.cta-banner-title {
  font-family: var(--font-primary);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-banner-desc {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 32px;
  opacity: 0.95;
}

.cta-banner-features {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
  list-style: none;
}

.cta-banner-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.95;
}

.cta-banner-features i {
  font-size: 16px;
  opacity: 0.9;
}

/* ===== ABOUT ===== */
.about {
  padding: 80px 0;
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-gray-700);
  margin-bottom: 16px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--color-heading);
}

.about-highlights {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-heading);
}

.about-highlights i {
  color: var(--color-accent);
  font-size: 18px;
}

.about-visual img {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: block;
}

/* ===== TOTEM SHOWCASE ===== */
.totem-showcase {
  padding: 80px 0 0;
  background: #0a0f14;
  color: var(--color-white);
}

.section-label--light {
  color: var(--color-accent);
}

.section-title--light {
  color: var(--color-white);
}

.section-title--light .highlight {
  color: var(--color-accent);
}

.section-subtitle--light {
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
  margin: 0 auto;
}

.totem-showcase-header {
  margin-bottom: 40px;
}

/* Sticky stacking cards (7shifts-style) */
.totem-stack-wrap {
  margin-bottom: 80px;
}

.totem-stack-scene {
  position: relative;
}

.totem-stack-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 200;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding: 16px 0 24px;
  margin-bottom: 8px;
  background: linear-gradient(180deg, #0a0f14 85%, transparent);
}

.totem-stack-nav-btn {
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.totem-stack-nav-btn:hover {
  color: rgba(255, 255, 255, 0.85);
}

.totem-stack-nav-btn.active {
  color: var(--color-white);
  border-bottom-color: var(--color-accent);
}

.totem-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.totem-stack-slide {
  --stack-step: 24px;
  --stack-nav: 56px;
  --stack-top: calc(var(--header-height) + var(--stack-nav) + var(--i, 0) * var(--stack-step));
  height: max(72vh, 560px);
  position: relative;
}

.totem-stack-card {
  position: sticky;
  top: var(--stack-top);
  z-index: calc(10 + var(--i, 0));
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 4px 0 rgba(0, 0, 0, 0.15),
    0 24px 64px rgba(0, 0, 0, 0.35);
}

.totem-stack-spacer {
  height: 24vh;
  min-height: 180px;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .totem-stack-slide {
    height: max(78vh, 680px);
  }
}

@media (min-width: 1440px) {
  .totem-stack-slide {
    height: max(82vh, 760px);
  }
}

.totem-stack-card-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  overflow: hidden;
}

.totem-stack-card--upsell .totem-stack-card-visual { background: #fff0e0; }
.totem-stack-card--time .totem-stack-card-visual { background: #dceefb; }
.totem-stack-card--speed .totem-stack-card-visual { background: #dff5ea; }
.totem-stack-card--precision .totem-stack-card-visual { background: #ebe4f7; }
.totem-stack-card--peak .totem-stack-card-visual { background: #fef6dc; }
.totem-stack-card--roi .totem-stack-card-visual { background: #d9f2ef; }

.totem-stack-card-img {
  width: 55%;
  max-width: 220px;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  margin-bottom: 24px;
}

.totem-stack-card-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  font-size: 32px;
  color: var(--color-primary);
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.totem-stack-card-stat {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.totem-stack-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 44px;
  background: var(--color-white);
  color: var(--color-text);
}

.totem-stack-card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-dark);
  margin-bottom: 16px;
}

.totem-stack-card-label i {
  font-size: 14px;
}

.totem-stack-card-body h3 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.25;
  margin-bottom: 16px;
}

.totem-stack-card-body > p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-gray-700);
  margin-bottom: 24px;
}

.totem-stack-card-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.totem-stack-card-body li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--color-gray-700);
  line-height: 1.5;
}

.totem-stack-card-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  filter: blur(4px);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  animation: revealFadeIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--reveal-i, 0) * 0.09s);
}

.reveal--soft {
  transform: translateY(24px) scale(0.99);
  filter: blur(0);
}

.reveal--soft.is-visible {
  animation-name: revealFadeInSoft;
}

@keyframes revealFadeIn {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes revealFadeInSoft {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--soft {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
    will-change: auto;
  }
}

.totem-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.totem-hardware {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.totem-hardware-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-accent);
  z-index: 0;
}

.totem-hardware-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}

.totem-hardware-model {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.totem-specs {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
  list-style: none;
}

.totem-specs li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.totem-specs strong {
  display: block;
  font-size: 18px;
  color: var(--color-white);
  font-weight: 700;
}

.totem-screen-tabs,
.totem-tab,
.totem-screen-img {
  display: none;
}

.totem-video-block {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.totem-screen-video {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #111;
}

.totem-video-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #0a0f14 0%,
    #0a0f14 26%,
    rgba(10, 15, 20, 0.94) 40%,
    rgba(10, 15, 20, 0.6) 55%,
    rgba(10, 15, 20, 0.2) 72%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.totem-screen-content {
  position: relative;
  z-index: 2;
  padding: 48px 44px;
  max-width: 54%;
}

.totem-screen-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  background: rgba(245, 142, 51, 0.15);
  border: 1px solid rgba(245, 142, 51, 0.35);
  margin-bottom: 16px;
}

.totem-screen-caption {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
  margin: 0;
  font-weight: 500;
}

.totem-pricing {
  margin-top: 0;
}

.totem-pricing-band {
  margin-top: 64px;
  padding: 64px 0 80px;
  background: #f4f7fb;
  border-top: 1px solid rgba(13, 51, 93, 0.06);
}

.totem-pricing-band .totem-pricing-title {
  color: var(--color-heading);
}

.totem-pricing-band .totem-pricing-perks {
  background: var(--color-white);
  border-color: rgba(13, 51, 93, 0.08);
  box-shadow: 0 2px 12px rgba(13, 51, 93, 0.04);
}

.totem-pricing-band .totem-pricing-perks li {
  color: var(--color-gray-700);
}

.totem-pricing-band .totem-option {
  background: var(--color-white);
  border-color: rgba(13, 51, 93, 0.1);
  box-shadow: 0 4px 24px rgba(13, 51, 93, 0.06);
}

.totem-pricing-band .totem-option--featured {
  margin-top: 14px;
  border-color: rgba(245, 142, 51, 0.5);
  background: var(--color-white);
  box-shadow: 0 12px 40px rgba(245, 142, 51, 0.14);
}

.totem-pricing-band .totem-option-bonus {
  background: rgba(76, 175, 80, 0.12);
  border-color: rgba(56, 142, 60, 0.35);
  color: #2e7d32;
}

.totem-pricing-band .totem-option-bonus i {
  color: #43a047;
}

.totem-pricing-band .totem-option-photo {
  background: #f8fafc;
  border-bottom-color: rgba(13, 51, 93, 0.08);
}

.totem-pricing-band .totem-option--featured .totem-option-photo {
  background: linear-gradient(180deg, #fff8f0 0%, #f8fafc 100%);
}

.totem-pricing-band .totem-option-subtitle {
  color: var(--color-gray-700);
}

.totem-pricing-band .totem-option h2,
.totem-pricing-band .totem-option h3 {
  color: var(--color-heading);
}

.totem-pricing-band .totem-option-price-note {
  color: var(--color-gray-700);
}

.totem-pricing-band .totem-option-desc {
  color: var(--color-gray-700);
}

.totem-pricing-band .totem-option li {
  color: var(--color-secondary);
}

.totem-pricing-band .totem-option-btn {
  color: var(--color-secondary);
  border-color: var(--color-gray-300);
}

.totem-pricing-band .totem-option-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.totem-pricing-header {
  margin-bottom: 24px;
}

.totem-pricing-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin-top: 8px;
}

.totem-pricing-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  list-style: none;
  margin: 0 0 32px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.totem-pricing-perks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.totem-pricing-perks i {
  color: var(--color-accent);
  font-size: 14px;
}

.totem-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@supports (grid-template-rows: subgrid) {
  .totem-options {
    grid-template-rows: repeat(6, auto);
  }

  .totem-option {
    grid-row: span 6;
    grid-template-rows: subgrid;
  }
}

.totem-option {
  position: relative;
  display: grid;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 0 28px 28px;
  overflow: visible;
  transition: var(--transition);
}

.totem-option .btn {
  margin-top: auto;
}

.totem-option--featured {
  margin-top: 14px;
  border-color: rgba(245, 142, 51, 0.55);
  background: rgba(245, 142, 51, 0.1);
  box-shadow: 0 12px 40px rgba(245, 142, 51, 0.12);
}

.totem-option-badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c5cff, #5b8def);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(91, 141, 239, 0.35);
}

.totem-option-bonus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(76, 175, 80, 0.18);
  border: 1px solid rgba(129, 199, 132, 0.45);
  color: #b9f6ca;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.totem-option-bonus-slot {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding-top: 12px;
}

.totem-option-head {
  padding-top: 10px;
}

.totem-option-photo {
  margin: 0 -28px 0;
  height: 220px;
  min-height: 220px;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px) 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.totem-option-photo:not(.totem-option-carousel) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.totem-option-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px 20px;
}

.totem-option-carousel {
  position: relative;
  display: block;
}

.totem-option-carousel-viewport {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.totem-option-carousel-track {
  width: 100%;
  height: 100%;
}

.totem-option-carousel-slide {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
}

.totem-option-carousel-slide.is-active {
  display: flex;
}

.totem-option-carousel-slide img {
  display: block;
  width: auto;
  max-width: calc(100% - 40px);
  max-height: calc(100% - 32px);
  height: auto;
  object-fit: contain;
}

.totem-option-carousel-zoomable {
  cursor: zoom-in;
}

.totem-option-carousel-zoomable:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.totem-option-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(13, 51, 93, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-secondary);
  box-shadow: 0 2px 10px rgba(13, 51, 93, 0.12);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.totem-option-carousel:hover .totem-option-carousel-btn,
.totem-option-carousel:focus-within .totem-option-carousel-btn {
  opacity: 1;
}

.totem-option-carousel-btn:hover {
  background: var(--color-white);
  color: var(--color-accent);
}

.totem-option-carousel-prev { left: 10px; }
.totem-option-carousel-next { right: 10px; }

.totem-option-carousel-btn i {
  font-size: 12px;
}

.totem-option-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 8px rgba(13, 51, 93, 0.1);
}

.totem-option-carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  background: rgba(13, 51, 93, 0.22);
  transition: width 0.2s ease, background 0.2s ease;
}

.totem-option-carousel-dots button.is-active {
  width: 18px;
  border-radius: 999px;
  background: var(--color-accent);
}

@media (hover: none) {
  .totem-option-carousel-btn {
    opacity: 1;
  }
}

/* ===== PRODUCT LIGHTBOX ===== */
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 72px;
  background: rgba(10, 15, 20, 0.92);
  backdrop-filter: blur(6px);
}

.product-lightbox[hidden] {
  display: none;
}

.product-lightbox-content {
  margin: 0;
  max-width: min(1040px, 100%);
  text-align: center;
}

.product-lightbox-img {
  display: block;
  max-width: min(960px, 88vw);
  max-height: 78vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  background: #fff;
}

.product-lightbox-caption {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.product-lightbox-close,
.product-lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.product-lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 18px;
}

.product-lightbox-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
}

.product-lightbox-prev { left: 20px; }
.product-lightbox-next { right: 20px; }

.product-lightbox-close:hover,
.product-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-secondary);
  border-color: transparent;
}

.product-lightbox-close:focus-visible,
.product-lightbox-nav:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .product-lightbox {
    padding: 56px 16px 24px;
  }

  .product-lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .product-lightbox-prev { left: 10px; }
  .product-lightbox-next { right: 10px; }

  .product-lightbox-img {
    max-height: 70vh;
  }
}

.totem-option--featured .totem-option-photo {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(245, 142, 51, 0.08) 100%);
}

.totem-option-subtitle {
  font-size: 13px;
  margin: 0 0 4px;
}

.totem-option h2,
.totem-option h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.2;
}

.totem-option-price {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 2px;
  line-height: 1.15;
}

.totem-option-price-note {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 8px;
}

.totem-option-desc {
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 16px;
}

.totem-option-price--muted {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.totem-option .btn .fa-external-link-alt {
  font-size: 11px;
  margin-left: 6px;
  opacity: 0.85;
}

.totem-option > p:not(.totem-option-price):not(.totem-option-desc) {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 20px;
}

.totem-option ul {
  list-style: none;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.totem-option li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.totem-option li i {
  color: var(--color-accent);
  font-size: 12px;
}

.totem-option-btn {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.totem-option-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ===== TRUST BADGES ===== */
.trust-badges {
  padding: 40px 0;
  background: var(--color-white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item img {
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.trust-item p {
  font-size: 14px;
  color: var(--color-gray-700);
}

.trust-item b { color: var(--color-heading); }

/* ===== SOLUTIONS ===== */
.solutions {
  padding: 80px 0;
  background: linear-gradient(180deg, #fff8f3 0%, #ffffff 100%);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.solution-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.solution-card img {
  width: 100%;
  aspect-ratio: 866/623;
  object-fit: cover;
}

.solution-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a5080 100%);
  color: var(--color-accent);
  font-size: 64px;
}

.solution-card-body { padding: 24px 28px 32px; }

.solution-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.solution-card p {
  font-size: 14px;
  color: var(--color-gray-700);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ===== FEATURES GRID ===== */
.features {
  padding: 60px 0 80px;
  background: var(--color-gray-100);
}

.features-header {
  text-align: center;
  margin-bottom: 40px;
}

.features-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-700);
  background: var(--color-white);
  border: 2px solid var(--color-gray-200);
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-accent);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-item.hidden { display: none; }

.feature-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 142, 51, 0.12);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
  font-size: 16px;
}

.feature-item h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.35;
}

.trust-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 51, 93, 0.08);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 28px;
}

/* ===== ADVANTAGES / TABS ===== */
.advantages {
  padding: 80px 0;
  background: var(--color-white);
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gray-700);
  background: var(--color-gray-100);
  transition: var(--transition);
}

.tab-btn img { width: 32px; height: 32px; object-fit: contain; }

.tab-btn i { font-size: 18px; }

.tab-btn.active,
.tab-btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.tab-pane { display: none; }

.tab-pane.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.advantage-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.advantage-text h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.25;
}

.advantage-text > p {
  font-size: 15px;
  color: var(--color-gray-700);
  margin-bottom: 28px;
}

.benefit-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-item .feature-item-icon {
  width: 56px;
  height: 56px;
  font-size: 20px;
}

.benefit-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.benefit-item p {
  font-size: 13px;
  color: var(--color-gray-500);
}

.advantage-image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.advantage-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Mobile stacked advantages */
.advantages-mobile { display: none; }

.advantage-mobile-block {
  padding: 40px 0;
  border-top: 1px solid var(--color-gray-200);
}

.advantage-mobile-block:first-child { border-top: none; }

/* ===== INTEGRATIONS CAROUSEL ===== */
.integrations {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
}

.integrations .section-subtitle a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.integrations .section-subtitle a:hover {
  color: var(--color-accent-dark);
}

.integrations-carousel {
  overflow: hidden;
  margin-top: 40px;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.integrations-track {
  display: flex;
  gap: 30px;
  animation: scrollLogos 40s linear infinite;
  width: max-content;
}

.integrations-track img {
  height: 50px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.integrations-track img:hover { opacity: 1; }

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.integrations-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin-top: 28px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.integration-homolog {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 16px 22px;
  max-width: 520px;
  text-align: left;
  background: linear-gradient(135deg, rgba(13, 51, 93, 0.06) 0%, rgba(245, 142, 51, 0.1) 100%);
  border: 1px solid rgba(245, 142, 51, 0.35);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.integration-homolog:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.integration-homolog-logo {
  width: auto;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.integration-homolog > .fa-external-link-alt {
  font-size: 12px;
  opacity: 0.55;
  margin-left: auto;
  flex-shrink: 0;
}

.integration-homolog span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.integration-homolog strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.integration-homolog small {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-gray-700);
  line-height: 1.35;
}

.integration-badge {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 20px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

a.integration-badge:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.integration-badge--featured {
  border-color: rgba(245, 142, 51, 0.45);
  background: linear-gradient(180deg, #fff8f0 0%, #ffffff 100%);
}

.integration-badge img {
  display: block;
  width: auto;
  height: 28px;
  margin: 0 auto 10px;
  object-fit: contain;
}

.integration-badge i {
  display: block;
  font-size: 24px;
  color: var(--color-accent);
  margin-bottom: 8px;
}

/* ===== CLIENTS ===== */
.clients {
  padding: 80px 0;
  background: var(--color-white);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.client-card {
  background: var(--color-gray-100);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 51, 93, 0.12);
}

.client-card-logo {
  height: 64px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.client-card-logo img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.client-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.35;
}

.clients-footer {
  text-align: center;
}

.clients-more {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-gray-500);
  font-style: italic;
  margin-bottom: 24px;
}

/* ===== SUPPORT ===== */
.support {
  padding: 80px 0;
  background: var(--color-white);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.support-image img { width: 100%; border-radius: var(--radius-lg); }

.support-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.support-image {
  margin: 0;
}

.support-image img {
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.support-image figcaption {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-700);
  text-align: center;
}

.support-map {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--color-white);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.support-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.support-map-meta {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--color-gray-100);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.support-map-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 142, 51, 0.14);
  color: var(--color-accent);
  font-size: 16px;
}

.support-map-details strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.support-map-details p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-gray-700);
  margin-bottom: 8px;
}

.support-map-details a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
}

.support-map-details a:hover {
  text-decoration: underline;
}

.support-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(245, 142, 51, 0.12);
  color: var(--color-accent);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.support-content h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.25;
}

.support-content > p {
  font-size: 15px;
  color: var(--color-gray-700);
  margin-bottom: 24px;
  line-height: 1.6;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.check-list i { color: var(--color-accent); margin-top: 3px; }

.support-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.support-card {
  text-align: center;
  padding: 20px;
  background: var(--color-gray-100);
  border-radius: var(--radius-md);
}

.support-card img {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.support-card p {
  font-size: 13px;
  font-weight: 600;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(180deg, #fff8f3 0%, #ffffff 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 14px;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: 14px;
  color: var(--color-gray-700);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 700;
}

.testimonial-author span {
  display: block;
  font-weight: 400;
  color: var(--color-gray-500);
  font-size: 12px;
}

/* ===== PARTNERS + FORM ===== */
/* ===== FAQ ===== */
.faq {
  padding: 80px 0;
  background: var(--color-gray-100);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 48px 64px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 100px;
}

.faq-icon {
  width: 120px;
  margin-bottom: 24px;
}

.faq-icon svg {
  width: 100%;
  height: auto;
  display: block;
}

.faq-intro h1,
.faq-intro h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.2;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-white);
  border-radius: 999px;
  border: 1px solid var(--color-gray-200);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] {
  border-radius: var(--radius-lg);
  border-color: rgba(245, 142, 51, 0.35);
  box-shadow: 0 8px 32px rgba(13, 51, 93, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-heading);
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  content: '';
}

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--color-gray-500);
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  color: var(--color-accent);
}

.faq-answer {
  padding: 0 24px 20px;
  animation: faqReveal 0.3s ease;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-gray-700);
  margin: 0;
}

.faq-answer p + p {
  margin-top: 10px;
}

.faq-answer strong {
  color: var(--color-heading);
}

.faq-answer a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer a:hover {
  color: var(--color-accent-dark);
}

@keyframes faqReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.partners {
  padding: 80px 0;
  background: var(--color-white);
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.partners-content .badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(245, 142, 51, 0.12);
  color: var(--color-accent);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.partners-content h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.25;
}

.partners-content > p {
  font-size: 15px;
  color: var(--color-gray-700);
  margin-bottom: 24px;
}

.partners-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.partners-list i { color: var(--color-accent); margin-top: 3px; }

.contact-form {
  background: var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form > p {
  font-size: 14px;
  color: var(--color-gray-500);
  margin-bottom: 24px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--color-white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea { min-height: 100px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
  object-fit: contain;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  font-size: 16px;
  transition: background var(--transition);
}

.footer-social a:hover { background: var(--color-accent); }

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  padding: 4px 0;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--color-accent); }

.footer-col .sub-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  margin-bottom: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--color-accent); }

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-cnpj {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== SUBPAGES (faq, precos, totem, etc.) ===== */
.subpage {
  padding-top: var(--header-height);
  min-height: 50vh;
}

.subpage > .totem-pricing-band {
  margin-top: 0;
}

.nav-desktop a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  color: var(--color-accent);
  font-weight: 600;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: calc(var(--header-height) + 48px) 0 80px;
  background: var(--color-bg);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(28px, 4vw, 36px);
  color: var(--color-primary);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 18px;
  color: var(--color-primary);
  margin: 28px 0 12px;
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
}

.legal-content ul {
  margin: 12px 0 12px 20px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.form-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
  cursor: pointer;
}

.form-consent-label input {
  margin-top: 3px;
  flex-shrink: 0;
}

.form-consent-label a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .clients-grid { grid-template-columns: repeat(2, 1fr); }

  .totem-stack-card { min-height: 380px; }
  .totem-stack-card-body { padding: 36px 32px; }

  .totem-pricing-perks {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .totem-options { grid-template-columns: 1fr; }

  @supports (grid-template-rows: subgrid) {
    .totem-options { grid-template-rows: none; }

    .totem-option {
      grid-row: auto;
      grid-template-rows: none;
      display: flex;
      flex-direction: column;
    }
  }

  .totem-pricing-band {
    padding: 48px 0 64px;
  }

  .totem-option--featured { margin-top: 18px; }

  .integrations-badges { grid-template-columns: repeat(3, 1fr); }
  .dropdown-wide {
    min-width: 520px;
    max-width: calc(100vw - 2 * var(--container-padding-x));
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-desktop,
  .header-actions .btn-ghost:last-child { display: none; }

  .menu-toggle { display: flex; }

  .header-actions .btn-sm { padding: 8px 16px; font-size: 12px; }

  .trust-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust-item:nth-child(1),
  .trust-item:nth-child(2) { display: none; }

  .solutions-grid { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr; }

  .clients-grid { grid-template-columns: 1fr; }

  .results-compare-grid { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; }
  .about-content .section-title { text-align: center; }
  .about-visual { order: -1; max-width: 360px; margin: 0 auto; }

  .totem-demo { grid-template-columns: 1fr; }

  .totem-video-block {
    min-height: 280px;
  }

  .totem-screen-video {
    width: 100%;
    height: 100%;
  }

  .totem-video-fade {
    background: linear-gradient(
      to bottom,
      #0a0f14 0%,
      rgba(10, 15, 20, 0.92) 35%,
      rgba(10, 15, 20, 0.55) 60%,
      rgba(10, 15, 20, 0.15) 85%,
      transparent 100%
    );
  }

  .totem-screen-content {
    max-width: 100%;
    padding: 32px 24px;
    text-align: center;
  }

  .totem-screen-caption {
    text-align: center;
  }

  .totem-stack-nav { gap: 4px 16px; }
  .totem-stack-nav-btn { font-size: 12px; }

  .totem-stack-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .totem-stack-card-visual {
    padding: 32px 24px;
    min-height: 200px;
  }

  .totem-stack-card-body {
    padding: 28px 24px;
  }

  .totem-options { grid-template-columns: 1fr; }

  .integrations-badges { grid-template-columns: repeat(2, 1fr); }

  .tabs-section { display: none; }
  .advantages-mobile { display: block; }

  .advantage-content { grid-template-columns: 1fr; }

  .support-grid,
  .partners-grid,
  .faq-grid { grid-template-columns: 1fr; }

  .support-visual { max-width: 560px; margin: 0 auto; }

  .support-map iframe { height: 200px; }

  .faq-intro {
    position: static;
    text-align: center;
  }

  .faq-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .faq-question {
    padding: 16px 20px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 20px 16px;
  }

  .support-cards { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-rotating {
    justify-content: center;
  }

  .hero h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-media {
    justify-content: center;
  }

  .hero-video-wrap {
    max-width: 100%;
  }

  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .btn { padding: 12px 20px; font-size: 13px; }

  .totem-stack-slide {
    height: auto;
  }

  .totem-stack-card {
    position: relative;
    top: auto;
    margin-bottom: 24px;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .totem-stack-spacer {
    display: none;
  }
}

/* ===== REESTRUTURAÇÃO LANDING ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

.hero-cta-split {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.hero-cta-split .btn {
  flex: 1 1 220px;
}

/* Prova social */
.social-proof {
  padding: 80px 0;
  background: var(--color-white);
}

.social-proof-stat {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(245, 142, 51, 0.12);
  color: var(--color-accent);
  font-size: 15px;
  font-weight: 700;
}

.social-proof-logos {
  display: none;
}

.social-proof .clients-marquee-wrap {
  margin: 40px 0 32px;
}

.social-proof .clients-grid {
  margin-bottom: 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.testimonial-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--color-gray-100);
  border: 1px solid rgba(13, 51, 93, 0.06);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 142, 51, 0.14);
  color: var(--color-accent);
  margin-bottom: 16px;
}

.testimonial-card blockquote p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-gray-700);
  margin-bottom: 16px;
}

.testimonial-card footer strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.testimonial-card footer span {
  font-size: 12px;
  color: var(--color-gray-700);
}

.social-proof-footer {
  margin-top: 8px;
}

/* Benefícios com métricas */
.benefits-metrics {
  padding-bottom: 80px;
}

.benefits-metrics .totem-stack-wrap {
  margin-top: 40px;
}

/* Ofertas */
.oferta {
  padding: 80px 0;
}

.oferta--hardware {
  padding-bottom: 0;
}

.oferta--software {
  background: linear-gradient(180deg, #fff8f3 0%, #ffffff 100%);
}

.oferta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.oferta-benefits {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.oferta-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-gray-700);
}

.oferta-benefits i {
  color: var(--color-accent);
  margin-top: 3px;
}

.oferta-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-gray-700);
}

.oferta-visual {
  position: relative;
}

.oferta-carousel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(13, 51, 93, 0.12);
}

.oferta-price-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(13, 51, 93, 0.12);
  text-align: center;
}

.oferta-price-label {
  display: block;
  font-size: 12px;
  color: var(--color-gray-700);
  margin-bottom: 4px;
}

.oferta-price-badge strong {
  font-size: 28px;
  color: var(--color-accent);
}

/* Totem hardware details */
.totem-hardware-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.totem-hardware-detail-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.totem-hardware-detail-card h2,
.totem-hardware-detail-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 14px;
  color: var(--color-white);
}

.totem-hardware-detail-card h2 i,
.totem-hardware-detail-card h3 i {
  color: var(--color-accent);
}

.totem-hardware-detail-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.totem-hardware-detail-card li {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  padding-left: 14px;
  position: relative;
}

.totem-hardware-detail-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.store-transition {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.25);
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-gray-700);
}

.totem-pricing-band .store-transition {
  color: var(--color-gray-700);
}

.totem-options--hardware {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.totem-option-badge--free {
  background: linear-gradient(135deg, #43a047, #2e7d32);
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.35);
}

.totem-pricing-band .totem-option--software {
  margin-top: 14px;
  border-color: rgba(67, 160, 71, 0.45);
  box-shadow: 0 12px 40px rgba(67, 160, 71, 0.12);
}

.totem-pricing-band .totem-option--software .totem-option-photo {
  background: linear-gradient(180deg, #f1f8f2 0%, #f8fafc 100%);
}

@supports (grid-template-rows: subgrid) {
  .totem-options--hardware {
    grid-template-rows: repeat(6, auto);
  }

  .totem-options--hardware .totem-option {
    grid-row: span 6;
  }
}

/* Funcionalidades hub */
.funcionalidades-hub .solutions {
  padding-top: 80px;
}

.funcionalidades-hub .features {
  padding-top: 0;
}

/* Formulário — intenção do lead */
.form-intent-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.form-intent-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}

.form-intent-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
}

@media (max-width: 1024px) {
  .social-proof-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .oferta-grid {
    grid-template-columns: 1fr;
  }

  .totem-hardware-details {
    grid-template-columns: 1fr;
  }

  .totem-options--hardware {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .hero-cta-split .btn {
    flex: 1 1 100%;
  }

  .social-proof-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   HERO / CARROSSEL DE BANNERS
   ========================================================================== */
.hero-banner {
  position: relative;
  margin-top: var(--header-height);
  background: var(--color-primary);
}

.banner-carousel {
  position: relative;
  overflow: hidden;
}

.banner-track {
  position: relative;
}

.banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: clamp(360px, 42vw, 480px);
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
}

/* legibilidade do texto sobre a imagem (configurável por slide via --banner-scrim) */
.banner-slide {
  --banner-scrim: linear-gradient(
    90deg,
    rgba(13, 51, 93, 0.92) 0%,
    rgba(13, 51, 93, 0.75) 32%,
    rgba(13, 51, 93, 0.25) 55%,
    rgba(13, 51, 93, 0) 72%
  );
}

.banner-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--banner-scrim);
}

/* banner sem fade/véu sobre a imagem */
.banner-slide--no-fade::before {
  display: none;
}

/* tema claro — para banners com fundo claro (texto escuro) */
.banner-slide--light {
  --banner-scrim: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.55) 30%,
    rgba(255, 255, 255, 0.1) 52%,
    rgba(255, 255, 255, 0) 68%
  );
}

.banner-slide--light .banner-content {
  color: var(--color-heading);
}

.banner-slide--light .banner-title {
  text-shadow: none;
}

.banner-slide--light .banner-desc {
  color: var(--color-gray-700);
}

.banner-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.banner-slide-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.banner-content {
  max-width: 560px;
  color: var(--color-white);
}

.banner-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: var(--radius-xl);
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.banner-title {
  font-family: var(--font-primary);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 18px;
}

.banner-accent {
  color: var(--color-accent);
}

.banner-white {
  color: var(--color-white);
}

.banner-blue {
  color: var(--color-primary);
}

.banner-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 28px;
  max-width: 480px;
}

.banner-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* botão de destaque dos banners — laranja sólido, sem brilho borrado */
.banner-cta .btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: none;
}

.banner-cta .btn-primary:hover {
  background: var(--color-accent-dark);
  box-shadow: none;
}

/* setas */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background var(--transition), transform var(--transition);
}

.banner-arrow:hover {
  background: var(--color-white);
  transform: translateY(-50%) scale(1.06);
}

.banner-prev { left: 20px; }
.banner-next { right: 20px; }

/* bolinhas */
.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.banner-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}

.banner-dots button.is-active {
  width: 30px;
  border-radius: var(--radius-xl);
  background: var(--color-accent);
}

@media (max-width: 768px) {
  .banner-slide {
    align-items: center;
    height: auto;
    min-height: 380px;
    padding: 48px 0 72px;
    background-image: none !important;
    background-color: var(--color-primary);
    background-position: center;
  }

  .banner-slide::before,
  .banner-slide--no-fade::before {
    display: none;
  }

  .banner-slide--light {
    background-color: var(--color-primary);
  }

  .banner-slide--light .banner-content {
    color: var(--color-white);
  }

  .banner-slide--light .banner-title {
    color: var(--color-white);
  }

  .banner-slide--light .banner-desc {
    color: rgba(255, 255, 255, 0.88);
  }

  .banner-blue {
    color: var(--color-accent);
  }

  .banner-white {
    color: var(--color-accent);
  }

  .banner-slide--light .btn-outline {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.55);
  }

  .banner-slide--light .btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
  }

  .banner-slide-inner {
    padding-bottom: 0;
  }

  .banner-content {
    max-width: 100%;
    text-align: center;
  }

  .banner-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .banner-cta {
    justify-content: center;
  }

  .banner-cta .btn {
    flex: 1 1 100%;
  }

  .banner-arrow {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .banner-prev { left: 10px; }
  .banner-next { right: 10px; }
}

/* ==========================================================================
   POPUP DE SAÍDA (EXIT INTENT)
   ========================================================================== */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.exit-popup[hidden] {
  display: none;
}

.exit-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 51, 93, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity var(--transition);
}

.exit-popup.is-open .exit-popup-overlay {
  opacity: 1;
}

.exit-popup-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 44px 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.exit-popup.is-open .exit-popup-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.exit-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--color-gray-500);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}

.exit-popup-close:hover {
  background: var(--color-gray-100);
  color: var(--color-heading);
}

.exit-popup-title {
  font-family: var(--font-primary);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 14px;
}

.exit-popup-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-700);
  margin: 0 0 26px;
}

.exit-popup-text strong {
  color: var(--color-accent-dark);
}

.exit-popup-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.exit-popup-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: var(--shadow-lg);
}

.exit-popup-link {
  display: inline-block;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-gray-500);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition);
}

.exit-popup-link:hover {
  color: var(--color-heading);
}

/* ==========================================================================
   CONSENTIMENTO DE COOKIES
   ========================================================================== */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1900;
  background: var(--color-white);
  box-shadow: 0 -4px 24px rgba(13, 51, 93, 0.15);
  border-top: 3px solid var(--color-accent);
  padding: 18px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent.is-open {
  transform: translateY(0);
}

.cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-consent-text {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cookie-consent-text i {
  color: var(--color-accent);
  font-size: 26px;
  flex-shrink: 0;
}

.cookie-consent-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-gray-700);
}

.cookie-consent-text a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 16px;
  }

  .cookie-consent-text {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-consent-actions {
    justify-content: center;
  }
}
