/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --azul-profundo: #0054A6;
    --branco: #FFFFFF;
    --rosa-vibrante: #E6007E;
    --cinza-claro: #F5F5F5;
    --cinza-medio: #E0E0E0;
    --cinza-escuro: #333333;
    --sombra: rgba(0, 84, 166, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--cinza-escuro);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--branco);
    box-shadow: 0 2px 20px var(--sombra);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--azul-profundo);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--rosa-vibrante);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rosa-vibrante);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-whatsapp-header {
    background: var(--azul-profundo);
    color: var(--branco);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-whatsapp-header:hover {
    background: var(--rosa-vibrante);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 126, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--cinza-claro) 0%, var(--branco) 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--azul-profundo);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--cinza-escuro);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary {
    background: var(--rosa-vibrante);
    color: var(--branco);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-primary:hover {
    background: #c5006a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 0, 126, 0.4);
}

.whatsapp-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--azul-profundo);
    font-weight: 500;
}

.whatsapp-info i {
    color: #25D366;
    font-size: 1.2rem;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.6s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 400px; /* Adicionado para limitar a altura e evitar que a imagem fique muito grande */
    object-fit: contain; /* Alterado de 'cover' para 'contain' */
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--sombra);
}

/* Seções gerais */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--azul-profundo);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--cinza-escuro);
    text-align: center;
    margin-bottom: 3rem;
}

/* Cursos Section */
.cursos {
    padding: 80px 0;
    background: var(--branco);
}

.cursos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.curso-card {
    background: var(--branco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--sombra);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.curso-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--sombra);
    border-color: var(--rosa-vibrante);
}

.curso-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.curso-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.curso-card:hover .curso-image img {
    transform: scale(1.1);
}

.curso-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--azul-profundo);
    text-align: center;
    padding: 1.5rem;
    margin: 0;
    transition: color 0.3s ease;
}

.curso-card:hover .curso-title {
    color: var(--rosa-vibrante);
}

.curso-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--azul-profundo);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--rosa-vibrante);
}

/* Diferenciais Section */
.diferenciais {
    padding: 80px 0;
    background: var(--cinza-claro);
}

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

.diferencial-item {
    background: var(--branco);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--sombra);
}

.diferencial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--sombra);
}

.diferencial-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cinza-claro);
    border-radius: 50%;
}

.diferencial-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.diferencial-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--azul-profundo);
    margin-bottom: 1rem;
}

.diferencial-item p {
    color: var(--cinza-escuro);
    line-height: 1.6;
}

/* Contato Section */
.contato {
    padding: 80px 0;
    background: var(--branco);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contato-item i {
    font-size: 1.5rem;
    color: var(--rosa-vibrante);
    margin-top: 0.25rem;
}

.contato-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--azul-profundo);
    margin-bottom: 0.5rem;
}

.contato-item p {
    color: var(--cinza-escuro);
    line-height: 1.6;
}

.contato-mapa {
    background: var(--cinza-claro);
    border-radius: 15px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.mapa-placeholder i {
    font-size: 3rem;
    color: var(--azul-profundo);
}

.mapa-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--azul-profundo);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo p {
    font-size: 1.1rem;
    font-weight: 500;
}

.btn-matricular {
    background: var(--rosa-vibrante);
    color: var(--branco);
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-matricular:hover {
    background: #c5006a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 0, 126, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .cursos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .diferenciais-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .contato-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .curso-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-primary {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-matricular {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Hover effects para mobile */
@media (hover: none) {
    .curso-categoria:hover,
    .diferencial-item:hover,
    .curso-item:hover {
        transform: none;
    }
}


@media (max-width: 600px) {
    .cursos-grid {
        grid-template-columns: 1fr;
    }
}



.contato-cta .btn-primary {
    margin-top: 1.5rem; /* Adiciona espaçamento acima do botão */
}


