 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, sans-serif;
        }

        body {
            background-color: #fff;
            color: #333;
            scroll-behavior: smooth;
        }

        /* 2. BARRA DE NAVEGAÇÃO */
        .navbar {
            background: linear-gradient(90deg, #1e4d7b 0%, #0066cc 100%);
            padding: 8px 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            flex-wrap: wrap;
            gap: 8px;
        }
        .logo img{
            width: 80px;
            height: 80px;
        }

        .logo {
            color: white;
            font-weight: bold;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .nav-links {
            display: flex;
            gap: 20px;
            list-style: none;
            align-items: center;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            font-size: 0.85rem;
            text-transform: uppercase;
            font-weight: 500;
        }

        .btn-portal {
            background: #e0e0e0;
            color: #1e4d7b !important;
            padding: 8px 15px;
            border-radius: 5px;
            font-weight: bold;
            transition: 0.3s;
        }

        .btn-portal:hover {
            background: #e0e0e0;
            transform: translateY(-2px);
        }

        /* 3. HERO BANNER */
        .hero {
            background: linear-gradient(90deg, #1e4c7bbd 0%, #0066cca8), url("../img/logo4.png");
            background-repeat: no-repeat;
            background-position: center;
            background-size: 100%;
            background-attachment: fixed;
            color: white;
            height: 640px;
            padding: 60px 5%;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
        }

        .hero-content {
            max-width: 550px;
        }

        .hero-content span {
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.9rem;
        }

        .hero-content h1 {
            font-size: 2.8rem;
            line-height: 1.1;
            margin: 15px 0;
        }
        .hero-content h1 span {
            color: rgb(114, 2, 2);
            font-size: 2.8rem;
            line-height: 1.1;
        }
        .hero-badge {
            background: white;
            color: #333;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }

        .hero-badge h2 {
            color: #0066cc;
            font-size: 1.8rem;
            margin-bottom: 5px;
        }

        /* 4. SEÇÃO DE CURSOS */
        .section-padding {
            padding: 80px 5%;
            text-align: center;
        }

        .section-title {
            font-size: 1.8rem;
            color: #1e4d7b;
            margin-bottom: 40px;
            text-transform: uppercase;
            font-weight: 800;
        }

        .grid-cursos {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .card-curso {
            background: white;
            border: 1px solid #eee;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            transition: 0.3s;
        }

        .card-curso:hover {
            transform: translateY(-10px);
        }

        .card-curso img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .card-body {
            padding: 20px;
        }

        .card-body h3 {
            font-size: 1rem;
            color: #1e4d7b;
            margin-bottom: 10px;
            height: 40px;
        }

        .card-body p {
            font-size: 0.85rem;
            color: #777;
            margin-bottom: 15px;
        }

        .btn-saiba-mais {
            background: #7a7a7a;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
        }

        /* 5. SEÇÃO INSTITUCIONAL */
        .institucional {
            background-color: #f9f9f9;
            display: flex;
            flex-wrap: wrap;
            gap: 50px;
            align-items: center;
            text-align: left;
        }

        .inst-img,
        .inst-text {
            flex: 1;
            min-width: 320px;
        }

        .inst-img img {
            width: 100%;
            border-radius: 12px;
        }

        .feature-item {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
        }

        .feature-icon {
            width: 55px;
            height: 55px;
            border: 2px solid #0066cc;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .feature-info h4 {
            font-size: 1rem;
            color: #1e4d7b;
            margin-bottom: 4px;
        }

        .feature-info p {
            font-size: 0.85rem;
            color: #666;
        }

        /* 6. FOOTER */
        main {
            padding: 10%;
        }

        footer {
            background: #1e4d7b;
            color: white;
            padding: 40px 5%;
            text-align: center;
        }

        /* RESPONSIVIDADE */
        @media (max-width: 768px) {
            .navbar {
                padding: 6px 12px;
                gap: 6px;
            }

            .logo img {
                width: 55px;
                height: 55px;
            }

            .nav-links {
                gap: 12px;
            }

            .nav-links a {
                font-size: 0.75rem;
            }

            .btn-portal {
                padding: 6px 10px;
                font-size: 0.75rem;
            }

            .hero {
                height: auto;
                padding: 40px 5%;
                background-attachment: scroll;
                background-size: cover;
                text-align: center;
                justify-content: center;
            }

            .hero-content h1 {
                font-size: 1.8rem;
            }

            .hero-content h1 span {
                font-size: 1.8rem;
            }

            .inst-img, .inst-text {
                min-width: unset;
                width: 100%;
            }

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

            main {
                padding: 5%;
            }
        }

        @media (max-width: 480px) {
            .nav-links {
                gap: 8px;
            }

            .nav-links a {
                font-size: 0.7rem;
            }

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