/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: 'Clear Sans', sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Clear Sans', sans-serif;
  font-weight: 500;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

p{
  font-size: 18px !important;
}

h2{
  font-size: 42px;
}

h3{
  font-size: 28px;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #1e2a78;
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: #1a2568;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a.active {
  color: #fff;
  font-weight: 700;
  border-bottom: 2px solid #f5a623;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-nav-outline {
  font-family: 'Poppins', sans-serif;
  color: #DEDEDE;
  font-size: 0.82rem;
  font-weight: 700;
  background: transparent;
  border: none;
  border-radius: 50px;
  padding: 11px 24px;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 0;
}

.btn-nav-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(to right, #30DCEB, #2A3896);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: -1;
}

.btn-nav-outline img {
  vertical-align: middle;
  margin-top: -1px;
}

.btn-nav-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-nav-solid {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #F39325, #F46E00);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 50px;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-nav-solid:hover {
  background: linear-gradient(to right, #e0850f, #d96200);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(243, 147, 37, 0.3);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 600px;
  background: linear-gradient(135deg, #141F68 0%, #1a2878 40%, #293896 70%, #101a55 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 56px;
  padding-bottom: 116px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('media/hero-image.jpg') no-repeat right center / contain;
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 55%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 55%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background:
    url('media/triangulo.svg') no-repeat right 0 top 0 / auto 60%,
    url('media/triangulo.svg') no-repeat right 0 bottom 0 / auto 55%;
  opacity: 0.5;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 31, 104, 0.3) 0%, rgba(20, 31, 104, 0.2) 40%, transparent 70%);
  z-index: 3;
}

.hero-container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-content {
  flex: 1;
  max-width: 40%;
}

.hero-logo-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-logo-img {
  max-width: 320px;
  height: auto;
}

.hero-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.hero-subtitle-small {
  color: #a8c8e8;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 2px;
}

.hero-subtitle {
  color: #5DB148;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-description {
  color: #f4f4f4;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.btn-hero {
  display: inline-block;
  background: linear-gradient(to right, #F39325, #F46E00);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  letter-spacing: 0.03em;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(243, 147, 37, 0.3);
  font-family: 'Poppins', sans-serif;
}

.btn-hero:hover {
  background: linear-gradient(to right, #e0850f, #d96200);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(243, 147, 37, 0.4);
}

.hero-logos {
  position: absolute;
  bottom: 0;
  right: 0;
  gap: 24px;
  z-index: 4;
  background: linear-gradient(45deg, #000000, transparent 80%);
  padding: 36px 24px;
  border-radius: 10px 0 0 0;
  width: 100vw;
}

.hero-logos .footer-logo {
  height: 32px;
}

.logos-container {
  max-width: 1200px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 0px 24px;
  gap: 48px;
}

.logo-giz {
  height: 42px;
}

.logo-senai {
  height: 28px;
}

.logo-dt {
  height: 47px;
}

.logo-text-senaisp {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.senaisp-bold {
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  opacity: 0.8;
}

.senaisp-sub {
  color: #a8c8e8;
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.7;
}

.hero-image-area {
  flex: 1;
}

/* ========== STATS BAR ========== */
.stats-bar {
  background: #0D1337 url('media/triangulo-verde.svg') no-repeat right bottom / auto 180px;
  padding: 60px 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: #293896;
  border-radius: 18px;
  padding: 36px 28px 32px;
  aspect-ratio: 4 / 3;
  transition: transform 0.25s, box-shadow 0.25s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.stat-icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.stat-icon img {
  width: 100px;
  height: 100px;
}

.stat-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.45;
  text-align: center;
  font-weight: 400;
}

.stat-highlight {
  color: #5DB148;
  font-weight: 700;
}

/* ========== SECTIONS GENERAL ========== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  text-align: center;
  font-weight: 500;
  color: #5DB148;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.section-intro {
  text-align: center;
  color: #f4f4f4;
  font-size: 0.92rem;
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ========== SOBRE A CHAMADA ========== */
.sobre {
  padding: 80px 0;
  background: #141F68;
}

.sobre .section-title {
  color: #5DB148;
}

.sobre .section-intro {
  max-width: 100%;
  text-align: left;
}

.sobre-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.sobre-card {
  text-align: center;
  position: relative;
}

.sobre-card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: #1a2d6b;
  position: relative;
}

.sobre-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sobre-card-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to bottom, transparent 0%, #141F68 100%);
  pointer-events: none;
  border-radius: 0 0 14px 14px;
}

.sobre-card-text {
  position: relative;
  margin-top: -100px;
  z-index: 2;
  padding: 0 12px;
}

.sobre-card h3 {
  font-weight: 800;
  color: #5DB148;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  line-height: 1.35;
  font-size: 22px;
}

.sobre-card p {
  font-size: 0.9rem;
  color: #f4f4f4;
  line-height: 1.65;
  max-width: 320px;
  margin: 0 auto;
}

/* ========== QUEM PODE PARTICIPAR ========== */
.quem-pode {
  padding: 80px 0;
  background: #0D1337;
}

.quem-pode .section-title {
  color: #5DB148;
}

.quem-pode .requisitos-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 620px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.quem-pode .requisitos-list li {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 1.15rem;
  color: #b0bec5;
  line-height: 1.5;
}

.quem-pode .check-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
}

/* ========== DESAFIOS TECNOLÃ“GICOS ========== */
.desafios {
  padding: 80px 0;
  background: #E1E1E1 url('media/triangulo.svg') no-repeat right center / auto 100%;
}

.desafios .section-title {
  color: #5DB148;
}

.desafios .section-intro {
  color: #5a6a7a;
}

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

.desafio-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 32px;
  transition: all 0.25s;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.desafio-card:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.desafio-icon {
  flex-shrink: 0;
}

.desafio-icon img {
  width: 80px;
  height: auto;
}

.desafio-card h3 {
  color: #0a193c;
  font-weight: 700;
  margin-bottom: 10px;
}

.desafio-card p {
  color: #5a6a7a;
  font-size: 0.85rem;
  line-height: 1.6;
}

.desafio-text {
  flex: 1;
  min-width: 0;
}

/* ========== VALORES POR CATEGORIA ========== */
.valores {
  padding: 80px 0;
  background: #293896 url('media/triangulo-verde.svg') no-repeat left bottom / auto 180px;
}

.valores .section-title {
  color: #5DB148;
}

.valores .section-intro {
  color: #f4f4f4;
}

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

.valor-card {
  background: #141F68;
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  border: none;
  transition: all 0.25s;
}

.valor-card:hover,
.valor-card-highlight {
  box-shadow: 0 8px 32px rgba(10, 25, 60, 0.3);
}

.valor-header {
  font-size: 16px;
  font-weight: 700;
  color: #5DB148;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.valor-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.valor-desc {
  font-size: 0.85rem;
  color: #f4f4f4;
  line-height: 1.5;
}

/* ========== CRONOGRAMA ========== */
.cronograma {
  padding: 80px 0;
  background: #0D1337 url('media/triangulo-verde.svg') no-repeat right bottom / auto 180px;
}

.cronograma .section-title {
  color: #5DB148;
}

.cronograma-bars {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cronograma-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #293896;
  border-radius: 40px;
  padding: 18px 32px;
}

.cronograma-date {
  font-size: 22px;
  font-weight: 700;
  color: #5DB148;
}

.cronograma-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  text-align: right;
}

