
/* ==========================================================================
   01. LP PRINCIPAL — https://cloud.divulga.sebraeba.com.br/startupba
   ==========================================================================
   Escopo desta página:
     html[data-sbah-page="lp-principal"]

   ========================================================================== */ 

/* ==========================================================================
   STARTUP BA — CSS GERAL / CODE RESOURCE
   ==========================================================================
   URL publicada:
   https://mcdgv4q4mfzp49dnzqs2hr-gjqm0.pub.sfmc-content.com/pl3z0o1gqm1

   OBJETIVO
   --------------------------------------------------------------------------
   Este arquivo concentra os estilos das páginas do projeto Startup BA.

   ORGANIZAÇÃO
   --------------------------------------------------------------------------
   Cada página deve possuir um identificador próprio no elemento <html>,
   usando o atributo:

     data-sbah-page="..."

   Dessa forma, os estilos de páginas diferentes podem coexistir neste
   mesmo Code Resource sem colisão entre classes com nomes iguais.

   BLOCOS PREVISTOS
   --------------------------------------------------------------------------
   01. LP PRINCIPAL        -> data-sbah-page="lp-principal"
   02. FORMULÁRIO T0       -> adicionar posteriormente
   03. FORMULÁRIO T1       -> adicionar posteriormente
   04. FORMULÁRIO T2       -> adicionar posteriormente
   05. FORMULÁRIO T3       -> adicionar posteriormente
   06. FORMULÁRIO T4       -> adicionar posteriormente
   07. ÁREA LOGADA         -> adicionar posteriormente
   08. OUTRAS PÁGINAS      -> adicionar conforme necessidade

   REGRAS DE MANUTENÇÃO
   --------------------------------------------------------------------------
   - Não adicionar CSS de uma nova página sem um escopo próprio.
   - Manter os comentários de início/fim de cada bloco.
   - Variáveis, responsividade, dark mode e estados específicos de cada
     página devem permanecer dentro do respectivo escopo.
   - Bibliotecas externas, como Leaflet, continuam sendo carregadas
     separadamente pela página que utiliza a biblioteca.

   ========================================================================== */


/* ==========================================================================
   01. LP PRINCIPAL — https://cloud.divulga.sebraeba.com.br/startupba
   ==========================================================================
   Escopo desta página:
     html[data-sbah-page="lp-principal"]

   ========================================================================== */

/* =========================================================
       01. TOKENS
       ========================================================= */
    html[data-sbah-page="lp-principal"]{
      --font: "Inter", Arial, Helvetica, sans-serif;
      --lime: #E7F79E;
      --blue: #0015FF;
      --purple: #C300FF;
      --violet: #7000FF;
      --black: #000000;
      --black-2: #0F0F0F;
      --white: #FFFFFF;
      --radius-xl: 42px;
      --radius-lg: 28px;
      --radius-md: 20px;
      --max: 1440px;
      --gutter: clamp(20px, 4vw, 64px);

      /* Ritmo vertical padrão das seções de conteúdo.
         HERO / ABOUT / PHONE mantêm o comportamento narrativo próprio. */
      --section-space: clamp(72px, 6vw, 96px);
      --section-space-mobile: 64px;
      --section-header-gap: clamp(24px, 2vw, 30px);

      --ease-out: cubic-bezier(.22,1,.36,1);
      --shadow-soft: 0 28px 80px rgba(0,0,0,.16);
      --shadow-card: 0 18px 55px rgba(0,0,0,.14);
    }

    html[data-sbah-page="lp-principal"][data-theme="light"]{
      --page: #F5F5F3;
      --surface: #FFFFFF;
      --surface-2: #ECECEA;
      --ink: #090909;
      --muted: #626262;
      --line: rgba(0,0,0,.10);
      --glass: rgba(255,255,255,.72);
      --map-card: rgba(255,255,255,.94);
    }

    html[data-sbah-page="lp-principal"][data-theme="dark"]{
      --page: #050505;
      --surface: #101010;
      --surface-2: #171717;
      --ink: #FFFFFF;
      --muted: #A9A9A9;
      --line: rgba(255,255,255,.10);
      --glass: rgba(10,10,10,.72);
      --map-card: rgba(12,12,12,.94);
    }

    html[data-sbah-page="lp-principal"] *{
      box-sizing: border-box;
    }

    html[data-sbah-page="lp-principal"]{
      scroll-behavior: smooth;
      background: var(--page);
    }

    html[data-sbah-page="lp-principal"] body{
      margin: 0;
      overflow-x: hidden;
      background: var(--page);
      color: var(--ink);
      font-family: var(--font);
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    html[data-sbah-page="lp-principal"] img,
html[data-sbah-page="lp-principal"] svg{
      max-width: 100%;
    }

    html[data-sbah-page="lp-principal"] img{
      display: block;
    }

    html[data-sbah-page="lp-principal"] button,
html[data-sbah-page="lp-principal"] a{
      font: inherit;
    }

    html[data-sbah-page="lp-principal"] a{
      color: inherit;
      text-decoration: none;
    }

    html[data-sbah-page="lp-principal"] button{
      border: 0;
    }

    html[data-sbah-page="lp-principal"] .container{
      width: min(var(--max), calc(100% - (var(--gutter) * 2)));
      margin-inline: auto;
    }

    html[data-sbah-page="lp-principal"] .sr-only{
      position: absolute !important;
      width: 1px !important;
      height: 1px !important;
      padding: 0 !important;
      margin: -1px !important;
      overflow: hidden !important;
      clip: rect(0,0,0,0) !important;
      white-space: nowrap !important;
      border: 0 !important;
    }

    /* =========================================================
       02. HEADER
       ========================================================= */
    html[data-sbah-page="lp-principal"] .site-header{
      position: fixed;
      z-index: 200;
      inset: 14px 0 auto;
      pointer-events: none;

      /* Header sempre visível.
         Mantém logos, navegação e dark/light mode fixos na viewport. */
      opacity: 1 !important;
      transform: none !important;
      visibility: visible !important;
    }

    html[data-sbah-page="lp-principal"] .site-header.is-narrative-faded .site-header__inner{
      pointer-events: auto;
    }

    html[data-sbah-page="lp-principal"] .site-header__inner{
      width: min(var(--max), calc(100% - (var(--gutter) * 2)));
      min-height: 62px;
      margin-inline: auto;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 18px;
      pointer-events: auto;
    }

    html[data-sbah-page="lp-principal"] .brand-lockup{
      display: inline-flex;
      align-items: center;
      gap: 16px;
      min-width: 0;
      justify-self: start;
    }

    html[data-sbah-page="lp-principal"] .brand-lockup__sebrae{
      width: 88px;
      transition: opacity .18s ease, filter .18s ease;
      height: auto;
      flex: 0 0 auto;
    }

    html[data-sbah-page="lp-principal"] .brand-lockup__startup{
      width: 112px;
      transition: opacity .18s ease, filter .18s ease;
      height: auto;
      flex: 0 0 auto;
    }

    html[data-sbah-page="lp-principal"] .header-actions{
      justify-self: center;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.32);
      background: rgba(121,112,96,.28);
      box-shadow: 0 16px 40px rgba(0,0,0,.18);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }

    html[data-sbah-page="lp-principal"] .header-link,
html[data-sbah-page="lp-principal"] .header-cta,
html[data-sbah-page="lp-principal"] .theme-toggle{
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: transform .24s var(--ease-out), background .24s ease, color .24s ease, border-color .24s ease, box-shadow .24s ease;
    }

    html[data-sbah-page="lp-principal"] .header-link,
html[data-sbah-page="lp-principal"] .header-cta{
      min-height: 56px;
      padding: 0 28px;
      font-size: clamp(16px, 1.35vw, 23px);
      line-height: 1;
      letter-spacing: -.02em;
      white-space: nowrap;
    }

    html[data-sbah-page="lp-principal"] .header-link{
      border: 0;
      background: transparent;
      font-weight: 400;
    }

    html[data-sbah-page="lp-principal"] .header-cta{
      border: 1px solid rgba(255,255,255,.12);
      font-weight: 600;
      box-shadow: 0 10px 24px rgba(0,0,0,.24);
    }

    html[data-sbah-page="lp-principal"] .theme-toggle-wrap{
      justify-self: end;
    }

    /* Logos e controle de tema permanecem sempre visíveis,
       inclusive quando outras seções passam por trás do header. */
    html[data-sbah-page="lp-principal"] .brand-lockup,
