:root {
  --bg: #ffffff;
  --text: #1C1A1A;
  --muted: #6C6C6C;
  --cyan: #00B0F0;
  --blue: #008EE4;
  --blue-700: #007BFF;
  --border: #D9D9D9;
  --shadow-strong: 0 4px 9px rgba(0, 0, 0, .32);
  --shadow-soft: 0 4px 9px rgba(0, 0, 0, .11);
}

/* Scrollbar global (moderno e profissional) */
html {
  scrollbar-width: thin;
  /* Firefox */
  scrollbar-color: var(--blue) #EAF4FB;
  /* polegar, trilho */
}

/* WebKit (Chrome, Edge, Safari) */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: #EAF4FB;
  border-radius: 8px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--blue) 0%, var(--cyan) 100%);
  border-radius: 8px;
  border: 2px solid #EAF4FB;
  /* cria margem visual, mais leve */
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0074CF 0%, #00A6E6 100%);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}

.mobile-only {
  display: none;

}

.desktop-only {
  display: inline;
}

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


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

@media (min-width: 1025px) {
  .course-card__body .meta {
    text-align: center;
    justify-items: center;
  }

  .course-card__pricing .pricing__headline {
    justify-content: center;
    padding-top: 10px;
  }

  .course-card__body .matricula-btn {
    display: grid;
    justify-items: center;
  }

  .course-card .btn-lg {
    margin-left: 0;
  }
}

.hr-why {
  padding: 0px 0px 0px 0px;
  border: none;
  /* remove a borda padrão */
  height: 1px;
  /* altura da linha */
  background: linear-gradient(to right,
      /* da esquerda para a direita */
      transparent,
      /* começa transparente */
      #008EE4 50%,
      /* azul no centro */
      transparent
      /* termina transparente */
    );
  width: 100%;
  /* largura total */
}

.hr-why-container {
  padding: 67px 0px 0px 0px;
}

.container {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}

.topbar {
  position: fixed;
  /* fixa no topo */
  top: 0;
  /* topo da tela */
  left: 0;
  /* inicia da esquerda */
  width: 100%;
  /* ocupa toda largura */
  z-index: 50;
  /* acima de outros elementos */
  background: rgba(247, 249, 252, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(117, 117, 117, 0.5);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5% 6%;
}

.logo {
  width: 150px;
  height: auto;
}

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

.nav__link {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
}

.nav__link:hover {
  color: var(--blue);
}

.btn-hamburger {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.btn-hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform .25s ease, opacity .2s ease, background-color .2s ease;
  transform-origin: center;
}

/* Animação do ícone hambúrguer → X */
.btn-hamburger.is-open span {
  background: var(--blue);
}

.btn-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.btn-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.btn-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Micro interação ao pressionar */
.btn-hamburger:active {
  transform: scale(0.96);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 300;
  cursor: pointer;
  transition: transform .1s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  padding: 10px 16px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%);
  color: #fff;
  font-size: 11px;
}

.btn-gradient {
  padding: 12px 20px;
  background: linear-gradient(90deg, #E49400 0%, #F33910 100%);
  color: #fff;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 15px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%);

  color: #FFF;

  text-align: center;
  font-family: Inter;
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;

}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  place-items: center;
  color: #fff;
  margin-top: 75px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;

}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  height: 500px;
}

.hero__content {
  position: relative;
  padding: 120px 0px;
  display: grid;
  gap: 0;
}

/* Animação de entrada da hero como "avião": acelera e desacelera, com leve rotação */
.hero__content.is-hidden-init {
  opacity: 0;
  transform: translateX(-40px) translateY(10px) scale(.98) rotate(-1.5deg);
  filter: blur(2px);
}

.hero__content.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1) rotate(0deg);
  filter: blur(0);
  transition: opacity .8s ease-out, transform .8s cubic-bezier(.22, 1, .36, 1), filter .6s ease-out;
  will-change: transform, opacity, filter;
}

.hero__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: normal;
  font-family: Inter;
  font-style: normal;

}

.hero__subtitle {
  color: #FFF;

  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
  padding: 10px 0px 10px 0px;
}

.accent-bar {
  width: 4px;
  height: 50px;
  background: #E4C100;
  display: inline-block;
  margin-right: 12px;
  margin-top: 10px;
  vertical-align: middle;
}

