/* =============================================
   1. RESET / NORMALIZE
   ============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* =============================================
   2. VARIABLES & GLOBAL STYLES
   ============================================= */
:root {
  --color-primary: #00bfa5;
  --color-primary-dark: #00a693;
  --color-secondary: #ffd700;
  --color-success: #8bc34a;
  --color-dark: #1a2b3c;
  --color-dark-blue: #243b53;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-gray-light: #f5f5f5;
  --color-white: #ffffff;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* =============================================
   3. HEADER
   ============================================= */
.header {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  color: #163047;
}

.header__nav {
  padding: 0;
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  height: 8.7rem;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.header__menu-link {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 0.8rem 1.2rem;
}

.header__menu-link-fixed {
  color: #000;
  font-size: 15px;
  font-weight: 500;
  padding: 0.8rem 1.2rem;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.button--login {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: linear-gradient(104deg, #efefef -2.51%, #e5e8e5 113.91%);
  width: 99px;
  height: 42px;
  font-weight: bolder;
}

.button--signup {
  display: flex;
  height: 42px;
  justify-content: center;
  align-items: center;
  width: 99px;
  font-weight: bolder;
  color: white;
  border-radius: 8px;
  background: var(
    --green-gradiente,
    linear-gradient(103deg, #6c6 -3.16%, #529652 106.35%)
  );
}

.header__mobile-toggle {
  display: none; /* Oculto por padrão, visível em telas menores */
  flex-direction: column;
  gap: 5px;
}

.header__mobile-toggle > span {
  width: 30px;
  height: 2px;
  background-color: white;
}

/* Menu Responsivo (Hamburguer) */
.menu-responsive {
  background-color: #163047;
  position: fixed;
  right: -300px;
  top: 0px;
  width: 300px;
  height: 100vh;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 200ms ease-in-out;
  border-left: 1px solid white;
}

.menu-responsive--active {
  right: 0;
}

.menu-responsive nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.btn-close-menu {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 100;
}

/* =============================================
   4. HERO SECTION
   ============================================= */
.hero {
  padding: var(--spacing-2xl) 0;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  margin-top: 100px;
}

.hero__container {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 320px;
  padding: 64px 32px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 32px;
  border-radius: 14px;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 55.39%,
      rgba(0, 0, 0, 0.8) 100%
    ),
    url(../Images/trilha-card-bg.png) lightgray 50% / cover no-repeat;
}

.hero__label {
  font-size: 32px;
  font-weight: 700;
  line-height: 62.4px;
  letter-spacing: -1.92px;
}

.hero__title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
}

/* =============================================
   5. ABOUT SECTION
   ============================================= */
.about {
  padding: var(--spacing-2xl) 0;
}

.about__container {
  display: flex;
  padding: 42px 32px;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  border-radius: 14px;
  background: #fdfdfd;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about__title {
  color: #163047;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -2.88px;
}

.about__description {
  color: #696984;
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 0.4px;
  max-width: 90%;
}

.about__description strong {
  color: #6c6;
  font-weight: 800;
}

.about__cta {
  display: flex;
  padding: 14px 24px;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid #191a3e;
  background: #fff;
  color: #191a3e;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  width: fit-content;
}

.about__stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about__stat-card {
  display: flex;
  gap: var(--spacing-lg);
}

.custom-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.custom-info-content,
.custom-info-content-aprender {
  display: flex;
  flex-direction: column;
}

.custom-info-label {
  color: #696984;
  font-size: 16px;
  line-height: 1.8;
}

.custom-info-value {
  color: #696984;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
}

.about__price-card {
  border-radius: 8px;
  background: linear-gradient(103deg, #6c6 -3.16%, #529652 106.35%);
  box-shadow: 0 10px 60px 0 rgba(38, 45, 118, 0.08);
  display: flex;
  width: 398px;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
}

.about__price-label {
  color: #fff;
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: var(--spacing-xs);
}

.about__price-current {
  display: flex;
  align-items: center;
  gap: 4px;
}

.about__price-current strong {
  color: #163047;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5;
}

.about__subscribe-btn {
  display: flex;
  height: 42px;
  padding: 20px 24px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: linear-gradient(104deg, #efefef -2.51%, #e5e8e5 113.91%);
  color: #191a3e;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: var(--spacing-md);
}

/* =============================================
   6. LEARNING SECTION & COURSE CARDS
   ============================================= */
.learning {
  padding: var(--spacing-2xl) 0;
}

.learning__subtitle {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-xl);
}

.learning__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px 20px;
  justify-items: center;
}

.course-card {
  display: flex;
  width: 100%;
  max-width: 386px;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card-header {
  width: 100%;
  height: 156px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-image: url(../Images/bg-card-aprender.png);
  background-position: center center;
  background-size: cover;
}

.goose-pass-badge {
  position: absolute;
  left: 17px;
  top: 14px;
  border-radius: 8px;
  border: 1px solid #163047;
  background: #f8fbf8;
  padding: 6px 10px;
}

.goose-pass-badge p {
  color: #918787;
  font-size: 10px;
  font-weight: 700;
}

.goose-pass-badge h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.84px;
}

.card-content {
  width: 100%;
  padding: 32px 24px 24px;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title {
  color: #6c6;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.card-description {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 17px;
}

.info-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: 16px;
  min-width: 100px;
}

.custom-info-label-aprender {
  color: #696984;
  font-size: 14px;
}

.custom-info-value-aprender {
  color: #696984;
  font-size: 16px;
  font-weight: 700;
}

.cta-button {
  display: flex;
  padding: 10px 20px;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: linear-gradient(103deg, #6c6 -3.16%, #529652 106.35%);
  width: 100%;
  color: white;
  font-weight: bolder;
}

.course-card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.old-price {
  color: #918787;
  font-size: 14.8px;
  text-decoration-line: line-through;
  margin-right: 8px;
}

.current-price {
  color: #163047;
  font-size: 16.7px;
  font-weight: 700;
}

.subscribe-button {
  padding: 10px 20px;
  color: #163047;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 5px;
  border: 1px solid #ededed;
  background: linear-gradient(104deg, #fafffa -2.51%, #e5e8e5 113.91%);
}

.course-icon-container-aprender {
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(13, 15, 28, 0.12);
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-icon-container {
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(13, 15, 28, 0.12);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =============================================
   7. WHY CHOOSE SECTION
   ============================================= */
.why-choose {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 var(--spacing-md);
}

.title {
  color: #191a3e;
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -2.88px;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-container {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feature-text {
  font-size: 24px;
  color: #6b7280;
  font-weight: 400;
  line-height: 1.4;
}

/* =============================================
   8. TRILHAS SECTION (CAROUSEL)
   ============================================= */
.trilhas {
  padding: var(--spacing-2xl) 0;
  margin-top: 100px;
}

.carousel-container {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.4s ease-in-out;
  cursor: grab;
}

.carousel-wrapper:active {
  cursor: grabbing;
}

.carousel-slide {
  min-width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 3rem;
}

.dot {
  width: 1.2rem;
  height: 10px;
  border-radius: 50px;
  background: #bdd4f1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #191a3e;
  width: 6.2rem;
  border-radius: 0.6rem;
}

.card {
  display: flex;
  background: white;
  border-radius: 2.4rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 100rem;
  width: 100%;
  min-height: 302px;
}

.card-left {
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28rem;
}

.card-right {
  padding: 2rem 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title-trilha {
  color: #6c6;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.card-description-trilha {
  color: #696984;
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.course-badge {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}

.course-text {
  color: #707070;
  font-size: 16.7px;
  font-weight: 700;
}

.card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.avatars-section {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  border-radius: 45px;
  background: #fafafa;
  padding-right: 15px;
}

.avatars {
  display: flex;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid white;
  margin-left: -1.2rem;
}

.avatar:first-child {
  margin-left: 0;
}

.cta-button-card-carrosl {
  background: #6c6;
  color: white;
  padding: 14px 24px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 8px 20px 0 rgba(102, 204, 102, 0.08);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.trilhas__cta {
  display: flex;
  width: 251px;
  justify-content: center;
  align-items: center;
  min-height: 60px;
  color: #191a3e;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid #191a3e;
  margin: 60px auto 0;
}

/* =============================================
   9. FOOTER
   ============================================= */
.footer {
  /* background-color: var(--colo-dark); */
  color: var(--color-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  border-radius: 20px 20px 0 0;
  background: #163047;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}
.footer__brand {
  max-width: 30rem;
}
.footer__logo {
  height: 4rem;
  margin-bottom: var(--spacing-md);
}
.footer__description {
  color: var(--color-gray-200);
}
.footer__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}
.footer__column-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}
.footer__link {
  color: var(--color-gray-200);
  transition: color var(--transition-base);
}
.footer__link:hover {
  color: var(--color-primary);
}
.footer__bottom {
  border-top: 1px solid var(--color-gray-800);
  padding-top: var(--spacing-md);
  text-align: center;
}
.footer__copyright {
  font-size: 1.4rem;
  color: var(--color-gray-600);
}

/* =============================================
   10. RESPONSIVE STYLES
   ============================================= */

/* Telas de Tablet (até 1024px) */
@media (max-width: 1024px) {
  /* Header */
  .header__menu,
  .header__actions {
    display: none;
  }
  .header__mobile-toggle {
    display: flex;
  }

  /* About Section */
  .about__container {
    flex-direction: column;
    text-align: center;
  }
  .about__content {
    align-items: center;
  }
  .about__description {
    max-width: 100%;
  }
  .about__price-card {
    width: 100%;
    max-width: 450px;
    align-items: center;
  }

  /* Why Choose Section */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-text {
    font-size: 20px;
  }

  /* Carousel Section */
  .card {
    flex-direction: column;
  }
  .card-left {
    flex-basis: 200px; /* Define uma altura base para a imagem */
    max-width: 100%;
  }
  .card-right {
    padding: var(--spacing-lg);
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }
  .footer-middle {
    gap: 50px;
    width: 100%;
    justify-content: center;
  }
  .footer-left,
  .footer-right {
    flex-basis: auto;
    width: 100%;
    max-width: 450px;
  }
  .logo,
  .contact-item {
    justify-content: center;
  }
}

/* Telas de Celular (até 768px) */
@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  /* Hero Section */
  .hero__title {
    font-size: var(--font-size-3xl);
  }
  .hero__label {
    font-size: 28px;
  }

  /* About Section */
  .about__title {
    font-size: 38px;
  }
  .about__stat-card {
    flex-direction: column;
    align-items: center;
  }

  /* Why Choose Section */
  .title {
    font-size: 32px;
  }

  /* Carousel */
  .carousel-slide {
    padding: 1rem;
  }
  .card .card-footer {
    flex-direction: column;
    align-items: center;
  }

  /* Footer */
  .footer-middle {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
    background-color: transparent;
    padding: 0;
  }
  .newsletter-form input {
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  .decorative-waves {
    display: none;
  }
}