html[data-sbah-page="lp-principal"] .theme-toggle-wrap{
      opacity: 1 !important;
      visibility: visible !important;
    }

    html[data-sbah-page="lp-principal"] .header-actions-toggle{
      display: none;
    }

    html[data-sbah-page="lp-principal"] .theme-toggle{
      width: 46px;
      height: 46px;
      padding: 0;
      cursor: pointer;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    html[data-sbah-page="lp-principal"] .theme-toggle svg{
      width: 18px;
      height: 18px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    html[data-sbah-page="lp-principal"] .theme-toggle .icon-sun,
html[data-sbah-page="lp-principal"][data-theme="light"] .theme-toggle .icon-moon{
      display: none;
    }

    html[data-sbah-page="lp-principal"][data-theme="light"] .theme-toggle .icon-sun{
      display: block;
    }

    html[data-sbah-page="lp-principal"] .site-header[data-contrast="white"] .header-actions{
      border-color: rgba(255,255,255,.32);
      background: rgba(62,58,52,.34);
      box-shadow: 0 16px 40px rgba(0,0,0,.18);
    }

    html[data-sbah-page="lp-principal"] .site-header[data-contrast="black"] .header-actions{
      border-color: rgba(0,0,0,.12);
      background: rgba(255,255,255,.74);
      box-shadow: 0 16px 38px rgba(0,0,0,.10);
    }

    html[data-sbah-page="lp-principal"] .site-header[data-contrast="white"] .header-link{
      color: rgba(255,255,255,.94);
    }

    html[data-sbah-page="lp-principal"] .site-header[data-contrast="black"] .header-link{
      color: #111;
    }

    html[data-sbah-page="lp-principal"] .site-header[data-contrast="white"] .header-cta,
html[data-sbah-page="lp-principal"] .site-header[data-contrast="black"] .header-cta{
      color: #fff;
      border-color: rgba(255,255,255,.10);
      background: #000;
    }

    html[data-sbah-page="lp-principal"] .site-header[data-contrast="white"] .theme-toggle{
      color: #fff;
      border-color: rgba(255,255,255,.28);
      background: rgba(0,0,0,.36);
    }

    html[data-sbah-page="lp-principal"] .site-header[data-contrast="black"] .theme-toggle{
      color: #111;
      border-color: rgba(0,0,0,.12);
      background: rgba(255,255,255,.82);
    }

    html[data-sbah-page="lp-principal"] .site-header[data-contrast="white"] .header-actions-toggle{
      color: #fff;
      border-color: rgba(255,255,255,.20);
      background: rgba(0,0,0,.36);
    }

    html[data-sbah-page="lp-principal"] .site-header[data-contrast="black"] .header-actions-toggle{
      color: #111;
      border-color: rgba(0,0,0,.10);
      background: rgba(255,255,255,.82);
    }

    html[data-sbah-page="lp-principal"] .header-link:hover,
html[data-sbah-page="lp-principal"] .header-cta:hover,
html[data-sbah-page="lp-principal"] .theme-toggle:hover{
      transform: translateY(-2px);
    }

    /* =========================================================
       03. HERO / SCROLL SCENE
       O hero fica preso enquanto a seção "O que é o Startup BA"
       sobe sobre ele. O sticky termina somente depois do ABOUT.
       ========================================================= */
    html[data-sbah-page="lp-principal"] .hero-scroll-scene{
      position: relative;
      z-index: 0;
      /* Fallback desktop: a altura real é recalculada pelo JS usando
         HERO + altura efetiva do bloco ABOUT. Evita o vazio entre
         “O que é o Startup BA” e a seção do celular. */
      height: calc(100svh + 560px);
      min-height: calc(100svh + 560px);
      padding: 0;
      background: #000;
      isolation: isolate;
    }

    /* =========================================================
       03. HERO
       ========================================================= */
    html[data-sbah-page="lp-principal"] .hero{
      position: sticky;
      top: 0;
      z-index: 0;
      min-height: 100svh;
      height: 100svh;
      overflow: hidden;
      isolation: isolate;
      background: #000;
    }

    html[data-sbah-page="lp-principal"] .hero__bg{
      position: absolute;
      inset: 0;
      z-index: -2;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
    }

    html[data-sbah-page="lp-principal"] .hero::before{
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.08) 25%, rgba(0,0,0,.30) 60%, #000 100%),
        radial-gradient(circle at 20% 73%, rgba(0,21,255,.22), transparent 27%);
      pointer-events: none;
    }

    html[data-sbah-page="lp-principal"] .hero__content{
      min-height: inherit;
      height: 100%;
      display: grid;
      place-items: end center;
      padding: 156px var(--gutter) clamp(160px, 22vh, 230px);
      text-align: center;
    }

    html[data-sbah-page="lp-principal"] .hero__inner{
      width: min(100%, 1100px);
      color: #fff;
    }

    html[data-sbah-page="lp-principal"] .hero .reveal{
      opacity: 1;
      transform: none;
    }

    html[data-sbah-page="lp-principal"] .hero__title{
      margin: 0;
      font-size: clamp(46px, 5.15vw, 70px);
      line-height: .99;
      letter-spacing: -.055em;
      font-weight: 650;
      text-wrap: balance;
    }

    html[data-sbah-page="lp-principal"] .hero__subtitle{
      width: min(860px, 100%);
      margin: 28px auto 0;
      color: rgba(255,255,255,.88);
      font-size: clamp(16px, 1.45vw, 20px);
      line-height: 1.46;
      font-weight: 300;
      text-wrap: pretty;
    }

    html[data-sbah-page="lp-principal"] .hero__cta{
      margin-top: 30px;
      min-height: 54px;
      padding: 0 28px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border-radius: 999px;
      color: #070707;
      background: var(--lime);
      font-size: 16px;
      font-weight: 700;
      box-shadow: 0 12px 34px rgba(231,247,158,.18);
      transition: transform .28s var(--ease-out), box-shadow .28s ease;
    }

    html[data-sbah-page="lp-principal"] .hero__cta:hover{
      transform: translateY(-3px);
      box-shadow: 0 18px 44px rgba(231,247,158,.25);
    }

    html[data-sbah-page="lp-principal"] .hero__cta svg{
      width: 17px;
      height: 17px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
    }

    /* =========================================================
       04. ABOUT
       ========================================================= */
    html[data-sbah-page="lp-principal"] .about{
      position: absolute;
      z-index: 6;
      top: 100svh;
      left: 0;
      right: 0;
      padding: 46px 0 64px;
      background: linear-gradient(180deg, rgba(0,0,0,.92) 0%, #000 18%, #000 100%);
      color: #fff;
    }

    html[data-sbah-page="lp-principal"] .about::after{
      content: "";
      position: absolute;
      width: 460px;
      height: 460px;
      right: -200px;
      bottom: -140px;
      border-radius: 50%;
      background: rgba(195,0,255,.12);
      filter: blur(90px);
      pointer-events: none;
    }

    html[data-sbah-page="lp-principal"] .about__grid{
      display: grid;
      grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
      gap: clamp(18px, 2vw, 30px);
      align-items: stretch;
    }

    html[data-sbah-page="lp-principal"] .about__image-wrap,
html[data-sbah-page="lp-principal"] .about__copy{
      min-height: 390px;
      border-radius: 30px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.20);
    }

    html[data-sbah-page="lp-principal"] .about__image{
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    html[data-sbah-page="lp-principal"] .about__copy{
      position: relative;
      padding: clamp(34px, 5vw, 70px);
      display: flex;
      flex-direction: column;
      justify-content: center;
      background:
        radial-gradient(circle at 94% 100%, rgba(195,0,255,.22), transparent 34%),
        linear-gradient(135deg, #111 0%, #141414 60%, #1B1020 100%);
      isolation: isolate;
    }

    html[data-sbah-page="lp-principal"] .about__copy::after{
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      opacity: .16;
      background-image:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.7) 0 .6px, transparent .8px),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,.35) 0 .5px, transparent .8px);
      background-size: 7px 7px, 11px 11px;
      mix-blend-mode: screen;
      pointer-events: none;
    }

    html[data-sbah-page="lp-principal"] .about__title{
      margin: 0 0 24px;
      color: #fff;
      font-size: clamp(27px, 2.4vw, 32px);
      line-height: 1.08;
      font-weight: 600;
      letter-spacing: -.025em;
    }

    html[data-sbah-page="lp-principal"] .about__text,