.hero__support {
  color: #9EA0A2;
  display: flex;
  align-items: center;
  font-size: clamp(10px, 2vw, 12px);

  color: #9EA0A2;

  font-family: Poppins;
  font-style: normal;
  line-height: 126.945%;
  /* 21.581px */
}

.hero__title,
.hero__subtitle,
.hero__support {
  margin: 0;
}

.highlight-cyan {
  background: #00B0F0;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-blue {
  color: var(--blue-700);
}

/* FAQ */
.faq {
  padding: 56px 0;
  background: #f6f6f6;
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.faq__header {
  display: grid;
  justify-items: center;
  align-items: center;
}

.faq__title-wrap {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.faq__title {
  font-family: 'Sora', Inter, system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0;
  text-align: center;
}

.faq__title-light {
  font-weight: 300;
  color: #1C1A1A;
  font-size: 70px;
  margin-right: 45px;
}

.faq__title-strong {
  font-weight: 700;
  color: #ffffff;
  background-color: #008EE4;
  padding: 2px 2px;
  margin-left: 10px;
  margin-right: -80px;
  font-size: 70px;
}

.faq__title-bar {
  width: 140px;
  height: 6px;
  background: #008EE4;
  border-radius: 4px;
}

.faq__content {
  max-width: 760px;
}

.faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 10px;
  overflow: hidden;
}

.hr-faq {
  border: 0.8px solid #008EE4;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #f6f6f6;
  border: none;
  cursor: pointer;
  font-family: Raleway, Inter, sans-serif;
}

.faq__question-text {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  text-align: left;
}

.faq__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transition: transform .25s ease;
  background-image: url(images/arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.faq-item.is-open .faq__icon {
  transform: rotate(-45deg);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease, opacity .2s ease;
  opacity: 0;
  visibility: hidden;
}

.faq__answer>div,
.faq__answer>p {
  overflow: hidden;
}

.faq-item.is-open .faq__answer {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
}

.faq__answer p {
  margin: 0;
  padding: 0 16px 14px;
  font-family: Raleway, Inter, sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #000;
}


@media (max-width: 768px) {
  .matricula-btn {
    justify-self: center;
  }

  /* Garantir que imagens e mídia respeitem a largura do grid no mobile */
  .courses__grid {
    overflow-x: hidden;
  }

  .courses__grid .course-card,
  .courses__grid .course-card__face,
  .courses__grid .course-card__media {
    min-width: 0;
    max-width: 100%;
  }

  .courses__grid .course-card__media img {
    width: 100%;
    max-width: 100%;
  }

  .why-item__icon {
    width: 30px;
    height: 30px;
    outline-offset: -1.5px;
    background-image: url(images/Icon.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .faq__title-light {
    font-weight: 300;
    color: #1C1A1A;
    font-size: 50px;
    margin-left: 45px;
  }

  .faq__title-strong {
    font-weight: 700;
    color: #ffffff;
    background-color: #008EE4;
    padding: 2px 2px;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 50px;
  }


  .faq__answer {
    text-align: start;
  }

  .faq__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .faq {
    padding: 40px 0;
  }

  .faq__content {
    max-width: none;
  }

  .faq__title {
    font-size: 32px;
  }
}

/* Courses */
.courses {
  padding: 64px 0;
  background: #fff;
}

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

.course-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 21px;
  box-shadow: var(--shadow-soft);
  overflow: clip;
  height: 560px;
}

.course-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  border-color: #00B0F0;
}

/* Flip (mobile) */
.course-card__flip {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1200px;
}

.course-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform .5s ease;
}

.course-card__face--front {
  transform: rotateY(0);
}

.course-card__face--back {
  transform: rotateY(180deg);
  overflow: hidden;

}

.course-card.is-flipped .course-card__face--front {
  transform: rotateY(180deg);
}

.course-card.is-flipped .course-card__face--back {
  transform: rotateY(360deg);
}

.course-card__more,
.course-card__back {
  margin: 12px auto 0;
  display: inline-flex;
}

/* Restore desktop layout (no flip) */
@media (min-width: 769px) {
  .course-card__flip {
    display: contents;
    height: auto;
    perspective: none;
  }


  .course-card__face {
    position: static;
    inset: auto;
    transform: none !important;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transition: none;
  }

  .course-card__face--front,
  .course-card__face--back {
    transform: none !important;
  }

  .course-card__more,
  .course-card__back {
    display: none;
  }
}

.course-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h-100 {
  height: 100%;
}

.u-object-pos-70-100 {
  object-position: 70% 100%;
}

.course-card__body {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 10px;
  align-content: start;
  height: 560px;
  overflow: hidden;
  min-height: 0;
  background: linear-gradient(180deg,
      white 0%,
      white 70%,
      rgb(28, 28, 28) 60%,
      rgb(28, 28, 28) 100%);
}

.course-card__body .list {
  gap: 2px;
  min-height: 0;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.course-card__body .list li {
  font-size: 10px;
  line-height: 1.3;
}

.course-card__body .meta {
  font-size: 9px;
  gap: 1px;
  align-items: center;
}

/* Preserve bullet color (orange) with black text as in design */
.course-card__body .list {
  color: #008EE4;
  padding-left: 32px;
}

.course-card__body .list p {
  color: #1C1A1A;
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  line-height: 173%;
}

.course-card .btn-lg {
  height: 35px;
  margin-bottom: 13px;
  margin-left: 6px;
  margin-top: -10px;
}

.course-card__title {
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  color: #1C1A1A;
  padding-left: 17px;
}

.course-card__desc {
  color: var(--muted);
  font-size: 12px;
  margin-top: -20px;
  color: #6C6C6C;

  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding-left: 17px;
}

/* Desktop pricing block inside course card body */
@media (min-width: 769px) {
  .course-card__pricing {
    border-bottom-right-radius: 21px;
    display: grid;
    gap: 6px;
    text-align: center;
    color: #fff;
    width: 100%;
    margin-top: -15px;
    margin-right: 0px;
  }

  .course-card__pricing .pricing__headline {
    display: flex;
    align-items: baseline;
    gap: 0px;
    margin-top: 5px;
  }

  .pricing__installments {
    font-size: 16px;
    font-weight: 400;

    color: #AFB3BA;

    font-family: Raleway;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
  }

  .pricing__currency {
    color: #3DC32C;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
  }

  .pricing__amount {
    color: #3DC32C;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.3px;
  }

  .pricing__cash {
    color: #AFB3BA;
    text-align: center;
    margin-top: -7px;
    margin-bottom: 4%;
    color: #AFB3BA;


    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .pricing__cash strong {
    color: #3DC32C;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
}

.list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.lista {
  gap: 0;
  font-size: 12px;
  line-height: 1.1;
  color: #ffffff;
  list-style-type: none;
  padding-left: 0;
  text-align: center;
}

.lista p {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  font-weight: normal;
}

.lista__code {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
}

.list p {
  margin: 0;
  padding: 0;
  line-height: normal;
}

.list--bulleted {
  list-style: disc;
  margin-top: -10px;
}

.list--spaced {
  gap: 12px;
  line-height: 1.35;
}

.meta {
  display: grid;
  gap: 6px;
  text-align: center;
  color: #FFF;
  font-family: Inter;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding-left: 0px;
}

/* Modules */
.modules {
  padding: 72px 0;
  background-image: url(images/aviao.png);
  background-size: cover;
  width: 100%;
  height: 100%;
  background-position: right center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* parallax simples no desktop */
  will-change: background-position;
  position: relative;
  /* permite overlay escurecido */
}

/* Overlay escuro sobre a imagem (desktop e mobile) */
.modules::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  pointer-events: none;
  z-index: 0;
}

/* Garante conteúdo acima do overlay */
.modules>.container {
  position: relative;
  z-index: 1;
}

/* Subjects (Disciplinas Individuais) */
.subjects {
  padding: 48px 0;
  background: #ffffff;
}

.subjects .section-header {
  color: #1C1A1A;
  margin-top: 0;
  margin-bottom: 16px;
}

.subjects__panel {
  border: 1px solid #ACACAC;
  border-radius: 22px;
  padding: 16px;
}

.subjects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
}

.subject-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  border: 1px solid #D9D9D9;
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
  color: #1C1A1A;
  cursor: pointer;
  transition: box-shadow .15s ease, transform .1s ease;
}

.subject-item:hover {
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%);
  color: #fff;
  border-color: transparent;
}

