/* Herói (24/09): a imagem pronta é o visual; o CSS só posiciona, escurece a esquerda e organiza o texto.
   Classes novas (.hero-*) para não herdar nada do herói antigo em styles.css / v3.css / marca.css. */

.hero {
  --hero-fundo: #070C16;
  --hero-laranja: #FD8931;
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--hero-fundo); color: #fff;
  /* a seção seguinte (seletor) sobe 110px por cima: essa faixa fica reservada */
  min-height: clamp(740px, 52vw, 860px);
  padding-bottom: 110px;
  display: flex;
}

/* ---------- imagem ---------- */
.hero-bg { display: block; position: absolute; inset: 0; z-index: -1; margin: 0; }
.hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right 35%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 12, 22, .92) 0%, rgba(7, 12, 22, .74) 30%, rgba(7, 12, 22, .18) 58%, rgba(7, 12, 22, 0) 78%),
    linear-gradient(180deg, rgba(7, 12, 22, .45) 0%, rgba(7, 12, 22, 0) 16%),
    linear-gradient(0deg, rgba(7, 12, 22, .55) 0%, rgba(7, 12, 22, 0) 22%);
}

/* ---------- grade ---------- */
.hero-in { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; display: flex; flex-direction: column; }
.hero-topo { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 26px; }
.hero .logo img { height: 34px; width: auto; display: block; }
.hero .nota-topo { background: rgba(7, 12, 22, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.hero-texto { max-width: 580px; margin-block: auto; padding-block: 8px 28px; }

/* ---------- selo ---------- */
.hero-selo { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 6px 14px 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: -.01em; color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.hero-selo i { width: 7px; height: 7px; border-radius: 50%; background: var(--hero-laranja); box-shadow: 0 0 0 3px rgba(253, 137, 49, .22); }

/* ---------- título ---------- */
.hero h1 { margin: 0; font-size: clamp(56px, 6.4vw, 92px); font-weight: 700; line-height: .98; letter-spacing: -.045em; color: #fff; text-wrap: balance; }
.hero-pedir { position: relative; display: inline-block; color: var(--hero-laranja); }
.hero-pedir svg { position: absolute; left: 2%; right: 4%; bottom: -.1em; width: 94%; height: .14em; overflow: visible; }
.hero-pedir path { fill: none; stroke: var(--hero-laranja); stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .75; stroke-dasharray: 1; stroke-dashoffset: 0; }

/* ---------- apoio ---------- */
.hero-sub { margin: 24px 0 0; max-width: 480px; font-size: clamp(17px, 1.35vw, 19px); font-weight: 400; line-height: 1.5; color: rgba(255, 255, 255, .76); }

.hero-beneficios { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-beneficios li { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .9); letter-spacing: -.01em; }
.hero-beneficios svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--hero-laranja); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- ações ---------- */
.hero-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .btn { min-height: 58px; padding: 0 28px; font-size: 18px; font-weight: 600; border-radius: 16px; }
.hero-cta { background: var(--laranja); color: #fff; box-shadow: 0 14px 32px -12px rgba(231, 105, 29, .7); }
.hero-cta:hover { background: #D35E17; }
.hero-cta span { transition: transform .2s ease; }
.hero-cta:hover span { transform: translateX(3px); }
.hero-cta2 { gap: 10px; background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-cta2:hover { background: rgba(255, 255, 255, .12); }
.hero-cta2 svg { width: 22px; height: 22px; }
.hero-cta2 circle { fill: none; stroke: currentColor; stroke-width: 1.6; }
.hero-cta2 path { fill: currentColor; }
.hero .btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.hero-micro { margin: 14px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .56); }
.hero-micro span { margin-inline: 4px; }

.hero-prova { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); max-width: 440px; }
.hero-prova .avatares img { width: 30px; height: 30px; margin-left: -9px; border: 2px solid var(--hero-fundo); }
.hero-prova .avatares img:first-child { margin-left: 0; }
.hero-prova p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .66); }
.hero-prova b { color: #fff; font-weight: 600; }

/* ---------- desktop estreito: título um pouco menor, a coluna não avança sobre o rosto ---------- */
@media (max-width: 1360px) and (min-width: 1101px) {
  .hero h1 { font-size: clamp(60px, 6vw, 80px); }
  .hero-sub { max-width: 450px; }
}

/* ---------- tablet e mobile: composição empilhada. Imagem em cima (rosto + mundo mágico), texto embaixo,
   nunca por cima do rosto. Abaixo de 1100px a imagem larga não cabe atrás do texto sem esconder a criança. ---------- */
@media (max-width: 1100px) {
  .hero { min-height: 0; display: block; padding-bottom: 110px; }
  .hero-bg { position: relative; inset: auto; z-index: 0; width: 100%; aspect-ratio: 1808 / 870; max-height: 50vh; }
  .hero-bg img { object-position: 60% 32%; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(7, 12, 22, .6) 0%, rgba(7, 12, 22, 0) 22%),
      linear-gradient(90deg, rgba(7, 12, 22, .55) 0%, rgba(7, 12, 22, 0) 30%),
      linear-gradient(0deg, var(--hero-fundo) 0%, rgba(7, 12, 22, .6) 14%, rgba(7, 12, 22, 0) 40%);
  }
  .hero-in { padding: 0 32px; }
  .hero-topo { position: absolute; top: 0; left: 0; right: 0; padding: 20px 32px; }
  .hero-texto { max-width: 620px; margin-top: -48px; padding: 0; position: relative; }
  .hero h1 { font-size: clamp(44px, 8vw, 76px); line-height: 1; }
  .hero-sub { margin-top: 18px; max-width: 520px; }
}

@media (max-width: 860px) {
  .hero { padding-bottom: 96px; }
  .hero-bg { aspect-ratio: 900 / 700; max-height: 62vh; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(7, 12, 22, .6) 0%, rgba(7, 12, 22, 0) 24%),
      linear-gradient(0deg, var(--hero-fundo) 0%, rgba(7, 12, 22, .6) 16%, rgba(7, 12, 22, 0) 42%);
  }
  .hero-in { padding: 0 20px; }
  .hero-topo { padding: 16px 20px; }
  .hero .logo img { height: 28px; }
  .hero .nota-topo { font-size: 13px; padding: 5px 10px 4px; }
  .hero-texto { margin-top: -36px; }
  .hero-selo { font-size: 13px; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(44px, 12.4vw, 60px); }
  .hero-sub { margin-top: 16px; font-size: 16.5px; }
  /* no mobile o CTA vem logo depois do texto; benefícios descem */
  .hero-texto { display: flex; flex-direction: column; }
  .hero-texto > * { align-self: flex-start; }
  .hero-acoes { order: 4; margin-top: 24px; width: 100%; flex-direction: column; }
  .hero .btn { width: 100%; }
  .hero-micro { order: 5; text-align: center; width: 100%; font-size: 13px; text-wrap: balance; }
  .hero-beneficios { order: 6; margin-top: 24px; gap: 12px; flex-direction: column; }
  .hero-prova { order: 7; margin-top: 22px; }
}

@media (max-width: 380px) {
  .hero .nota-topo .estrelas { display: none; }
}