html[data-sbah-page="lp-principal"] .about__strong{
      margin: 0;
      color: #fff;
      font-size: clamp(16px, 1.45vw, 20px);
      line-height: 1.46;
    }

    html[data-sbah-page="lp-principal"] .about__text{
      font-weight: 300;
      color: rgba(255,255,255,.88);
    }

    html[data-sbah-page="lp-principal"] .about__strong{
      margin-top: 22px;
      font-weight: 700;
    }

    /* =========================================================
       HERO NORMAL -> ABOUT TRAVA -> PHONE COBRE — DESKTOP >= 981px

       Comportamento:
       1. HERO rola normalmente junto com a página.
       2. ABOUT (as DUAS COLUNAS inteiras) entra com scroll normal.
       3. Somente quando o ABOUT encosta no topo ele trava em 100svh.
       4. A seção do celular sobe por cima do ABOUT já travado.
       5. Assim, HERO -> ABOUT é scroll comum; ABOUT -> PHONE mantém
          o efeito de painel preso sendo coberto pela próxima seção.

       Tablet/mobile continuam com a lógica original já validada.
       ========================================================= */
    @media (min-width: 981px) {
      html[data-sbah-page="lp-principal"] .hero-scroll-scene{
        display: contents;
      }

      html[data-sbah-page="lp-principal"] .hero{
        position: relative;
        top: auto;
        z-index: 0;
        width: 100%;
        height: 100svh;
        min-height: 100svh;
      }

      /* No desktop o conteúdo do HERO continua ocupando 100svh,
         mas sem aquele padding-bottom muito alto (antes chegava a ~22vh). */
      html[data-sbah-page="lp-principal"] .hero__content{
        padding: 156px var(--gutter) clamp(66px, 8vh, 84px);
      }

      html[data-sbah-page="lp-principal"] .about{
        position: sticky;
        top: 0;
        left: auto;
        right: auto;
        z-index: 6;
        width: 100%;

        /* A tela de duas colunas não precisa mais ter 100vh.
           Ela continua sticky, só que visualmente mais curta e compacta. */
        height: clamp(560px, 76svh, 760px);
        min-height: clamp(560px, 76svh, 760px);
        max-height: clamp(560px, 76svh, 760px);

        /* Reduz o vazio inferior e centraliza as duas colunas na área útil. */
        padding: clamp(34px, 4.5vh, 48px) 0;
        display: flex;
        align-items: center;

        overflow: hidden;
        background:
          radial-gradient(circle at 100% 100%, rgba(195,0,255,.10), transparent 32%),
          #000;
        color: #fff;
        box-shadow: 0 -24px 80px rgba(0,0,0,.18);
      }

      html[data-sbah-page="lp-principal"] .about > .container{
        width: min(var(--max), calc(100% - (var(--gutter) * 2)));
        height: auto;
        max-height: none;
        display: flex;
        align-items: center;
      }

      html[data-sbah-page="lp-principal"] .about__grid{
        width: 100%;
        align-items: stretch;
      }

      html[data-sbah-page="lp-principal"] .about__image-wrap,
html[data-sbah-page="lp-principal"] .about__copy{
        min-height: clamp(300px, 42svh, 410px);
        max-height: clamp(300px, 42svh, 410px);
      }

      /* O próximo painel fica acima da pilha sticky e é ele quem
         efetivamente cobre o ABOUT ao continuar o scroll. */
      html[data-sbah-page="lp-principal"] .experience-shell{
        position: relative;
        z-index: 20;
      }
    }

    /* =========================================================
       05. EXPERIENCE / PHONE SCROLL STORY
       ========================================================= */
    html[data-sbah-page="lp-principal"] .experience-shell{
      position: relative;
      z-index: 20;
      /* A seção sobe sobre o final da cena anterior, mas nunca uma viewport inteira.
         Assim o aparelho não consegue ficar solto sobre o HERO ao voltar o scroll. */
      margin-top: clamp(-150px, -12vh, -88px);
      padding: clamp(108px, 14vh, 160px) 0 0;
      overflow: clip;
      border-radius: 56px 56px 0 0;
      background: var(--surface);
      color: var(--ink);
      box-shadow: 0 -18px 80px rgba(0,0,0,.14);
    }

    html[data-sbah-page="lp-principal"] .section-kicker{
      margin: 40px 0 12px;
      font-size: 14px;
      line-height: 1.3;
      font-weight: 700;
      letter-spacing: .02em;
    }

    html[data-sbah-page="lp-principal"] .experience__intro{
      position: relative;
      z-index: 4;
      margin-bottom: 24px;
    }

    html[data-sbah-page="lp-principal"] .experience__intro-title{
      margin: 0;
      font-size: clamp(34px, 4vw, 58px);
      line-height: 1;
      letter-spacing: -.05em;
      font-weight: 650;
    }

    html[data-sbah-page="lp-principal"] .phone-story{
      position: relative;
      min-height: 336vh;
      margin-top: 10px;
      background: var(--surface);
    }

    html[data-sbah-page="lp-principal"] .phone-sticky-layer{
      position: absolute;
      inset: 0;
      z-index: 5;
      pointer-events: none;
    }

    /* No desktop o aparelho só existe visualmente enquanto a própria
       história do celular está dentro da viewport. Isso impede o sticky
       de reaparecer sobre o HERO ao retornar o scroll. */
    @media (min-width: 681px) {
      html[data-sbah-page="lp-principal"] .phone-sticky-layer{
        opacity: 0;
        visibility: hidden;
        transition: opacity .18s ease;
      }

      html[data-sbah-page="lp-principal"] .phone-sticky-layer.is-desktop-visible{
        opacity: 1;
        visibility: visible;
      }
    }

    @media (min-width: 681px) {
      /* A seção do celular encosta no final do ABOUT.
         O margin negativo cria somente a sobreposição visual curta,
         sem deixar o HERO reaparecer entre as duas seções. */
      html[data-sbah-page="lp-principal"] .experience-shell{
        margin-top: clamp(-118px, -9vh, -76px);
      }
    }

    html[data-sbah-page="lp-principal"] .phone-sticky{
      --phone-scale: .86;
      position: sticky;
      top: 9vh;
      width: clamp(258px, 26vw, 408px);
      aspect-ratio: 393 / 820;
      margin-inline: auto;
      transform: scale(var(--phone-scale));
      transform-origin: center top;
      filter: drop-shadow(0 34px 38px rgba(0,0,0,.18));
      transition: transform .18s linear;
    }

    html[data-sbah-page="lp-principal"] .phone-screen{
      position: absolute;
      z-index: 1;
      top: 1.55%;
      left: 3.15%;
      width: 93.7%;
      height: 96.75%;
      overflow: hidden;
      border-radius: 12.2% / 5.9%;
      background: #000;
    }

    html[data-sbah-page="lp-principal"] .phone-frame{
      position: absolute;
      inset: 0;
      z-index: 4;
      width: 100%;
      height: 100%;
      object-fit: contain;
      pointer-events: none;
      user-select: none;
    }

    html[data-sbah-page="lp-principal"] .phone-status{
      position: absolute;
      z-index: 8;
      top: 0;
      left: 0;
      right: 0;
      height: 5.6%;
      min-height: 36px;
      padding: 0 7.2%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #fff;
      background: #000;
      font-size: clamp(9px, .92vw, 14px);
      font-weight: 600;
      letter-spacing: -.02em;
      pointer-events: none;
    }

    html[data-sbah-page="lp-principal"] .phone-status__right{
      display: flex;
      align-items: center;
      gap: clamp(4px, .5vw, 7px);
    }

    html[data-sbah-page="lp-principal"] .signal-bars{
      width: 18px;
      height: 12px;
      display: flex;
      align-items: flex-end;
      gap: 2px;
    }

    html[data-sbah-page="lp-principal"] .signal-bars i{
      width: 2.4px;
      border-radius: 2px;
      display: block;
      background: currentColor;
    }

    html[data-sbah-page="lp-principal"] .signal-bars i:nth-child(1){ height: 4px; opacity: .75; }
    html[data-sbah-page="lp-principal"] .signal-bars i:nth-child(2){ height: 6px; opacity: .82; }
    html[data-sbah-page="lp-principal"] .signal-bars i:nth-child(3){ height: 9px; opacity: .9; }
    html[data-sbah-page="lp-principal"] .signal-bars i:nth-child(4){ height: 12px; }

    html[data-sbah-page="lp-principal"] .five-g{
      font-size: .86em;
      font-weight: 700;
    }

    html[data-sbah-page="lp-principal"] .wifi-icon{
      width: 17px;
      height: 13px;
      position: relative;
      overflow: hidden;
    }

    html[data-sbah-page="lp-principal"] .wifi-icon::before,
html[data-sbah-page="lp-principal"] .wifi-icon::after,
html[data-sbah-page="lp-principal"] .wifi-icon span{
      content: "";
      position: absolute;
      left: 50%;
      border: 1.8px solid currentColor;
      border-color: currentColor transparent transparent transparent;
      border-radius: 50%;
      transform: translateX(-50%);
    }

    html[data-sbah-page="lp-principal"] .wifi-icon::before{ width: 17px; height: 17px; top: 1px; }
    html[data-sbah-page="lp-principal"] .wifi-icon::after{ width: 11px; height: 11px; top: 5px; }
    html[data-sbah-page="lp-principal"] .wifi-icon span{ width: 5px; height: 5px; top: 9px; }

    html[data-sbah-page="lp-principal"] .battery{
      width: 23px;
      height: 11px;
      border: 1.5px solid rgba(255,255,255,.92);
      border-radius: 3px;
      padding: 1.5px;
      position: relative;
    }

    html[data-sbah-page="lp-principal"] .battery::after{
      content: "";
      position: absolute;
      right: -3.2px;
      top: 3px;
      width: 2px;
      height: 4px;
      border-radius: 0 1px 1px 0;
      background: rgba(255,255,255,.8);
    }

    html[data-sbah-page="lp-principal"] .battery__fill{
      width: 72%;
      height: 100%;
      border-radius: 1px;
      background: #fff;
    }

    html[data-sbah-page="lp-principal"] .phone-media{
      position: absolute;
      z-index: 2;
      inset: 0;
      opacity: 0;
      transform: scale(1.016);
      transition: opacity .48s ease, transform .7s var(--ease-out);
      background: #000;
    }

    html[data-sbah-page="lp-principal"] .phone-media.is-active{
      opacity: 1;
      transform: scale(1);
      z-index: 3;
    }

    html[data-sbah-page="lp-principal"] .phone-media img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
    }

    html[data-sbah-page="lp-principal"] .phone-media--community img{
      object-fit: cover;
      object-position: center top;
      transform: scale(1.06);
      transform-origin: center top;
    }

    html[data-sbah-page="lp-principal"] .story-step{
      position: relative;
      z-index: 3;
      min-height: 108vh;
      display: grid;
      grid-template-columns: minmax(0, 1.12fr) clamp(280px, 30vw, 430px) minmax(0, 1.12fr);
      align-items: center;
      gap: clamp(24px, 4vw, 82px);
      padding-block: 82px;
    }

    html[data-sbah-page="lp-principal"] .story-step__copy{
      max-width: min(520px, 100%);
      opacity: .18;
      transform: translateY(30px);
      transition: opacity .55s ease, transform .75s var(--ease-out);
    }

    html[data-sbah-page="lp-principal"] .story-step.is-active .story-step__copy{
      opacity: 1;
      transform: none;
    }

    html[data-sbah-page="lp-principal"] .story-step:nth-child(odd) .story-step__copy{
      grid-column: 1;
      justify-self: end;
      padding-right: clamp(0px, 1.2vw, 18px);
      text-align: left;
    }

    html[data-sbah-page="lp-principal"] .story-step:nth-child(even) .story-step__copy{
      grid-column: 3;
      justify-self: start;
      padding-left: clamp(0px, 1.2vw, 18px);
      text-align: left;
    }

    html[data-sbah-page="lp-principal"] .story-step__eyebrow{
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 14px;
      font-weight: 600;
    }

    html[data-sbah-page="lp-principal"] .story-step__title{
      margin: 0;
      font-size: clamp(36px, 4.2vw, 66px);
      line-height: .98;
      letter-spacing: -.055em;
      font-weight: 650;
      text-wrap: balance;
      word-break: normal;
      overflow-wrap: normal;
      hyphens: none;
    }

    html[data-sbah-page="lp-principal"] .story-step__text{
      margin: 24px 0 0;
      color: var(--muted);
      font-size: clamp(16px, 1.25vw, 19px);
      line-height: 1.48;
      font-weight: 350;
      text-wrap: pretty;
    }

    /* O título mais longo precisa caber na coluna sem entrar sob o celular. */
    @media (min-width: 981px) {
      html[data-sbah-page="lp-principal"] .story-step[data-story-step="1"] .story-step__copy{
        width: 100%;
        max-width: 470px;
      }

      html[data-sbah-page="lp-principal"] .story-step[data-story-step="1"] .story-step__title{
        font-size: clamp(38px, 3vw, 50px);
        letter-spacing: -.045em;
        white-space: nowrap;
      }
    }

    html[data-sbah-page="lp-principal"] .mobile-story-copy{
      display: none;
    }

    /* =========================================================
       06. JOURNEY MARQUEE
       ========================================================= */
    html[data-sbah-page="lp-principal"] .journey{
      padding: var(--section-space) 0 0;
      overflow: hidden;
      background: var(--surface);
    }

    html[data-sbah-page="lp-principal"] .journey__header{
      margin-bottom: var(--section-header-gap);
    }

    html[data-sbah-page="lp-principal"] .journey__title{
      margin: 0;
      font-size: clamp(28px, 3vw, 44px);
      letter-spacing: -.04em;
      line-height: 1.03;
    }

    html[data-sbah-page="lp-principal"] .marquee{
      position: relative;
      width: 100%;
      overflow: hidden;
      padding: 8px 0 0;
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
      mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    }

    html[data-sbah-page="lp-principal"] .marquee-track{
      width: max-content;
      display: flex;
      animation: journey-marquee 42s linear infinite;
      will-change: transform;
    }

    html[data-sbah-page="lp-principal"] .marquee:hover .marquee-track{
      animation-play-state: paused;
    }

    html[data-sbah-page="lp-principal"] .marquee-group{
      display: flex;
      gap: 18px;
      padding-right: 18px;
    }

    @keyframes journey-marquee {
      to { transform: translateX(-50%); }
    }

    html[data-sbah-page="lp-principal"] .journey-card{
      position: relative;
      width: clamp(310px, 27.5vw, 420px);
      aspect-ratio: 1 / 1;
      flex: 0 0 auto;
      overflow: hidden;
      border-radius: 26px;
      border: 1px solid var(--line);
      background: var(--surface-2);
      box-shadow: var(--shadow-card);
      isolation: isolate;
    }

    html[data-sbah-page="lp-principal"] .journey-card__media,
