/* ==========================================================================
   HERO (mantém paleta) + CTA sólido secundário
   ========================================================================== */

/* HERO — botão "Fale comigo" (escopo EXCLUSIVO por ID) */
#index-hero-cta{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 0;
  font-size: 16px;
  line-height: 1;
  background-color: #f4f8ff;
  color: #1f387e;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
#index-hero-cta .text{ transform: none; }
#index-hero-cta svg{
  position: relative !important;
  width: 18px; height: 18px;
  stroke: currentColor;
  fill: none !important;
  margin-left: 6px;
}
#index-hero-cta .arr-1{ display: inline; }
#index-hero-cta .arr-2, #index-hero-cta .circle{ display: none !important; }
#index-hero-cta:hover{
  filter: brightness(1.03);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  transform: translateY(-1px);
}

.home-hero{
  position:relative; isolation:isolate; overflow:hidden;
  padding-top: clamp(88px, 14vw, 160px);
  padding-bottom: clamp(48px, 10vw, 110px);
  background:
    radial-gradient(900px 520px at 50% 102%, rgba(33,44,101,.08), transparent 65%),
    linear-gradient(rgba(33,44,101,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33,44,101,.06) 1px, transparent 1px),
    radial-gradient(1px 1px at 0 0, rgba(33,44,101,.05) 1px, transparent 0);
  background-size:auto, 56px 56px, 56px 56px, 22px 22px;
}
.home-hero::after{
  content:""; position:absolute; z-index:0; pointer-events:none;
  right:-18vw; top:-8vw; width:min(70vw,1100px); height:min(55vw,820px);
  background:
    radial-gradient(72% 120% at 55% 82%, rgba(149,201,61,.28), rgba(149,201,61,0) 70%),
    radial-gradient(110% 120% at 40% 48%, rgba(61,118,187,.90), rgba(61,118,187,.55));
  border-radius:46% 54% 60% 40% / 50% 50% 50% 50%;
  animation: blobFloat 18s ease-in-out infinite alternate;
  filter: blur(1.5px) saturate(1.05);
}
@keyframes blobFloat{ from{ transform: translate(0,0)} to{ transform: translate(-18px,16px)} }

.home-hero__grid{ display:grid; place-items:center; text-align:center; position:relative; z-index:1 }
.home-hero__content{ max-width:min(980px,95vw); margin:0 auto }

.open-badge{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:700; letter-spacing:.06em; text-transform:uppercase; font-size:.82rem;
  color: var(--blue); background: #EEF3FF; padding:6px 10px; border-radius: var(--radius-pill);
}
.open-badge .dot{ width:8px; height:8px; border-radius:50%; background: var(--green); box-shadow:0 0 0 3px rgba(149,201,61,.18) }

.display{ margin:.6rem 0 1.1rem 0; font-size: clamp(2.4rem, 7vw, 4.8rem); line-height:1.04; letter-spacing:2px; color: #252e5c }
.brand-gradient {
  display: inline-block;
  position: relative;

  background: linear-gradient(
    90deg,
    #7FD8FF 0%,
    #B7F0A1 50%,
    var(--green) 100%
  );
  background-size: 200% auto;

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow: 
    0 1px 0 rgba(255,255,255,.25),
    0 10px 28px rgba(33,44,101,.18);

  animation: shine-gradient 6s ease-in-out infinite;
}

@keyframes shine-gradient {
  0%   { background-position: 200% center; }
  50%  { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.lead--hero{ color:var(--faq-dark); font-weight: 400; letter-spacing: 2px;}

.home-hero__actions-cluster{ display:flex; justify-content:center; align-items:center; gap:16px; padding-top:20px; flex-wrap:wrap }

#index-hero-actions .btn-31,
#index-hero-actions .btn-31 .text-container{
  display: flex;
  justify-content: center;  /* centraliza o texto */
  align-items: center;
  text-align: center;
}

/* Centraliza os dois botões (CTAs) pelo próprio conteúdo */
#index-hero-actions{
  display: flex;
  gap: 16px;
  width: max-content;     /* só o necessário para os botões */
  margin-inline: auto;    /* centraliza no contêiner */
  justify-content: center;
}

/* Centraliza as pills da mesma forma */
#index-hero-pills{
  width: max-content;
  margin-inline: auto;
}

