
/* HAPPY BUSINESS PAGE V4
   Arquivo físico novo para eliminar cache e conflitos com versões anteriores. */

#happy-business-page-v4 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 300px !important;
  overflow: visible !important;
  z-index: 1 !important;
}

#happy-business-page-v4 > section,
#happy-business-page-v4 section,
#happy-business-page-v4 article,
#happy-business-page-v4 div,
#happy-business-page-v4 figure {
  visibility: visible !important;
  opacity: 1 !important;
}

#happy-business-page-v4 h1,
#happy-business-page-v4 h2,
#happy-business-page-v4 h3,
#happy-business-page-v4 p,
#happy-business-page-v4 span,
#happy-business-page-v4 li,
#happy-business-page-v4 a {
  visibility: visible !important;
  opacity: 1 !important;
}


/* V3 - segurança de exibição: o conteúdo nunca depende de JavaScript */
.happy-business-page-v4,
.happy-business-page-v4 section,
.happy-business-page-v4 article,
.happy-business-page-v4 .hb4-container {
  visibility: visible !important;
  opacity: 1 !important;
}

.happy-business-page-v4 {
  display: block !important;
}

.happy-business-page-v4,
.happy-business-page-v4 * { box-sizing: border-box; }

.happy-business-page-v4 {
  --hb4-dark: #171717;
  --hb4-dark-2: #222222;
  --hb4-text: #2d2d2d;
  --hb4-muted: #6b6b6b;
  --hb4-soft: #f4f2ee;
  --hb4-line: #e2ded5;
  --hb4-gold: #c7a75b;
  --hb4-white: #ffffff;
  color: var(--hb4-text);
  background: var(--hb4-white);
  overflow: hidden;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.happy-business-page-v4 img { max-width: 100%; height: auto; display: block; }
.happy-business-page-v4 a { text-decoration: none; }

.hb4-container {
  width: calc(100% - 40px);
  max-width: 1170px;
  margin: 0 auto;
}

.hb4-narrow { max-width: 880px; }
.hb4-section { padding: 90px 0; }
.hb4-section-soft { background: var(--hb4-soft); }
.hb4-section-dark { background: var(--hb4-dark); color: var(--hb4-white); }

.hb4-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--hb4-gold);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hb4-kicker-dark { color: #9b7a2f; }

.happy-business-page-v4 h1,
.happy-business-page-v4 h2,
.happy-business-page-v4 h3 { margin-top: 0; }

.happy-business-page-v4 h1 {
  max-width: 790px;
  margin-bottom: 24px;
  color: var(--hb4-white);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -1.8px;
}

.happy-business-page-v4 h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.8px;
}

.happy-business-page-v4 h3 { font-size: 23px; line-height: 1.25; }
.happy-business-page-v4 p { font-size: 17px; line-height: 1.8; }

.hb4-hero {
  position: relative;
  min-height: 710px;
  padding: 90px 0;
  display: flex;
  align-items: center;
  background: var(--hb4-dark);
  color: var(--hb4-white);
}

.hb4-hero:after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -270px;
  bottom: -300px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}

.hb4-hero-grid,
.hb4-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 68px;
  align-items: center;
}

.hb4-two-col-reverse { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }

.hb4-lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: #d7d7d7;
  font-size: 20px !important;
}

.hb4-hero-media,
.hb4-media-card { margin: 0; }

.hb4-hero-media img,
.hb4-media-card img {
  width: 100%;
  object-fit: cover;
  box-shadow: 0 26px 70px rgba(0,0,0,.18);
}

.hb4-hero-media img { min-height: 470px; }

