/* =========================================
   TREINA ENTREVISTA — Page Styles
   ========================================= */

:root {
  --te-dark:        #0d1117;
  --te-dark-2:      #111827;
  --te-dark-light:  #1e2638;
  --te-indigo:      #4f46e5;
  --te-indigo-dark: #3730a3;
  --te-indigo-glow: rgba(79, 70, 229, 0.18);
  --te-indigo-soft: rgba(79, 70, 229, 0.08);
}

/* Override section-label color on TE page */
.te-page .section-label {
  color: var(--te-indigo);
}

/* =========================================
   SHARED TYPOGRAPHY
   ========================================= */
.te-title {
  font-size: clamp(1.65rem, 3.2vw, 2.625rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 20px;
}

.te-title--light {
  color: var(--white);
}

.te-indigo {
  color: var(--te-indigo);
}

.te-label-indigo {
  color: var(--te-indigo) !important;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-te-indigo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--te-indigo);
  color: var(--white) !important;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 100px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(79, 70, 229, 0.35);
  white-space: nowrap;
}

.btn-te-indigo:hover {
  background: var(--te-indigo-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(79, 70, 229, 0.45);
}

.btn-te-lg {
  font-size: 1.0625rem;
  padding: 16px 40px;
}

.btn-te-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-te-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white) !important;
}

/* Active nav item in dropdown */
.te-nav-active strong {
  color: var(--te-indigo) !important;
}

/* =========================================
   HERO
   ========================================= */
.te-hero {
  background: var(--te-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 80px;
}

.te-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 75% 45%, rgba(79, 70, 229, 0.09) 0%, transparent 65%),
    radial-gradient(ellipse 45% 50% at 15% 90%, rgba(99, 102, 241, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.te-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.te-hero-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.te-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--te-indigo-soft);
  border: 1px solid rgba(79, 70, 229, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(167, 163, 255, 0.9);
  letter-spacing: 0.04em;
}

.te-hero-badge .te-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--te-indigo);
  display: inline-block;
  box-shadow: 0 0 8px rgba(79, 70, 229, 0.8);
}

.te-hero-by {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 14px;
}

.te-hero-by strong {
  color: var(--cyan);
}

.te-hero-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 22px;
}

.te-hero-sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin-bottom: 18px;
  max-width: 560px;
}

.te-hero-sub strong {
  color: var(--white);
}

.te-hero-support {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.78;
  margin-bottom: 38px;
  max-width: 560px;
}

.te-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.te-hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.te-stat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.te-stat-value {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.te-stat-desc {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.02em;
}

.te-stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.te-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.te-hero-img {
  width: 100%;
  max-width: 560px;
  border-radius: 20px;
  box-shadow: 0 0 80px rgba(79, 70, 229, 0.18), 0 32px 64px rgba(0, 0, 0, 0.5);
}

/* =========================================
   DOR DO CANDIDATO
   ========================================= */
.te-pain {
  padding: 96px 24px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.te-pain-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.te-pain-text > p {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 20px;
  font-size: 0.9375rem;
}

.te-pain-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}

.te-pain-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 18px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.te-pain-card:hover {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 8px 28px rgba(79, 70, 229, 0.1);
  transform: translateY(-3px);
}

.te-pain-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 10px;
}

.te-pain-card p {
  font-size: 0.8125rem;
  color: var(--gray);
  line-height: 1.55;
}

.te-pain-card p strong {
  color: var(--dark);
  display: block;
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.te-pain-visual img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.te-pain-visual img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.18);
}

/* =========================================
   COMO FUNCIONA
   ========================================= */
.te-how {
  padding: 96px 24px;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.te-how-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.te-how-visual img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.te-how-text > p {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 18px;
  font-size: 0.9375rem;
}

.te-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 28px;
  list-style: none;
}

.te-step {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.te-step:last-child {
  border-bottom: none;
}

.te-step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--te-indigo-soft);
  border: 1.5px solid var(--te-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--te-indigo);
  margin-top: 2px;
}

.te-step-content h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
  line-height: 1.4;
}

.te-step-content p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
}

/* =========================================
   TIPOS DE SIMULAÇÃO — CARDS GRID
   ========================================= */
.te-types {
  padding: 80px 24px 96px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.te-types-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.te-subtitle {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  margin-top: 12px;
}

.te-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.te-type-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.te-type-card:hover {
  border-color: rgba(79, 70, 229, 0.28);
  box-shadow: 0 10px 40px rgba(79, 70, 229, 0.1);
  transform: translateY(-4px);
}

.te-type-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 16px;
  background: var(--te-indigo-soft);
  border: 1px solid rgba(79, 70, 229, 0.15);
}

.te-type-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.4;
}

.te-type-subtitle {
  font-size: 0.75rem;
  color: var(--gray-light);
  font-weight: 500;
  margin-bottom: 12px;
}

.te-type-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 16px;
}

.te-type-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.te-type-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.02em;
}

/* =========================================
   FEEDBACK IA — BANNER DARK
   ========================================= */