.subject-item:active {
  transform: translateY(0);
}

.subject-item.is-lg {
  min-height: 56px;
}

.subject-item.is-md {
  min-height: 44px;
}

.subject-item--primary {
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%);
  color: #fff;
  border-color: transparent;
}

.subject-item__left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.subject-item__code {
  font-weight: 700;
  font-size: 16px;
}

.subject-item__label {
  font-weight: 400;
  font-size: 16px;
}

.subject-item--primary .subject-item__code,
.subject-item--primary .subject-item__label {
  color: #fff;
}

.subject-item__chevron {
  font-size: 16px;
  color: #D9D9D9;
}

.subject-item--primary .subject-item__chevron {
  color: #fff;
}

@media (max-width: 1200px) {
  .subjects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing__cash {
    margin-bottom: 10px;
  }
}

@media (max-width: 720px) {
  .subjects__grid {
    grid-template-columns: 1fr;
  }

  .subject-item.is-lg {
    min-height: 52px;
  }

  .mobile-only {
    display: inline;
  }
}



.section-header {
  text-align: center;
  margin-bottom: 15px;
  color: #ffffff;
  margin-top: -70px;
}

.section-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0px;
  margin: 0px 0px 20px 0px;
  margin-top: 20px;
}

.section-subtitle {
  font-size: clamp(14px, 2vw, 15px);
  color: rgb(255, 255, 255);
  margin-bottom: -5px;
  text-align: center;
  margin-top: -20px;
  color: #FFF;

  text-align: center;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.section-subtitle1 {
  color: #008EE4;
  text-align: center;
  font-family: Poppins;
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
  line-height: 126.945%;
  /* 38.083px */
  margin-top: -20px;
  margin-bottom: 20px;
}
.section-subtitle2 {
  font-size: 10px;
  margin-top: -11px;
  margin-bottom: 0px;
  color: #FFF;
  text-align: center;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.consulte {
  text-align: center;
  justify-content: end;
  font-size: 9px;
  margin: 0px;
  color: #000000;
  margin-top: 10px;

}

.modules__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-left: 8%;
  margin-right: 8%;
}

/* Carousel (mobile only) */
.modules-carousel {
  position: relative;
}

.modules__viewport {
  overflow: hidden;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: none;
  background: linear-gradient(180deg, #008EE4 0%, #00B0F0 100%);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: none;
  place-items: center;
  cursor: pointer;
}

.carousel-btn--prev {
  left: 8px;
}

.carousel-btn--next {
  right: 8px;
}

.carousel-dots {
  display: none;
}

@media (max-width: 768px) {
  .section-subtitle1 {
    color: #008EE4;
    text-align: center;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 126.945%;
    /* 38.083px */
    margin-top: -20px;
    margin-bottom: 0px;

  }

  .section-subtitle2 {
    font-size: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .section-subtitle {
    font-size: 10px;
    margin-top: -20px;
    margin-bottom: 0px;
    color: #FFF;

    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }


  .meta {
    align-items: center;
    justify-content: center;
    line-height: 2;
    font-size: 10px !important;
    color: #e3e3e3;
  }

  .modules-carousel .modules__viewport {
    overflow: hidden;
  }

  .carousel-btn {
    display: grid;
  }

  .modules-carousel .modules__grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    grid-template-columns: none;
    gap: 0;
    margin: 0;
    transform: translateX(0);
    transition: transform .35s ease-in-out;
  }

  .modules-carousel .module-card {
    width: 100%;
    border-radius: 17px;
    max-height: 200px;
  }
 .bloco-2-lista {
  font-size: 15px;
 }
.module-card {
  overflow: hidden;
}




  .modules-carousel .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
  }

  .modules-carousel .carousel-dots button {
    width: 12px;
    /* largura menor */
    height: 12px;
    /* altura menor */
    border-radius: 50%;
    border: none;
    background: #D9D9D9;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
    margin-top: 10px;
  }

  .modules-carousel .carousel-dots button.is-active {
    background: #008FE4;
    transform: scale(1.2);
  }
}

.module-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: center;
  gap: 8px;
  padding: 12px;
  height: 320px;
  width: auto;
  background: rgba(0, 0, 0, 0.17);
  backdrop-filter: blur(18px);
  color: #ffffff;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  transition: opacity .6s ease-out, transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .15s ease, border-color .15s ease;
  margin-top: 3px;
  opacity: 0;
  transform: translateY(20px) scale(.98);
  will-change: transform, opacity;
}

