:root {
      --primary: #138a27;
      --primary-dark: #0f2a17;
      --secondary: #d4b504;
      --accent: #2c6605;
      --light: #f8fafc;
      --text: #0f2a18;
      --muted: #648b69;
      --border: rgba(148, 184, 156, 0.18);
      --shadow: 0 20px 60px rgba(15, 42, 20, 0.12);
      --degradeUm: rgba(22, 194, 65, 0.16);
      --degradeDois: rgba(92, 246, 113, 0.14);
      --radius-xl: 28px;
      --radius-lg: 20px;
    }

    * {
      font-family: 'Inter', sans-serif;
    }

    body {
      color: var(--text);
      background:
        radial-gradient(circle at top left, var(--degradeUm), transparent 28%),
        radial-gradient(circle at top right, var(--degradeDois), transparent 24%),
        linear-gradient(180deg, #eff6ff 0%, #ffffff 28%, #f8fafc 100%);
    }

    a {
      text-decoration: none;
    }

    .navbar {
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    .navbar-brand {
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--primary-dark);
    }

    .btn-gradient {
      background: linear-gradient(135deg, var(--primary), var(--accent));
      color: #fff;
      border: 0;
      border-radius: 999px;
      padding: 0.9rem 1.5rem;
      font-weight: 700;
      box-shadow: 0 16px 36px rgba(29, 216, 101, 0.26);
      transition: 0.25s ease;
    }

    .btn-gradient:hover {
      transform: translateY(-2px);
      color: #fff;
      box-shadow: 0 22px 44px rgba(29, 216, 76, 0.3);
    }

    .btn-outline-modern {
      border-radius: 999px;
      padding: 0.9rem 1.5rem;
      font-weight: 700;
      border: 1px solid var(--degradeUm);
      background: var(--degradeDois);
      color: var(--primary-dark);
    }

    .hero {
      padding: 7rem 0 4rem;
      position: relative;
      overflow: hidden;
    }

    .hero::before,
    .hero::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      filter: blur(70px);
      z-index: 0;
    }

    .hero::before {
      width: 320px;
      height: 320px;
      background: rgba(6, 182, 212, 0.22);
      top: 50px;
      left: -80px;
    }

    .hero::after {
      width: 360px;
      height: 360px;
      background: rgba(139, 92, 246, 0.16);
      right: -90px;
      bottom: 0;
    }

    .hero-content,
    .hero-form-wrap {
      position: relative;
      z-index: 1;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      padding: .55rem 1rem;
      border-radius: 999px;
      background: rgba(255,255,255,.72);
      border: 1px solid rgba(255,255,255,.85);
      box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
      font-weight: 700;
      color: var(--primary);
      font-size: .9rem;
    }

    .hero h1 {
      font-size: clamp(2.4rem, 5vw, 4.6rem);
      line-height: 1.02;
      font-weight: 800;
      letter-spacing: -0.04em;
      margin: 1.25rem 0 1rem;
      color: var(--primary-dark);
    }

    .hero p.lead {
      font-size: 1.12rem;
      color: var(--muted);
      max-width: 640px;
    }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1rem;
      margin-top: 2rem;
    }

    .stat-card {
      background: rgba(255,255,255,0.72);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 1rem 1.1rem;
      box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    }

    .stat-card strong {
      display: block;
      font-size: 1.2rem;
      color: var(--primary-dark);
    }

    .hero-form {
      background: rgba(255,255,255,0.92);
      border: 1px solid rgba(255,255,255,0.85);
      border-radius: var(--radius-xl);
      padding: 1.5rem;
      box-shadow: var(--shadow);
    }

    .hero-form .form-control,
    .hero-form .form-select {
      min-height: 54px;
      border-radius: 16px;
      border: 1px solid rgba(148, 163, 184, 0.25);
      background: #fff;
      box-shadow: none;
    }

    .hero-form .form-control:focus,
    .hero-form .form-select:focus {
      border-color: rgba(29, 78, 216, 0.45);
      box-shadow: 0 0 0 0.25rem rgba(29, 78, 216, 0.1);
    }

    .floating-badge {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      padding: .75rem 1rem;
      border-radius: 18px;
      background: linear-gradient(135deg, rgba(29,78,216,0.08), rgba(139,92,246,0.08));
      color: var(--primary-dark);
      font-weight: 600;
      margin-bottom: 1rem;
    }

    .section {
      padding: 5rem 0;
    }

    .section-title {
      font-size: clamp(1.9rem, 4vw, 3rem);
      line-height: 1.05;
      letter-spacing: -0.03em;
      font-weight: 800;
      color: var(--primary-dark);
      margin-bottom: .75rem;
    }

    .section-subtitle {
      color: var(--muted);
      max-width: 720px;
      margin: 0 auto;
    }

    .course-card {
      height: 100%;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: rgba(255,255,255,0.92);
      box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
      transition: .25s ease;
    }

    .course-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1);
    }

    .course-thumb {
      height: 210px;
      background: linear-gradient(135deg, #1d4ed8, #06b6d4 45%, #8b5cf6);
      color: #fff;
      display: flex;
      align-items: end;
      padding: 1.2rem;
      position: relative;
      overflow: hidden;
    }

    .course-thumb::before {
      content: "";
      position: absolute;
      inset: auto -20% -35% auto;
      width: 180px;
      height: 180px;
      background: rgba(255,255,255,0.12);
      border-radius: 50%;
    }

    .course-icon {
      width: 54px;
      height: 54px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 16px;
      background: rgba(255,255,255,0.16);
      backdrop-filter: blur(10px);
      font-size: 1.4rem;
      margin-bottom: .8rem;
    }

    .course-body {
      padding: 1.35rem;
    }

    .course-meta {
      display: flex;
      align-items: center;
      gap: .6rem;
      color: var(--muted);
      font-size: .95rem;
      margin-bottom: 1rem;
    }

    .course-title {
      font-size: 1.2rem;
      font-weight: 800;
      margin-bottom: .6rem;
      color: var(--primary-dark);
    }

    .glass-panel {
      background: rgba(255,255,255,0.76);
      border: 1px solid rgba(255,255,255,.85);
      border-radius: 30px;
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .about-side {
      padding: 2rem;
      height: 100%;
      background: linear-gradient(145deg, #0f172a, #1e3a8a 55%, #312e81);
      color: #fff;
    }

    .about-side h3,
    .about-main h2 {
      font-weight: 800;
      letter-spacing: -0.03em;
    }

    .about-main {
      padding: 2rem;
    }

    .partner-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: .9rem;
      margin-top: 1.4rem;
    }

    .partner-item {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: .95rem 1rem;
      font-weight: 700;
      color: var(--primary-dark);
      display: flex;
      align-items: center;
      gap: .75rem;
    }

    .partner-item i {
      color: var(--primary);
    }

    .feature-card {
      background: rgba(255,255,255,0.86);
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: 1.5rem;
      height: 100%;
      box-shadow: 0 14px 35px rgba(15, 23, 42, 0.05);
    }

    .feature-icon {
      width: 56px;
      height: 56px;
      border-radius: 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(139, 92, 246, 0.12));
      color: var(--primary);
      margin-bottom: 1rem;
    }

    .cta-box {
      background: linear-gradient(135deg, #244e41, #2b6453, #f3c671);
      border-radius: 32px;
      color: #fff;
      padding: 2.5rem;
      box-shadow: var(--shadow);
    }

    .cta-box p {
      color: rgba(255,255,255,.8);
    }

    footer {
      padding: 2rem 0 3rem;
      color: var(--muted);
    }

    /* ── Pricing cards ──────────────────────────── */
    .pricing-card {
      background: rgba(255,255,255,0.95);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: .25s ease;
      height: 100%;
    }

    .pricing-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 30px 65px rgba(15,23,42,.13);
    }

    .pricing-card.featured {
      border-color: rgba(124,58,237,.35);
    }

    .pricing-header {
      padding: 2rem 2rem 1.5rem;
      text-align: center;
      background: linear-gradient(145deg, #0f172a, #1e3a8a 55%, #312e81);
    }

    .price-value {
      display: block;
      font-size: 2.8rem;
      font-weight: 800;
      letter-spacing: -.04em;
      color: #fff;
      margin: .5rem 0 .2rem;
    }

    .price-label {
      font-size: .78rem;
      color: rgba(255,255,255,.6);
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    .price-alt {
      font-size: .88rem;
      color: rgba(255,255,255,.72);
      margin-top: .6rem;
    }

    .pricing-body {
      padding: 1.75rem;
    }

    .pricing-features {
      list-style: none;
      padding: 0;
      margin: 0 0 1.5rem;
    }

    .pricing-features li {
      display: flex;
      align-items: flex-start;
      gap: .7rem;
      padding: .6rem 0;
      border-bottom: 1px solid var(--border);
      color: #4a5568;
      font-size: .93rem;
    }

    .pricing-features li:last-child { border-bottom: none; }

    .pricing-features li::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--primary);
      flex-shrink: 0;
      margin-top: .35rem;
    }

    .timeline-badges {
      display: flex;
      flex-direction: column;
      gap: .5rem;
      margin-bottom: 1.5rem;
    }

    .timeline-badge {
      display: flex;
      align-items: center;
      gap: .75rem;
      padding: .65rem 1rem;
      border-radius: 12px;
      background: rgba(19,138,39,.06);
      border: 1px solid rgba(19,138,39,.12);
    }

    .timeline-badge .tb-time {
      font-weight: 700;
      font-size: .82rem;
      color: var(--primary);
      white-space: nowrap;
      min-width: 75px;
    }

    .timeline-badge .tb-label {
      font-size: .86rem;
      color: #4a5568;
    }

    /* ── Cert cards ──────────────────────────────── */
    .cert-card {
      background: rgba(255,255,255,0.88);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 1.2rem;
      text-align: center;
      box-shadow: 0 8px 24px rgba(15,23,42,.05);
    }

    /* ── Fases CIPI ─────────────────────────────── */
    .phase-card {
      background: rgba(255,255,255,0.90);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.5rem;
      height: 100%;
      position: relative;
      box-shadow: 0 14px 35px rgba(15,23,42,.05);
      transition: .25s ease;
    }

    .phase-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 45px rgba(15,23,42,.09);
    }

    .phase-card.optional {
      border-style: dashed;
      opacity: .9;
    }

    .phase-number {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      border-radius: 14px;
      background: linear-gradient(135deg, #1d4ed8, #06b6d4);
      color: #fff;
      font-size: 1.1rem;
      font-weight: 800;
      margin-bottom: .9rem;
    }

    .phase-number.optional {
      background: linear-gradient(135deg, #94a3b8, #64748b);
    }

    .phase-number.final {
      background: linear-gradient(135deg, var(--secondary), #9a7d00);
      font-size: .9rem;
    }

    .phase-tag {
      display: inline-block;
      font-size: .73rem;
      font-weight: 700;
      padding: .22rem .7rem;
      border-radius: 999px;
      background: rgba(19,138,39,.10);
      color: var(--primary);
      margin-bottom: .75rem;
      letter-spacing: .02em;
      text-transform: uppercase;
    }

    .phase-tag.optional {
      background: rgba(100,116,139,.10);
      color: #64748b;
    }

    .phase-tag.final {
      background: rgba(212,181,4,.14);
      color: #9a7d00;
    }

    /* ── Documentação ───────────────────────────── */
    .doc-card {
      background: rgba(255,255,255,0.92);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.75rem;
      height: 100%;
      box-shadow: 0 14px 35px rgba(15,23,42,.05);
    }

    .nav-pills-custom {
      gap: .4rem;
    }

    .nav-pills-custom .nav-link {
      border-radius: 12px;
      font-weight: 600;
      color: var(--muted);
      padding: .6rem 1.3rem;
      border: 1px solid var(--border);
      background: transparent;
      transition: .2s ease;
    }

    .nav-pills-custom .nav-link.active,
    .nav-pills-custom .nav-link:hover {
      background: linear-gradient(135deg, var(--primary), var(--accent));
      color: #fff;
      border-color: transparent;
    }

    .req-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .req-list li {
      display: flex;
      align-items: flex-start;
      gap: .6rem;
      padding: .55rem 0;
      border-bottom: 1px solid var(--border);
      color: #4a5568;
      font-size: .95rem;
    }

    .req-list li:last-child { border-bottom: none; }

    .req-list li i {
      color: var(--primary);
      margin-top: .15rem;
      flex-shrink: 0;
    }

    @media (max-width: 991.98px) {
      .hero {
        padding-top: 6rem;
      }

      .hero-stats {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 575.98px) {
      .section,
      .hero {
        padding-left: .2rem;
        padding-right: .2rem;
      }

      .partner-list {
        grid-template-columns: 1fr;
      }

      .hero-form,
      .about-main,
      .about-side,
      .cta-box {
        padding: 1.3rem;
      }
    }