/* Estilos específicos de index.html */

/* Desktop */
#hero {
  height: 78vh;
  min-height: 480px;
}

/* ─────────────────────────────────────────────────────────────────
   Mobile carousel — layout EMPILHADO, controlado 100% por CSS.
   Imagem dedicada (contain, nunca cortada) em cima + texto embaixo.
   Fundo navy #003F9E = cor do campo dos banners → blend perfeito.
   Baseado na pesquisa: "Banner que Quebra no Mobile" → Solução 3
   (imagem dedicada para mobile) + object-fit/contain para não cortar.
───────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  #hero {
    height: auto;
    min-height: unset;
    max-height: unset;
  }

  /* Wrapper flex-column criado pelo JS */
  #hero > div {
    display: flex;
    flex-direction: column;
  }

  /* Bloco de texto no topo — fundo navy */
  #hero-mobile-text {
    background: #0c2965;
    padding: 0.875rem 1.5rem 1.25rem;
    position: relative;
    flex-shrink: 0;
  }

  /* Linha de progresso no fundo do bloco de texto */
  #hero-mobile-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(147, 202, 255, 0.15);
  }

  /* Dots — linha horizontal alinhada ao topo direito */
  #hero-mobile-dots {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    display: flex;
    gap: 5px;
    align-items: center;
  }

  #hero-mobile-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transition: background 0.3s, width 0.3s;
    display: block;
    flex-shrink: 0;
  }

  #hero-mobile-dots span.active {
    background: #93CAFF;
    width: 16px;
    border-radius: 3px;
  }

  /* Label badge */
  #hero-mobile-label {
    display: inline-block;
    font-size: 9.5px;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #93CAFF;
    border: 1px solid rgba(147, 202, 255, 0.35);
    padding: 3px 11px;
    border-radius: 20px;
    margin-bottom: 10px;
    margin-top: 1.75rem;
    transition: opacity 0.3s;
  }

  /* Título */
  #hero-mobile-h1 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 900;
    color: #fff;
    font-size: clamp(1.2rem, 0.9rem + 3vw, 1.7rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  /* CTA */
  #hero-mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #0c2965;
    padding: 9px 20px;
    border-radius: 10px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    min-height: 44px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  #hero-mobile-cta:active {
    transform: scale(0.97);
    box-shadow: 0 1px 6px rgba(0,0,0,0.2);
  }

  /* Progress bar (inline, posicionado pelo JS entre texto e imagem) */
  #hero-mobile-progress {
    height: 2px;
    background: rgba(147,202,255,0.15);
    flex-shrink: 0;
    overflow: hidden;
  }

  /* Wrapper da imagem */
  #hero-mobile-imgwrap {
    position: relative;
    height: calc(54svh - 4rem);
    min-height: 230px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0c2965;
  }
}

.glass-panel {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 198, 209, 0.5);
}

.scientific-gradient {
    background: linear-gradient(135deg, #f8f9ff 0%, #e5eeff 100%);
}