.module-card__title {
  font-weight: 700;
  font-size: 25px;
  line-height: 1.2;
  margin: 0;
  text-align: center;
  margin-top: 10px;
}

.module-card .list {
  list-style: disc;
  margin: 0;
  display: grid;
  gap: 4px;
  font-size: 12px;
  line-height: 1.25;
  color: #F0F0F0;
}

.module-card .list li {
  margin: 0;
}

.module-card .btn {
  align-self: center;
  justify-self: center;
  align-items: center;
  text-align: center;
  width: 80%;
  height: 34px;
  font-size: 15px;
}

.module-card p {
  text-align: center;
  justify-content: end;
  font-size: 8px;
  margin: 0px;
  color: #C7CBD3;
}



.module-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  border-color: #ffffff;
}

/* Reveal animation state */
.module-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Why */
.why {
  padding: 0px 0;
  background: #fff;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.why-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(108, 108, 108, .75);
  padding: 0px 12px;
}

.why-item__icon {
  width: 30px;
  height: 30px;
  outline-offset: -1.5px;
  background-image: url(images/Icon.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

.why-item__text {
  font-size: 16px;
}

.cta-banner {
  display: grid;
  gap: 12px;
  place-items: center;
  margin-top: 30px;
  margin-bottom: 60px;
}

.cta-banner__note {
  text-align: center;
  color: rgba(28, 26, 26, 0.80);
  font-size: 16px;
  padding-top: 20px;
}

/* Footer */
.footer {
  background: #1A1A1A;
  color: #fff;
  padding: 16px 0;
}

.footer__inner {
  display: grid;
  place-items: center;
  gap: 10px;
}

.footer__copy {
  font-size: 14px;
}

.footer__sponsors {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.footer__sponsors .sponsor-logo {
  height: 28px;
  width: auto;
  opacity: .9;
  filter: saturate(.95);
}

.footer__sponsors .sponsor-logo1 {
  height: 50px;
  width: auto;
  opacity: .9;
  filter: saturate(.95);
}

@media (max-width: 768px) {
  .footer__sponsors .sponsor-logo {
    height: 24px;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .courses__grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    margin-top: 5px;
    grid-template-columns: 1fr;
  }

  .course-card__media img {
    width: 100%;
    height: 300px;
  }

  .modules__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-card {
    height: auto;

  }

  /* Evita bugs de fixed em mobile/tablet, JS assume o parallax */
  .modules {
    background-attachment: scroll;
  }
}

/* Mobile: parallax somente na imagem de fundo, conteúdo intacto */
@media (max-width: 768px) {
  .modules {
    position: relative;
    background-image: none;
    overflow: hidden;
    contain: paint;
    isolation: isolate;
    height: auto;
  }

  .modules::before {
    content: "";
    position: absolute;
    top: -12%;
    left: 0;
    right: 0;
    bottom: -12%;
    background-image: url(images/aviao-mobile.png);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    transform: translate3d(0, var(--modules-parallax-y, 0px), 0);
    will-change: transform;
    z-index: 0;
    pointer-events: none;
  }

  /* escurece também a versão mobile por baixo do container */
  .modules::after {
    background: rgba(0, 0, 0, .65);
  }

  .modules>.container {
    position: relative;
    z-index: 1;
  }
}
@media (max-width: 400px) {
  .hero__title {
    font-size: 20px !important;
  }
}

/* Mobile (Figma) */
@media (max-width: 768px) {
  /* ajustes mobile */
  

  .desktop-only {
    display: none;
  }



  .course-card__body .btn {
    text-align: center;
  }

  .container {
    width: calc(100% - 32px);
    align-items: center;
  }

  /* Topbar */
  .topbar__inner {
    height: 77px;
  }

  .logo {
    width: 150px;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav {
    display: none;
  }

  .btn-primary {
    display: none;
  }

  .btn-hamburger {
    display: inline-block;
    margin-left: auto;
  }

  /* Mobile nav: aparece após clique no hambúrguer */
  .nav.is-open {
    display: grid;
    position: fixed;
    top: 77px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #D9D9D9;
    gap: 12px;
    padding: 12px 16px 16px;
    z-index: 60;
  }

  .nav.is-open .nav__link {
    font-size: 16px;
    padding: 8px 0;
  }

  /* Hero */
  .hero {
    min-height: 844px;
    place-items: end center;
  }

  .hero__content {
    padding: 40px 16px;
    text-align: center;
    gap: 12px;
    align-self: end;
    padding-bottom: 24px;
  }

  /* dá mais respiro e destaque ao título no mobile */
  .hero__title {
    margin-bottom: 8px;
  }

  .hero__subtitle {
    margin-top: 0;
  }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.95) 86%);
    height: 100%;
  }

  .hero__bg-img {
    display: none;
  }

  .hero__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("images/3 2mobile.png");
    background-size: cover;
    background-position: 68% 50%;
  }

  .hero__title {
    font-size: 23px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: 0.2px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  .hero__subtitle {
    font-size: 14px;
    max-width: 420px;
    margin: 0 auto;
    color: #FFF;
    font-family: Inter;
    font-style: normal;
    line-height: normal;

  }

  .hero__support {
    color: #9EA0A2;
    display: flex;
    align-items: center;
    text-align: start;
    font-size: clamp(10px, 2vw, 12px);
    margin-left: 10px;
    margin-bottom: 10px;

    color: #9EA0A2;

    font-family: Poppins;
    font-style: normal;
    line-height: 126.945%;
  }

  .accent-bar {
    height: 39px;
    width: 4px;
  }

  /* Courses */
  .courses {
    padding: 32px 0;
    background: #ffffff;
  }

  .course-card {
    grid-template-columns: 1fr;
    border-radius: 21px;
    overflow: hidden;
    position: relative;
    min-height: 640px;
  }

  .course-card__media {
    position: relative;
  }

  /* Degradê preto na parte inferior da imagem dos cards (melhora leitura) */
  .courses__grid .course-card__media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    min-height: 90px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .65) 30%, rgba(0, 0, 0, .95) 100%);
    pointer-events: none;
  }

  .courses__grid .course-card__media .course-card__more {
    z-index: 2;
  }

  .courses__grid .course-card__media .course-card__title-front {
    z-index: 2;
    margin-right: 10px;
    
  }


  /* Unificar altura do front dos cards no mobile (mais vertical) */
  .course-card__face--front {
    gap: 0;
    padding-bottom: 0;
    grid-template-rows: 1fr;
  }

  .course-card__face--front .course-card__media {
    height: 100%;
    aspect-ratio: auto;
  }

  .course-card__face--front .course-card__media img[src] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 21px 21px 0 0;
    display: block;
  }

  /* Título sobre a imagem e botão sempre visível no rodapé da mídia */
  .course-card__title-front {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 72px;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    margin: 0;
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
    text-align: center;
  }

  .course-card__media .course-card__more {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 259px;
    box-sizing: border-box;
    height: 42px;
    border-radius: 8px;
    font-weight: 800;
  }

  .course-card__media::after {
    content: none;
  }

  .course-card__flip {
    position: relative;
    height: 100%;
  }

  .course-card__face {
    display: grid;
    grid-template-rows: auto auto 1fr;
    align-content: start;
  }

  .course-card__face--front {
    background: #fff;
    border-radius: 21px;
    display: grid;
    gap: 0;
    padding-bottom: 0;
    grid-template-rows: 1fr;
  }

  .course-card__face--back {
    background: #fff;
    border-radius: 21px;
    border-radius: 21px 21px 0 0;
    overflow: hidden;
    display: grid;
    gap: 10px;
    background: linear-gradient(180deg,
        white 0%,
        white 75%,
        rgb(31, 31, 31) 70%,
        rgb(31, 31, 31) 100%);
  }

  .course-card__more {
    width: 259px;
    height: 42px;
    border-radius: 8px;
    font-weight: 800;
    border: none;
  }

  /* Botão X no canto superior direito da face traseira */
  .course-card__back {
    position: absolute;
    top: -5px;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: transparent;
    color: var(--blue);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    /* texto escondido, aria-label mantém acessível */
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
    transition: transform .18s ease, opacity .18s ease;
  }

  .course-card__back::before {
    content: '✕';
    font-size: 22px;
    font-weight: 800;
    color: var(--blue);
  }

  .course-card__back:active {
    transform: scale(.9) rotate(-5deg);
  }

  /* Body ocupa toda a altura da face traseira */
  .course-card__face--back {
    grid-template-rows: 1fr;
  }

  .course-card__body {
    color: var(--text);
    padding: 0 4px;
    text-align: left;
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto 1fr auto auto;

  }

  .course-card__title {
    color: var(--text);
    font-size: 22px;
    margin: 0;
    text-align: center;
    margin-top: 10px;
  }

  .course-card__desc {
    display: block;
    color: var(--muted);
    margin: 0;
    text-align: center;
    margin-top: -10px;
    margin-bottom: 10px;
  }

  .course-card .btn-lg {
    margin: 0;
    margin-bottom: 16px;
  }

  .course-card .btn {
    width: 100%;
    max-width: 259px;
    height: 42px;
    border-radius: 8px;
    font-weight: 800;
  }

  /* Mobile pricing styles: centralizado e legível */
  .course-card__pricing {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 6px;
    padding: 0px 0 0px;
    color: #ffffff;
  }

  .course-card__pricing .pricing__headline {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 0px;
  }

  .course-card__pricing .pricing__installments {
    color: #C7CBD3;
    font-size: 14px;
  }

  .course-card__pricing .pricing__currency {
    color: #3DC32C;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
  }

  .course-card__pricing .pricing__amount {
    color: #3DC32C;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.3px;
  }

  .course-card__pricing .pricing__cash {
    color: #C7CBD3;
    font-size: 13px;
    text-align: center;
    margin-top: -5px;
    margin-bottom: -5px;
  }

  .course-card__pricing .pricing__cash strong {
    color: #3DC32C;
  }

  /* Modules */
  .modules__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-left: 16px;
    margin-right: 16px;
  }

  .module-card {
    height: auto;
    padding: 10px;
    gap: 6px;
    border-radius: 12px;
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    margin-bottom: 2px;
  }

  .module-card__title {
    font-size: 30px;
    margin-top: 20px;
  }

  .lista {
    font-size: 16px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* centraliza horizontalmente */
    padding: 20px;
    border-radius: 12px;
    list-style-type: none;

  }

  .lista li {
    margin-bottom: 8px;
    margin-left: 0 !important;
    align-self: center;
  }

  .module-card .btn {
    height: 32px;
    font-size: 15px;
    border-radius: 6px;

  }


  /* Module cards portrait look: more height than width */
  .modules-carousel .modules__grid {
    justify-items: center;
  }

  .modules-carousel .module-card {
    width: 75%;
    max-width: 320px;
    min-height: 420px;
  }

  /* Garantir botão "Matricular" visível e ao final do card (mobile) */
  .module-card {
    grid-template-rows: auto 1fr auto;
  }

  .module-card .btn {
    text-align: center;
    display: block;
    width: 220px;
    /* tamanho padrão */
    max-width: 80%;
    /* não estoura em telas pequenas */
    height: 40px;
    align-self: center;
    /* centraliza no eixo Y do grid */
    justify-self: center;
    /* centraliza no eixo X do grid */
    margin-top: auto;
    /* permanece próximo ao final do card */

  }



  .module-card.is-visible .btn {
    opacity: 1;
    visibility: visible;
  }

  /* Ajustes responsivos adicionais dos module-cards no mobile */
  .module-card { min-width: 0; }
  .module-card__title { text-align: center; }
  .lista {
    width: 100%;
    max-height: 220px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 8px;
    align-items: center;
    text-align: center;
  }
  .lista li { word-break: break-word; line-height: 1.4; margin-left: 0 !important; align-self: center; }
  .module-card .btn { width: min(240px, 90%); max-width: 260px; }

  /* Subjects */
  .subjects {
    padding: 40px 0;
  }

  .subjects__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .subject-item.is-lg {
    min-height: 48px;
  }

  .subject-item.is-md {
    min-height: 40px;
  }

  .subject-item {
    padding: 6px 10px;
    border-radius: 6px;
  }

  .subject-item__code,
  .subject-item__label {
    font-size: 15px;
  }

  .subject-item__chevron {
    font-size: 14px;
  }

  /* Why */
  .why {
    padding: 0px 0;
  }

  .why__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .why-item {
    height: 65px;

  }

  .why-item__text {
    font-size: 13px;
    font-weight: 500;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .cta-banner .btn-lg {
    width: 100%;
    max-width: 391px;
    height: 59px;
    border-radius: 9px;
  }

  /* Footer */
  .footer {
    min-height: 78px;
  }

  .footer__inner {
    min-height: 78px;
  }
}

