<style>
.aej-estudos {
  --aej-primary: var(--bs-primary, #0d6efd);
  --aej-primary-dark: #084298;
  --aej-dark: #182230;
  --aej-text: #344054;
  --aej-muted: #667085;
  --aej-light: #f8fafc;
  --aej-border: #e4e7ec;
  --aej-success: #157347;
  --aej-success-light: #ecfdf3;
  --aej-warning-light: #fffaeb;
  --aej-radius: 18px;
  color: var(--aej-text);
  font-size: 17px;
  line-height: 1.75;
}

.aej-estudos *,
.aej-estudos *::before,
.aej-estudos *::after {
  box-sizing: border-box;
}

.aej-estudos .aej-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.aej-estudos h1,
.aej-estudos h2,
.aej-estudos h3 {
  color: var(--aej-dark);
  line-height: 1.25;
}

.aej-estudos h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.aej-estudos h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.aej-estudos h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 750;
}

.aej-estudos p {
  margin: 0 0 18px;
}

.aej-estudos strong {
  color: var(--aej-dark);
}

.aej-estudos .aej-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 42px;
  padding: clamp(32px, 7vw, 70px);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(13, 110, 253, 0.18), transparent 38%),
    linear-gradient(135deg, #101828 0%, #1d2939 100%);
  color: #fff;
}

.aej-estudos .aej-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 45px solid rgba(255,255,255,0.05);
  border-radius: 50%;
}

.aej-estudos .aej-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.aej-estudos .aej-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 7px 13px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.aej-estudos .aej-hero h1 {
  color: #fff;
}

.aej-estudos .aej-lead {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255,255,255,0.86);
  font-size: clamp(1.08rem, 2.2vw, 1.3rem);
}

.aej-estudos .aej-intro {
  margin-bottom: 42px;
  font-size: 1.06rem;
}

.aej-estudos .aej-highlight {
  margin: 28px 0;
  padding: 24px 26px;
  border-left: 5px solid var(--aej-primary);
  border-radius: 0 var(--aej-radius) var(--aej-radius) 0;
  background: #eff6ff;
  color: var(--aej-dark);
}

.aej-estudos .aej-highlight p:last-child {
  margin-bottom: 0;
}

.aej-estudos .aej-section {
  margin: 54px 0;
}

.aej-estudos .aej-section-header {
  margin-bottom: 26px;
}

.aej-estudos .aej-section-header p {
  max-width: 760px;
  color: var(--aej-muted);
}

.aej-estudos .aej-table-wrap {
  overflow-x: auto;
  margin: 26px 0;
  border: 1px solid var(--aej-border);
  border-radius: var(--aej-radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
  -webkit-overflow-scrolling: touch;
}

.aej-estudos table {
  width: 100%;
  min-width: 720px;
  margin: 0;
  border-collapse: collapse;
}

.aej-estudos th,
.aej-estudos td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--aej-border);
  text-align: left;
  vertical-align: top;
}

.aej-estudos th {
  background: var(--aej-light);
  color: var(--aej-dark);
  font-size: 0.9rem;
  font-weight: 750;
  white-space: nowrap;
}

.aej-estudos tbody tr:last-child td {
  border-bottom: 0;
}

.aej-estudos tbody tr:hover {
  background: #fcfcfd;
}

.aej-estudos .aej-score {
  color: var(--aej-success);
  font-weight: 800;
  white-space: nowrap;
}

.aej-estudos .aej-case-list {
  display: grid;
  gap: 24px;
}

.aej-estudos .aej-case {
  position: relative;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--aej-border);
  border-radius: var(--aej-radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.05);
}

.aej-estudos .aej-case-top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.aej-estudos .aej-number {
  display: inline-flex;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--aej-primary);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}

.aej-estudos .aej-case-title {
  flex: 1;
}

