/* ============================================
   Portal de Negócios Sebrae MG - Design System v10
   ============================================ */

/* === CSS Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {



  /* Cores do Sebrae */
  --azul: #2a4fda;
  --atlantico: #0b2574;
  --ceu: #65b7fb;  
  --pera: #cadf61;
  --jacaranda: #8f85f4;
  --begonia: #ff80c8;
  --acerola: #f39d72;
  --ipe: #f2afab;
  --umbu: #e7f79e;
  --maraca: #be64e3;
  --guaca: #61b466;
  --canario:#fbec76;

  /*Portal*/
  --verde-portal: #84f4bc;
  --azul-portal: #40bbff;
  --offwhite: #eff3ee;

  /*Semantic*/
  --comprador: var(--pera);
  --vendedor: var(--begonia);
  --primaria: var(--atlantico);
  --secundaria: var(--azul);
  --terciaria: var(--ceu);


  --primary-blue: #0052CC;
  --primary-blue-dark: #0747A6;
  --primary-blue-light: #4C9AFF;
  --accent-yellow: #FFAB00;
  --accent-orange: #FF5630;
  --accent-teal: #00B8D9;
  --accent-green: #36B37E;

  --gradient-hero: linear-gradient(135deg, #0052CC 0%, #0065FF 50%, #2684FF 100%);
  --gradient-primary: linear-gradient(135deg, #0052CC 0%, #2684FF 100%);
  --gradient-atlantico-ceu: linear-gradient(135deg, var(--atlantico) 0%, var(--ceu) 100%);
  --gradient-ceu-azul: linear-gradient(135deg, var(--ceu) 0%, var(--azul) 100%);
  --gradient-ceu-begonia: linear-gradient(135deg, var(--ceu) 0%, var(--begonia) 100%);
  --gradient-soft: linear-gradient(135deg, #ffffff 0%, var(--offwhite) 100%);
  --gradient-azul-atlantico: linear-gradient(135deg, #061a57 0%, var(--atlantico) 100%);
  --gradient-portal: linear-gradient(135deg, var(--verde-portal) 0%, var(--azul-portal) 100%);
  --gradient-portal-inverse: linear-gradient(135deg, var(--azul) 0%, var(--verde-portal) 100%);
  --gradient-jacaranda-ipe: linear-gradient(135deg, #5944EF 0%, var(--ipe) 100%);

  /* Neutrals (adjusted for better contrast) */
  --gray-900: #172B4D;
  --gray-800: #253858;
  --gray-700: #42526E;
  --gray-600: #42526E;
  --gray-500: #7A869A;
  --gray-400: #97A0AF;
  --gray-300: #C1C7D0;
  --gray-200: #DFE1E6;
  --gray-100: #EBECF0;
  --gray-50: #F4F5F7;
  --white: #FFFFFF;

  /* === Semantic Colors === */
  --success: #36B37E;
  --warning: #FFAB00;
  --error: #FF5630;
  --info: #00B8D9;

  /* === Typography === */
  --font-primary: "Montserrat", sans-serif;
  --font-heading: "Poppins", sans-serif;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.75rem;
  /* Adjusted scalings */
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-regular: 400;

  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;

  /* === Spacing === */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-18: 4.5rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-48: 12rem;
  --space-64: 16rem;
  --space-7: 1.75rem;

  /* === Shadows & Effects === */
  --shadow-sm: 0 1px 2px rgba(9, 30, 66, 0.25);
  --shadow-md: 0 4px 8px -2px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31);
  --shadow-lg: 0 8px 16px -4px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31);
  --shadow-xl: 0 12px 24px -6px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31);
  --shadow-2xl: 0 20px 48px -12px rgba(9, 30, 66, 0.25);

  --shadow-blue-glow: 0 0 20px rgba(76, 154, 255, 0.6);
  --shadow-orange-glow: 0 8px 20px rgba(255, 86, 48, 0.4);

  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: 1px solid rgba(255, 255, 255, 0.3);
  --glass-blur: blur(12px);

  /* === Border Radius === */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* === Layout === */
  --container-max: 1440px;
  --container-padding: var(--space-6);
  --header-height: 96px;

  /* === New Hero Colors === */
  --hero-green: #95D1AF;
  --hero-blue: #58B7E5;
  --hero-gradient-new: linear-gradient(-65deg, var(--hero-green) 0%, var(--hero-blue) 65%);

  /* === Transitions === */
  --transition-fast: 200ms cubic-bezier(0.2, 0, 0, 1);
  --transition-base: 300ms cubic-bezier(0.2, 0, 0, 1);
  --transition-smooth: 500ms cubic-bezier(0.2, 0, 0, 1);
  --transition-slow: 500ms cubic-bezier(0.2, 0, 0, 1);

  /* === Z-Index === */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-tooltip: 500;

  /* Compatibility tokens used across sections */
  --font-size-md: 1rem;
  --secondary-blue: #2684FF;
  --gradient-blue: var(--gradient-primary);
  --blue-light: rgba(42, 79, 218, 0.1);
  --blue-lighter: #eef2fb;
  --black: #111827;
}

/* === Google Fonts — loaded via <link> in HTML for faster rendering === */

/* === Base Styles === */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Scroll Progress Bar === */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--azul);
  z-index: calc(var(--z-fixed) + 1);
  transition: width 0.1s linear;
  pointer-events: none;
}

/* === Typography === */

h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

p {
  font-family: var(--font-primary);
  margin-bottom: var(--space-4);
  color: var(--gray-700);
  line-height: var(--line-height-relaxed);
}

a {
  font-family: var(--font-primary);
  max-height: 50px;
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-blue-light);
}

/* === Container === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* === Section === */
section {
  padding: var(--space-20) 0;
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

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

/* === Buttons === */
.btn {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
  background: var(--atlantico);
  color: var(--offwhite);
  border: 1px solid var(--atlantico);  
}

.btn-primary:hover {
  background: var(--offwhite);
  color: var(--atlantico);
  border: 1px solid var(--offwhite);
}

.btn-white {
  background: var(--atlantico);
  color: var(--offwhite);
  border: 1px solid var(--atlantico);  
}

.btn-white:hover {
  background: var(--ceu);
  color: var(--offwhite);
  border: 1px solid var(--ceu);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary-blue-dark);
  border-color: var(--primary-blue-light);
}

.btn-float {
  background: var(--azul);
  color: var(--offwhite);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--azul);
}


.btn-float:hover {
  background: var(--ceu);
  color: var(--offwhite);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ceu);
}

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

.btn-ghost:hover {
  background: var(--offwhite);
  color: var(--atlantico);
  border: 1px solid var(--offwhite);
}

/* === Floating WhatsApp === */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  aspect-ratio: 1 / 1;
  max-height: none;
  max-width: none;
  border-radius: 50%;
  background: #61D66A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  z-index: var(--z-fixed);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.whatsapp-float img {
  width:  50%;
  height: 50%;
  display: block;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.45);
  outline-offset: 3px;
}

.register-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: var(--z-fixed);
}

/* === Cards === */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-slow),
    box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2xl);
}

/* === Header === */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--gradient-atlantico-ceu);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
  border-bottom: 1px solid rgba(255, 255, 255, 0.100);
}

