/* ==========================================================================
   HEADER / NAVBAR (GLASSMORPHISM LIGHT)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--neutral-200);
  padding: 32px 0;
  transition: all 0.3s ease;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  padding: 16px 0;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 54px;
  width: auto;
  display: block;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-drawer-cta {
  display: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--neutral-700);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--purple-600);
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding-left: 0;
  padding-right: 24px;
  background: #164E63;
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-size: 14px;
  text-decoration: none;
  border-radius: 9999px;
  gap: 12px;
  transition: all 0.3s ease;
}

.btn-header-cta:hover {
  background: #155E75;
  transform: translateY(-1px);
}

.btn-header-cta-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #155E75;
  box-shadow: 0 16px 24px -4px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.btn-header-cta:hover .btn-header-cta-icon-wrapper {
  background: #164E63;
}

.btn-header-cta-icon {
  width: 16px;
  height: 16px;
  color: #FFFFFF;
}

.btn-header-cta .btn-text {
  font-weight: 400;
}

.btn-header-cta .btn-text strong {
  font-weight: 700;
}

/* ==========================================================================
   HAMBURGER TOGGLE (mobile nav)
   ========================================================================== */
.nav-toggle-input {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 11;
  position: relative;
}

.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neutral-900);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(2) {
  opacity: 0;
}

.nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Overlay when menu is open */
.nav-toggle-input:checked ~ .navbar-menu::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

/* ==========================================================================
   HERO SECTION (LIGHT)
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 150px;
  padding-bottom: 96px;
  background: #FFFFFF;
}

.hero-bg-glow {
  position: absolute;
  top: 118px;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url('../images/bg_effects_colors.webp') no-repeat center top;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: clamp(48px, 5vw, 96px);
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 534px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  line-height: 1.0;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: 1.4;
  color: var(--neutral-900);
  font-weight: 400;
  max-width: 100%;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hero-proof-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--neutral-900);
}

.hero-proof-separator {
  color: var(--neutral-300);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: linear-gradient(180deg, #6D28D9 0%, #4C1D95 100%);
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.35);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  transition: all 0.6s ease;
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(109, 40, 217, 0.45);
  color: #FFFFFF !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: transparent;
  color: #4C1D95 !important;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 700;
  border: 1px solid #4C1D95;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(76, 29, 149, 0.05);
  border-color: #4C1D95;
  color: #4C1D95 !important;
}

.hero-mockup-wrapper {
  position: relative;
  width: 576px;
  height: 598px;
  flex-shrink: 0;
}

.hero-mockup-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 920px;
  height: 598px;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

.client-logos {
  padding: 64px 0;
  background: transparent;
  overflow: hidden;
}

.logos-container {
  display: flex;
  width: 100%;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 80px, black calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 80px, black calc(100% - 80px), transparent 100%);
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  gap: 72px;
}

.logo-grid {
  display: flex;
  align-items: center;
  gap: 72px;
  flex-shrink: 0;
  animation: logo-marquee 25s linear infinite;
}

@keyframes logo-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 72px));
  }
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.logo-item:hover {
  opacity: 1;
  transform: scale(1.04);
}

.logo-item img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   SECTIONS & SELECTION BADGES
   ========================================================================== */
.section {
  padding: 0;
  background: transparent;
  position: relative;
}

.section-desafios {
  padding-top: var(--spacing-16);
}

.section-prontuario {
  padding-bottom: var(--spacing-16);
}

.section-auditorias {
  padding-top: var(--spacing-16);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.section-grid.reverse {
  direction: ltr;
}

.section-grid.reverse .section-text-content {
  order: 1;
}

.section-grid.reverse .section-illustration {
  order: 2;
}

.section-illustration {
  position: relative;
  width: 100%;
  max-width: 587px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-illustration-bg {
  position: absolute;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 1 / 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.section-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  will-change: transform;
}

.section-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 20px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.3s ease;
}

.badge-purple {
  background: #FFFFFF;
  color: #8B5CF6;
  border: 2px solid #8B5CF6;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.45);
  opacity: 1 !important;
  transform: none !important;
  transition: all 0.3s ease;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  line-height: 1.0;
  font-weight: 700;
  color: var(--neutral-600);
  letter-spacing: -0.02em;
}

.section-lead {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.5;
  font-weight: 400;
  color: var(--neutral-600);
}

.section-body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--neutral-600);
}

