/* ============================================
   FOLD 01 — HERO
   Campanha Maio Amarelo — Imagens V2
   Desktop: texto à esquerda, visual à direita
   Mobile: texto no topo, visual embaixo
   ============================================ */

.fold-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background-color: #F5B800;
  background-image: url('../assets/Capa Web 2.jpg');
  background-size: cover;
  /* Imagem completa cobrindo toda a área */
  background-position: right 30%;
  /* Puxa a imagem para baixo para não cortar o laço no topo */
  background-repeat: no-repeat;
}

/* Overlay sutil */
.fold-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(245, 184, 0, 0.4) 0%,
      transparent 60%);
  z-index: 1;
  pointer-events: none;
}

/* ── Container (Desktop) ── */
.fold-hero__container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 8rem 1.5rem 4rem;
  /* padding-left removido para permitir que o conteúdo fique mais à esquerda */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

/* ── Título Principal ── */
.fold-hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 80px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--color-black);
  max-width: 1200px;
  margin-bottom: 2rem;
}

.fold-hero__title-highlight {
  display: inline-block;
  color: #6C14DF;
  font-size: 1.1em;
  font-weight: 900;
  text-shadow: 0 4px 15px rgba(108, 20, 223, 0.2);
  line-height: 1;
  margin-top: 0.1em;
}

/* ── Subtítulo ── */
.fold-hero__subtitle {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.625;
  color: var(--color-text);
  max-width: 800px;
  margin-bottom: 3rem;
}

.fold-hero__subtitle strong {
  font-weight: 700;
  color: var(--color-black);
}

/* Quebra de linha apenas no Desktop */
.br-desktop {
  display: block;
}

/* Quebra de linha apenas no Tablet */
.br-tablet {
  display: none;
}

/* ── CTA (Desktop) ── */
.fold-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-white);
  background: var(--color-black);
  border: none;
  cursor: pointer;
  border-radius: 9999px;
  padding: 1.25rem 2.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}

.fold-hero__cta:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  background: #1a1a1a;
}

.fold-hero__cta-icon {
  width: 16px;
  /* Ícone menor, proporcional ao botão */
  height: 16px;
  transition: transform 0.3s ease;
}

.fold-hero__cta:hover .fold-hero__cta-icon {
  transform: translateX(4px);
}

/* Headline (removida do HTML, mantemos o estilo caso volte) */
.fold-hero__headline {
  display: none;
}


/* ======================================================
   MOBILE (< 768px)
   Texto + botão no topo, imagem de fundo na metade inferior
   ====================================================== */
@media (max-width: 767px) {
  .fold-hero {
    background-color: #F5B800;
    background-image: url('../assets/Capa Mobile 4.jpg?v=2');
    background-position: center bottom;
    background-size: cover;
    align-items: flex-start;
    aspect-ratio: 412 / 915; /* S20 Ultra proporção para garantir diagramação idêntica */
    min-height: auto;
  }

  .fold-hero::before {
    background: linear-gradient(180deg,
        rgba(245, 184, 0, 0.6) 0%,
        transparent 50%);
  }

  .fold-hero__container {
    padding: 15vw 5.8vw 0;
    align-items: flex-start;
    text-align: left;
    min-height: auto;
    justify-content: flex-start;
    width: 100%;
  }

  .fold-hero__title {
    font-size: 9.7vw !important;
    line-height: 1.05 !important;
    max-width: 100%;
    margin-bottom: 3.8vw;
  }

  .fold-hero__subtitle {
    font-size: 4.3vw !important;
    max-width: 100%;
    margin-bottom: 7.7vw;
    font-weight: 500;
  }

  .br-desktop {
    display: none;
  }

  /* CTA Preto de Alto Contraste no Mobile */
  .fold-hero__cta {
    font-size: 3.4vw;
    padding: 3.5vw 5.5vw;
    background: #000000;
    color: #ffffff;
    width: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-radius: 9999px;
  }

  .fold-hero__cta:hover {
    background: #222222;
    color: #ffffff;
    transform: scale(1.02);
  }

  .fold-hero__cta-icon {
    width: 4vw;
    height: 4vw;
  }

  .fold-hero__cta:hover .fold-hero__cta-icon {
    transform: translateX(4px);
  }
}

/* ===== TABLET (768px - 1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .fold-hero {
    background-color: #F5B800;
    background-image: url('../assets/Capa Mobile 4.jpg');
    background-position: center bottom;
    background-size: cover;
    align-items: flex-start;
    aspect-ratio: 7 / 10; /* Ajuste para equilibrar o novo padding-top e a posição dos ícones */
    min-height: auto;
  }

  .fold-hero::before {
    background: linear-gradient(180deg,
        rgba(245, 184, 0, 0.6) 0%,
        transparent 50%);
  }

  .fold-hero__container {
    padding: 12vw 5.8vw 0; /* Padding aumentado para afastar do Nav */
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
    width: 100%;
    min-height: auto;
  }

  .fold-hero__title {
    font-size: 8.5vw !important;
    line-height: 1.05 !important;
    max-width: 100%;
    margin-bottom: 3vw;
  }

  .fold-hero__subtitle {
    font-size: 3vw !important;
    max-width: 90%;
    margin-bottom: 5vw;
    font-weight: 500;
  }

  .br-desktop {
    display: none;
  }

  .br-tablet {
    display: block;
  }

  /* CTA Preto de Alto Contraste no Tablet (Reduzido) */
  .fold-hero__cta {
    font-size: 2.2vw;
    padding: 2vw 3.5vw;
    background: #000000;
    color: #ffffff;
    width: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-radius: 9999px;
  }

  .fold-hero__cta:hover {
    background: #222222;
    color: #ffffff;
    transform: scale(1.02);
  }

  .fold-hero__cta-icon {
    width: 2.5vw;
    height: 2.5vw;
  }
}