/* ===== Trabalhe Conosco — CodeMinds ===== */
.tc-page {
  --tc-purple: #820ad1;
  --tc-orange: #f4831f;
  --tc-ink: #002d45;
  --tc-muted: rgba(0, 45, 69, 0.72);
  --tc-soft: #fdf3ea;
  --tc-radius: 16px;
  --tc-shadow: 0 12px 40px rgba(130, 10, 209, 0.12);
}

.tc-section {
  padding: 88px 0;
  position: relative;
}

.tc-section--soft {
  background: var(--tc-soft);
}

.tc-section--purple {
  background: linear-gradient(135deg, #820ad1 0%, #6a08ab 100%);
  color: #fff;
}

.tc-section--purple .sec-title_title,
.tc-section--purple .sec-title_heading,
.tc-section--purple .sec-title_text {
  color: #fff;
  opacity: 1;
}

.tc-section--purple .sec-title_heading span {
  color: #ffe68d;
}

/* ---- Hero ---- */
.tc-hero {
  padding: 72px 0 96px;
  background: var(--tc-soft);
  overflow: hidden;
}

.tc-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tc-hero__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tc-purple);
  margin-bottom: 12px;
}

.tc-hero__title {
  font-family: "Inter", sans-serif;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.1;
  color: var(--tc-ink);
  text-transform: none;
  margin: 0 0 16px;
}

.tc-hero__title span {
  color: var(--tc-purple);
}

.tc-hero__text {
  font-size: 18px;
  line-height: 1.65;
  color: var(--tc-muted);
  margin-bottom: 28px;
  max-width: 520px;
}

.tc-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.tc-hero__photo {
  width: 100%;
  max-width: 580px;
  height: auto;
  display: block;
  border-radius: var(--tc-radius);
  object-fit: contain;
  box-shadow: var(--tc-shadow);
  background: linear-gradient(145deg, rgba(130, 10, 209, 0.15), rgba(244, 131, 31, 0.15));
}

.tc-hero__photo-placeholder {
  display: grid;
  place-items: center;
  color: var(--tc-purple);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 24px;
}

.tc-float {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--tc-shadow);
  display: grid;
  place-items: center;
  color: var(--tc-purple);
  font-size: 20px;
  animation: tc-float 5s ease-in-out infinite;
}

.tc-float--1 { top: 8%; left: 0; animation-delay: 0s; }
.tc-float--2 { top: 18%; right: 4%; animation-delay: 0.8s; }
.tc-float--3 { bottom: 28%; left: 6%; animation-delay: 1.4s; }
.tc-float--4 { bottom: 12%; right: 0; animation-delay: 2s; }

@keyframes tc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---- Roadmap ---- */
.tc-roadmap {
  position: relative;
  margin-top: 48px;
  padding: 0 8px;
}

.tc-roadmap__track {
  display: none;
}

.tc-roadmap__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px 12px;
  position: relative;
  align-items: start;
}

.tc-roadmap__list::before {
  content: "";
  position: absolute;
  top: 88px;
  left: 10%;
  right: 10%;
  height: 4px;
  border-radius: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--tc-purple) 0,
    var(--tc-purple) 12px,
    transparent 12px,
    transparent 20px
  );
  opacity: 0.35;
  z-index: 0;
}

.tc-roadmap__node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 6px 12px;
  border-radius: var(--tc-radius);
  cursor: default;
  outline: none;
  transition: background 0.25s ease;
}

.tc-roadmap__node:hover,
.tc-roadmap__node:focus-visible,
.tc-roadmap__node.is-active {
  background: transparent;
}

.tc-roadmap__visual {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  margin-bottom: 0;
}

.tc-roadmap__step-num {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tc-orange);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(244, 131, 31, 0.35);
}

.tc-roadmap__node--final .tc-roadmap__step-num {
  background: var(--tc-purple);
  box-shadow: 0 4px 12px rgba(130, 10, 209, 0.35);
}

.tc-roadmap__pin {
  position: relative;
  width: min(100%, 148px);
  margin: 0 auto;
  border-radius: 0;
  overflow: visible;
  border: none;
  box-shadow: none;
  background: transparent;
  transition: transform 0.25s ease;
}

.tc-roadmap__node:hover .tc-roadmap__pin,
.tc-roadmap__node:focus-visible .tc-roadmap__pin,
.tc-roadmap__node.is-active .tc-roadmap__pin {
  transform: scale(1.04);
}

.tc-roadmap__pin img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transform: none;
  transition: transform 0.25s ease;
}

.tc-roadmap__detail {
  width: 100%;
  margin-top: 18px;
  min-height: 0;
}

.tc-roadmap__typewriter {
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--tc-muted);
  text-align: left;
  padding: 0 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(130, 10, 209, 0.1);
  box-shadow: 0 8px 24px rgba(130, 10, 209, 0.08);
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}

.tc-roadmap__node:hover .tc-roadmap__typewriter,
.tc-roadmap__node:focus-visible .tc-roadmap__typewriter,
.tc-roadmap__node.is-active .tc-roadmap__typewriter,
.tc-roadmap__node.is-typing .tc-roadmap__typewriter {
  max-height: 320px;
  opacity: 1;
  padding: 14px 12px;
}

.tc-roadmap__focus {
  display: none;
  margin-top: 12px;
  font-weight: 700;
  color: var(--tc-ink);
  line-height: 1.5;
}

.tc-roadmap__focus.is-visible {
  display: block;
}

.tc-roadmap__caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  background: var(--tc-purple);
  vertical-align: text-bottom;
  opacity: 0;
}