/* ==========================================================================
   DIVIDERS
   ========================================================================== */

.section-divider,
.features-divider {
  width: 100%;
  height: 1px;
  border-top: 2px dashed var(--neutral-300);
}

/* ==========================================================================
   SECTION 3: 3-COLUMN FEATURES GRID
   ========================================================================== */
.section-features {
  background: transparent;
  padding: var(--spacing-8) 0;
}

.features-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: var(--spacing-8);
  padding-bottom: var(--spacing-8);
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-icon {
  flex-shrink: 0;
  color: var(--neutral-900);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  line-height: 1.2;
  font-weight: 400;
  color: var(--neutral-900);
}

.feature-body {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--neutral-600);
}

/* ==========================================================================
   STEPS SECTION (Como funciona) — Inside section illustration with glow BG
   ========================================================================== */
.section-como-funciona .section-illustration {
  max-width: none;
  aspect-ratio: auto;
}

.steps-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.steps-list .step-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  padding: 28px 24px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid var(--neutral-100);
  transition: box-shadow 0.3s ease;
}

.steps-list .step-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.steps-list .step-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--purple-600);
  line-height: 1;
}

.steps-list .step-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto;
}

.steps-list .step-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--neutral-900);
  line-height: 1.3;
}

.steps-list .step-description {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--neutral-600);
}

/* Fallback: standalone step blocks (hidden now, rendered inside wrapper) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: var(--spacing-8);
  padding-bottom: var(--spacing-8);
}

.homepage-sections .block-block-content--type-homepage-step {
  display: contents;
}

.block-block-content--type-homepage-step .step-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  padding: 32px 24px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid var(--neutral-100);
  transition: box-shadow 0.3s ease;
}

.block-block-content--type-homepage-step .step-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--purple-600);
  line-height: 1;
}

.step-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.step-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--neutral-900);
  line-height: 1.3;
}

.step-description {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--neutral-600);
}

/* ==========================================================================
   PRICING SECTION — Figma-faithful design (node 521:936 + 522:1370)
   ========================================================================== */

/* --- Section Badge (Figma: white bg, purple text, purple stroke, glow) --- */
.badge-planos {
  background: #FFFFFF;
  color: var(--purple-500, #8B5CF6);
  border: 1px solid var(--purple-500, #8B5CF6);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 9999px;
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.5);
  letter-spacing: 0;
  text-transform: none;
}

.section-planos {
  padding-bottom: var(--spacing-16);
}

.section-planos-header {
  padding-top: 0;
  padding-bottom: var(--spacing-4);
}

.section-planos .section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 36px;
  color: var(--neutral-600, #475569);
}

.section-planos .section-lead {
  font-size: 16px;
  line-height: 20px;
  color: var(--neutral-600, #475569);
}

.planos-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* --- Background Effects Wrapper --- */
.pricing-grid-wrapper {
  position: relative;
  overflow: visible;
}

.pricing-bg-effects {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 225%;  /* 2880 / 1280 ≈ 225% to overflow */
  max-width: none;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* --- Pricing Grid (Figma: horizontal, itemSpacing: 8px) --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-top: var(--spacing-8);
  padding-bottom: var(--spacing-8);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* --- Card Base (Figma: cornerRadius 12, padding 48/24, dual shadow) --- */
.pricing-card {
  border: none;
  border-radius: 12px;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #FFFFFF;
  box-shadow:
    0 16px 24px -4px rgba(0, 0, 0, 0.12),
    0 2px 6px 0 rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  box-shadow:
    0 20px 32px -4px rgba(0, 0, 0, 0.16),
    0 4px 8px 0 rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* --- Highlighted Card (Figma: purple stroke, 3 shadows with COLOR_BURN glow) --- */
.pricing-card--highlighted {
  border: 1px solid var(--purple-900, #4C1D95);
  box-shadow:
    0 16px 24px -4px rgba(76, 29, 149, 0.40),
    0 2px 6px 0 rgba(167, 139, 250, 1.0),
    0 0 50px 0 rgba(109, 40, 217, 0.35);
  z-index: 2;
}

.pricing-card--highlighted:hover {
  box-shadow:
    0 20px 32px -4px rgba(76, 29, 149, 0.50),
    0 4px 8px 0 rgba(167, 139, 250, 1.0),
    0 0 60px 0 rgba(109, 40, 217, 0.45);
  transform: translateY(-4px);
}

/* --- Floating Badge (Figma: positioned y:-12, outside card padding) --- */
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--purple-700, #6D28D9);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 9999px;
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.5);
  letter-spacing: 0;
  text-transform: none;
  z-index: 3;
  white-space: nowrap;
}

/* --- Typography --- */
.pricing-name {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  line-height: 28px;
}

.pricing-description {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 18px;
  color: #000000;
  margin: 0;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  line-height: 28px;
}

.pricing-period {
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  line-height: 18px;
}

/* --- CTA Wrapper (Figma: padded 16px top/bottom) --- */
.pricing-cta-wrapper {
  padding: 16px 0;
}

/* --- Feature List --- */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
}

.pricing-features li {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--neutral-700);
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--purple-600);
  font-weight: 700;
}