header.scrolled {
  background: var(--gradient-atlantico-ceu);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

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

.logo {
  height: 56px;
  width: auto;
}


nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  align-items: center;
}

nav a {
  color: var(--offwhite);
  font-weight: var(--font-weight-semibold);
  transition: color var(--transition-fast);
  font-size: 15px;
}

nav a:hover {
  color: var(--ceu);
}

nav a:active{
  color: var(--umbu);
}

.header-actions {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none !important;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--offwhite);
  transition: all var(--transition-base);
}

/* === Hero Banner Section === */
#hero-banner {
  background: var(--white);
  padding-top: var(--header-height);
  padding-bottom: 16px;
  position: relative;
}

.mini-banner {
  background: var(--white);
  padding-top: 0;
  padding-bottom: 64px;
}

.mini-banner .container {
  max-width: none;
  padding: 0;
}

.mini-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  min-width: 0;
}

.hero-media {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  flex-shrink: 0;
  margin: 0;
  border-radius: 0px;
  background: #e7e7e7;
  overflow: hidden;
  position: relative;
  box-shadow: 0 22px 48px rgba(17, 24, 39, 0.18);
}

.hero-buttons {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  margin-top: 24px;
}

.hero-carousel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  position: relative;
}

.hero-carousel-track {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  transition: transform 0.6s ease;
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  max-width: 100%;
}

.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-media:has(.hero-html) {
  background: transparent;
}

.hero-html {
  position: relative;
  overflow: hidden;
  color: var(--offwhite);
  background-color: var(--atlantico);
  background-image: url(assets/finais/banner_html_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left center;
  /* Proporção do JPG (1920×700); altura nunca acima dos 700px do ficheiro */
  aspect-ratio: 1920 / 700;
  width: 100%;
  max-width: 100%;
  max-height: 700px;
  min-width: 0;
  box-sizing: border-box;
  min-height: clamp(260px, 38vw, 400px);
}

.hero-html::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 42%,
    rgba(11, 37, 116, 0.22) 62%,
    rgba(11, 37, 116, 0.42) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-html__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: clamp(var(--space-8), 4vw, var(--space-16)) var(--container-padding);
  max-width: min(100%, var(--container-max));
  width: 100%;
  margin: 0 auto;
  min-height: inherit;
  min-width: 0;
  box-sizing: border-box;
}

.hero-html__copy {
  text-align: left;
  /* Equilíbrio: largura para o título sem invadir gráficos/homem à esquerda (mobile: 100%) */
  max-width: min(35rem, 55%);
  min-width: 0;
  width: 100%;
  margin-inline-start: auto;
  padding: var(--space-2) 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.hero-html__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  color: var(--white);
  text-align: left;
  margin-bottom: var(--space-6);
}

.hero-html__lead {
  font-family: var(--font-primary);
  font-size: clamp(var(--font-size-sm), 1.65vw, var(--font-size-lg));
  line-height: var(--line-height-relaxed);
  color: rgba(255, 255, 255, 0.96);
  text-align: left;
  max-width: 100%;
  margin: 0 0 var(--space-8);
}

.hero-html__lead strong {
  font-weight: var(--font-weight-bold);
  color: inherit;
}

.hero-html__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: flex-start;
}

.hero-html__cta {
  min-height: 44px;
}

.hero-html__cta--primary {
  background: var(--umbu);
  color: var(--atlantico);
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-10);
  min-width: min(100%, 17.5rem);
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.hero-html__cta--primary:hover {
  background: #dce88a;
  color: var(--atlantico);
}

.hero-html__cta--primary:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* Hero: mesmo tratamento visual do “mobile” (gradiente vertical, cartão no copy, CTA largura útil) abaixo de 1200px */
@media (max-width: 1199px) {
  #hero-banner {
    overflow-x: clip;
  }

  #hero-banner .hero-stack {
    align-items: stretch;
    max-width: 100%;
  }

  .hero-media {
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.14);
  }

  .hero-html {
    aspect-ratio: unset;
    min-height: clamp(460px, 68vw, 580px);
    background-position: 30% center;
  }

  .hero-html::before {
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(11, 37, 116, 0.35) 45%,
      rgba(11, 37, 116, 0.65) 100%
    );
  }

  .hero-html__inner {
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    min-height: 100%;
    /* Espaço no topo para a imagem respirar; copy encostada à base do hero */
    padding-top: clamp(var(--space-12), 12vw, 5rem);
    padding-bottom: var(--space-8);
    padding-inline: clamp(var(--space-3), 4vw, var(--container-padding));
  }

  .hero-html__copy {
    max-width: 100%;
    width: 100%;
    margin-inline-start: 0;
    padding: var(--space-8) var(--space-7);
    background: rgba(11, 37, 116, 0.58);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-sizing: border-box;
  }

  .hero-html__lead {
    max-width: none;
    margin-bottom: var(--space-6);
  }

  .hero-html__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-html__cta--primary {
    width: 100%;
    justify-content: center;
  }
}

.hero-carousel-btn {
  
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.85);
  color: #0b1a33;
  display: grid;
  place-items: center;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.hero-carousel-btn.prev {
  left: 16px;
  display: none;
}

.hero-carousel-btn.next {
  right: 16px;
  display: none;
}

.hero-carousel-btn:hover {
  transform: translateY(-50%) scale(1.05);
  background: #ffffff;
}

.hero-carousel-btn:focus-visible {
  outline: 2px solid #0b1a33;
  outline-offset: 2px;
}

.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-carousel-dot:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.hero-carousel-dot.is-active {
  width: 26px;
  background: #ffffff;
}

/* Hide carousel controls when there's only one slide */
.hero-carousel:has(.hero-slide:only-child) .hero-carousel-btn,
.hero-carousel:has(.hero-slide:only-child) .hero-carousel-dots {
  display: none;
}

.hero-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.hero-button {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;  
  padding: 16px;
  height: 144px;
  max-height: none;
  background: #eff3ee;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s;
}

.hero-button-begonia:hover{
  
  background: #005fb350 !important;
}

.hero-button-pera:hover{  
  background: #00eaaf50 !important;
}

.hero-button-canario:hover{
  background: #8e80f250 !important;
}

.hero-button-acerola:hover{
  background: #f2a44250 !important;
}

.hero-button:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 2px;
}

.hero-button-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 0;
  flex-shrink: 0;
}

.hero-button-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.hero-button-title {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  line-height: 120%;
  color: var(--atlantico);
}

.hero-button-desc {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  color: var(--atlantico);
  line-height: 120%;
}

.hero-button-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  white-space: pre-wrap;
}

/* Hero Animation System */
.hero-animate {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeInUp 0.8s ease-out forwards;
}

.hero-animate[data-delay="0"] {
  animation-delay: 0.2s;
}

.hero-animate[data-delay="1"] {
  animation-delay: 0.4s;
}

.hero-animate[data-delay="2"] {
  animation-delay: 0.6s;
}

.hero-animate[data-delay="3"] {
  animation-delay: 0.8s;
}

.hero-animate[data-delay="4"] {
  animation-delay: 1s;
}

