/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
}

/* Variáveis CSS */
:root {
    --primary-color: #2563EB;
    --secondary-color: #7C3AED;
    --accent-color: #06B6D4;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --text-color: #374151;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Utilitários */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-light {
    background-color: var(--light-color);
}

/* Header e Navegação */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav {
    padding: 1.2rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 0;
    background: transparent; /* Removido fundo azul escuro */
    min-height: auto;
    overflow: hidden;
    position: relative;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.hero-image-full {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-full {
    width: 100%;
    height: auto;
    max-width: 1400px; /* Limita a largura máxima */
    object-fit: contain; /* Mantém proporções */
    display: block;
}

/* Estilos para imagens responsivas */
.hero-img-desktop {
    width: 100%;
    height: auto;
    max-width: 1400px;
    object-fit: contain;
    display: block;
}

.hero-img-mobile {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: none !important; /* Oculta no desktop */
}

/* Media query específica para mobile */
@media screen and (max-width: 768px) {
    .hero-img-desktop {
        display: none !important;
    }
    
    .hero-img-mobile {
        display: block !important;
    }
}

@media screen and (max-width: 480px) {
    .hero-img-desktop {
        display: none !important;
    }
    
    .hero-img-mobile {
        display: block !important;
    }
}

.hero-title,
.hero-subtitle {
    color: var(--white); /* Garante que o texto seja branco para contraste */
}

/* Estilos removidos - não mais necessários com a nova imagem integrada */

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Seções */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

.section-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Features Grid */
.features {
    padding: 40px 0; /* Reduzido de 80px para 40px */
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-color);
    line-height: 1.6;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.content-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-color);
    line-height: 1.6;
}

/* Ranking Grid */
.ranking-grid {
    display: grid;
    gap: 1.5rem;
}

.ranking-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: var(--transition);
}

.ranking-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.ranking-position {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ranking-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.ranking-description {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.ranking-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Types Grid */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.type-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.type-icon {
    margin-bottom: 1.5rem;
}

.icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.type-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.type-description {
    color: var(--text-color);
    line-height: 1.6;
}

/* Free IAs Grid */
.free-ias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-color);
}

.ia-list {
    list-style: none;
}

.ia-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    line-height: 1.6;
}

.ia-item:last-child {
    border-bottom: none;
}

.ia-item strong {
    color: var(--primary-color);
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.course-badge.free {
    background: #10b981;
    color: var(--white);
}

.course-badge.paid {
    background: #f59e0b;
    color: var(--white);
}

.course-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.course-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Media Queries */
@media (max-width: 768px) {
    /* Oculta imagem desktop e mostra mobile */
    .hero-img-desktop {
        display: none !important;
    }
    
    .hero-img-mobile {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    .nav {
        padding: 1rem 0;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        z-index: 999;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        margin: 0;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        margin: 0.25rem 0;
        text-align: center;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-color);
        border-radius: 8px;
    }
    
    .nav-link:hover {
        background-color: rgba(37, 99, 235, 0.1);
        transform: none;
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        padding: 0.5rem;
        border-radius: 6px;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .nav-toggle:hover {
        background-color: rgba(37, 99, 235, 0.08);
    }
    
    .bar {
        width: 25px;
        height: 3px;
        background: var(--text-color);
        margin: 3px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

    .hero-container {
        padding: 0;
        max-width: 100%;
    }

    .hero {
        padding: 0;
    }

    .hero-image-full {
        width: 100%;
    }

    .hero-img-full {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ranking-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .features {
        padding: 20px 0; /* Padding ainda menor para mobile */
    }

    .hero {
        padding: 100px 0 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.step-card,
.ranking-card,
.type-card,
.category-card,
.course-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave para navegação */
html {
    scroll-padding-top: 80px;
}



/* Estilos para os Posts */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden; /* Garante que a imagem não transborde */
    display: flex;
    flex-direction: column;
    height: 100%; /* Garante que todos os cards tenham a mesma altura */
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.post-image {
    width: 100%;
    height: 200px; /* Altura fixa para as imagens */
    object-fit: cover; /* Garante que a imagem cubra a área sem distorcer */
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Permite que o conteúdo se expanda */
}

.post-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.post-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1; /* Permite que a descrição se expanda */
}

.post-card .btn {
    margin-top: auto; /* Empurra o botão para o final do card */
    align-self: flex-start; /* Alinha o botão à esquerda */
}

/* Media Queries para responsividade dos posts */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}



/* Media Queries específicas para a seção Hero */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        min-height: 70vh;
    }
    
    .hero-container {
        grid-template-columns: 1fr; /* Uma coluna em mobile */
        gap: 2rem;
        text-align: center;
    }
    
    .hero-image {
        order: -1; /* Imagem aparece primeiro em mobile */
    }
    
    .hero-img {
        max-height: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
        min-height: 60vh;
    }
    
    .hero-img {
        max-height: 250px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Media queries para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        min-height: 75vh;
    }
    
    .hero-container {
        gap: 3rem;
    }
    
    .hero-img {
        max-height: 350px;
    }
}

/* Media queries para desktop grande */
@media (min-width: 1200px) {
    .hero {
        min-height: 85vh;
    }
    
    .hero-img {
        max-height: 450px;
    }
}


/* Estilos específicos para o curso IA Art */
.course-card.featured {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

/* Versão compacta do curso */
.course-card.featured.compact {
    max-width: 450px; /* Reduzido de 600px */
    padding: 1.5rem; /* Reduzido de 2rem */
}

.course-card.featured.compact .course-logo-img {
    width: 80px; /* Reduzido de 120px */
    height: 80px; /* Reduzido de 120px */
}

.course-card.featured.compact .course-title {
    font-size: 1.3rem; /* Menor que o padrão */
    margin-bottom: 1rem;
}

.course-card.featured.compact .course-description {
    font-size: 0.95rem; /* Ligeiramente menor */
    margin-bottom: 1rem;
}

.course-logo {
    margin-bottom: 1.5rem;
}

.course-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 10px;
}

.course-highlights {
    margin: 1.5rem 0;
    text-align: left;
}

.course-highlights ul {
    list-style: none;
    padding: 0;
}

.course-highlights li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.course-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.course-btn {
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.courses-grid {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .course-card.featured {
        padding: 1.5rem;
    }
    
    .course-logo-img {
        width: 100px;
        height: 100px;
    }
    
    .course-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