/* (opcional) garantir que todo o bloco fique alinhado ao centro em qualquer largura */
#index-hero-div-2{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-31--contrast{ --btn-bg: var(--green); --btn-fg:#0f204f; background: var(--btn-bg); border:none; border-radius:14px; box-shadow:0 10px 28px rgba(149,201,61,.32) }
.btn-31--contrast .text{ color: var(--btn-fg) }
.btn-31--contrast:hover{ filter: brightness(1.05) }
.btn--secondary{
  background: var(--blue); color:#fff; border:1px solid color-mix(in srgb, var(--blue) 80%, #000 20%);
  border-radius:14px; box-shadow:0 8px 22px rgba(61,118,187,.26); padding:.9rem 1.2rem;
}

.hero-pills{ margin: clamp(18px,3vw,32px) 0 0; display:flex; justify-content:center; align-items:center; gap:14px; list-style:none; padding:0; flex-wrap:wrap }
.hero-pills li{ display:flex; align-items:center; gap:12px; padding:14px 18px; border-radius:28px; background:#fff; border:1px solid var(--border); box-shadow:0 14px 28px rgba(33,44,101,.08) }
.hero-pills svg{ width:22px; height:22px; fill:none; stroke: var(--blue-dark); stroke-width:1.8 }
.hero-pills strong{ color: var(--blue-dark); font-weight:800 }
.hero-pills span{ margin-left:8px; padding:2px 8px; border-radius:999px; font-size:.75rem; font-weight:800; text-transform:uppercase; letter-spacing:.03em; color: var(--blue); background: var(--muted) }

/* <=640px: CTAs (1ª linha) iguais em tamanho e fonte, 2 colunas centralizadas.
   Pills (2ª e 3ª linhas) em 2 colunas, último centralizado.
   Todos os botões/pills usam o MESMO font-size via --hero-btn-fs.
*/
@media (max-width: 640px){
  .home-hero{ --hero-btn-fs: 12px; }

  /* === CTAs (primeira linha) === */
  .home-hero__actions-cluster{
    display: grid;
    grid-template-columns: repeat(2, 1fr);   /* 2 botões iguais */
    gap: 10px;
    width: min(94vw, 560px);
    margin-inline: auto;                     /* centralizado */
    justify-items: stretch;
  }
  .home-hero__actions-cluster :where(a, button){
    width: 100%;
    justify-content: center;
    padding: 10px 14px;                      /* mesma altura */
    min-height: 38px;
    font-size: var(--hero-btn-fs);           /* mesmo font-size */
    line-height: 1.1;
    font-weight: 700;
    border-radius: 12px;
  }
  .home-hero__actions-cluster :where(a, button) svg{
    width: 16px; height: 16px;
  }

  /* === Pills/estatísticas (segunda e terceira linhas) === */
  .hero-pills{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: min(94vw, 560px);
    margin: 12px auto 0;                     /* centralizado */
    justify-items: stretch;
  }
  .hero-pills li{
    justify-content: center;
    padding: 8px 10px;
    border-radius: 14px;
    white-space: nowrap;                     /* não quebrar */
    font-size: var(--hero-btn-fs);           /* mesmo font-size */
    line-height: 1.1;
    font-weight: 600;
  }
  /* se sobrar 1 item, fica sozinho centralizado */
  .hero-pills li:nth-last-child(1):nth-child(odd){
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 66%;
  }
  .hero-pills strong,
  .hero-pills span{
    font-size: var(--hero-btn-fs);
    letter-spacing: .01em;
  }
  .hero-pills svg{ width:14px; height:14px; }
}

/* <=480px: mais compacto */
@media (max-width: 480px){
  .home-hero{ --hero-btn-fs: 11px; }

  .home-hero__actions-cluster{
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: min(96vw, 520px);
  }
  .home-hero__actions-cluster :where(a, button){
    padding: 8px 12px;
    min-height: 34px;
  }

  .hero-pills{
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: min(96vw, 520px);
  }
  .hero-pills li{ padding: 7px 9px; }
}

@media (max-width: 600px){
  #index-hero-title{font-size: 30px;}
  #index-hero-lead{font-size: 14px;}
  #index-hero-div-2{display: flex; justify-content: center; align-items: center; flex-direction: column;}
}

/* <=380px: micro-ajustes finais */
@media (max-width: 380px){
  .home-hero{ --hero-btn-fs: 10px; }

  .home-hero__actions-cluster{
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 96vw;
  }
  .home-hero__actions-cluster :where(a, button){
    padding: 6px 8px;
    min-height: 30px;
  }

  .hero-pills{
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 96vw;
  }
  .hero-pills li{ padding: 6px 8px; }
  .hero-pills svg{ width:13px; height:13px; }
}