@keyframes heroFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Animations */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  #hero-banner {    
    padding-bottom: 32px;
  }

  .mini-banner {
    padding-bottom: 32px;
  }

  .mini-banner img {
    border-radius: 0;
  }

  .hero-stack {
    padding: 0;
    gap: 24px;
  }

  .hero-media {
    width: 100%;
    margin: 0;
  }

  .hero-html {
    aspect-ratio: unset;
    min-height: auto;
  }

  .hero-html__inner {
    padding-top: clamp(140px, 38vw, 200px);
    min-height: 0;
  }

  .hero-carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .hero-carousel-btn.prev {
    left: 12px;
  }

  .hero-carousel-btn.next {
    right: 12px;
  }

  .hero-buttons {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 24px;
  }

  .hero-button {
    padding: 10px 24px 10px 10px;
    align-items: center;
  }

  .hero-button-title {
    font-size: 12px;
  }

  .hero-button-desc {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  #hero-banner {    
    padding-bottom: 24px;
  }
}

@media (max-width: 900px) {
  .widget-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Hide mobile class */

/* === Trust Bar === */

.trust-bar-content {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* === Interactive Benefits Section === */
#interactive-benefits {
  background: var(--white);
}

.benefits-accordion {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  column-gap: var(--space-12);
  row-gap: 20px;
  /* start: evita faixa vazia no topo quando min-height > altura real das abas */
  align-items: start;
  align-content: start;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  min-height: 512px;
  position: relative;
}

.benefits-accordion-item {
  display: contents;
}

.benefits-tabs {
  padding-right: var(--space-8);
  justify-self: center;
  /* border-right: 2px solid var(--atlantico); */
  height: 512px;
    display: flex;
    align-items: center;
}

.benefits-tab-list {
  display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: end;
}

.benefits-tab {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--transition-base), transform var(--transition-base);
  text-align: center;
  width: auto;
  position: relative;
  justify-content: center;
  grid-column: 1;
  justify-self: end;
}

.benefits-tab-icon {
  display: block;
}

.benefits-tab-icon svg {
  width: 20px;
  height: 20px;
}

.benefits-tab-label {
  font-size: 1.05rem;
  font-weight: var(--font-weight-bold);
  color: #111827;
  transition: color var(--transition-base);
}


.benefits-tab:hover {
  transform: translateY(-2px);
}

.benefits-tab.active {
  transform: translateY(-2px);
  color: var(--azul);
}

.benefits-tab.active .benefits-tab-label {
  color: var(--azul);
}

.benefits-tab.active .benefits-tab-icon {  
  transform: scale(1.02);
}

.benefits-tab h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-700);
  margin-bottom: var(--space-2);
  transition: color var(--transition-base), transform var(--transition-base);
}

.benefits-tab.active h3 {
  color: var(--primary-blue);
}

.benefits-tab p {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
  line-height: var(--line-height-relaxed);
  margin: 0;
  transition: color var(--transition-base);
}

.benefits-tab.active p {
  color: var(--gray-600);
}

.benefits-visual {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;  
  min-height: 560px;
  background: #ffffff;
  width: 100%;
}

/* .benefits-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(90deg, rgba(0, 82, 204, 0.55), rgba(88, 183, 229, 0.65), rgba(0, 82, 204, 0.55));
  opacity: 0.7;
} */

.benefits-visual-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  display: flex;
  gap: 12px;
  flex-direction: column;
  align-items: stretch;
  padding: 24px;
  pointer-events: none;
  z-index: 0;
  backface-visibility: hidden;
  will-change: opacity, transform;
  transition: opacity var(--transition-slow) ease, transform var(--transition-slow) ease;
  transform: translateY(8px);
}

.benefits-visual-content.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 1;
}

.benefits-visual-text {
  padding: 0 0 var(--space-4);
  width: 100%;
}

.benefits-visual-text h3 {
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}

.benefits-visual-text p {
  font-size: var(--font-size-base);
  color: var(--gray-600);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.benefits-image {
  width: 640px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
}

.benefits-image img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 16px;

}

/* === Benefits Accordion Panel (desktop: stacked in col 2; mobile: inline expand) === */
.benefits-accordion-panel {
  grid-column: 2;
  grid-row: 1 / -1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  display: flex;
  gap: 12px;
  flex-direction: column;
  align-items: stretch;
  padding: 24px;
  pointer-events: none;
  will-change: opacity, transform;
  transition: opacity var(--transition-slow) ease, transform var(--transition-slow) ease;
  transform: translateY(8px);
  background: #ffffff;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 460px;
}

.benefits-accordion-item.active .benefits-accordion-panel {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.benefits-chevron {
  display: none;
}

/* === CTA Highlight Section === */
.cta-highlight {
  background-color: var(--azul);
  background-image: url("assets/finais/bg-cta.jpg"), var(--gradient-portal-inverse);
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: cover, auto;
  
}

.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  text-align: center;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: radial-gradient(circle at top left, rgba(101, 183, 251, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255, 128, 200, 0.16), transparent 50%); */
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto var(--space-8);
}

.cta-content h2 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-regular);
  color: var(--white);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-tight);
}

.cta-content p {
  font-size: var(--font-size-lg);
  color: var(--white);
  margin: 0;
}

/* === Features Showcase Section - Vertical Timeline === */
#features-showcase {
  padding: 80px 0;
  background: #FAFBFC;
  position: relative;
  overflow: visible;
}

.features-showcase-header {
  text-align: center;
  margin-bottom: var(--space-24);
}

.features-title {
  font-size: clamp(1rem, 3vw, 2.5rem);
  font-weight: var(--font-weight-regular);
  color: var(--gray-900);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
}

.features-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.125rem);
  color: var(--gray-600);
  line-height: 1.6;
  margin: var(--space-4) auto 0;
  max-width: 680px;
}

.features-showcase-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-16);
}

.features-showcase-cta-hint {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
  text-align: center;
}

.features-showcase-cta .btn-primary:hover,
.features-showcase-cta .btn-primary:focus-visible,
.bento-showcase-header .btn-white:hover,
.bento-showcase-header .btn-white:focus-visible,
.ecosystem-right .btn-primary:hover,
.ecosystem-right .btn-primary:focus-visible {
  background: var(--primary-blue-dark);
  color: var(--offwhite);
  border-color: var(--primary-blue-dark);
}

/* Timeline Container */
.timeline-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* The vertical line track */
.timeline-track {
  position: absolute;
  top: 0;
  left: 50%;
  /* Centered */
  width: 2px;
  height: 100%;
  background: var(--gray-200);
  z-index: 1;
  transform: translateX(-50%);
}

/* The dragging/progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  /* Centered */
  width: 2px;
  height: 0%;
  /* JS will update this */
  background: var(--ipe);
  /* Using the yellow accent */
  background: linear-gradient(to bottom, var(--ipe), var(--acerola));
  transition: height 0.1s linear;
  z-index: 2;
  box-shadow: 0 0 10px rgba(255, 171, 0, 0.4);
  transform: translateX(-50%);
}

/* Timeline Items Base */
.timeline-item {
  position: relative;
  margin-bottom: var(--space-20);
  /* Spacing */
  width: 50%;
  /* Takes half width */
  box-sizing: border-box;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Espaço extra entre o bloco Comprar e o bloco Vender */
.timeline-container > .timeline-item:nth-child(2) {
  margin-bottom: calc(var(--space-20) + var(--space-12));
}

/* Item 1, 3 (Even Children in DOM because of track) -> Right Side */
.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding-left: 60px;
  text-align: left;
}