@media (max-width: 720px) {
  /* ajustes específicos 720px */

  .nav {
    display: none;
  }

  .btn-hamburger {
    display: inline-block;
  }

  .btn-primary {
    display: none;
  }

  .hero__content {
    padding: 40px 0;
  }

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

@media (max-width: 500px) {
  .logo {
    width: 150px;
  }

  .hero {
    min-height: 80vh;
  }

  .course-card__title {
    font-size: 22px;
  }

  .course-card__desc {
    font-size: 14px;
  }

  .module-card .list {
    font-size: 13px;
  }

  .module-card .btn {
    height: 40px;
  }
}

/* Ensure course card front image fills full height on desktop */
@media (min-width: 769px) {
  .course-card__face--front .course-card__media {
    height: 100%;
  }

  .course-card__face--front .course-card__media img {
    height: 100%;
    object-fit: cover;
    object-position: center 100%;
  }

  .course-card__face--front .aero img {
    height: 100%;
    object-fit: cover;
    object-position: center 100%;
  }
}

/* Tablet e abaixo (<=1030px): cards mais verticais e imagem preenchendo toda a altura */
@media (max-width: 1030px) {
  .course-card__face--front .course-card__media {
    height: auto;
    aspect-ratio: 3 / 4;
    position: relative;
  }

  .course-card__face--front .course-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 21px 21px 0 0;
    display: block;
  }
}

