  :root {
    --teal: #00b4a2;
    --teal-dark: #007a6e;
    --navy: #0a1628;
    --navy2: #112040;
    --yellow: #ffd340;
    --coral: #ff5f5f;
    --bg: #f4f6fb;
    --white: #ffffff;
    --text: #0a1628;
    --muted: #6b7a99;
    --border: #e2e8f5;
  }
  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--navy);
    height: 90px;
    display: flex;
    align-items: center;
    padding: 0 6%;
    justify-content: space-between;
  }
  .nav-logo {
    display: flex; align-items: center; gap: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 0.02em;
  }
  .nav-logo img { height: 25px; }
  .nav-logo em { color: var(--teal); font-style: normal; }
  .nav-links { display: flex; gap: 32px; list-style: none; }
  .nav-links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--teal); }
  .nav-cta {
    background: var(--teal);
    color: var(--navy);
    padding: 10px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    transition: background 0.2s;
  }
  .nav-cta:hover { background: var(--yellow); }

  /* HERO */
  #home {
    padding: 120px 6% 60px;
    background: var(--navy);
    min-height: 600px;
    max-height: 600px;
    display: grid;
    grid-template-columns: 55% 45%;
    position: relative;
    overflow: hidden;
  }
  /* Diagonal divider — now handled by hero-right clip-path */
  .hero-left {
    padding: 40px 4% 80px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 1;
  }
  .hero-right {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 0;
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    max-height: 580px;
  }

  /* CAROUSEL */
  .hero-carousel {
    width: 100%;
    height: 100%;
    max-height: 560px;
    position: relative;
    overflow: hidden;
  }
  .carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }
  .carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
  }
  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .carousel-track {
    display: flex;
    height: 110%;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }
  .carousel-slide {
    min-width: 100%;
    height: 90%;
    position: relative;
    /*overflow: hidden;*/ /* Removido para permitir que o overlay fique fora da imagem, se necessário */
  }
  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .carousel-slide-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.4) 60%, transparent 100%);
    padding: 28px 54px 93px;
  }
  .cs-cat {
    display: inline-block;
    background: var(--teal);
    color: var(--navy);
    font-size: 1.0rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
  }
  .cs-title {
    color: #fff;
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 4px;
  }
  .cs-price {
    color: var(--yellow);
    font-weight: 700;
    font-size: 2rem;
  }
  /* Nav arrows */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
  }
  .carousel-btn:hover { background: var(--teal); border-color: var(--teal); }
  .carousel-btn.prev { left: 14px; }
  .carousel-btn.next { right: 14px; }
  /* Dots */
  .carousel-dots {
    position: absolute;
    bottom: 14px;
    right: 18px;
    display: flex;
    gap: 6px;
    z-index: 10;
  }
  .c-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }
  .c-dot.active {
    background: var(--teal);
    transform: scale(1.3);
  }
  /* Progress bar */
  .carousel-progress {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    background: var(--teal);
    width: 0%;
    z-index: 10;
    transition: width 0.1s linear;
  }
  .hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,180,162,0.15);
    border: 1px solid rgba(0,180,162,0.35);
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 6px;
    margin-bottom: 28px;
    width: fit-content;
    animation: popIn 0.5s ease both;
  }
  .hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.5rem, 3vw, 3.5rem);
    line-height: 1.15;
    color: #fff;
    /* margin-bottom: 32px; */ /* Reduzido para 20px para melhor espaçamento com a descrição */
    letter-spacing: 0.08em;
    animation: popIn 0.5s ease 0.1s both;
  }
  .hero-title .teal { color: var(--teal); }
  .hero-title .yellow { color: var(--yellow); }
  .hero-desc {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 460px;
    margin-bottom: 10px;
    animation: popIn 0.5s ease 0.2s both;
  }
  .hero-desc strong {
    color: #fff;
    font-weight: 700;
  }
  .hero-ctas {
    display: flex; gap: 14px; flex-wrap: wrap;
    animation: popIn 0.5s ease 0.3s both;
  }
  .cta-primary {
    background: var(--teal);
    color: var(--navy);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
  }
  .cta-primary:hover { background: var(--yellow); transform: translateY(-2px); }

  .cta-secondary {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: flex; align-items: center; gap: 10px;
    transition: background 0.2s;
  }
  .cta-secondary:hover { background: rgba(255,255,255,0.15); }

  .hero-numbers {
    display: flex; gap: 0;
    margin-top: 10px;
    animation: popIn 0.5s ease 0.4s both;
  }

  .hnum {
    padding: 24px 32px 24px 0;
    border-right: 1px solid rgba(255,255,255,0.1);
    margin-right: 32px;
  }
  .hnum:last-child { border-right: none; margin-right: 0; }
  .hnum-val {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.6rem;
    color: var(--teal);
    line-height: 1;
  }
  .hnum-lbl {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
  }
  @keyframes popIn { from { opacity:0; transform: scale(0.96) translateY(10px); } to { opacity:1; transform: scale(1) translateY(0); } }

  /* COURSES */
  #cursos {
    padding: 100px 6%;
    background: var(--bg);
  }
  .section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 48px;
    gap: 32px;
  }
  .section-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 8px;
  }
  .section-h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: 0.02em;
  }
  .filters {
    display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  }
  .f-btn {
    padding: 14px 32px;
    border-radius: 10px;
    border: 2px solid var(--border);
    background: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--muted);
    transition: all 0.2s;
  }
  .f-btn:hover, .f-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
  }
  .f-btn.active { background: var(--teal); border-color: var(--teal); color: var(--navy); }
  .courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 20px;
  }
  .course-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  }
  .course-card:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,180,162,0.12);
  }
  .course-card.hidden { display: none; }
  .card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--navy);
  }
  .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s;
  }
  .course-card:hover .card-thumb img { transform: scale(1.05); }
  .cat-pill {
    position: absolute;
    bottom: 10px; left: 12px;
    background: var(--navy);
    color: var(--teal);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
  }
  .card-body { padding: 18px 18px 20px; }
  .c-title {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 7px;
    line-height: 1.3;
  }
  .c-desc {
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .c-footer {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 2px solid var(--border);
    padding-top: 14px;
  }
  .c-price {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text);
  }
  .c-link {
    background: var(--navy);
    color: #fff;
    padding: 8px 16px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    transition: background 0.2s;
  }
  .c-link:hover { background: var(--teal); color: var(--navy); }

  /* EBOOK BAND */
  .ebook-band {
    background: var(--teal);
    padding: 90px 6%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .eb-tag {
    display: inline-block;
    background: rgba(0,0,0,0.2);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
  }
  .eb-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    line-height: 1;
    color: var(--navy);
    margin-bottom: 18px;
    letter-spacing: 0.02em;
  }
  .eb-desc {
    color: rgba(10,22,40,0.7);
    line-height: 1.65;
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .btn-eb {
    display: inline-block;
    background: var(--navy);
    color: var(--teal);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    transition: background 0.2s;
  }
  .btn-eb:hover { background: var(--yellow); color: var(--navy); }
  .ebook-band img {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  }

  /* CTA */
  .big-cta {
    background: var(--yellow);
    padding: 80px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
  }
  .big-cta h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--navy);
    letter-spacing: 0.02em;
    max-width: 500px;
    line-height: 1.05;
  }
  .btn-cta-dark {
    background: var(--navy);
    color: var(--yellow);
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: background 0.2s;
  }
  .btn-cta-dark:hover { background: var(--teal); color: var(--navy); }

  /* FOOTER */
  footer {
    background: var(--navy);
    padding: 70px 6% 36px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 28px;
  }
  .f-logo {
    display: flex; align-items: center; gap: 12px;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 16px;
  }
  .f-logo img { height: 30px; }
  .f-logo em { color: var(--teal); font-style: normal; }
  .f-about { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.7; }
  .f-h {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 18px;
  }
  .f-info p {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    margin-bottom: 10px;
    line-height: 1.5;
  }
  .f-socials { display: flex; flex-direction: column; gap: 10px; }
  .f-soc {
    display: flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .f-soc:hover { color: var(--teal); }
  .f-soc-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
  }
  .footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
  }
  .footer-bottom a { color: var(--teal); text-decoration: none; }

  @media (max-width: 900px) {
    nav {
      height: auto;
      padding: 18px 6%;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }
    .nav-logo {
      order: 1;
      width: 100%;
      justify-content: center;
    }
    .nav-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      width: 100%;
      order: 3;
    }
    .nav-links li { margin: 0; }
    .nav-links a { font-size: 0.86rem; }
    .nav-cta {
      order: 2;
      width: auto;
      align-self: center;
      padding: 12px 20px;
    }
    #home {
      grid-template-columns: 1fr;
      padding-top: 120px;
      min-height: auto;
      max-height: none;
      height: auto;
    }
    #home::after { display: none; }
    .hero-left {
      padding: 40px 6% 32px;
    }
    .hero-right {
      display: block;
      clip-path: none;
      padding: 0 6% 30px;
      max-height: 420px;
    }
    .hero-carousel {
      min-height: 280px;
      max-height: 420px;
    }
    .carousel-slide-overlay {
      padding: 18px 16px 32px;
    }
    .hero-numbers {
      flex-wrap: wrap;
      justify-content: flex-start;
      margin-top: 16px;
      gap: 16px;
    }
    .hnum {
      border-right: none;
      margin-right: 0;
      padding: 16px 0;
    }
    .ebook-band { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .big-cta { flex-direction: column; text-align: center; }
  }
  @media (max-width: 800px) {
    .hero-left { padding: 32px 5% 24px; }
    .hero-title { font-size: clamp(1.8rem, 7vw, 2.8rem); 
    }
    .hero-desc { margin-bottom: 20px; max-width: 100%; }
    .hero-ctas {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 12px;
    }
    .cta-primary,
    .cta-secondary {
      flex: 1 1 45%;
      max-width: 45%;
      justify-content: center;
    }
    .cta-primary { padding: 14px 20px; }
    .cta-secondary { padding: 14px 20px; }
    .hero-right {
      max-height: 360px;
    }
    .hero-carousel {
      min-height: 240px;
      max-height: 360px;
    }
    .carousel-slide-overlay {
      padding: 16px 14px 24px;
    }
    .courses-grid { grid-template-columns: 1fr; }
    .ebook-band img { max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .section-head { flex-direction: column; align-items: flex-start; text-align: left; }
  }
  @media (max-width: 480px) {
    nav { padding: 16px 4%; }
    .nav-logo { font-size: 0.95rem; }
    .nav-cta { width: 100%; text-align: center; }
    .hero-left { padding: 24px 4% 24px; }
    .hero-right {
      max-height: 320px;
    }
    .hero-carousel {
      min-height: 220px;
      max-height: 320px;
    }
    .cs-title { font-size: 1.5rem; }
    .cs-price { font-size: 1.5rem; }
    .carousel-btn { width: 34px; height: 34px; }
    .f-btn { padding: 12px 18px; font-size: 0.9rem; }
    .ebook-band { padding: 60px 4%; }
    .big-cta { padding: 60px 4%; }
  }
  @media (max-width: 800px) {
    .hero-left { padding: 32px 5% 24px; }
    .hero-title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
    .hero-desc { margin-bottom: 20px; max-width: 100%; }
    .hero-ctas {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 12px;
    }
    .cta-primary,
    .cta-secondary {
      flex: 1 1 45%;
      max-width: 45%;
      justify-content: center;
    }
    .cta-primary { padding: 14px 20px; }
    .cta-secondary { padding: 14px 20px; }
    .courses-grid { grid-template-columns: 1fr; }
    .ebook-band img { max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .section-head { flex-direction: column; align-items: flex-start; text-align: left; }
  }
  @media (max-width: 480px) {
    nav { padding: 16px 4%; }
    .nav-logo { font-size: 0.95rem; }
    .nav-cta { width: 100%; text-align: center; }
    .hero-left { padding: 24px 4% 24px; }
    .hero-carousel { min-height: 280px; }
    .cs-title { font-size: 1.5rem; }
    .cs-price { font-size: 1.5rem; }
    .carousel-btn { width: 34px; height: 34px; }
    .f-btn { padding: 12px 18px; font-size: 0.9rem; }
    .ebook-band { padding: 60px 4%; }
    .big-cta { padding: 60px 4%; }
  }

  /* COMBO CARD OVERLAY */
  [data-cat="combo"] .card-thumb {
    position: relative;
  }
  .combo-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.55) 70%, transparent 100%);
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .combo-overlay-title {
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.2;
  }
  .combo-overlay-price {
    color: var(--yellow);
    font-weight: 800;
    font-size: 1rem;
  }
  .combo-overlay-link {
    display: inline-block;
    margin-top: 4px;
    background: var(--teal);
    color: var(--navy);
    padding: 6px 14px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    align-self: flex-start;
    transition: background 0.2s;
  }
  .combo-overlay-link:hover { background: var(--yellow); }