/* Item 2 (Odd Child) -> Left Side */
.timeline-item:nth-child(odd) {
  margin-left: 0;
  padding-right: 60px;
  text-align: right;
}

/* The dot on the line */
.timeline-dot {
  position: absolute;
  top: 40px;
  width: 12px;
  height: 12px;
  background: var(--gray-900);
  border-radius: 50%;
  z-index: 3;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* Dot Position for Right Items */
.timeline-item:nth-child(even) .timeline-dot {
  left: 0;
  transform: translateX(-50%);
}

/* Dot Position for Left Items */
.timeline-item:nth-child(odd) .timeline-dot {
  right: 0;
  transform: translateX(50%);
}

.timeline-item:hover .timeline-dot {
  transform: translateX(-50%) scale(1.5);
}

.timeline-item:nth-child(odd):hover .timeline-dot {
  transform: translateX(50%) scale(1.5);
}

.timeline-item.active .timeline-dot {
  background: var(--acerola);
  box-shadow: 0 0 0 4px #f39d7220;
  /* Maintain centering transform + scale */
}

.timeline-item:nth-child(even).active .timeline-dot {
  transform: translateX(-50%) scale(1.2);
}

.timeline-item:nth-child(odd).active .timeline-dot {
  transform: translateX(50%) scale(1.2);
}

.timeline-item.active .timeline-step-title {
  color: var(--primary-blue);
  transition: color 0.3s ease;
}

/* Content Layout */
.timeline-content {
  display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Timeline side images */
.timeline-image {
  position: absolute;
  top: 50%;
  width: 400px;
  max-width: 40vw;
  height: auto;
  transform: translateY(-50%);
  z-index: 1;
}

.timeline-item:nth-child(even) .timeline-image--left {
  right: calc(100% + 90px);
}

.timeline-item:nth-child(odd) .timeline-image--right {
  left: calc(100% + 104px);
}

/* Text Side */
.timeline-text {
  position: relative;
  z-index: 2;
  width: 80%;
}

.timeline-step-title {
  font-size: 1.6rem;
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-6);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

/* Align flex column items */
.timeline-item:nth-child(even) .timeline-step-title {
  align-items: flex-start;
}

.timeline-item:nth-child(odd) .timeline-step-title {
  align-items: flex-end;
}

.step-number {
  font-size: 3rem;
  color: var(--gray-300);
  /* Muted number */
  display: block;
  margin-bottom: var(--space-2);
  font-variant-numeric: tabular-nums;
}

.timeline-description {
  font-size: 0.96rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.timeline-description strong {
  color: var(--gray-900);
  display: block;
  /* or inline */
  margin-bottom: var(--space-2);
}

.timeline-description.timeline-steps {
  margin: 0;
  padding-left: 1.35em;
  list-style-position: outside;
}

.timeline-description.timeline-steps li {
  margin-bottom: var(--space-3);
  padding-left: 0.35em;
}

.timeline-description.timeline-steps li:last-child {
  margin-bottom: 0;
}

.timeline-description.timeline-steps li::marker {
  color: var(--primary-blue);
  font-weight: var(--font-weight-bold);
}

.timeline-item:nth-child(odd) .timeline-steps {
  display: inline-block;
  text-align: left;
}

.timeline-item.timeline-item--text-left {
  text-align: left;
}

.timeline-item.timeline-item--text-left .timeline-step-title {
  align-items: flex-start;
}

.timeline-item.timeline-item--text-left .timeline-steps {
  display: block;
  width: 100%;
}

@media (max-width: 1024px) {
  .timeline-image {
    width: 100%;
    max-width: 100%;
  }
}

/* Visuals Side - Hidden/Removed by User, styles kept just in case or can be removed */

/* Glass Card Base Style */

/* VISUAL 1: Chat Bubbles */

/* VISUAL 2: Matches Stack */


/* VISUAL 3: Charts */

@keyframes floatUp {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Mobile / tablet narrow: stack timeline like mobile */
@media (max-width: 1023px) {
  .timeline-container {
    --timeline-container-inset: 24px;
    --timeline-axis-x: 20px;
    --timeline-item-indent: 40px;
    padding-left: var(--timeline-container-inset);
    /* Space for line on left */
  }

  .timeline-track {
    left: var(--timeline-axis-x);
    transform: none;
  }

  .timeline-progress {
    left: 0;
    width: 100%;
    transform: none;
  }

  .timeline-item {
    width: 100%;
    margin-left: 0 !important;
    padding-left: var(--timeline-item-indent) !important;
    /* Space from line */
    padding-right: 0 !important;
    text-align: left !important;
    margin-bottom: var(--space-16);
  }

  .timeline-container > .timeline-item:nth-child(2) {
    margin-bottom: calc(var(--space-16) + var(--space-8)) !important;
  }

  .timeline-dot {
    left: calc(var(--timeline-axis-x) - var(--timeline-container-inset) + 1px) !important;
    right: auto !important;
    top: 40px;
    transform: translateX(-50%) !important;
  }

  .timeline-item.active .timeline-dot {
    transform: translateX(-50%) scale(1.2) !important;
  }

  .timeline-item:nth-child(even) .timeline-step-title,
  .timeline-item:nth-child(odd) .timeline-step-title {
    align-items: flex-start;
  }

  .timeline-item:nth-child(odd) .timeline-steps {
    display: block;
    width: 100%;
  }
}

/* MatchIAs Demo */

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* New Helper Class for Sections */

/* Learning Demo */

.step-number {


  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--acerola);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
}

@keyframes growWidth {
  from {
    width: 0 !important;
  }
}

/* Journey Timeline Demo */

@keyframes pulse-icon {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Insights Demo */

/* === Section Headers === */
.section-header {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto var(--space-16);
}

.section-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  
  color: var(--acerola);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === Big Numbers === */
.big-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.big-number-value {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: var(--space-2);
}

/* === FAQ === */
.faq-item {
  background: var(--white);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition-slow), box-shadow var(--transition-base);
}



.faq-question {
  width: 100%;
  padding: var(--space-6);
  background: none;
  border: none;
  text-align: left;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  color: var(--gray-700);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary-blue);
}

.faq-icon {
  transition: transform var(--transition-slow);
  font-size: var(--font-size-xl);
  color: var(--primary-blue);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity var(--transition-base);
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-answer-content {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--gray-700);
  line-height: var(--line-height-relaxed);
}

/* === Footer === */
.partners {
  background: var(--gradient-soft);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.partners-title {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: var(--space-5);
  font-weight: var(--font-weight-semibold);
}

.partners-logos {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
  padding-top: 32px;
}

.partner-logo {
  color: #23376f;
  font-family: "Montserrat", sans-serif;
  font-weight: var(--font-weight-semibold);
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  letter-spacing: 0.01em;
  opacity: 0.88;
  white-space: nowrap;
}

.partner-logo img {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

.partner-google {
  font-weight: var(--font-weight-medium);
}

.partner-reclame {
  font-weight: var(--font-weight-semibold);
}

.partner-matchit {
  font-weight: 700;
}

.partner-beeviral {
  font-weight: 700;
}

footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--space-20) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 50px;
  margin-bottom: var(--space-6);
  filter: brightness(0) invert(1);
}

.footer-description {
  color: var(--gray-400);
  margin-bottom: var(--space-6);
}

.footer-section h4 {
  color: var(--white);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-800);
  text-align: center;
  color: var(--gray-500);
  font-size: var(--font-size-sm);
}

/* === Utilities === */

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0.95;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-in-up {
  animation: fadeInUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  :root {
    --font-size-6xl: 2.5rem;
    --font-size-5xl: 2rem;
    --font-size-4xl: 1.75rem;
  }

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

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .benefits-tabs {
    justify-self: center;
    border-right: none;
    padding-right: 0;
  }

  .benefits-tab-list {
    align-items: center;
  }

  .benefits-tab {
    text-align: center;
    justify-content: center;
    padding: 0;
  }

  .benefits-tab:hover {
    transform: translateY(-2px);
  }

  .benefits-tab.active {
    background: transparent;
  }

  .benefits-visual {
    min-height: 520px;
  }

  .cta-panel {
    padding: var(--space-12);
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-6xl: 2rem;
    --font-size-5xl: 1.75rem;
    --font-size-4xl: 1.5rem;
    --container-padding: var(--space-4);
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }

  .register-float {
    left: 16px;
    bottom: 16px;
  }

  .partners {
    padding: var(--space-7) 0;
  }

  .partners-logos {
    gap: var(--space-4) var(--space-6);
  }

  .partner-logo {
    font-size: 0.9rem;
  }

  .partner-logo img {
    height: 26px;
  }

  section {
    padding: var(--space-12) 0;
  }

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

  .cta-content h2 {
    font-size: var(--font-size-3xl);
  }

  .cta-content p {
    font-size: var(--font-size-base);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .benefits-visual {
    min-height: 520px;
    height: auto;
  }

  .benefits-tab h3 {
    font-size: var(--font-size-lg);
  }

  .features-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .big-numbers {
    grid-template-columns: 1fr;
  }

  .bifurcation-card {
    padding: var(--space-6);
  }
}

@media (max-width: 500px) {
  .logo {
    height: 39px;
  }

  .header-actions {
    gap: var(--space-2);
  }

  .header-actions .btn {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-xs);
  }
}

/* === Video Showcase Section === */
.video-showcase-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background-color: white;
  /* background: url('./assets/bg-video-2.png') no-repeat center center; */
  background-size: 100%;
}