.btn-block {
  width: 100%;
  text-align: center;
}


/* ==========================================================================
   FOOTER (LIGHT WHITE AS IN FIGMA NODE 344:7911)
   ========================================================================== */
.footer {
  background: #FFFFFF;
  border-top: 1px solid var(--neutral-100);
  padding: 64px 0;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo-img {
  height: 90px;
  width: auto;
  display: block;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--purple-600);
}




/* ==========================================================================
   BASIC PAGE (institutional content pages)
   ========================================================================== */
.page-content {
  padding: 80px 0;
  background: var(--neutral-0);
}

.page-body {
  max-width: 720px;
  margin: 0 auto;
}

.page-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 32px;
  line-height: 1.15;
}

.page-text {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--neutral-700);
}

.page-text h3,
.page-text h4 {
  font-family: var(--font-heading);
  color: var(--neutral-900);
  margin-top: 32px;
  margin-bottom: 12px;
}

.page-text h3 {
  font-size: var(--fs-h3);
  line-height: 1.3;
}

.page-text h4 {
  font-size: var(--fs-h4);
  line-height: 1.35;
}

.page-text p {
  margin-bottom: 16px;
}

.page-text ul,
.page-text ol {
  margin: 0 0 16px 24px;
  padding: 0;
}

.page-text li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-text a {
  color: var(--purple-700);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.page-text a:hover {
  color: var(--purple-900);
}

.page-text strong {
  font-weight: 700;
  color: var(--neutral-900);
}

/* Motion preference */
@media (prefers-reduced-motion: reduce) {
  .header,
  .btn-primary,
  .btn-secondary,
  .logo-item,
  .logo-grid {
    transition: none;
  }
  .logo-grid {
    animation: none;
  }
}

/* Desktop compacto → coluna mais cedo */
@media (max-width: 1200px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 56px;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .hero-content {
    align-items: center;
    max-width: 100%;
  }
  .hero-mockup-wrapper {
    width: 100%;
    max-width: 520px;
  }
  .hero-mockup-img {
    position: relative;
    width: 100%;
    height: auto;
    right: auto;
    top: auto;
  }
  .section-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .section-grid.reverse .section-text-content {
    order: 2;
  }
  .section-grid.reverse .section-illustration {
    order: 1;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .pricing-bg-effects {
    display: none;
  }
  .section-illustration {
    max-width: 400px;
  }
  .section-como-funciona .section-illustration {
    max-width: none;
  }
  .section-steps-wrapper {
    padding: 32px 0;
  }
}

/* Tablet landscape */
@media (max-width: 960px) {
  .hero-mockup-wrapper {
    max-width: 440px;
  }
  .hero-actions {
    gap: 16px;
  }
}

/* Tablet portrait and mobile */
@media (max-width: 768px) {
  .header {
    padding: 16px 0;
  }
  .nav-toggle-label {
    display: flex;
  }
  .navbar-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--neutral-0);
    padding: 100px 32px 32px;
    gap: 24px;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 10;
  }
  .navbar-menu .nav-link {
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--neutral-100);
  }
  .nav-toggle-input:checked ~ .navbar-menu {
    right: 0;
  }
  .btn-header-cta .btn-text {
    display: none;
  }
  .btn-header-cta {
    padding: 0;
    width: 40px;
    height: 40px;
    justify-content: center;
    background: transparent;
    color: var(--neutral-900) !important;
  }
  .btn-header-cta:hover {
    background: transparent;
  }
  .btn-header-cta-icon-wrapper {
    width: 36px;
    height: 36px;
  }
  .navbar-drawer-cta {
    display: block;
    width: 100%;
    margin-top: 16px;
  }
  .btn-drawer-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
  }
  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
    opacity: 0.9;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
  .pricing-card--highlighted {
    transform: none;
  }
  .pricing-card {
    padding: 32px 20px;
  }
  .hero {
    padding-top: 80px;
    padding-bottom: 64px;
  }
  .hero-mockup-wrapper {
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 24px;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .nr-planos__grid {
    grid-template-columns: 1fr;
    overflow: hidden;
    border-radius: 14px;
  }
  .nr-plano-card,
  .nr-plano-card:last-child,
  .nr-plano-card:nth-child(2n),
  .nr-plano-card:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid #d9dee8;
    border-radius: 0;
  }
  .nr-plano-card:last-child {
    border-bottom: 0;
  }
  .nr-plano-card--featured {
    margin: 0;
  }
  .section-planos-header {
    padding-top: var(--spacing-8);
  }
  .planos-intro {
    align-items: flex-start;
  }
  .section-steps-wrapper {
    padding: 24px 0;
  }
  .steps-list .step-card {
    padding: 24px 20px;
  }
  .step-number {
    font-size: 36px;
  }
  .pricing-price {
    font-size: 32px;
  }
  .client-logos {
    padding: 32px 0;
  }
  .logos-container {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40px, black calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 40px, black calc(100% - 40px), transparent 100%);
  }
  .logo-marquee-track,
  .logo-grid {
    gap: 40px;
  }
  .logo-item img {
    max-height: 32px;
  }
  .footer-container {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
  .footer-logo-img {
    height: 60px;
  }
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section-illustration {
    max-width: 300px;
  }
}