/* Mobile: alinhar agente2 e aero-mocaa com look mais vertical */
@media (max-width: 768px) {
  .course-card__face--front {
    height: 100%;
  }

  .course-card__face--front .course-card__media {
    height: 100%;
    aspect-ratio: auto;
  }

  .course-card__face--front .course-card__media img[src="images/agente3.png"] {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }


  /* Ajuste fino: centralizar ligeiramente a imagem aero-mocaa no mobile */
  .course-card__face--front .course-card__media img[src="images/aero-moca2.png"] {
    height: 100%;
    width: 100%;
    object-fit: cover;

  }
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #008EE4;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .25), 0 6px 8px rgba(0, 0, 0, .18);
  z-index: 1000;
  text-decoration: none;
  /* pivô no "chão" */
  margin-bottom: 15px;
}



.whatsapp-float img {
  width: 25px;
  height: 25px;
  display: block;
}



@media (min-width: 1024px) {
  .whatsapp-float {
    width: 45px;
    height: 45px;
    right: 22px;
    bottom: 22px;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 420px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 14px;
    bottom: 14px;
  }


}

/* Tablet: manter visual de desktop para os cards, mas empilhar 1 por linha */
@media (min-width: 769px) and (max-width: 1170px) {
  .courses__grid {
    grid-template-columns: 1fr;
    /* uma coluna: cards empilhados */
  }

  .course-card {
    grid-template-columns: 300px 1fr;
    /* layout de desktop */
    height: 560px;
    /* manter altura do desktop */
  }

  .course-card__media img {
    height: 100%;
    /* preencher coluna esquerda como no desktop */
    object-fit: cover;
  }

  /* Reverter ajustes de 1030px para manter exatamente o visual desktop */
  .course-card__face--front .course-card__media {
    height: 100%;
    aspect-ratio: auto;
    position: static;
  }

  .course-card__face--front .course-card__media img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center 100%;
    border-radius: 0;
  }

  /* Centralização de preços e CTA no tablet */
  .course-card__pricing {
    justify-items: center;
    text-align: center;
  }

  .course-card__pricing .pricing__headline {
    justify-content: center;
  }

  .course-card__body .matricula-btn {
    display: grid;
    justify-items: center;
  }

  .course-card__body .btn-lg {
    margin-left: 0;
  }
}