.te-feedback-banner {
  background: var(--te-dark);
  color: var(--white);
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.te-feedback-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(79, 70, 229, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.te-feedback-banner-inner {
  position: relative;
}

.te-feedback-header {
  max-width: 820px;
  margin: 0 auto 56px;
}

.te-feedback-intro {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.78;
  max-width: 720px;
  margin: 0 auto 16px;
}

.te-feedback-img {
  max-width: 960px;
  margin: 0 auto 72px;
}

.te-feedback-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.te-feedback-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.te-feedback-feat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: left;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.te-feedback-feat:hover {
  background: rgba(79, 70, 229, 0.06);
  border-color: rgba(79, 70, 229, 0.25);
  transform: translateY(-3px);
}

.te-feedback-feat-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: block;
}

.te-feedback-feat h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.te-feedback-feat p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.65;
}

.te-feedback-impact {
  max-width: 680px;
  margin: 56px auto 0;
}

.te-feedback-impact p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.te-feedback-impact-hl {
  font-size: clamp(1.125rem, 2vw, 1.4375rem) !important;
  font-weight: 700 !important;
  color: var(--te-indigo) !important;
  margin-top: 8px;
}

/* =========================================
   ANTES E DEPOIS
   ========================================= */
.te-before-after {
  padding: 96px 24px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.te-ba-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.te-ba-visual img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
}

.te-ba-visual img:hover {
  transform: scale(1.02);
}

.te-ba-text > p {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 18px;
  font-size: 0.9375rem;
}

.te-ba-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.te-ba-card {
  border-radius: 14px;
  padding: 20px 20px;
  border: 1px solid var(--border);
}

.te-ba-card--before {
  background: #fff5f5;
  border-color: #fecaca;
}

.te-ba-card--after {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.te-ba-card-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}

.te-ba-card--before .te-ba-card-label { color: #ef4444; }
.te-ba-card--after  .te-ba-card-label { color: #22c55e; }

.te-ba-card p {
  font-size: 0.875rem;
  color: var(--dark);
  line-height: 1.65;
  font-style: italic;
}

.te-ba-quote {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.te-ba-quote p {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.7;
}

.te-quote-hl {
  font-size: clamp(1rem, 1.8vw, 1.25rem) !important;
  font-weight: 700 !important;
  color: var(--te-indigo) !important;
  margin-top: 6px;
}

/* =========================================
   PARA QUEM É
   ========================================= */
.te-audience {
  padding: 96px 24px;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.te-audience-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.te-audience-visual img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.te-audience-text > p {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 18px;
  font-size: 0.9375rem;
}

.te-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.te-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.55;
}

.te-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--te-indigo-glow);
  border: 1.5px solid var(--te-indigo);
  border-radius: 50%;
  margin-top: 1px;
  position: relative;
}

.te-check::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--te-indigo);
  border-bottom: 2px solid var(--te-indigo);
  transform: rotate(45deg) translateY(-1px);
}

/* =========================================
   CTA FINAL
   ========================================= */
.te-cta {
  background: var(--te-dark-2);
  padding: 96px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.te-cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 50%, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.te-cta-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.te-cta-inner .te-title--light {
  color: var(--white);
}

.te-cta-sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 40px;
}

.te-cta-img {
  max-width: 840px;
  margin: 0 auto 48px;
}

.te-cta-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.te-cta-note {
  margin-top: 22px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

.te-cta-note a {
  color: var(--cyan);
  font-weight: 600;
}

.te-cta-note a:hover {
  text-decoration: underline;
}

/* =========================================
   RESPONSIVE — Tablet (≤ 1024px)
   ========================================= */
@media (max-width: 1024px) {
  .te-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .te-hero-top {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .te-hero-sub,
  .te-hero-support {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .te-hero-actions {
    justify-content: center;
  }

  .te-hero-stats {
    justify-content: center;
  }

  .te-hero-visual {
    order: -1;
  }

  .te-hero-img {
    max-width: 520px;
  }

  .te-pain-inner,
  .te-how-inner,
  .te-ba-inner,
  .te-audience-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .te-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .te-feedback-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
   RESPONSIVE — Mobile (≤ 768px)
   ========================================= */
@media (max-width: 768px) {
  .te-hero {
    padding: 100px 16px 64px;
  }

  .te-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .te-hero-actions .btn-te-indigo,
  .te-hero-actions .btn-te-ghost {
    width: 100%;
    justify-content: center;
  }

  .te-pain-cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .te-types-grid {
    grid-template-columns: 1fr;
  }

  .te-feedback-features {
    grid-template-columns: 1fr;
  }

  .te-pain,
  .te-how,
  .te-types,
  .te-feedback-banner,
  .te-before-after,
  .te-audience,
  .te-cta {
    padding: 64px 16px;
  }
}

/* =========================================
   FAB — Treina Entrevista color
   ========================================= */
.te-page .fab-btn {
  background: var(--te-indigo);
  box-shadow: 0 4px 28px rgba(79, 70, 229, 0.45);
}

.te-page .fab-btn:hover {
  background: var(--te-indigo-dark);
  box-shadow: 0 8px 40px rgba(79, 70, 229, 0.55);
}