/* Ensure white text for this dark section */
.video-showcase-section h2,
.video-showcase-section p {
  color: var(--atlantico);
}

.video-content-wrapper {
  position: relative;
  z-index: 2;
}

.video-header {
  text-align: center;
  margin-bottom: var(--space-20);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.video-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-blue);
  background: rgba(0, 82, 204, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.video-display-container {
  max-width: 100%;
}

.video-aspect-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border: 1px solid var(--offwhite);
}

/* Optional Overlay Gradient */

/* === Bento Grid Section === */
/* === Bento Grid V2 Section === */
.section-bento {
  padding: 80px 0;
  background: var(--gradient-soft);
}

.bento-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-16);
}

.bento-grid-v2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
  grid-auto-rows: minmax(312px, auto);
}

.bento-card-v2 {
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.bento-card-v2:hover {
  transform: translateY(-8px);
}

/* Base Colors */

/* Image Background Cards (Hero Style) */

/* Centered Content Layout (Reference Style) */

/* Bento Grid V2 - Strict 7-Card Reference Layout */
@media (min-width: 900px) {
  .bento-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    /* Rows: Top (Std), Middle (Bar), Bottom (Std) */
    grid-template-rows: 240px 180px 240px !important;
    grid-auto-rows: auto;
    gap: var(--space-4);
  }

  /* 
    Grid Map (3 Cols x 3 Rows):
    [ 1 ] [ 2 ] [ 3 ]  <- Row 1 (280px)
    [ 1 ] [ 4   4 ]    <- Row 2 (200px)
    [ 5 ] [ 6 ] [ 7 ]  <- Row 3 (280px)
  */

  /* Card 1: Tall Left (Spans Row 1 & 2) */
  .slot-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  /* Card 2: Top Mid */
  .slot-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  /* Card 3: Top Right */
  .slot-3 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  /* Card 4: Middle Wide (Spans Col 2 & 3) */
  .slot-4 {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
  }

  /* Card 5: Bot Left */
  .slot-5 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  /* Card 6: Bot Mid */
  .slot-6 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

  /* Card 7: Bot Right */
  .slot-7 {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
  }
}

/* Mobile Fallback */
@media (max-width: 899px) {
  .bento-grid-v2 {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }

  .bento-card-v2 {
    min-height: 260px;
  }
}

/* Card Styling - Reference strictness */
.bento-card-v2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
}

.bg-azul {
  background-color: var(--atlantico);
  color: var(--offwhite);
  border: none;
}

.bg-offwhite {
  background-color: white;
  color: var(--atlantico);

}

.text-offwhite {
  color: var(--offwhite);
}

.text-atlantico {
  color: var(--atlantico);
}

/* Typography - Reference: Label Top, Big Number Bottom */
.bento-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.bento-label {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.01em;
}

.bento-value {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: auto;
  /* Push to bottom */
}

/* Specific adjustment for long text in value slots */
.value-text {
  font-size: 2rem;
  line-height: 1.1;
}



/* Image Fills */
.card-photo-fill {
  padding: 0 !important;
}

.card-photo-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Grid Spans */

/* Content Layouts */

/* Typography & Visuals */

.bento-card-v2 h3 {
  font-size: 2.5rem;
  margin-bottom: var(--space-6);
}

.bento-card-v2 p {
  font-size: 1.3rem;
  color: #FFFFFF80;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Graph Animation */

@keyframes barGrow {
  0% {
    transform: scaleY(0.9);
  }

  100% {
    transform: scaleY(1.1);
  }
}

/* Indicators */

/* Icons */

/* Responsive */
@media (max-width: 900px) {
  .bento-grid-v2 {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}

/* === Ecosystem Sebrae Section === */
.section-ecosystem {
  padding: 80px 0;
  background-color: var(--white);
  /* Or different if needed to contrast */
  border-bottom: 1px solid var(--gray-200);
  /* subtle separator */
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-12);
  align-items: center;
}

.ecosystem-right {
  max-width: 800px;
}

.ecosystem-text {
  font-size: var(--font-size-lg);
  /* Slightly larger for main text */
  color: var(--gray-700);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-8);
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  font-size: var(--font-size-base);
  transition: gap 0.3s ease, color 0.3s ease;
  color: var(--azul);
}

.btn-beeviral {
  display: inline-flex;
  align-items: left;
  gap: var(--space-2);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  font-size: var(--font-size-base);
  transition: gap 0.3s ease, color 0.3s ease;
  color: var(--black);
  background: none;
  border: none;
}

.btn-beeviral:hover{
color: var(--white);
}

.btn-text-link span {
  font-size: 1.2em;
  line-height: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    justify-items: center;
  }

  .ecosystem-left {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: var(--space-4);
  }

  .ecosystem-left .section-badge {
    text-align: center;
  }

  .ecosystem-left img {
    margin: 0 auto;
  }

  .ecosystem-right {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ecosystem-right .features-title {
    margin-bottom: 1.25rem !important;
    text-align: center;
  }

  .ecosystem-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .ecosystem-right .btn,
  .ecosystem-right .btn-text-link {
    align-self: center;
    justify-content: center;
  }
}