.tc-roadmap__node.is-typing .tc-roadmap__caret {
  opacity: 1;
  animation: tc-blink 0.8s step-end infinite;
}

@keyframes tc-blink {
  50% { opacity: 0; }
}

/* ---- Cards ---- */
.tc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tc-card {
  background: #fff;
  border-radius: var(--tc-radius);
  padding: 28px 22px;
  box-shadow: var(--tc-shadow);
  border: 1px solid rgba(130, 10, 209, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.tc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(130, 10, 209, 0.25);
}

.tc-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(130, 10, 209, 0.1);
  color: var(--tc-purple);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
  transition: background 0.22s ease, color 0.22s ease;
}

.tc-card:hover .tc-card__icon {
  background: var(--tc-purple);
  color: #fff;
}

.tc-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  margin: 0;
  text-transform: none;
  color: var(--tc-ink);
}

/* ---- Perfil tags ---- */
.tc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.tc-tag {
  padding: 12px 20px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid rgba(130, 10, 209, 0.15);
  font-weight: 600;
  font-size: 15px;
  color: var(--tc-ink);
  box-shadow: 0 4px 16px rgba(130, 10, 209, 0.06);
}

/* ---- Timeline ---- */
.tc-timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 32px;
}

.tc-timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--tc-purple), var(--tc-orange));
}

.tc-timeline__item {
  position: relative;
  padding: 0 0 36px 28px;
}

.tc-timeline__item:last-child {
  padding-bottom: 0;
}

.tc-timeline__item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--tc-purple);
  box-shadow: 0 0 0 4px rgba(130, 10, 209, 0.15);
}

.tc-timeline__num {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--tc-orange);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.tc-timeline__item h3 {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  margin: 0 0 6px;
  text-transform: none;
}

.tc-timeline__item p {
  margin: 0;
  color: var(--tc-muted);
  line-height: 1.65;
}

.tc-timeline__item p a {
  color: var(--tc-purple);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tc-timeline__item p a:hover {
  color: var(--tc-orange);
}

.tc-timeline__video-link {
  white-space: nowrap;
}

.tc-timeline__video-link strong {
  font-weight: 700;
}

/* ---- Final CTA ---- */
.tc-final-cta {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.tc-final-cta .sec-title_heading {
  text-transform: none;
}

.tc-final-cta .sec-title_text {
  margin-bottom: 28px;
}

.tc-section--purple .theme-btn.btn-style-one {
  background-color: #fff;
  color: var(--tc-orange) !important;
}

.tc-section--purple .theme-btn.btn-style-one:before {
  background-color: var(--tc-orange);
}

.tc-section--purple .theme-btn.btn-style-one .btn-wrap .text-one,
.tc-section--purple .theme-btn.btn-style-one .btn-wrap .text-two {
  color: var(--tc-orange);
}

.tc-section--purple .theme-btn.btn-style-one:hover {
  background-color: var(--tc-orange);
}

.tc-section--purple .theme-btn.btn-style-one:hover .btn-wrap .text-one,
.tc-section--purple .theme-btn.btn-style-one:hover .btn-wrap .text-two {
  color: #fff;
}

/* ---- Scroll reveal ---- */
.tc-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.tc-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .tc-float,
  .tc-reveal,
  .tc-roadmap__caret {
    animation: none !important;
    transition: none !important;
  }

  .tc-reveal {
    opacity: 1;
    transform: none;
  }

  .tc-roadmap__node:hover .tc-roadmap__typewriter,
  .tc-roadmap__node:focus-visible .tc-roadmap__typewriter,
  .tc-roadmap__node.is-active .tc-roadmap__typewriter {
    max-height: none;
    opacity: 1;
  }
}

/* ---- Index home CTA ---- */
.tc-home-cta {
  padding: 72px 0;
  background: linear-gradient(135deg, #820ad1 0%, #9b2fd4 55%, #f4831f 140%);
  position: relative;
  overflow: hidden;
}

.tc-home-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/main-slider/icon-2.png") no-repeat 92% 20% / 180px;
  opacity: 0.12;
  pointer-events: none;
}

.tc-home-cta__inner {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 720px;
  margin: 0 auto;
}

.tc-home-cta__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 10px;
}

.tc-home-cta__title {
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin: 0 0 14px;
  text-transform: none;
}

.tc-home-cta__text {
  font-size: 17px;
  line-height: 1.6;
  opacity: 0.92;
  margin-bottom: 28px;
}

.tc-home-cta .theme-btn.btn-style-one {
  background-color: #fff;
  color: var(--tc-purple) !important;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .tc-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tc-hero__text {
    margin-left: auto;
    margin-right: auto;
  }

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

  .tc-roadmap__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .tc-roadmap__list::before {
    display: none;
  }

  .tc-roadmap__pin {
    width: min(100%, 132px);
  }
}

@media (max-width: 640px) {
  .tc-section {
    padding: 64px 0;
  }

  .tc-cards {
    grid-template-columns: 1fr;
  }

  .tc-float {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .tc-roadmap__list {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
    padding-left: 28px;
  }

  .tc-roadmap__list::before {
    display: block;
    top: 0;
    bottom: 0;
    left: 8px;
    right: auto;
    width: 4px;
    height: auto;
    background: repeating-linear-gradient(
      180deg,
      var(--tc-purple) 0,
      var(--tc-purple) 12px,
      transparent 12px,
      transparent 20px
    );
  }

  .tc-roadmap__node {
    text-align: left;
    align-items: flex-start;
    padding: 0 0 28px 20px;
  }

  .tc-roadmap__pin {
    width: min(100%, 120px);
  }

  .tc-roadmap__detail {
    margin-top: 14px;
  }
}