/* Very small mobile */
@media (max-width: 374px) {
  .hero-title {
    font-size: 32px;
  }
  .hero-actions {
    gap: 16px;
  }
  .btn-primary,
  .btn-secondary {
    padding: 14px 24px;
    font-size: 14px;
  }
}

/* ==========================================================================
   COMO FUNCIONA - V2 (Figma Update)
   ========================================================================== */

.section-como-funciona-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 0 112px 0;
  position: relative;
}

.section-text-content-v2 {
  align-items: flex-end;
  text-align: right;
  width: 100%;
}

.section-text-content-v2 .section-title {
  text-align: right;
}

.section-text-content-v2 .section-lead {
  text-align: right;
}

.section-como-funciona-container .steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  flex-direction: row;
}

.section-como-funciona-container .step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 16px 16px 16px 48px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 16px 24px -4px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.section-como-funciona-container .step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--purple-600);
}

.section-como-funciona-container .step-title {
  font-size: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #6d28d9;
  margin: 0;
}

.section-como-funciona-container .step-description {
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 400;
  color: #0f172a;
  margin: 0;
  line-height: 20px;
}

.step-card-glow {
  position: absolute;
  bottom: 0;
  left: -50%;
  width: 200%;
  height: auto;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.step-content-wrapper {
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) {
  .section-como-funciona-container .steps-list {
    grid-template-columns: 1fr;
  }
  .section-text-content-v2 {
    align-items: center;
    text-align: center;
  }
  .section-text-content-v2 .section-title,
  .section-text-content-v2 .section-lead {
    text-align: center;
  }
}