/* === Video Testimonials Section === */
.section-testimonials-video {
  padding: 80px 0;
  background: url("assets/finais/bg-testimonials.png") no-repeat center / cover;
  position: relative;
  overflow: hidden;
}



.section-testimonials-video .container {
  position: relative;
  z-index: 2;
}

.testimonials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: 40px;
}

.testimonials-header .features-title {
  font-size: clamp(0.5rem, 2.5vw, 2rem);
    font-weight: var(--font-weight-regular);
    color: white;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), opacity var(--transition-fast);
}

.carousel-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.carousel-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.video-carousel {
  position: relative;
}

.video-carousel-track {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding: 4px 2px var(--space-4);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.video-carousel-track::-webkit-scrollbar {
  display: none;
}

.video-card {
  flex: 0 0 clamp(190px, 22vw, 250px);
  scroll-snap-align: start;
}

.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4.8;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gray-100);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.video-card:hover .video-thumb {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.video-duration {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--white);
  font-size: 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.2px;
}

.video-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
}

.video-play::before {
  content: '';
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.video-play::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 14px solid var(--primary-blue);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}

@media (max-width: 900px) {
  .testimonials-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .video-card {
    flex: 0 0 70%;
  }

  .carousel-controls {
    width: 100%;
    justify-content: flex-start;
  }
}

/* === Bento Showcase Section === */
.section-bento-showcase {
  padding: 80px 20%;
  background: linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
}

.bento-showcase-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
  margin-bottom: var(--space-12);
}

.bento-showcase-intro {
  width: 100%;
  max-width: min(60rem, 100%);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: center;
}

.bento-showcase-intro p {
  margin: 0;
  font-size: clamp(0.95rem, 1.15vw, 1.0625rem);
  color: var(--gray-700);
  line-height: 1.55;
}

.bento-showcase-intro strong {
  color: var(--gray-900);
  font-weight: var(--font-weight-bold);
}

.bento-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 859fr) minmax(0, 572fr);
  gap: clamp(10px, 1.2vw, 16px);
  grid-template-areas:
    "ai curadoria"
    "ai programa"
    "video integracoes"
    "video integracoes";
  align-items: start;
}

.bento-showcase-card {
  background: var(--white);
  border-radius: 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  height: auto;
  min-width: 0;
  align-self: start;
}

.bento-showcase-card > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bento-showcase-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gray-900);
}

.bento-showcase-card p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.4;
}

.bento-ai {
  grid-area: ai;
  aspect-ratio: 859 / 719;
    
  border-width: 2px;
}

.bento-curadoria {
  grid-area: curadoria;
  aspect-ratio: 572 / 348;
  
  color: var(--white);
}

.bento-curadoria h3,
.bento-curadoria p {
  color: var(--white);
}

.bento-programa {
  grid-area: programa;
  aspect-ratio: 572 / 348;
  background: var(--white);
}

.bento-video {
  grid-area: video;
  aspect-ratio: 859 / 514;
}

.bento-integracoes {
  grid-area: integracoes;
  aspect-ratio: 572 / 514;
}

@media (max-width: 1023px) {
  .bento-showcase-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "ai"
      "curadoria"
      "programa"
      "video"
      "integracoes";
  }
}

/* === Indication Program Section === */
.section-indication {
  padding: var(--space-18) 0;
  background: var(--gradient-jacaranda-ipe);
  color: white;
  position: relative;
  overflow: hidden;
  
}

.indication-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-14);
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.indication-left {
  max-width: 520px;
  display: flex;
    flex-direction: column;
    gap: 16px;
}

.indication-left img{
  width: 120px;
}

.indication-left h2 {
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: var(--space-4);
  color: white;
}

.indication-lead {
  font-size: var(--font-size-lg);
  color: white;
  line-height: 1.5;
  margin-bottom: var(--space-6);
}

.indication-right {
  display: flex;
  justify-content: flex-end;
}

.indication-visual {
  /* width: min(100%, 400px); */
  aspect-ratio: 16 / 9;
  border-radius: 24px;  
  display: grid;
  place-items: center;  
  position: relative;
  padding: var(--space-4);
}

.indication-visual img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

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

  .indication-right {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .indication-visual {
    padding: var(--space-3);
  }
}

/* === Referral Program Section === */
.section-referral {
  padding: var(--space-20) 0;
  background: var(--gray-900);
  background: var(--gradient-azul-atlantico);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Add a subtle glow graphic */
.section-referral::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(42, 79, 218, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.referral-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-20);
  align-items: center;
}

.referral-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ceu);
  background: #65b7fb10;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.btn-glow {
  border: none;
}



/* Benefits Side */
.referral-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.ref-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.ref-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.ref-info h4 {
  font-size: var(--font-size-xl);
  color: var(--white);
  margin-bottom: var(--space-2);
}

.ref-info p {
  font-size: var(--font-size-base);
  color: var(--offwhite);
  margin-top: 16px;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .referral-container {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .ref-card {
    padding: var(--space-4);
  }

  .section-testimonials-video::after {
    right: 0;
    left: auto;
    width: clamp(180px, 45vw, 300px);
    opacity: 0.75;
  }
}

/* ============================================
   Responsive Refinement Layer (360+ / 768+ / 1024+)
   ============================================ */
img {
  max-width: 100%;
  height: auto;
}

body {
  overflow-x: hidden;
}

.features-title {
  font-size: clamp(1.45rem, 3.2vw, 2.7rem);
  line-height: 1.12;
}

.hero-button-title {
  font-size: clamp(1rem, 1.5vw, 1.4rem);
}

.hero-button-desc {
  font-size: clamp(0.84rem, 1.05vw, 1rem);
}

.section-bento-showcase {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.benefits-image {
  width: 100%;
}

@media (max-width: 1200px) {
  .menu-toggle {
    display: inline-flex !important;
  }

  .header-actions {
    display: none;
  }

  nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-dropdown);
  }

  nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  nav ul {
    flex-direction: column;
    padding: var(--space-6);
    gap: 0;
  }

  nav li {
    width: 100%;
    border-bottom: 1px solid var(--gray-200);
  }

  nav a {
    display: block;
    padding: var(--space-4) 0;
    color: var(--gray-800);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  body.menu-open {
    overflow: hidden;
  }

  #mini-banner {
    display: none;
  }
}