html[data-sbah-page="lp-principal"] .journey-card__swap img{
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    html[data-sbah-page="lp-principal"] .journey-card__swap img{
      opacity: 0;
      transition: opacity .7s ease;
      object-fit: contain;
      padding: 7%;
    }

    html[data-sbah-page="lp-principal"] .journey-card__swap img.is-active{
      opacity: 1;
    }

    html[data-sbah-page="lp-principal"] .journey-card--white{
      background: #fff;
      color: #0a0a0a;
    }

    html[data-sbah-page="lp-principal"] .journey-card__shade{
      position: absolute;
      z-index: 1;
      inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.06) 40%, rgba(0,0,0,.08) 100%);
      pointer-events: none;
    }

    html[data-sbah-page="lp-principal"] .journey-card__head{
      position: absolute;
      z-index: 3;
      inset: 20px 20px auto;
      display: flex;
      align-items: flex-start;
      gap: 14px;
      color: #fff;
    }

    html[data-sbah-page="lp-principal"] .journey-card--white .journey-card__head{
      color: #0a0a0a;
    }

    html[data-sbah-page="lp-principal"] .journey-card__number{
      width: 42px;
      height: 42px;
      flex: 0 0 42px;
      display: grid;
      place-items: center;
      border: 1px solid currentColor;
      border-radius: 50%;
      background: rgba(255,255,255,.15);
      backdrop-filter: blur(9px);
      font-size: 18px;
      font-weight: 500;
    }

    html[data-sbah-page="lp-principal"] .journey-card--white .journey-card__number{
      background: rgba(255,255,255,.86);
    }

    html[data-sbah-page="lp-principal"] .journey-card__label{
      margin: 2px 0 0;
      max-width: 250px;
      font-size: clamp(15px, 1.2vw, 18px);
      line-height: 1.2;
      font-weight: 500;
      text-wrap: balance;
    }

    html[data-sbah-page="lp-principal"] .activation-card{
      width: 78%;
      max-width: 330px;
      position: absolute;
      z-index: 2;
      inset: 50% auto auto 50%;
      transform: translate(-50%, -42%);
      padding: 22px 20px;
      border: 1.5px solid #7700FF;
      border-radius: 10px;
      background: #F6EAFE;
      color: #7300FF;
      text-align: center;
    }

    html[data-sbah-page="lp-principal"] .activation-card__title{
      margin: 0 0 12px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .01em;
      text-transform: uppercase;
    }

    html[data-sbah-page="lp-principal"] .activation-card__code{
      width: max-content;
      max-width: 100%;
      margin: 0 auto;
      padding: 10px 12px;
      border: 1.5px dashed #8E21FF;
      border-radius: 7px;
      color: #111;
      background: rgba(255,255,255,.72);
      font-size: clamp(21px, 2vw, 31px);
      line-height: 1;
      font-weight: 500;
      letter-spacing: .045em;
      user-select: all;
    }

    html[data-sbah-page="lp-principal"] .activation-card__help{
      margin: 11px 0 0;
      font-size: 10px;
      line-height: 1.3;
    }

    /* =========================================================
       07. COMMUNITY NUMBERS
       ========================================================= */
    html[data-sbah-page="lp-principal"] .community{
      position: relative;
      z-index: 16;
      padding: var(--section-space) 0 0;
      overflow: hidden;
      background: var(--page);
    }

    html[data-sbah-page="lp-principal"] .community__header{
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 40px;
      margin-bottom: var(--section-header-gap);
    }

    html[data-sbah-page="lp-principal"] .community__title{
      margin: 0;
      font-size: clamp(38px, 5vw, 68px);
      line-height: .98;
      letter-spacing: -.055em;
      font-weight: 650;
    }

    html[data-sbah-page="lp-principal"] .community__lead{
      width: min(430px, 100%);
      margin: 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.5;
    }

    html[data-sbah-page="lp-principal"] .metrics-carousel{
      --metric-card-height: 460px;
      position: relative;
    }

    html[data-sbah-page="lp-principal"] .metrics-carousel__viewport{
      overflow: hidden;
    }

    html[data-sbah-page="lp-principal"] .metrics-carousel__track{
      display: flex;
      align-items: stretch;
      transition: transform .7s var(--ease-out);
      will-change: transform;
    }

    html[data-sbah-page="lp-principal"] .metric-slide{
      flex: 0 0 100%;
      min-width: 0;
      height: var(--metric-card-height);
      padding: 0 1px;
      display: flex;
    }

    html[data-sbah-page="lp-principal"] .metrics-carousel__nav{
      margin-top: 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    html[data-sbah-page="lp-principal"] .metrics-carousel__buttons{
      display: flex;
      align-items: center;
      gap: 10px;
    }

    html[data-sbah-page="lp-principal"] .metrics-carousel__btn{
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 1px solid var(--line);
      background: var(--surface);
      color: var(--ink);
      box-shadow: var(--shadow-card);
      cursor: pointer;
    }

    html[data-sbah-page="lp-principal"] .metrics-carousel__btn:disabled{
      opacity: .45;
      cursor: default;
    }

    html[data-sbah-page="lp-principal"] .metrics-carousel__btn svg{
      width: 18px;
      height: 18px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
    }

    html[data-sbah-page="lp-principal"] .metrics-carousel__dots{
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    html[data-sbah-page="lp-principal"] .metrics-carousel__dot{
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: 0;
      background: rgba(255,255,255,.16);
      cursor: pointer;
      transition: transform .2s ease, background .2s ease;
    }

    html[data-sbah-page="lp-principal"][data-theme="light"] .metrics-carousel__dot{
      background: rgba(0,0,0,.16);
    }

    html[data-sbah-page="lp-principal"] .metrics-carousel__dot.is-active{
      width: 28px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--blue), var(--purple));
      transform: scale(1.02);
    }

    html[data-sbah-page="lp-principal"] .metric-card{
      position: relative;
      width: 100%;
      height: 100%;
      min-height: 0;
      overflow: hidden;
      border-radius: 30px;
      color: #fff;
      border: 1px solid rgba(255,255,255,.09);
      background:
        radial-gradient(circle at 92% 95%, rgba(195,0,255,.18), transparent 30%),
        linear-gradient(135deg, #000 0%, #0F0F0F 100%);
      box-shadow: none;
      isolation: isolate;
    }

    html[data-sbah-page="lp-principal"] .metric-card::before{
      content: "";
      position: absolute;
      z-index: -1;
      inset: 0;
      opacity: .13;
      background-image:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.85) 0 .55px, transparent .72px),
        radial-gradient(circle at 70% 48%, rgba(255,255,255,.45) 0 .55px, transparent .78px);
      background-size: 7px 7px, 11px 11px;
      mix-blend-mode: screen;
      pointer-events: none;
    }

    html[data-sbah-page="lp-principal"] .metric-card__inner{
      position: relative;
      z-index: 2;
      width: 100%;
      height: 100%;
      min-height: 0;
      padding: clamp(34px, 5vw, 70px);
      display: flex;
      flex-direction: column;
    }

    html[data-sbah-page="lp-principal"] .metric-card__kicker{
      margin: 0;
      color: rgba(255,255,255,.86);
      font-size: 16px;
      font-weight: 600;
    }

    html[data-sbah-page="lp-principal"] .metric-card__grid{
      flex: 1 1 auto;
      min-height: 0;
      margin-top: 22px;
      display: grid;
      grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
      gap: clamp(40px, 6vw, 100px);
      align-items: center;
    }

    html[data-sbah-page="lp-principal"] .metric-card__title{
      margin: 0;
      color: #fff;
      font-size: clamp(38px, 4vw, 62px);
      line-height: 1.02;
      letter-spacing: -.04em;
      font-weight: 650;
      text-wrap: balance;
    }

    html[data-sbah-page="lp-principal"] .metric-card__caption{
      margin: 18px 0 0;
      color: rgba(255,255,255,.66);
      font-size: 13px;
      line-height: 1.45;
    }

    html[data-sbah-page="lp-principal"] .maturity-panel{
      padding: clamp(22px, 3vw, 34px);
      border-radius: 26px;
      border: 1px solid rgba(255,255,255,.24);
      background:
        radial-gradient(circle at 95% 100%, rgba(195,0,255,.22), transparent 40%),
        rgba(255,255,255,.035);
    }

    html[data-sbah-page="lp-principal"] .maturity-row{
      display: grid;
      grid-template-columns: minmax(100px, 1fr) auto;
      gap: 12px;
      align-items: center;
    }

    html[data-sbah-page="lp-principal"] .maturity-row + .maturity-row{
      margin-top: 16px;
    }

    html[data-sbah-page="lp-principal"] .maturity-row__bar{
      height: 14px;
      padding: 3px;
      overflow: hidden;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.18);
      background: rgba(0,0,0,.30);
    }

    html[data-sbah-page="lp-principal"] .maturity-row__fill{
      display: block;
      width: var(--w);
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--blue), var(--purple));
      box-shadow: 0 0 14px rgba(195,0,255,.28);
    }

    html[data-sbah-page="lp-principal"] .maturity-row__label{
      min-width: 130px;
      font-size: 12px;
      font-weight: 500;
      white-space: nowrap;
    }

    html[data-sbah-page="lp-principal"] .maturity-row__label b{
      color: var(--lime);
      font-weight: 700;
    }

    html[data-sbah-page="lp-principal"] .diversity-showcase{
      flex: 1 1 auto;
      min-height: 0;
      margin-top: 22px;
      display: grid;
      grid-template-columns: minmax(0, 1.12fr) minmax(270px, .88fr);
      gap: clamp(28px, 5vw, 76px);
      align-items: center;
    }

    html[data-sbah-page="lp-principal"] .diversity-rotator{
      position: relative;
      height: clamp(128px, 10vw, 158px);
      overflow: hidden;
      border-radius: 28px;
    }

    html[data-sbah-page="lp-principal"] .diversity-rotator__track{
      height: 100%;
      display: flex;
      flex-direction: column;
      will-change: transform;
      transition: transform .72s var(--ease-out);
    }

    html[data-sbah-page="lp-principal"] .diversity-pill{
      flex: 0 0 100%;
      height: 100%;
      min-height: 0;
      padding: 18px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      overflow: visible;
      border-radius: 28px;
      border: 1px solid rgba(255,255,255,.22);
      background:
        radial-gradient(circle at 96% 100%, rgba(195,0,255,.25), transparent 42%),
        rgba(255,255,255,.035);
    }

    html[data-sbah-page="lp-principal"] .diversity-pill__name{
      font-size: clamp(20px, 2vw, 30px);
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: .02em;
      white-space: nowrap;
    }

    html[data-sbah-page="lp-principal"] .diversity-pill__value{
      min-width: 160px;
      padding: 22px 28px;
      border-radius: 18px;
      font-size: clamp(45px, 5vw, 74px);
      line-height: 1;
      text-align: center;
      font-weight: 800;
      transform: rotate(2deg);
      box-shadow: 0 12px 28px rgba(0,0,0,.22);
      color: #090909;
      background: var(--lime);
    }

    html[data-sbah-page="lp-principal"] .diversity-pill--negros .diversity-pill__value{
      color: #fff;
      background: linear-gradient(135deg, #7200FF, #C300FF);
    }

    html[data-sbah-page="lp-principal"] .diversity-pill--pcd .diversity-pill__value{
      color: #fff;
      background: linear-gradient(135deg, #9400FF, #E000FF);
    }

    html[data-sbah-page="lp-principal"] .diversity-pill--lgbt .diversity-pill__value{
      color: #fff;
      background: linear-gradient(135deg, #0015FF, #173EFF);
    }

    html[data-sbah-page="lp-principal"] .diversity-copy__title{
      margin: 0;
      font-size: clamp(38px, 4vw, 62px);
      line-height: 1.02;
      letter-spacing: -.04em;
      text-wrap: balance;
    }

    html[data-sbah-page="lp-principal"] .diversity-copy__caption{
      margin: 18px 0 0;
      max-width: 320px;
      color: rgba(255,255,255,.68);
      font-size: 13px;
      line-height: 1.45;
    }

    html[data-sbah-page="lp-principal"] .investment-panel,
html[data-sbah-page="lp-principal"] .ods-panel{
      min-height: 148px;
      padding: clamp(24px, 4vw, 42px);
      display: grid;
      place-items: center;
      border-radius: 24px;
      border: 1px solid rgba(255,255,255,.24);
      background:
        radial-gradient(ellipse at 74% 82%, rgba(195,0,255,.38), transparent 28%),
        radial-gradient(ellipse at 28% 92%, rgba(0,21,255,.48), transparent 24%),
        rgba(255,255,255,.035);
    }

    html[data-sbah-page="lp-principal"] .investment-value{
      margin: 0;
      font-size: clamp(42px, 5vw, 78px);
      line-height: 1;
      letter-spacing: -.05em;
      font-weight: 800;
      text-align: center;
    }

    html[data-sbah-page="lp-principal"] .investment-value span{
      background: linear-gradient(90deg, #fff 0 38%, #C300FF 68%, #fff 100%);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
    }

    html[data-sbah-page="lp-principal"] .ods-panel{
      grid-template-columns: auto 1fr;
      place-items: center stretch;
      gap: clamp(20px, 4vw, 46px);
    }

    html[data-sbah-page="lp-principal"] .ods-number{
      font-size: clamp(58px, 7vw, 98px);
      line-height: 1;
      font-weight: 800;
      color: var(--lime);
    }

    html[data-sbah-page="lp-principal"] .ods-art{
      min-width: 150px;
      min-height: 112px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    html[data-sbah-page="lp-principal"] .ods-art__image{
      display: block;
      width: clamp(120px, 12vw, 180px);
      max-width: 100%;
      height: auto;
      object-fit: contain;
      filter: drop-shadow(0 10px 26px rgba(0,0,0,.20));
    }

    /* =========================================================
       08. MAP / HEATMAP
       ========================================================= */
    html[data-sbah-page="lp-principal"] .map-section{
      position: relative;
      z-index: 18;
      padding: var(--section-space) 0 var(--section-space);
      overflow: hidden;
      background: var(--page);
    }

    html[data-sbah-page="lp-principal"] .map-section::before{
      content: "";
      position: absolute;
      width: 640px;
      height: 640px;
      left: 50%;
      bottom: -420px;
      transform: translateX(-50%);
      border-radius: 50%;
      background: rgba(195,0,255,.13);
      filter: blur(90px);
      pointer-events: none;
    }

    html[data-sbah-page="lp-principal"] .map-header{
      margin-bottom: var(--section-header-gap);
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 30px;
      align-items: end;
    }

    html[data-sbah-page="lp-principal"] .map-title{
      margin: 0;
      font-size: clamp(38px, 5vw, 68px);
      line-height: .98;
      letter-spacing: -.055em;
      font-weight: 650;
    }

    html[data-sbah-page="lp-principal"] .map-subtitle{
      width: min(650px, 100%);
      margin: 18px 0 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.5;
    }

    html[data-sbah-page="lp-principal"] .map-live-badge{
      padding: 11px 14px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: var(--surface);
      color: var(--ink);
      font-size: 12px;
      font-weight: 600;
      box-shadow: var(--shadow-card);
    }

    html[data-sbah-page="lp-principal"] .map-live-badge i{
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #59DF71;
      box-shadow: 0 0 0 5px rgba(89,223,113,.12);
    }


    html[data-sbah-page="lp-principal"] .map-tools{
      margin: 0 0 18px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
    }

    html[data-sbah-page="lp-principal"] .map-search{
      position: relative;
      min-width: 0;
    }

    html[data-sbah-page="lp-principal"] .map-search__input{
      width: 100%;
      height: 52px;
      padding: 0 48px 0 46px;
      border: 1px solid var(--line);
      border-radius: 999px;
      outline: none;
      color: var(--ink);
      background: var(--surface);
      font: 500 14px/1 var(--font);
      box-shadow: var(--shadow-card);
      transition: border-color .2s ease, box-shadow .2s ease;
    }

    html[data-sbah-page="lp-principal"] .map-search__input:focus{
      border-color: rgba(195,0,255,.55);
      box-shadow: 0 0 0 4px rgba(195,0,255,.10), var(--shadow-card);
    }

    html[data-sbah-page="lp-principal"] .map-search__icon{
      position: absolute;
      top: 50%;
      left: 17px;
      width: 18px;
      height: 18px;
      transform: translateY(-50%);
      color: var(--muted);
      pointer-events: none;
    }

    html[data-sbah-page="lp-principal"] .map-search__icon svg{
      width: 100%;
      height: 100%;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    html[data-sbah-page="lp-principal"] .map-search__clear{
      position: absolute;
      top: 50%;
      right: 8px;
      width: 36px;
      height: 36px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      cursor: pointer;
      transform: translateY(-50%);
      color: var(--muted);
      background: transparent;
    }

    html[data-sbah-page="lp-principal"] .map-search__clear:hover{
      color: var(--ink);
      background: var(--surface-2);
    }

    html[data-sbah-page="lp-principal"] .map-filter-feedback{
      min-width: 130px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
      text-align: right;
    }

    html[data-sbah-page="lp-principal"] .heat-marker-wrap{
      background: transparent !important;
      border: 0 !important;
      pointer-events: none !important;
    }

    html[data-sbah-page="lp-principal"] .heat-blob{
      position: absolute;
      inset: 0;
      display: block;
      border-radius: 50%;
      transform: scale(.96);
      background:
        radial-gradient(circle at 50% 50%,
          rgba(15, 21, 255, .98) 0%,
          rgba(78, 0, 255, .88) 18%,
          rgba(195, 0, 255, .62) 42%,
          rgba(255, 77, 221, .34) 63%,
          rgba(255, 77, 221, 0) 78%);
      filter: blur(5px) saturate(1.18);
      opacity: var(--heat-opacity, .78);
      animation: heat-breathe 3.8s ease-in-out infinite alternate;
      will-change: transform, opacity;
    }

    @keyframes heat-breathe {
      from { transform: scale(.91); opacity: .56; }
      to   { transform: scale(1.05); opacity: var(--heat-opacity, .78); }
    }

    html[data-sbah-page="lp-principal"] .city-point-marker{
      width: 8px;
      height: 8px;
      border-radius: 50%;
      border: none;
      background: #5E2CA5; 
      box-shadow: 0 1px 3px rgba(0,0,0,.18); 
    }

    html[data-sbah-page="lp-principal"] .city-point-marker.is-peak{
      background: #4B1F8A;
      box-shadow: none;
    }

    html[data-sbah-page="lp-principal"] #startupBAHeatMap .leaflet-tile-pane{
      transition: filter .25s ease;
    }

    html[data-sbah-page="lp-principal"][data-theme="dark"] #startupBAHeatMap .leaflet-tile-pane,
html[data-sbah-page="lp-principal"][data-theme="light"] #startupBAHeatMap .leaflet-tile-pane{
      filter: none;
    }

    html[data-sbah-page="lp-principal"] #startupBAHeatMap .leaflet-control-attribution{
      font-size: 9px;
      color: #555;
      background: rgba(255,255,255,.78);
    }

    html[data-sbah-page="lp-principal"] .map-dashboard.reveal{
      transform: none;
    }

    html[data-sbah-page="lp-principal"] .map-dashboard{
      display: grid;
      grid-template-columns: minmax(0, 1fr) 320px;
      gap: 18px;
      align-items: stretch;
    }

    html[data-sbah-page="lp-principal"] .map-card{
      position: relative;
      min-height: 660px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 30px;
      background: var(--surface);
      box-shadow: var(--shadow-soft);
    }

    html[data-sbah-page="lp-principal"] #startupBAHeatMap{
      width: 100%;
      height: 660px;
      background: #EAEAEA;
    }

    html[data-sbah-page="lp-principal"][data-theme="dark"] #startupBAHeatMap{
      background: #202124;
    }

    html[data-sbah-page="lp-principal"] .leaflet-container{
      font-family: var(--font);
    }

    html[data-sbah-page="lp-principal"] .leaflet-control-zoom a{
      color: #111 !important;
    }

    html[data-sbah-page="lp-principal"] .leaflet-popup-content-wrapper,
html[data-sbah-page="lp-principal"] .leaflet-popup-tip{
      background: var(--map-card);
      color: var(--ink);
    }

    html[data-sbah-page="lp-principal"] .leaflet-popup-content-wrapper{
      border: 1px solid var(--line);
      border-radius: 16px;
      box-shadow: 0 18px 46px rgba(0,0,0,.18);
    }

    html[data-sbah-page="lp-principal"] .leaflet-popup-content{
      margin: 15px 17px;
    }

    html[data-sbah-page="lp-principal"] .map-popup__city{
      margin: 0;
      font-size: 15px;
      font-weight: 700;
    }

    html[data-sbah-page="lp-principal"] .map-popup__value{
      margin: 5px 0 0;
      color: var(--muted);
      font-size: 12px;
    }

    html[data-sbah-page="lp-principal"] .map-overlay-stats{
      position: absolute;
      z-index: 700;
      left: 18px;
      right: 18px;
      bottom: 18px;
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 12px;
      pointer-events: none;
    }

    html[data-sbah-page="lp-principal"] .map-stat-card{
      min-width: 138px;
      padding: 15px 17px;
      border: 1px solid rgba(255,255,255,.38);
      border-radius: 18px;
      color: #fff;
      background: rgba(9,9,9,.82);
      box-shadow: 0 14px 38px rgba(0,0,0,.25);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    html[data-sbah-page="lp-principal"] .map-stat-card strong{
      display: block;
      font-size: 32px;
      line-height: 1;
      letter-spacing: -.04em;
    }

    html[data-sbah-page="lp-principal"] .map-stat-card span{
      display: block;
      margin-top: 5px;
      color: rgba(255,255,255,.70);
      font-size: 10px;
      line-height: 1.25;
    }

    html[data-sbah-page="lp-principal"] .heat-legend{
      padding: 12px 14px;
      border: 1px solid rgba(255,255,255,.38);
      border-radius: 16px;
      color: #fff;
      background: rgba(9,9,9,.82);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    html[data-sbah-page="lp-principal"] .heat-legend__label{
      margin: 0 0 7px;
      font-size: 10px;
      font-weight: 600;
    }

    html[data-sbah-page="lp-principal"] .heat-legend__bar{
      width: 150px;
      height: 8px;
      border-radius: 999px;
      background: linear-gradient(90deg, #0015FF 0%, #5D00FF 42%, #C300FF 72%, #FF4DDD 100%);
      box-shadow: 0 0 20px rgba(195,0,255,.22);
    }

    html[data-sbah-page="lp-principal"] .heat-legend__scale{
      margin-top: 5px;
      display: flex;
      justify-content: space-between;
      color: rgba(255,255,255,.62);
      font-size: 8px;
    }

    html[data-sbah-page="lp-principal"] .map-sidebar{
      min-height: 660px;
      padding: 22px;
      display: flex;
      flex-direction: column;
      border-radius: 30px;
      border: 1px solid var(--line);
      background: var(--surface);
      box-shadow: var(--shadow-card);
    }

    html[data-sbah-page="lp-principal"] .map-sidebar__title{
      margin: 0;
      font-size: 18px;
      line-height: 1.2;
      font-weight: 700;
    }

    html[data-sbah-page="lp-principal"] .map-sidebar__caption{
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.4;
    }

    html[data-sbah-page="lp-principal"] .city-ranking{
      margin: 24px 0 0;
      padding: 0;
      list-style: none;
    }

    html[data-sbah-page="lp-principal"] .city-ranking__item{
      padding: 14px 0;
      display: grid;
      grid-template-columns: 30px minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      border-bottom: 1px solid var(--line);
    }

    html[data-sbah-page="lp-principal"] .city-ranking__position{
      width: 30px;
      height: 30px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: var(--surface-2);
      color: var(--muted);
      font-size: 11px;
      font-weight: 700;
    }

    html[data-sbah-page="lp-principal"] .city-ranking__name{
      min-width: 0;
      font-size: 12px;
      font-weight: 600;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    html[data-sbah-page="lp-principal"] .city-ranking__value{
      padding: 6px 9px;
      border-radius: 999px;
      color: #111;
      background: var(--lime);
      font-size: 11px;
      font-weight: 800;
    }


    html[data-sbah-page="lp-principal"] .map-empty{
      height: 100%;
      min-height: 660px;
      padding: 30px;
      display: none;
      place-items: center;
      text-align: center;
      color: var(--muted);
      background: var(--surface);
    }

    html[data-sbah-page="lp-principal"] .map-empty.is-visible{
      display: grid;
    }

    /* =========================================================
       09. REVEALS
       ========================================================= */
    html[data-sbah-page="lp-principal"] .reveal{
      opacity: 0;
      transform: translateY(28px);
      transition: opacity .7s ease, transform .9s var(--ease-out);
    }

    html[data-sbah-page="lp-principal"] .reveal.is-visible{
      opacity: 1;
      transform: none;
    }

    /* =========================================================
       10. RESPONSIVE
       ========================================================= */
    @media (max-width: 1100px) {
      html[data-sbah-page="lp-principal"] .metrics-carousel{ --metric-card-height: 440px; }
      html[data-sbah-page="lp-principal"] .brand-lockup__startup{ width: 104px; }
      html[data-sbah-page="lp-principal"] .brand-lockup__sebrae{ width: 82px; }

      html[data-sbah-page="lp-principal"] .about__grid{ grid-template-columns: .95fr 1.05fr; }

      html[data-sbah-page="lp-principal"] .story-step{
        grid-template-columns: minmax(0, 1fr) 320px minmax(0, 1fr);
        gap: 34px;
      }

      html[data-sbah-page="lp-principal"] .map-dashboard{ grid-template-columns: minmax(0, 1fr) 290px; }
    }

    @media (max-width: 980px) {
      html[data-sbah-page="lp-principal"] .metrics-carousel{ --metric-card-height: 520px; }
      html[data-sbah-page="lp-principal"] .site-header__inner{
        grid-template-columns: auto 1fr;
        gap: 12px;
      }

      html[data-sbah-page="lp-principal"] .theme-toggle-wrap{
        grid-column: 1 / -1;
        justify-self: end;
        position: absolute;
        top: 4px;
        right: 0;
      }

      html[data-sbah-page="lp-principal"] .header-actions{
        justify-self: center;
      }

      html[data-sbah-page="lp-principal"] .about__grid{ grid-template-columns: 1fr; }

      html[data-sbah-page="lp-principal"] .about__image-wrap,
html[data-sbah-page="lp-principal"] .about__copy{ min-height: 0; }

      html[data-sbah-page="lp-principal"] .about__image-wrap{ aspect-ratio: 1.8 / 1; }
      html[data-sbah-page="lp-principal"] .about__copy{ padding: 40px; }

      html[data-sbah-page="lp-principal"] .experience-shell{
        margin-top: -74px;
        border-radius: 44px 44px 0 0;
        padding-top: 94px;
      }

      html[data-sbah-page="lp-principal"] .phone-story{ min-height: 322vh; }
      html[data-sbah-page="lp-principal"] .phone-sticky{ top: 10vh; width: 292px; }

      html[data-sbah-page="lp-principal"] .story-step{
        min-height: 100vh;
        grid-template-columns: minmax(0, 1fr) 292px minmax(0, 1fr);
        gap: 18px;
      }

      html[data-sbah-page="lp-principal"] .story-step__title{ font-size: clamp(34px, 5vw, 50px); }

      html[data-sbah-page="lp-principal"] .community__header{ display: block; }
      html[data-sbah-page="lp-principal"] .community__lead{ margin-top: 20px; }

      html[data-sbah-page="lp-principal"] .metric-card__grid,
html[data-sbah-page="lp-principal"] .diversity-showcase{ grid-template-columns: 1fr; }

      html[data-sbah-page="lp-principal"] .map-dashboard{ grid-template-columns: 1fr; }
      html[data-sbah-page="lp-principal"] .map-tools{ grid-template-columns: 1fr; }
      html[data-sbah-page="lp-principal"] .map-filter-feedback{ text-align: left; min-width: 0; }
      html[data-sbah-page="lp-principal"] .map-card,
html[data-sbah-page="lp-principal"] #startupBAHeatMap{ min-height: 580px; height: 580px; }
      html[data-sbah-page="lp-principal"] .map-sidebar{ min-height: 0; }
      html[data-sbah-page="lp-principal"] .city-ranking{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
      }

      html[data-sbah-page="lp-principal"] .map-header{ grid-template-columns: 1fr; }
      html[data-sbah-page="lp-principal"] .map-live-badge{ justify-self: start; }
    }

    @media (max-width: 680px) {
      html[data-sbah-page="lp-principal"] .metrics-carousel{ --metric-card-height: 500px; }
      html[data-sbah-page="lp-principal"]{ --gutter: 18px; }

      /* =====================================================
         HEADER MOBILE
         - logos no topo
         - Entrar + Fazer diagnóstico sempre visíveis
         - botões empilhados para não cortar em 320/360px
         ===================================================== */
      html[data-sbah-page="lp-principal"] .site-header{
        inset: 10px 0 auto;
        min-height: 92px;
        z-index: 120;
      }

      html[data-sbah-page="lp-principal"] .site-header__inner{
        position: relative;
        width: calc(100% - 24px);
        min-height: 88px;
        display: block;
        overflow: visible;
      }

      html[data-sbah-page="lp-principal"] .brand-lockup{
        position: absolute;
        top: 0;
        left: 0;
        width: auto;
        gap: 10px;
        z-index: 3;
      }

      html[data-sbah-page="lp-principal"] .brand-lockup__sebrae{ width: 88px; }
      html[data-sbah-page="lp-principal"] .brand-lockup__startup{ width: 112px; }

      /* No mobile as ações começam recolhidas. O botão abaixo permite
         mostrar/ocultar sem ocupar a tela o tempo todo. */
      html[data-sbah-page="lp-principal"] .header-actions{
        position: absolute !important;
        top: 76px !important;
        left: auto !important;
        right: 0 !important;
        transform: translateY(-7px) scale(.97) !important;
        transform-origin: top right !important;
        width: 148px !important;
        max-width: calc(100vw - 28px) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 3px !important;
        padding: 3px !important;
        border-radius: 20px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: 7 !important;
        transition: opacity .18s ease, transform .22s var(--ease-out), visibility .18s ease !important;
      }

      html[data-sbah-page="lp-principal"] .site-header.is-actions-open .header-actions{
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
      }

      html[data-sbah-page="lp-principal"] .header-link,
html[data-sbah-page="lp-principal"] .header-cta{
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 31px !important;
        padding: 0 10px !important;
        font-size: 9.5px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        opacity: 1 !important;
        visibility: visible !important;
      }

      html[data-sbah-page="lp-principal"] .header-cta{
        min-height: 33px !important;
      }

      html[data-sbah-page="lp-principal"] .header-actions-toggle{
        position: absolute;
        top: 43px;
        right: 0;
        z-index: 8;
        width: 29px;
        height: 29px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid;
        border-radius: 999px;
        cursor: pointer;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 7px 18px rgba(0,0,0,.12);
        transition: transform .2s ease, background .2s ease;
      }

      html[data-sbah-page="lp-principal"] .header-actions-toggle svg{
        width: 13px;
        height: 13px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform .22s var(--ease-out);
      }

      html[data-sbah-page="lp-principal"] .site-header.is-actions-open .header-actions-toggle svg{
        transform: rotate(180deg);
      }

      html[data-sbah-page="lp-principal"] .theme-toggle-wrap{
        position: absolute;
        top: 1px;
        right: 0;
        z-index: 6;
      }

      html[data-sbah-page="lp-principal"] .theme-toggle{
        width: 36px;
        height: 36px;
        min-height: 36px;
      }

      /* =====================================================
         HERO MOBILE
         ===================================================== */
      html[data-sbah-page="lp-principal"] .hero{
        min-height: 100svh;
        height: 100svh;
      }

      html[data-sbah-page="lp-principal"] .hero__bg{ display: none; }

      html[data-sbah-page="lp-principal"] .hero::before{
        background:
          radial-gradient(circle at 50% 80%, rgba(0,21,255,.18), transparent 34%),
          linear-gradient(180deg, #080808 0%, #050505 52%, #000 100%);
      }

      html[data-sbah-page="lp-principal"] .hero__content{
        place-items: end center;
        padding: 170px 18px 80px;
      }

      html[data-sbah-page="lp-principal"] .hero__inner{ width: min(100%, 370px); }

      html[data-sbah-page="lp-principal"] .hero__title{
        font-size: clamp(34px, 10.6vw, 44px);
        line-height: .97;
        letter-spacing: -.045em;
      }

      html[data-sbah-page="lp-principal"] .hero__subtitle{
        width: min(100%, 330px);
        margin-top: 15px;
        font-size: 13.5px;
        line-height: 1.48;
      }

      html[data-sbah-page="lp-principal"] .hero__cta{
        width: min(100%, 288px);
        min-height: 50px;
        margin-top: 19px;
      }

      /* =====================================================
         HERO + ABOUT MOBILE

         IMPORTANTE:
         O ABOUT NÃO pode ser absolute no mobile. Quando ele era
         absolute, ele não participava da altura real da cena e
         acabava quebrando a largura/medição do restante da página,
         inclusive a sessão pinada do celular.

         Agora a estrutura é:
         HERO sticky -> ABOUT no fluxo normal -> PHONE STORY por cima.

         Assim o hero continua parado por trás enquanto o ABOUT sobe,
         e a sessão do celular entra depois cobrindo o conjunto.
         ===================================================== */
      html[data-sbah-page="lp-principal"] .hero-scroll-scene{
        position: relative;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        overflow-x: clip;
        overflow-y: visible;
        background: #000;
      }

      html[data-sbah-page="lp-principal"] .hero{
        position: sticky;
        top: 0;
        z-index: 0;
      }

      html[data-sbah-page="lp-principal"] .about{
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        z-index: 8;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 18px 0 70px;
        overflow: hidden;
        background: linear-gradient(180deg, rgba(0,0,0,.96) 0%, #000 14%, #000 100%);
      }

      /* O glow desktop ultrapassava a viewport e podia gerar largura
         fantasma no Chrome mobile. No mobile o efeito fica no próprio card. */
      html[data-sbah-page="lp-principal"] .about::after{
        display: none !important;
      }

      html[data-sbah-page="lp-principal"] .about > .container{
        width: calc(100% - 28px);
        max-width: 100%;
        margin-inline: auto;
      }

      html[data-sbah-page="lp-principal"] .about__grid{
        width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px;
      }

      html[data-sbah-page="lp-principal"] .about__image-wrap,
html[data-sbah-page="lp-principal"] .about__copy{
        width: 100%;
        min-width: 0;
        min-height: 0;
        border-radius: 20px;
      }

      html[data-sbah-page="lp-principal"] .about__image-wrap{
        height: auto;
        aspect-ratio: 1.58 / 1;
      }

      html[data-sbah-page="lp-principal"] .about__image{
        width: 100%;
        height: 100%;
        max-width: 100%;
        object-fit: cover;
      }

      html[data-sbah-page="lp-principal"] .about__copy{
        padding: 22px 18px;
        overflow: hidden;
      }

      html[data-sbah-page="lp-principal"] .about__copy::after{
        inset: 0;
      }

      html[data-sbah-page="lp-principal"] .about__title{
        margin-bottom: 14px;
        font-size: 24px;
        overflow-wrap: break-word;
      }

      html[data-sbah-page="lp-principal"] .about__text,
html[data-sbah-page="lp-principal"] .about__strong{
        max-width: 100%;
        font-size: 14px;
        line-height: 1.48;
        overflow-wrap: break-word;
      }

      html[data-sbah-page="lp-principal"] .about__strong{ margin-top: 14px; }

      /* =====================================================
         PHONE STORY MOBILE — PIN REAL POR JAVASCRIPT

         Em vez de depender de position:sticky (que estava falhando
         no navegador mobile/CloudPage), a camada do aparelho fica:
         1) absolute no início da história;
         2) fixed enquanto a história está passando;
         3) absolute no final.

         Isso reproduz o comportamento visual da referência: o
         aparelho permanece no mesmo lugar da viewport enquanto
         o conteúdo interno e o texto trocam com o scroll.
         ===================================================== */
      html[data-sbah-page="lp-principal"] .experience-shell{
        position: relative;
        z-index: 20;
        /* entra por cima do final do ABOUT, sem puxar uma viewport inteira */
        margin-top: -48px !important;
        padding-top: 52px;
        border-radius: 34px 34px 0 0;
        box-shadow: 0 -24px 74px rgba(0,0,0,.24);
        overflow: visible !important;
      }

      html[data-sbah-page="lp-principal"] .experience__intro{
        position: relative;
        z-index: 12;
        margin-bottom: 12px;
      }

      html[data-sbah-page="lp-principal"] .experience__intro-title{
        font-size: 31px;
      }

      html[data-sbah-page="lp-principal"] .phone-story{
        --mobile-phone-w: min(43vw, 176px, 23svh);
        --mobile-stage-top: clamp(142px, 18svh, 150px);
        position: relative;
        min-height: 0;
        margin-top: 0;
        overflow: visible !important;
        isolation: isolate;
      }

      /* A camada é retirada do fluxo. Os 3 story-step abaixo criam
         todo o trilho vertical necessário para o scroll. */
      html[data-sbah-page="lp-principal"] .phone-sticky-layer{
        position: absolute !important;
        inset: 0 0 auto 0 !important;
        top: 0 !important;
        bottom: auto !important;
        width: 100% !important;
        height: 100svh !important;
        margin: 0 !important;
        padding-top: var(--mobile-stage-top);
        z-index: 40;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        overflow: visible !important;
        pointer-events: none;
      }

      /* Estado pinado: fica realmente preso à viewport. */
      html[data-sbah-page="lp-principal"] .phone-sticky-layer.is-mobile-fixed{
        position: fixed !important;
        inset: 0 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100svh !important;
        margin: 0 !important;
        padding-top: var(--mobile-stage-top);
        z-index: 70 !important;
      }

      /* Ao terminar a história, o aparelho é estacionado no fim do
         container para sair naturalmente quando a próxima seção entra. */
      html[data-sbah-page="lp-principal"] .phone-sticky-layer.is-mobile-after{
        position: absolute !important;
        inset: auto 0 0 0 !important;
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100svh !important;
        margin: 0 !important;
        padding-top: var(--mobile-stage-top);
      }

      html[data-sbah-page="lp-principal"] .phone-sticky{
        --phone-scale: 1 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: var(--mobile-phone-w);
        flex: 0 0 auto;
        margin: 0 auto;
        transform: none !important;
        transform-origin: center top;
        filter: drop-shadow(0 22px 28px rgba(0,0,0,.20));
      }

      /* Cada passo é somente uma faixa de scroll. O texto original
         fica oculto no mobile para nunca atravessar o aparelho. */
      html[data-sbah-page="lp-principal"] .story-step{
        position: relative;
        z-index: 2;
        min-height: 90svh;
        display: block;
        padding: 0;
        pointer-events: none;
      }

      html[data-sbah-page="lp-principal"] .story-step__copy,
html[data-sbah-page="lp-principal"] .story-step:nth-child(odd) .story-step__copy,
html[data-sbah-page="lp-principal"] .story-step:nth-child(even) .story-step__copy{
        position: static !important;
        display: none !important;
      }

      /* Um único texto visível acompanha o aparelho e fica sempre
         ABAIXO dele. A troca de conteúdo é feita pelo JS. */
      html[data-sbah-page="lp-principal"] .mobile-story-copy{
        display: block;
        width: min(calc(100vw - 44px), 318px);
        min-height: 128px;
        margin-top: clamp(12px, 2svh, 18px);
        padding: 0 4px;
        color: var(--ink);
        text-align: left;
        opacity: 1;
        transform: none;
        transition: opacity .16s ease, transform .16s ease;
        pointer-events: none;
      }

      html[data-sbah-page="lp-principal"] .mobile-story-copy.is-changing{
        opacity: 0;
        transform: translateY(7px);
      }

      html[data-sbah-page="lp-principal"] .mobile-story-copy .story-step__eyebrow{
        margin: 0 0 6px;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.3;
        font-weight: 600;
      }

      html[data-sbah-page="lp-principal"] .mobile-story-copy .story-step__title{
        margin: 0;
        color: var(--ink);
        font-size: clamp(28px, 9vw, 36px);
        line-height: .98;
        letter-spacing: -.045em;
        font-weight: 650;
      }

      html[data-sbah-page="lp-principal"] .mobile-story-copy .story-step__text{
        max-width: 310px;
        margin: 10px 0 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.42;
      }

      /* STATUS DO CELULAR MAIS COMPACTO NO MOBILE */
      html[data-sbah-page="lp-principal"] .phone-status{
        height: 5.2%;
        min-height: 28px;
        padding: 0 8%;
        font-size: 8px;
        background: #000;
      }

      html[data-sbah-page="lp-principal"] .phone-status__right{
        gap: 3px;
      }

      html[data-sbah-page="lp-principal"] .signal-bars{
        width: 12px;
        height: 8px;
        gap: 1px;
      }

      html[data-sbah-page="lp-principal"] .signal-bars i{
        width: 1.5px;
      }

      html[data-sbah-page="lp-principal"] .signal-bars i:nth-child(1){ height: 3px; }
      html[data-sbah-page="lp-principal"] .signal-bars i:nth-child(2){ height: 4px; }
      html[data-sbah-page="lp-principal"] .signal-bars i:nth-child(3){ height: 6px; }
      html[data-sbah-page="lp-principal"] .signal-bars i:nth-child(4){ height: 8px; }

      html[data-sbah-page="lp-principal"] .five-g{
        font-size: 7px;
      }

      html[data-sbah-page="lp-principal"] .wifi-icon{
        width: 11px;
        height: 9px;
      }

      html[data-sbah-page="lp-principal"] .wifi-icon::before{ width: 11px; height: 11px; top: 1px; border-width: 1.3px; }
      html[data-sbah-page="lp-principal"] .wifi-icon::after{ width: 7px; height: 7px; top: 4px; border-width: 1.3px; }
      html[data-sbah-page="lp-principal"] .wifi-icon span{ width: 3px; height: 3px; top: 7px; border-width: 1.3px; }

      html[data-sbah-page="lp-principal"] .battery{
        width: 15px;
        height: 8px;
        border-width: 1px;
        padding: 1px;
      }

      html[data-sbah-page="lp-principal"] .battery::after{
        right: -2.4px;
        top: 2px;
        width: 1.5px;
        height: 3px;
      }

      /* No mobile a imagem de fundo do hero permanece desligada. */
      html[data-sbah-page="lp-principal"] .hero__bg{
        display: none !important;
      }

      /* JOURNEY: sem faixa/vão extra e com swipe horizontal nativo. */
      html[data-sbah-page="lp-principal"] .journey{
        margin: 0;
        padding: var(--section-space-mobile) 0 0;
        background: var(--page) !important;
        overflow: hidden;
        box-shadow: none;
      }

      html[data-sbah-page="lp-principal"] .journey__header{
        margin-bottom: 20px;
      }

      html[data-sbah-page="lp-principal"] .marquee{
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 8px 18px 0;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 18px;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-mask-image: none;
        mask-image: none;
      }

      html[data-sbah-page="lp-principal"] .marquee::-webkit-scrollbar{
        display: none;
      }

      html[data-sbah-page="lp-principal"] .marquee-track{
        animation: none !important;
        transform: none !important;
        width: max-content;
        will-change: auto;
      }

      html[data-sbah-page="lp-principal"] .marquee:hover .marquee-track{
        animation-play-state: running;
      }

      html[data-sbah-page="lp-principal"] .marquee-group{
        gap: 16px;
        padding-right: 0;
      }

      /* No mobile não precisamos da cópia usada no loop infinito desktop. */
      html[data-sbah-page="lp-principal"] .marquee-group[aria-hidden="true"]{
        display: none;
      }

      html[data-sbah-page="lp-principal"] .journey-card{
        width: min(78vw, 332px);
        border-radius: 22px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
      }

      html[data-sbah-page="lp-principal"] .journey-card__head{ inset: 16px 16px auto; }
      html[data-sbah-page="lp-principal"] .journey-card__number{ width: 36px; height: 36px; flex-basis: 36px; font-size: 16px; }
      html[data-sbah-page="lp-principal"] .journey-card__label{ font-size: 14px; }
      html[data-sbah-page="lp-principal"] .activation-card{ width: 82%; padding: 18px 14px; }

      html[data-sbah-page="lp-principal"] .community{ padding: var(--section-space-mobile) 0 0; }
      html[data-sbah-page="lp-principal"] .community__title,
html[data-sbah-page="lp-principal"] .map-title{ font-size: clamp(38px, 11vw, 52px); }
      html[data-sbah-page="lp-principal"] .metric-card{ min-height: 0; border-radius: 24px; }
      html[data-sbah-page="lp-principal"] .metric-card__inner{ padding: 26px 20px; }
      html[data-sbah-page="lp-principal"] .metric-card__grid{ min-height: 0; gap: 26px; }
      html[data-sbah-page="lp-principal"] .maturity-panel{ padding: 18px; border-radius: 20px; }
      html[data-sbah-page="lp-principal"] .maturity-row{ grid-template-columns: minmax(70px, 1fr) 104px; gap: 9px; }
      html[data-sbah-page="lp-principal"] .maturity-row__label{ min-width: 0; font-size: 9.5px; }
      html[data-sbah-page="lp-principal"] .diversity-showcase{ gap: 24px; }
      html[data-sbah-page="lp-principal"] .diversity-rotator{ height: 108px; border-radius: 20px; }
      html[data-sbah-page="lp-principal"] .diversity-pill{ padding: 14px 16px; border-radius: 20px; }
      html[data-sbah-page="lp-principal"] .diversity-pill__name{ font-size: 15px; }
      html[data-sbah-page="lp-principal"] .diversity-pill__value{ min-width: 96px; padding: 14px 12px; font-size: 36px; border-radius: 14px; }
      html[data-sbah-page="lp-principal"] .diversity-copy__title{ font-size: 36px; }
      html[data-sbah-page="lp-principal"] .diversity-copy__caption{ margin-top: 12px; }
      html[data-sbah-page="lp-principal"] .investment-panel,
html[data-sbah-page="lp-principal"] .ods-panel{ min-height: 120px; padding: 22px 18px; }
      html[data-sbah-page="lp-principal"] .ods-panel{ grid-template-columns: auto 1fr; }
      html[data-sbah-page="lp-principal"] .ods-art{ min-width: 108px; min-height: 90px; }
      html[data-sbah-page="lp-principal"] .ods-art__image{ width: min(122px, 30vw); }
      /* RETRATO DO ECOSSISTEMA: no mobile fica apenas a navegação por setas. */
      html[data-sbah-page="lp-principal"] .metrics-carousel__nav{
        margin-top: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      html[data-sbah-page="lp-principal"] .metrics-carousel__buttons{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
      }

      html[data-sbah-page="lp-principal"] .metrics-carousel__dots{
        display: none;
      }

      html[data-sbah-page="lp-principal"] .metrics-carousel__btn{ width: 42px; height: 42px; }

      html[data-sbah-page="lp-principal"] .map-section{
        padding: var(--section-space-mobile) 0 var(--section-space-mobile);
      }
      html[data-sbah-page="lp-principal"] .map-search__input{ height: 48px; font-size: 13px; }
      html[data-sbah-page="lp-principal"] .map-dashboard{ gap: 14px; }
      html[data-sbah-page="lp-principal"] .map-card,
html[data-sbah-page="lp-principal"] #startupBAHeatMap{ height: 500px; min-height: 500px; }
      html[data-sbah-page="lp-principal"] .map-card{ border-radius: 24px; }
      html[data-sbah-page="lp-principal"] .map-overlay-stats{ left: 12px; right: 12px; bottom: 12px; }
      html[data-sbah-page="lp-principal"] .map-stat-card{ min-width: 112px; padding: 12px 13px; border-radius: 14px; }
      html[data-sbah-page="lp-principal"] .map-stat-card strong{ font-size: 26px; }
      html[data-sbah-page="lp-principal"] .heat-legend{ padding: 10px 11px; }
      html[data-sbah-page="lp-principal"] .heat-legend__bar{ width: 102px; }
      html[data-sbah-page="lp-principal"] .map-sidebar{ padding: 20px; border-radius: 24px; }
      html[data-sbah-page="lp-principal"] .city-ranking{ display: block; }
    }


    @media (max-width: 420px) {
      html[data-sbah-page="lp-principal"] .metrics-carousel{ --metric-card-height: 480px; }
      html[data-sbah-page="lp-principal"] .brand-lockup__startup{ width: 112px; }
      html[data-sbah-page="lp-principal"] .brand-lockup__sebrae{ width: 88px; }

      html[data-sbah-page="lp-principal"] .site-header{ min-height: 88px; }
      html[data-sbah-page="lp-principal"] .site-header__inner{ min-height: 84px; }

      html[data-sbah-page="lp-principal"] .header-actions{
        top: 73px !important;
        width: 142px !important;
      }

      html[data-sbah-page="lp-principal"] .header-link,
html[data-sbah-page="lp-principal"] .header-cta{
        min-height: 30px !important;
        font-size: 9px !important;
      }

      html[data-sbah-page="lp-principal"] .header-cta{ min-height: 32px !important; }
      html[data-sbah-page="lp-principal"] .header-actions-toggle{ top: 41px; width: 28px; height: 28px; }

      html[data-sbah-page="lp-principal"] .hero__content{ padding: 164px 14px 74px; }
      html[data-sbah-page="lp-principal"] .hero__title{ font-size: clamp(33px, 10.6vw, 39px); }
      html[data-sbah-page="lp-principal"] .hero__subtitle{ width: min(100%, 304px); }

      html[data-sbah-page="lp-principal"] .experience-shell{
        margin-top: -42px !important;
        padding-top: 48px;
      }
      html[data-sbah-page="lp-principal"] .experience__intro-title{ font-size: 29px; }

      html[data-sbah-page="lp-principal"] .phone-story{
        --mobile-phone-w: min(43vw, 170px, 23svh);
        --mobile-stage-top: clamp(142px, 18svh, 150px);
      }

      html[data-sbah-page="lp-principal"] .story-step{
        min-height: 84svh;
      }

      html[data-sbah-page="lp-principal"] .mobile-story-copy{
        width: min(100%, 292px);
        min-height: 140px;
      }

      html[data-sbah-page="lp-principal"] .mobile-story-copy .story-step__title{ font-size: clamp(28px, 9.2vw, 35px); }
      html[data-sbah-page="lp-principal"] .mobile-story-copy .story-step__text{ max-width: 292px; font-size: 13px; }

      html[data-sbah-page="lp-principal"] .map-overlay-stats{ align-items: flex-end; }
      html[data-sbah-page="lp-principal"] .heat-legend__label,
html[data-sbah-page="lp-principal"] .heat-legend__scale{ display: none; }
      html[data-sbah-page="lp-principal"] .heat-legend__bar{ width: 74px; }
    }


    @media (max-height: 720px) and (min-width: 681px) {
      html[data-sbah-page="lp-principal"] .phone-sticky{ width: 250px; }
      html[data-sbah-page="lp-principal"] .story-step{ min-height: 115vh; }
    }

/* ==========================================================================
   FIM — 01. LP PRINCIPAL
   ========================================================================== */


/* ==========================================================================
   PRÓXIMOS BLOCOS
   ==========================================================================
   Inserir os estilos das demais páginas ABAIXO deste ponto, sempre usando
   um novo data-sbah-page para evitar conflito com a LP principal.
   ========================================================================== */