.aej-estudos .aej-case-title h2 {
  margin-bottom: 5px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.aej-estudos .aej-case-subtitle {
  margin: 0;
  color: var(--aej-muted);
  font-size: 0.96rem;
}

.aej-estudos .aej-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.aej-estudos .aej-metric {
  padding: 16px;
  border-radius: 14px;
  background: var(--aej-light);
  text-align: center;
}

.aej-estudos .aej-metric-label {
  display: block;
  margin-bottom: 3px;
  color: var(--aej-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.aej-estudos .aej-metric-value {
  display: block;
  color: var(--aej-dark);
  font-size: 1.3rem;
  font-weight: 850;
}

.aej-estudos .aej-lesson {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--aej-success-light);
  color: #14532d;
}

.aej-estudos .aej-lesson strong {
  color: #14532d;
}

.aej-estudos .aej-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.aej-estudos .aej-point {
  padding: 24px;
  border: 1px solid var(--aej-border);
  border-radius: var(--aej-radius);
  background: #fff;
}

.aej-estudos .aej-point-number {
  display: block;
  margin-bottom: 8px;
  color: var(--aej-primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.aej-estudos .aej-point p:last-child {
  margin-bottom: 0;
}

.aej-estudos .aej-warning {
  margin: 34px 0;
  padding: 24px;
  border: 1px solid #fedf89;
  border-radius: var(--aej-radius);
  background: var(--aej-warning-light);
}

.aej-estudos .aej-warning h3 {
  color: #93370d;
}

.aej-estudos .aej-warning p:last-child {
  margin-bottom: 0;
}

.aej-estudos .aej-conclusion {
  padding: clamp(28px, 5vw, 44px);
  border-radius: 24px;
  background: var(--aej-dark);
  color: rgba(255,255,255,0.86);
}

.aej-estudos .aej-conclusion h2,
.aej-estudos .aej-conclusion strong {
  color: #fff;
}

.aej-estudos .aej-conclusion p:last-child {
  margin-bottom: 0;
}

.aej-estudos .aej-cta {
  margin-top: 52px;
  padding: clamp(30px, 6vw, 56px);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(13,110,253,0.96), rgba(8,66,152,0.98));
  color: #fff;
  text-align: center;
}

.aej-estudos .aej-cta h2 {
  color: #fff;
}

.aej-estudos .aej-cta p {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255,255,255,0.9);
}

.aej-estudos .aej-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 8px;
  padding: 14px 25px;
  border: 2px solid #fff;
  border-radius: 12px;
  background: #fff;
  color: var(--aej-primary-dark);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aej-estudos .aej-btn:hover,
.aej-estudos .aej-btn:focus {
  color: var(--aej-primary-dark);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

.aej-estudos .aej-disclaimer {
  margin-top: 22px;
  color: var(--aej-muted);
  font-size: 0.86rem;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 767.98px) {
  .aej-estudos {
    font-size: 16px;
  }

  .aej-estudos .aej-hero {
    padding: 32px 24px;
    border-radius: 18px;
  }

  .aej-estudos .aej-case-top {
    gap: 14px;
  }

  .aej-estudos .aej-number {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .aej-estudos .aej-metrics {
    grid-template-columns: 1fr;
  }

  .aej-estudos .aej-points {
    grid-template-columns: 1fr;
  }

  .aej-estudos .aej-case,
  .aej-estudos .aej-point,
  .aej-estudos .aej-warning {
    padding: 22px;
  }

}
/* =========================================================
CORREÇÃO DA PARTE FINAL DO ARTIGO
========================================================= */

.aej-estudos .aej-warning {
  margin: 32px 0 28px !important;
}

/* Impede conflitos de posição e altura com o template */
.aej-estudos .aej-conclusion,
.aej-estudos .aej-cta {
  position: static !important;
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Conclusão */
.aej-estudos .aej-conclusion {
  margin: 0 0 28px !important;
  padding: 34px !important;
  border-radius: 20px !important;
  background: #182230 !important;
  color: #ffffff !important;
}

.aej-estudos .aej-conclusion h2,
.aej-estudos .aej-conclusion h3,
.aej-estudos .aej-conclusion strong {
  color: #ffffff !important;
}

.aej-estudos .aej-conclusion p {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* CTA */
.aej-estudos .aej-cta {
  margin: 0 !important;
  padding: 42px 30px !important;
  border-radius: 22px !important;
  background: linear-gradient(
    135deg,
    #1677ff 0%,
    #084ca8 100%
  ) !important;
  text-align: center !important;
}

.aej-estudos .aej-cta h2 {
  margin: 0 0 14px !important;
  color: #ffffff !important;
}

.aej-estudos .aej-cta p {
  max-width: 680px !important;
  margin: 0 auto 24px !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

/* Força o contraste do botão contra regras do JA Coach */
.aej-estudos .aej-cta .aej-btn,
.aej-estudos .aej-cta .aej-btn:link,
.aej-estudos .aej-cta .aej-btn:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 320px !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 15px 26px !important;
  border: 2px solid #ffffff !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #084298 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
}

.aej-estudos .aej-cta .aej-btn:hover,
.aej-estudos .aej-cta .aej-btn:focus {
  background: #f2f6ff !important;
  color: #052f73 !important;
  border-color: #f2f6ff !important;
  text-decoration: none !important;
  transform: translateY(-2px) !important;
}

.aej-estudos .aej-disclaimer {
  margin: 20px auto 0 !important;
}

@media (max-width: 575.98px) {
  .aej-estudos .aej-conclusion {
    padding: 26px 22px !important;
  }

  .aej-estudos .aej-cta {
    padding: 32px 20px !important;
  }

  .aej-estudos .aej-cta .aej-btn,
  .aej-estudos .aej-cta .aej-btn:link,
  .aej-estudos .aej-cta .aej-btn:visited {
    width: 100% !important;
    min-width: 0 !important;
  }
}
</style>