@media (max-width: 767px) {
  :root {
    --container-padding: 1rem;
  }

  section,
  #features-showcase,
  .section-bento,
  .section-testimonials-video,
  .section-ecosystem,
  .video-showcase-section,
  .section-indication {
    padding: clamp(3rem, 10vw, 4rem) 0;
  }

  .logo {
    height: 42px;
  }

  #hero-banner {    
    padding-bottom: 1.25rem;
  }

  .hero-stack {
    gap: 0.85rem;
  }

  .hero-media {
  }



  .hero-buttons {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0;
    margin-top: 0.5rem;
  }

  .hero-button {
    min-height: 110px;
    height: auto;
    padding: 0.85rem 1rem;
    align-items: flex-start;
    align-items: center;
  }

  .hero-button-copy {
    gap: 0.4rem;
  }

  .timeline-image {
    display: none;
  }

  .features-showcase-header {
    margin-bottom: clamp(1.75rem, 8vw, 3rem);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    max-width: 100%;
  }

  .benefits-tabs {
    height: auto;
    width: 100%;
    padding-right: 0;
    justify-content: flex-start;
  }

  .benefits-tab-list {
    gap: 0.9rem;
    align-items: flex-start;
    width: 100%;
  }

  .benefits-tab {
    justify-content: flex-start;
    text-align: left;
  }

  .benefits-visual {
    min-height: auto;
  }

  .benefits-visual-content,
  .benefits-visual-content.active {
    padding: 0.5rem;
  }

  .benefits-visual-text h3 {
    font-size: 1rem;
  }

  .benefits-visual-text p {
    font-size: 0.9rem;
  }

  .testimonials-header {
    margin-bottom: var(--space-6);
  }

  .video-card {
    flex: 0 0 78%;
  }

  .indication-grid {
    gap: var(--space-8);
    padding-top: 0;
    padding-bottom: 0;
  }

  .indication-left h2 {
    font-size: clamp(1.6rem, 8vw, 2.1rem);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --container-padding: clamp(1.25rem, 3vw, 2rem);
  }

  section,
  #features-showcase,
  .section-bento,
  .section-testimonials-video,
  .section-ecosystem,
  .video-showcase-section,
  .section-indication {
    padding: clamp(4rem, 7vw, 5.5rem) 0;
  }

  .hero-media {
  }

  .hero-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 0;
  }

  .hero-button {
    min-height: 120px;
    height: auto;
    padding: 1rem;
    align-items: center;
  }

  .timeline-image {
    display: none;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 840px;
    gap: var(--space-8);
  }

  .benefits-tabs {
    height: auto;
    padding-right: 0;
  }

  .benefits-tab-list {
    align-items: flex-start;
    gap: 1rem;
  }

  .benefits-tab {
    justify-content: flex-start;
    text-align: left;
  }

  .benefits-visual {
    min-height: 460px;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .indication-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media (min-width: 1024px) {
  :root {
    /* --container-padding: clamp(1.5rem, 2.8vw, 3rem); */
  }

  #hero-banner {
    padding-bottom: 1.5rem;
  }

  .hero-buttons {
    max-width: min(1400px, calc(100vw - 3rem));
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 0;
    margin-top: 1rem;
  }

  .hero-button {
    min-height: 130px;
    height: auto;
    align-items: center;
  }

  .benefits-grid {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    max-width: 1120px;
    gap: var(--space-10);
  }

  .benefits-accordion {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    column-gap: var(--space-10);
    row-gap: clamp(1rem, 1.4vw, 1.8rem);
    max-width: 1120px;
    min-height: 500px;
  }

  .benefits-accordion-panel {
    min-height: 500px;
  }

  .timeline-container {
    max-width: 1120px;
  }

  .timeline-image {
    max-width: min(34vw, 100%);
  }

  .section-bento-showcase .container {
    max-width: 1220px;
  }

  .bento-showcase-grid {
    grid-template-rows: auto;
  }
}

@media (max-width: 389px) {
  .hero-button-title {
    font-size: 0.95rem;
  }

  .hero-button-desc {
    font-size: 0.8rem;
  }

  .btn {
    font-size: 0.85rem;
  }
}

/* ============================================
   Section Pixel Tuning (Hero / Benefits / Testimonials / Footer)
   ============================================ */
@media (min-width: 1024px) {
  /* Hero */
  #hero-banner {    
    padding-bottom: 1.75rem;
  }

  .hero-stack {
    gap: 1rem;
  }

  /*
   * Altura limitada a 700px e proporcional à largura “útil” do layout (~container-max),
   * não ao viewport inteiro — evita estourar em ultrawide.
   * min-height: 0 no .hero-media evita o mínimo automático do flex usar a altura intrínseca do <img>.
   */

  .hero-carousel-dots {
    bottom: 1.25rem;
    gap: 0.75rem;
  }

  .hero-button {
    min-height: 136px;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    align-items: center;
  }

  .hero-button-icon {
    width: 46px;
    height: 46px;
  }

  .hero-button-copy {
    gap: 0.5rem;
  }

  .hero-button-title {
    font-size: clamp(1.1rem, 1.35vw, 1.35rem);
    line-height: 1.18;
  }

  .hero-button-desc {
    font-size: clamp(0.86rem, 0.95vw, 0.98rem);
    line-height: 1.35;
  }

  /* Benefits */
  #interactive-benefits .section-header {
    margin-bottom: var(--space-8);
  }

  .benefits-grid {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 2.25rem;
    max-width: 1160px;
  }

  .benefits-accordion {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    column-gap: 2.25rem;
    max-width: 1160px;
    min-height: 520px;
  }

  /* Desloca a coluna de abas para alinhar com o topo da imagem (valor definido em script.js) */
  .benefits-accordion-item:first-child > .benefits-tab {
    margin-top: var(--benefits-tabs-offset, 0px);
  }

  .benefits-tab {
    min-height: 40px;
  }

  .benefits-tab-label {
    font-size: 1.02rem;
    line-height: 1.25;
  }

  .benefits-accordion-panel {
    min-height: 520px;
    border-radius: 20px;
    padding: 1.1rem 1.25rem 1.25rem;
  }

  .benefits-visual-text {
    max-width: 90%;
  }

  .benefits-visual-text h3 {
    font-size: 1.18rem;
    margin-bottom: 0.5rem;
  }

  .benefits-visual-text p {
    font-size: 0.96rem;
    line-height: 1.48;
  }

  /* Testimonials */
  .section-testimonials-video {
    padding: 88px 0;
  }

  .testimonials-header {
    margin-bottom: 2.15rem;
    gap: 1.25rem;
  }

  .testimonials-header .features-title {
    font-size: clamp(1.5rem, 2.1vw, 2.1rem);
    max-width: 820px;
  }

  .carousel-btn {
    width: 42px;
    height: 42px;
  }

  .video-carousel-track {
    gap: 1rem;
    padding-bottom: 0.8rem;
  }

  .video-card {
    flex: 0 0 clamp(205px, 20.5vw, 244px);
  }

  .video-thumb {
    border-radius: 15px;
  }

  /* Footer */
  .partners {
    padding: 2.5rem 0;
  }

  .partners-logos {
    padding-top: 1.5rem;
    gap: clamp(1.2rem, 2.4vw, 2.25rem);
  }

  footer {
    padding: 4.25rem 0 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-description {
    max-width: 34ch;
    margin-bottom: 1.25rem;
  }

  .footer-links li {
    margin-bottom: 0.55rem;
  }
}