/* ========== CTA FINAL ========== */
.cta-final {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #1e2d7a 0%, #293896 60%, #3448a8 100%);
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    url('media/triangulo.svg') right center / auto 100% no-repeat,
    linear-gradient(to right, transparent 0%, #293896 50%) left center / 100% 100% no-repeat;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('media/CTA-back-image.jpg') left center / auto 100% no-repeat;
  -webkit-mask: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
  mask: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-left: max(calc(40% - 24px), calc((100% - 1200px) / 2));
}

.cta-text {
  flex: 1;
}

.cta-text h2 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.cta-green {
  color: #5DB148;
}

.cta-white {
  color: #fff;
}

.cta-text p {
  color: #f4f4f4;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 440px;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 32px;
}

.btn-cta-outline {
  color: #DEDEDE;
  font-size: 0.82rem;
  font-weight: 600;
  background: transparent;
  border: none;
  border-radius: 50px;
  padding: 14px 26px;
  transition: all 0.2s;
  white-space: nowrap;
  position: relative;
  z-index: 0;
  font-family: 'Poppins', sans-serif;
}

.btn-cta-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(to right, #30DCEB, #2A3896);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: -1;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-cta-solid {
  background: linear-gradient(to right, #F39325, #F46E00);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 50px;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(243, 147, 37, 0.3);
  font-family: 'Poppins', sans-serif;
}

.btn-cta-solid:hover {
  background: linear-gradient(to right, #e0850f, #d96200);
  transform: translateY(-1px);
}

/* ========== FOOTER ========== */
.footer {
  background: #0D1337;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
}


.footer-logo-senai{
  height: 42px;
}

.footer-logo {
  height: 60px;
  opacity: 0.85;
  transition: opacity 0.2s;
  object-fit: contain;
}

.footer-logo:hover {
  opacity: 1;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    padding: 60px 24px 40px;
  }

  .hero-image-area {
    display: none;
  }

  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-container {
    justify-content: flex-end;
  }

  .stats-container {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .stat-card {
    aspect-ratio: auto;
    padding: 32px 24px 28px;
  }

  .sobre-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .desafios-grid {
    grid-template-columns: 1fr;
  }

  .valores-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .cronograma-bar {
    padding: 14px 24px;
  }

  .cronograma-date {
    font-size: 0.9rem;
  }

  .cronograma-label {
    font-size: 0.9rem;
  }

  .cta-container {
    flex-direction: column;
    text-align: center;
    gap: 32px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-text p {
    max-width: 100%;
  }

  .cta-buttons {
    justify-content: center;
  }

  .hero-subtitle {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .quem-pode .requisitos-list {
    gap: 28px;
  }

  .quem-pode .check-icon {
    width: 42px;
    height: 42px;
  }

  .quem-pode .requisitos-list li {
    font-size: 1rem;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding: 40px 16px 30px;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-logos {
    flex-wrap: wrap;
    gap: 16px;
  }

  .nav-actions {
    gap: 8px;
  }

  .btn-nav-outline,
  .btn-nav-solid {
    padding: 6px 12px;
    font-size: 0.72rem;
  }

  .cronograma-bar {
    padding: 12px 18px;
  }

  .cronograma-date {
    font-size: 0.78rem;
  }

  .cronograma-label {
    font-size: 0.78rem;
  }

  .footer-logos {
    flex-wrap: wrap;
    gap: 20px;
  }
}