@charset "UTF-8";

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
}

:root {
  /* Cores IFSP */
  --ifsp-red: #b30000;
  --ifsp-green: #2d8b38;
  --ifsp-green-dark: #1e5e26;

  /* Mapeamento de variaveis legadas */
  --rose-red: #b30000;
  --primary-200: #cc3333;
  --primary-300: #ffcccc;

  --accent-100: #2d8b38;
  --accent-200: #1e5e26;

  --text-100: #333333;
  --text-200: #5c5c5c;
  --bg-100: #f5f5f5;
  --bg-200: #ebebeb;
  --bg-300: #c2c2c2;
  --black: #08090a;
  --rose-quarts: #a7a2a9;
}

.link:link,
.link:visited,
.link:active,
.link:hover {
  color: var(--black);
  text-decoration: none;
  text-transform: capitalize;
}

body {
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

.first_session {
  display: flex;
  height: calc(100vh - 120px);
  flex-direction: row;
  justify-content: center;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 64px;
  flex: 1;
  justify-content: center;
}

.first_session .container {
  margin-top: 120px;
}

.first_session .box-img img {
  margin-top: 200px;
}

.paragraph {
  font-size: 35px;
  color: var(--text-200);
}

.title {
  font-weight: bold;
  color: var(--ifsp-red);
  font-size: 45px;
}

.title-2 {
  font-weight: bold;
  color: var(--ifsp-green-dark);
  font-size: 45px;
}

.right {
  text-align: right;
}

.emphasys {
  font-weight: bold;
  color: var(--ifsp-red);
}

.btn_outline {
  align-items: center;
  border: 5px solid var(--ifsp-green);
  border-radius: 10px;
  color: var(--ifsp-green);
  display: flex;
  font-size: 24px;
  font-weight: bold;
  gap: 0.5rem;
  height: 82px;
  justify-content: center;
  margin-top: 95px;
  text-decoration: none;
  transition: all 0.4s ease;
  width: 420px;
}

.btn_outline img {
  height: 42px;
  margin-left: 5px;
  width: auto;
  filter: invert(37%) sepia(93%) saturate(357%) hue-rotate(91deg)
    brightness(91%) contrast(88%);
}

.btn_outline:hover {
  background-color: var(--ifsp-green);
  color: white;
}
.btn_outline:hover img {
  filter: brightness(0) invert(1);
}

.box-img {
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.box-img img {
  width: 100%;
}

.second_session,
.third_session,
.fourth_session,
.fifth-session {
  display: flex;
  height: auto;
  min-height: 80vh;
  padding: 60px 0;
  flex-direction: row;
  justify-content: center;
}

.fourth_session .box-img img {
  width: 80%;
}

.people {
  width: 50% !important;
  margin-top: 120px;
}

.skew {
  position: absolute;
  transform: skewY(-5deg) translateY(-15px);
  width: 100%;
  z-index: -1;
}

/* SKEWS CORRIGIDOS (VERDE E VERMELHO) */
.pink_skew {
  background-color: #2d8b38; /* Verde */
  opacity: 0.1;
  height: 800px;
}
.pink_skew2 {
  background-color: #2d8b38; /* Vermelho */
  opacity: 0.15;
  height: 100px;
}

.gray_skew {
  background-color: #e0e0e0;
  height: 100px;
}

.cta_session {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 0;
  background-color: var(--bg-100);
  text-align: center;
}

.btn_cta {
  margin-top: 40px;
  padding: 18px 40px;
  border-radius: 50px;
  background-color: var(--ifsp-green);
  color: white;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;

  width: fit-content;
  align-self: center;
}

.btn_cta:hover {
  background-color: var(--ifsp-green-dark);
  transform: translateY(-3px);
}

.pink_title {
  color: var(--ifsp-red);
}

.icon-social {
  background-image: url("../assets/icons/instagram.png");
  width: 32px;
  height: 32px;
  z-index: 9;
  display: flex;
  align-items: center;
  transition: 0.5s;
  background-size: cover;
}
.icon-social-email {
  background-image: url("../assets/icons/email.png");
  width: 32px;
  height: 32px;
  z-index: 9;
  display: flex;
  align-items: center;
  transition: 0.5s;
  background-size: cover;
}
.social-media {
  font-size: 30px;
  margin-left: 40px;
  text-align: center;
  transition: 0.5s;
}
.social-link {
  text-decoration: none;
  color: var(--black);
}
.social-link:hover {
  .social-link,
  .social-media {
    color: var(--ifsp-red);
  }
}

.course-header {
  border-left: 5px solid var(--ifsp-red);
  padding-left: 15px;
  margin-bottom: 20px;
}

.campus-title {
  font-size: 18px;
  color: var(--text-200);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.course-title {
  font-size: 24px;
  color: var(--ifsp-green);
  font-weight: 800;
}

.subtitle-hero {
  font-size: 24px;
  margin-top: 20px;
}

/* Adicionado para remover CSS inline da seção Hero */
.course-badge {
  background-color: var(--ifsp-red); /* Vermelho IFSP */
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  margin-top: 10px;
  display: inline-block;
}

.course-subtitle {
  color: var(--text-200);
  margin-top: 10px;
  font-weight: 600;
}

.subtitle-hero-top {
  margin-top: 20px;
}

/* Seção de Desenvolvedores */
.dev-section {
  display: block;
  padding-top: 80px;
}

.dev-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.center-text {
  text-align: center;
  margin-bottom: 10px;
}

.subtitle-dev {
  font-size: 20px;
}

/* Grid Devs (Atualizado para 1fr) */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1000px; /* Limitando a largura do grid para centralizar melhor no HTML */
  margin: 40px auto 0 auto;
}

.dev-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border-bottom: 4px solid var(--ifsp-green);
  transition: transform 0.3s ease;
}

.dev-card:hover {
  transform: translateY(-5px);
  border-bottom: 4px solid var(--ifsp-red);
}

.dev-name {
  font-weight: 600;
  color: var(--text-100);
  font-size: 18px;
  margin-top: 10px;
}

/* Footer e Localização */
.social-container {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.flex-align {
  display: flex;
  align-items: center;
}

.margin-left-15 {
  margin: 0 0 0 15px;
}

.fix-margin-skew {
  margin-top: 50px;
}

.footer-course {
  font-weight: 400;
}

.footer-copy {
  font-size: 14px;
  margin-top: 10px;
  opacity: 0.8;
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
  body {
    overflow-x: hidden;
  }

  .first_session {
    height: auto;
    margin-top: 120px;
  }

  .first_session .container,
  .first_session .box-img img {
    margin-top: 0px;
  }

  .first_session,
  .third_session,
  .fourth_session,
  .fifth-session {
    flex-direction: column;
  }

  .paragraph {
    font-size: 30px;
  }

  .title,
  .title-2 {
    font-size: 40px;
  }

  .btn_outline {
    font-size: 20px;
    width: 400px;
  }

  .box-img {
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  .box-img img {
    width: 50%;
  }

  .second_session {
    flex-direction: column-reverse;
  }

  .people {
    margin-top: 0;
    width: 30% !important;
  }

  .third_session,
  .fourth_session,
  .fifth-session {
    margin-top: 120px;
  }

  .fourth_session {
    margin-bottom: 200px;
  }

  .fourth_session .box-img img {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 20px;
  }

  .paragraph {
    font-size: 20px;
  }

  .title,
  .title-2 {
    font-size: 35px;
  }

  .btn_outline {
    margin-top: 30px;
    width: 70%;
    font-size: 15px;
    height: 70px;
    padding: 10px;
  }

  .box-img {
    padding: 10px;
  }

  .box-img img {
    width: 80%;
  }

  .people {
    width: 40% !important;
  }

  .fourth_session {
    margin-bottom: 0px;
  }

  .fourth_session .box-img {
    margin-top: -80px;
  }

  .social-media {
    font-size: 20px;
  }

  .social-link {
    width: fit-content;
  }
}
