/* Menu Responsivo do Marcos */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;

    width: 115px;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffd700;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 1rem;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: slideDown 0.6s ease;
}

.hero p {
    font-size: 1.3rem;
    animation: fadeIn 0.8s ease;
}

/* Content Sections */
.section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem 1rem;
    border-left: 4px solid #667eea;
    padding-left: 2rem;
}

.section h2 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.section p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        gap: 1rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        margin: 2rem 0;
    }

    .section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 4rem 1rem;
        min-height: 300px;
    }

    .section {
        padding: 1.5rem 1rem;
        padding-left: 1.5rem;
    }

    .section h2 {
        font-size: 1.3rem;
    }

    .section p {
        font-size: 1rem;
    }
}

/* Footer Responsivo do Ailton */
:root {
            --color-neutral-0: #0e0c0c;
            --color-neutral-10: #171717;
            --color-neutral-30: #a8a29e;
            --color-neutral-40: #f5f5f5;
            --color-primary: #7f37c9;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        /* ===== Layout base para footer em baixo ===== */
        html, body {
            height: 100%;
        }

        body {
            display: flex;
            flex-direction: column;
        }

        main {
            flex: 1;
            padding: 2rem;
        }

        /* ===== Footer ===== */
        /* FOOTER */
        .footer{
            background:#111;
            margin-top:80px;
        }

        .footer-container{
            max-width:1200px;
            margin:auto;
            padding:25px 20px;
            text-align:center;
        }

        .footer-bottom{
            color:#ccc;
            font-size:14px;
        }

        footer {
            width: 100%;
            color: var(--color-neutral-40);
        }

        #footer_content {
            background-color: var(--color-neutral-10);
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            padding: 3rem 3.5rem;
            gap: 2rem;
        }

        #footer_contacts h1 {
            margin-bottom: 0.75rem;
        }

        #footer_contacts p {
            color: var(--color-neutral-30);
        }

        /* ===== Social media ===== */
        #footer_social_media {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .footer-link {
            height: 2.5rem;
            width: 2.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-neutral-40);
            border-radius: 50%;
            text-decoration: none;
            transition: opacity 0.3s;
        }

        .footer-link i {
            font-size: 1.25rem;
        }

        .footer-link:hover {
            opacity: 0.8;
        }

        #instagram {
            background: linear-gradient(45deg, #7f37c9, #ff2992, #ff9807);
        }

        #facebook {
            background-color: #4267b3;
        }

        #whatsapp {
            background-color: #25d366;
        }

        /* ===== Lists ===== */
        .footer-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .footer-list h3 {
            margin-bottom: 0.5rem;
        }

        .footer-list .footer-link {
            background: none;
            color: var(--color-neutral-30);
            border-radius: 0;
            height: auto;
            width: auto;
            justify-content: flex-start;
        }

        .footer-list .footer-link:hover {
            color: var(--color-primary);
        }

        /* ===== Subscribe ===== */
        #footer_subscribe p {
            color: var(--color-neutral-30);
            margin: 1rem 0;
        }

        #input_group {
            display: flex;
            align-items: center;
            background-color: var(--color-neutral-0);
            border-radius: 4px;
            overflow: hidden;
        }

        #input_group input {
            background: none;
            border: none;
            padding: 0.75rem;
            color: var(--color-neutral-40);
            width: 100%;
            outline: none;
        }

        #input_group button {
            background-color: var(--color-primary);
            border: none;
            color: var(--color-neutral-40);
            padding: 0 1.25rem;
            font-size: 1.125rem;
            cursor: pointer;
        }

        #input_group button:hover {
            opacity: 0.8;
        }

        /* ===== Copyright ===== */
        #footer_copyright {
            background-color: var(--color-neutral-0);
            display: flex;
            justify-content: center;
            padding: 1.5rem;
            font-size: 0.9rem;
            color: var(--color-neutral-30);
        }

        /* ===== Responsivo ===== */
        @media screen and (max-width: 768px) {
            #footer_content {
                grid-template-columns: 1fr;
                padding: 3rem 2rem;
            }
        }

        /* Parte do Hugo - Conteúdo */
        /* ===== HERO IPIKK ===== */
.hero-ipikk {
    position: relative;
    width: 100%;
    min-height: 85vh;
    overflow: hidden;

    display: flex;             /* ativa flex */
    justify-content: center;   /* centra horizontal */
    align-items: center;       /* centra vertical */
}

/* Slider */
.slider {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Conteúdo */
.hero-content {
    position: relative;
    max-width: 900px;
    padding: 2rem;
    text-align: center;
    color: #ffffff;
    z-index: 2;
}

.hero-content h1 span {
    color: #ffd700;
}

/* Setas */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px 16px;
    cursor: pointer;
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}

/* ===== Responsivo ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-ipikk {
        min-height: 70vh;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
}

/* ===== INÍCIO DA PLATAFORMA ===== */
.courses-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
    text-align: center;
}

.courses-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: #667eea;
}

/* Grid dos cursos */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Card do curso */
.course-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.course-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Overlay com nome do curso */
.course-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 1rem;
    text-align: center;
}

/* Hover PC e toque mobile */
.course-card:hover img,
.course-card:active img {
    transform: scale(1.1);
}

.course-card:hover .course-overlay,
.course-card:active .course-overlay {
    opacity: 1;
}

/* Último curso ocupa a linha inteira */
.course-full {
    grid-column: span 2;
}

/* ===== Responsivo ===== */
@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .course-full {
        grid-column: span 1;
    }

    .courses-section h2 {
        font-size: 1.8rem;
    }
}

/* Links dos cursos */
.course-link {
    text-decoration: none;
    display: block;
}

/* Mantém o hover ao passar no link */
.course-link:hover .course-overlay,
.course-link:active .course-overlay {
    opacity: 1;
}

.course-link:hover img,
.course-link:active img {
    transform: scale(1.1);
}

/* BOTÃO VOLTAR ACIMA DO FOOTER */
.sobre-section {
    position: relative;  /* deixa os filhos posicionados relativamente a este container */
}

.btn-voltar-2 {
    position: absolute;  /* agora é relativo ao .sobre-section */
    left: 20px;
    bottom: 20px;        /* acima do final do conteúdo, não invade footer */
    background: #0a2a66;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

/* Responsivo */
@media (max-width: 900px) {
    .btn-voltar {
        left: 15px;
        bottom: 15px;
        padding: 10px 16px;
        font-size: 14px;
    }
}






/* Nomes dos Cursos Para dispositivos móveis */
@media (max-width: 768px) {
    .course-overlay {
        opacity: 1; /* fica sempre visível */
        background: rgba(0, 0, 0, 0.6); /* mantém o fundo escuro */
    }

    .course-card img {
        transform: scale(1); /* remove zoom estranho no toque */
    }
}

@media (hover: none) {
    .course-overlay {
        opacity: 1;
    }

    .course-card img {
        transform: scale(1);
    }
}