/* === Wide viewport (1440px+): hero full-bleed — altura fixa, corte apenas em largura === */
@media (min-width: 1440px) {
  #hero-banner {
    overflow: hidden; /* evita scroll horizontal causado pelo breakout */
  }

  .hero-media {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  /* Hero */
  #hero-banner {

    padding-bottom: 1.25rem;
  }

  .hero-stack {
    gap: 0.9rem;
  }

  .hero-media {
    border-radius: 0;
  }



  .hero-buttons {
    gap: 0.85rem;
    margin-top: 0.65rem;
    padding-inline: 1rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
  }

  .hero-button {
    min-height: 122px;
    padding: 0.9rem;
    border-radius: 13px;
    max-width: 760px;
    align-items: center;
  }

  .hero-button-icon {
    width: 42px;
    height: 42px;
  }

  .hero-button-icon img {
    width: 32px;
    height: 32px;
  }

  .hero-button-title {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .hero-button-desc {
    font-size: 0.88rem;
    line-height: 1.32;
  }

  /* Benefits */
  #interactive-benefits .section-header {
    margin-bottom: var(--space-8);
  }

  .benefits-grid {
    gap: 1.25rem;
    max-width: 860px;
  }

  .benefits-tab {
    min-height: 36px;
  }

  .benefits-tab-label {
    font-size: 0.98rem;
  }

  .benefits-image {
    width: 100%;
    min-height: 300px;
  }

  .benefits-image img {
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .benefits-visual-text h3 {
    font-size: 1.07rem;
    margin-bottom: 0.45rem;
  }

  .benefits-visual-text p {
    font-size: 0.92rem;
    line-height: 1.44;
  }

  /* Testimonials */
  .section-testimonials-video {
    padding: 72px 0;
  }

  .testimonials-header {
    margin-bottom: 1.6rem;
    gap: 0.9rem;
  }

  .testimonials-header .features-title {
    font-size: clamp(1.22rem, 2.8vw, 1.7rem);
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .video-carousel-track {
    gap: 0.85rem;
  }

  .video-card {
    flex: 0 0 clamp(190px, 28vw, 230px);
  }

  /* Footer */
  .partners {
    padding: 2rem 0;
  }

  .partners-title {
    margin-bottom: 0.75rem;
  }

  .partners-logos {
    padding-top: 1rem;
    gap: 1rem 1.5rem;
  }

  footer {
    padding: 3.5rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 580px;
  }
}

@media (max-width: 767px) {
  /* Hero */
  #hero-banner {    
    padding-bottom: 1rem;
    overflow-x: clip;
  }

  .hero-stack {
    gap: 0.7rem;
    align-items: stretch;
    max-width: 100%;
    min-width: 0;
  }

  .hero-media {
    max-width: 100%;
    min-width: 0;
  }



  .hero-carousel-dots {
    bottom: 0.7rem;
    gap: 0.5rem;
  }

  .hero-carousel-dot {
    width: 8px;
    height: 8px;
  }

  .hero-carousel-dot.is-active {
    width: 18px;
  }

  .hero-buttons {
    gap: 0.6rem;
    margin-top: 0.35rem;
    padding-inline: clamp(0.75rem, 4vw, 1.25rem);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
  }

  .hero-button {
    min-height: 96px;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    gap: 0.6rem;
    max-width: 560px;
    align-items: center;
  }

  .hero-button-icon {
    width: 34px;
    height: 34px;
  }

  .hero-button-icon img {
    width: 18px;
    height: 18px;
  }

  .hero-button-copy {
    gap: 0.28rem;
  }

  .hero-button-title {
    font-size: 0.98rem;
  }

  .hero-button-desc {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  /* Benefits */
  #interactive-benefits .section-header {
    margin-bottom: 1rem;
  }

  .benefits-grid {
    gap: 0.95rem;
  }

  .benefits-tab-list {
    gap: 0.55rem;
  }

  .benefits-tab {
    min-height: 34px;
    gap: 0.45rem;
  }

  .benefits-tab-label {
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .benefits-tab-icon svg {
    width: 17px;
    height: 17px;
  }

  .benefits-visual {
    min-height: 520px;
    border-radius: 14px;
  }

  .benefits-visual-content,
  .benefits-visual-content.active {
    padding: 0.85rem;
    gap: 0.5rem;
  }

  .benefits-image {
    width: 100%;
    min-height: 230px;
  }

  .benefits-image img {
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .benefits-visual-text h3 {
    font-size: 0.97rem;
  }

  .benefits-visual-text p {
    font-size: 0.84rem;
    line-height: 1.4;
  }

  /* Testimonials */
  .section-testimonials-video {
    padding: 56px 0;
  }

  .testimonials-header {
    margin-bottom: 1rem;
    gap: 0.7rem;
  }

  .testimonials-header .features-title {
    font-size: clamp(1.12rem, 5.8vw, 1.45rem);
    line-height: 1.2;
  }

  .carousel-controls {
    gap: 0.45rem;
  }

  .carousel-btn {
    width: 34px;
    height: 34px;
  }

  .video-carousel-track {
    gap: 0.65rem;
    padding-bottom: 0.55rem;
  }

  .video-card {
    flex: 0 0 76%;
  }

  .video-thumb {
    border-radius: 13px;
  }

  .video-duration {
    left: 9px;
    bottom: 9px;
    font-size: 11px;
    padding: 3px 8px;
  }

  /* Footer */
  .partners {
    padding: 1.5rem 0;
  }

  .partners-title {
    font-size: 0.72rem;
    margin-bottom: 0.5rem;
  }

  .partners-logos {
    padding-top: 0.65rem;
    gap: 0.8rem 1rem;
  }

  .partner-logo img {
    height: 26px;
  }

  footer {
    padding: 2.2rem 0 1.1rem;
  }

  .footer-grid {
    gap: 1.15rem;
    margin-bottom: 1.1rem;
  }

  .footer-logo {
    height: 42px;
    margin-bottom: 0.65rem;
  }

  .footer-description {
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
  }

  .footer-section h4 {
    font-size: 0.96rem;
    margin-bottom: 0.4rem;
  }

  .footer-links li {
    margin-bottom: 0.38rem;
  }

  .footer-links a {
    font-size: 0.88rem;
  }

  .footer-bottom {
    padding-top: 0.9rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .hero-button {
    min-height: 92px;
    align-items: center;
  }

  .hero-button-title {
    font-size: 0.92rem;
  }

  .hero-button-desc {
    font-size: 0.78rem;
  }

  .video-card {
    flex-basis: 82%;
  }

  .benefits-tab-label {
    font-size: 0.86rem;
  }
}

/* === Benefits Accordion: mobile/tablet (< 1024px) === */
@media (max-width: 1023px) {
  .benefits-accordion {
    display: block;
    max-width: 100%;
    min-height: unset;
  }

  .benefits-accordion-item {
    display: block;
    border-bottom: 1px solid #e5e7eb;
  }

  .benefits-accordion-item:first-child {
    border-top: 1px solid #e5e7eb;
  }

  .benefits-tab {
    grid-column: unset;
    justify-self: unset;
    width: 100%;
    justify-content: space-between;
    padding: 1rem 0;
    text-align: left;
    transform: none !important;
  }

  .benefits-tab:hover {
    transform: none !important;
  }

  .benefits-tab.active {
    transform: none !important;
  }

  .benefits-chevron {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--azul);
    transition: transform 0.3s ease;
  }

  .benefits-accordion-item.active .benefits-chevron {
    transform: rotate(180deg);
  }

  .benefits-accordion-panel {
    grid-column: unset;
    grid-row: unset;
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    min-height: unset;
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: block;
  }

  .benefits-accordion-item.active .benefits-accordion-panel {
    max-height: 900px;
    padding-bottom: 1.5rem;
  }

  .benefits-accordion-panel .benefits-visual-text {
    padding-top: 0.75rem;
  }

  .benefits-accordion-panel .benefits-image {
    width: 100%;
    min-height: unset;
    margin-top: 0.5rem;
  }
}