.hb4-actions,
.hb4-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hb4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 23px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.hb4-btn:hover { transform: translateY(-2px); }
.hb4-btn-primary { background: var(--hb4-gold); color: var(--hb4-dark) !important; }
.hb4-btn-primary:hover { background: #d7bb79; }
.hb4-btn-ghost { border-color: rgba(255,255,255,.38); color: var(--hb4-white) !important; }
.hb4-btn-ghost:hover { background: var(--hb4-white); color: var(--hb4-dark) !important; }

.hb4-hero-note {
  margin-top: 26px;
  padding-left: 16px;
  border-left: 2px solid var(--hb4-gold);
  color: #bcbcbc;
  font-size: 14px;
}

.hb4-intro p:last-child,
.hb4-two-col p:last-child,
.hb4-narrow p:last-child { margin-bottom: 0; }

.hb4-number {
  display: block;
  margin-bottom: 10px;
  color: var(--hb4-gold);
  font-size: 48px;
  line-height: 1;
  font-weight: 300;
}

.hb4-section-heading { max-width: 820px; margin-bottom: 46px; }
.hb4-section-heading p { color: var(--hb4-muted); margin-bottom: 0; }

.hb4-process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.hb4-step {
  position: relative;
  min-height: 235px;
  padding: 28px 22px;
  border-top: 3px solid var(--hb4-gold);
  background: var(--hb4-soft);
}

.hb4-step > span {
  display: block;
  margin-bottom: 35px;
  color: #96772f;
  font-size: 13px;
  font-weight: 700;
}

.hb4-step h3 { margin-bottom: 12px; }
.hb4-step p { margin: 0; color: var(--hb4-muted); font-size: 14px; line-height: 1.6; }

.hb4-text-link {
  display: inline-block;
  margin-top: 12px;
  color: #8d6f2d !important;
  font-weight: 700;
  border-bottom: 1px solid rgba(141,111,45,.35);
}

.hb4-section-dark h2 { color: var(--hb4-white); }
.hb4-section-dark p { color: #d0d0d0; }

.hb4-partnership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}

.hb4-partnership-card {
  padding: 42px;
  border: 1px solid var(--hb4-line);
  background: var(--hb4-white);
}

.hb4-partnership-card-featured { background: var(--hb4-dark); color: var(--hb4-white); border-color: var(--hb4-dark); }
.hb4-card-label { display: block; margin-bottom: 14px; color: #93742d; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.hb4-partnership-card-featured .hb4-card-label { color: var(--hb4-gold); }
.hb4-partnership-card h3 { margin-bottom: 24px; }
.hb4-partnership-card ul { list-style: none; padding: 0; margin: 0; }
.hb4-partnership-card li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--hb4-line); font-size: 15px; line-height: 1.55; }
.hb4-partnership-card-featured li { border-color: rgba(255,255,255,.12); color: #d8d8d8; }
.hb4-partnership-card li:before { content: "›"; position: absolute; left: 0; color: var(--hb4-gold); font-weight: 700; }

.hb4-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.hb4-feature {
  min-height: 190px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--hb4-line);
  background: var(--hb4-white);
  color: var(--hb4-text) !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hb4-feature:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(0,0,0,.07); }
.hb4-feature strong { margin-bottom: 9px; font-size: 20px; }
.hb4-feature span { color: var(--hb4-muted); font-size: 14px; line-height: 1.55; }

.hb4-cta { padding: 76px 0; background: var(--hb4-dark-2); color: var(--hb4-white); }
.hb4-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.hb4-cta h2 { color: var(--hb4-white); margin-bottom: 10px; }
.hb4-cta p { margin: 0; color: #c9c9c9; }





@media (max-width: 991px) {
  .hb4-section { padding: 72px 0; }
  .hb4-hero { min-height: auto; }
  .hb4-hero-grid,
  .hb4-two-col,
  .hb4-two-col-reverse { grid-template-columns: 1fr; gap: 38px; }
  .hb4-hero-copy { order: 1; }
  .hb4-hero-media { order: 2; }
  .hb4-hero-media img { min-height: 380px; }
  .hb4-process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hb4-feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hb4-cta-inner { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .hb4-container { width: calc(100% - 28px); }
  .hb4-section { padding: 58px 0; }
  .hb4-hero { padding: 62px 0 54px; }
  .happy-business-page-v4 h1 { font-size: 39px; letter-spacing: -1px; }
  .happy-business-page-v4 h2 { font-size: 31px; }
  .hb4-lead { font-size: 17px !important; }
  .happy-business-page-v4 p { font-size: 16px; }
  .hb4-hero-media img { min-height: 290px; }
  .hb4-actions,
  .hb4-cta-actions { flex-direction: column; align-items: stretch; }
  .hb4-btn { width: 100%; }
  .hb4-process-grid,
  .hb4-partnership-grid,
  .hb4-feature-grid { grid-template-columns: 1fr; }
  .hb4-step { min-height: 0; }
  .hb4-partnership-card { padding: 30px 24px; }
}
