
/* ==========================================
   CURSOS - @TECH ROBÓTICA
   Estilos exclusivos da página de cursos
========================================== */

.courses-page {
    width: 100%;
    overflow: hidden;
}

.courses-page *,
.courses-page *::before,
.courses-page *::after {
    box-sizing: border-box;
}

/* ==========================================
   01. HERO - CURSOS
========================================== */

.courses-hero {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 480px;
    padding: 115px 7% 145px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(13, 127, 132, 0.10),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #F2F9FA 0%,
            #EAF5F6 100%
        );

    overflow: hidden;
}

.courses-hero::before {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    top: -210px;
    right: -120px;

    border-radius: 50%;
    border: 75px solid rgba(13, 127, 132, 0.055);

    pointer-events: none;
}

.courses-hero-container {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    max-width: 950px;

    margin: 0 auto;
    text-align: center;

    animation: coursesHeroFade 0.9s ease-out both;
}

/* Etiqueta */

.courses-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 11px 20px;
    margin-bottom: 26px;

    border-radius: 50px;

    background: #DDF1F2;
    color: #0D7F84;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.courses-kicker i {
    font-size: 16px;
}

/* Título */

.courses-main-title {
    margin: 0 0 25px;

    color: #004E62;

    font-size: clamp(38px, 4.5vw, 66px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -1.5px;
}

.courses-main-title span {
    color: #0D7F84;
}

/* Descrição */

.courses-main-text {
    max-width: 720px;

    margin: 0 auto;

    color: #52636B;

    font-size: 17px;
    line-height: 1.85;
}

/* Transição ondulada */

.courses-hero-wave {
    position: absolute;

    bottom: -1px;
    left: 0;

    width: 100%;
    height: 95px;

    z-index: 3;
    pointer-events: none;
    line-height: 0;
}

.courses-hero-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

@keyframes coursesHeroFade {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================
   02. SEÇÕES DOS CURSOS
========================================== */

.course-section {
    position: relative;

    padding: 110px 7%;

    background: #FFFFFF;
}

.course-section--modeling {
    background: #F2F9FA;
}

.course-container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
}

/* Grid principal */

.course-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 75px;
}

/* Seção invertida */

.course-grid--reverse .course-image-box {
    order: 2;
}

.course-grid--reverse .course-content {
    order: 1;
}


/* ==========================================
   03. DESTAQUE VISUAL - ROBÓTICA
========================================== */

.course-visual {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 530px;
    padding: 48px;

    border-radius: 30px;

    overflow: hidden;
}

.course-visual--robotics {
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(124, 224, 223, 0.22),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #0D7F84 0%,
            #005467 55%,
            #003E50 100%
        );

    box-shadow: 0 22px 55px rgba(0, 84, 103, 0.16);
}

/* Elemento decorativo */

.course-visual--robotics::before {
    content: "";
    position: absolute;

    width: 320px;
    height: 320px;

    top: -120px;
    right: -120px;

    border: 55px solid rgba(255, 255, 255, 0.075);
    border-radius: 50%;

    pointer-events: none;
}

/* Ícone */

.visual-badge {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 90px;
    height: 90px;

    border-radius: 24px;

    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);

    color: #FFFFFF;
    font-size: 42px;

    backdrop-filter: blur(8px);
}

/* Conteúdo do bloco */

.visual-content {
    position: relative;
    z-index: 2;
}

.visual-tag {
    display: inline-flex;
    align-items: center;

    padding: 9px 16px;
    margin-bottom: 22px;

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);

    color: #BCE8E8;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.visual-content h2 {
    max-width: 450px;
    margin: 0 0 22px;

    color: #FFFFFF;

    font-size: clamp(34px, 3vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.visual-content p {
    max-width: 460px;
    margin: 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 16px;
    line-height: 1.8;
}


/* ==========================================
   04. CONTEÚDO DOS CURSOS
========================================== */

.course-content {
    min-width: 0;
}

/* Etiqueta */

.course-chip {
    display: inline-flex;
    align-items: center;

    padding: 10px 19px;
    margin-bottom: 25px;

    border-radius: 50px;

    background: #DDF1F2;
    color: #0D7F84;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Título */

.course-title {
    margin: 0 0 27px;

    color: #004E62;

    font-size: clamp(32px, 3vw, 46px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.course-title span {
    color: #0D7F84;
}

/* Textos */

.course-text p {
    margin: 0 0 22px;

    color: #52636B;

    font-size: 16px;
    line-height: 1.85;
}

.course-text p:last-child {
    margin-bottom: 0;
}

.course-text strong {
    color: #005467;
    font-weight: 700;
}

/* Diferenciais */

.course-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;

    margin-top: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 15px 18px;

    background: #F2F9FA;
    border: 1px solid #E2EFF0;
    border-radius: 14px;

    color: #005467;

    font-size: 14px;
    font-weight: 600;
}

.highlight-item i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    min-width: 24px;

    color: #0D7F84;
    font-size: 18px;
}


/* ==========================================
   05. MODELAGEM 3D
========================================== */

.course-image-box {
    position: relative;

    width: 100%;
    min-height: 490px;

    border-radius: 30px;

    overflow: hidden;

    background: #DDF1F2;

    box-shadow: 0 22px 55px rgba(0, 84, 103, 0.12);
}

.course-image-box img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 490px;

    object-fit: cover;
    object-position: center;

    transition: transform 0.5s ease;
}

.course-image-box:hover img {
    transform: scale(1.04);
}

/* Etiquetas complementares */

.course-info-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 32px;
}

.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 13px 17px;

    background: #FFFFFF;
    border: 1px solid #D5E9EB;
    border-radius: 50px;

    color: #005467;

    font-size: 13px;
    font-weight: 700;
}

.info-pill i {
    color: #0D7F84;
    font-size: 16px;
}


/* ==========================================
   06. MARCA INTERMEDIÁRIA
========================================== */

.courses-brand {
    position: relative;

    padding: 55px 7%;

    background: #FFFFFF;
}

.courses-brand-container {
    display: flex;
    align-items: center;
    justify-content: center;

    max-width: 1350px;
    margin: 0 auto;
}

.courses-brand-logo {
    display: block;

    width: 100%;
    max-width: 190px;
    height: auto;

    object-fit: contain;

    opacity: 0.85;
}


/* ==========================================
   07. DESENVOLVIMENTO DE GAMES
========================================== */

.games-section {
    position: relative;
    padding: 85px 6% 115px;
    background: #F2F9FA;
}

.games-container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
}

/* Cabeçalho */

.games-head {
    max-width: 950px;

    margin: 0 auto 60px;
    text-align: center;
}

.courses-page .section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 10px 20px;
    margin-bottom: 23px;

    border-radius: 50px;

    background: #DDF1F2;
    color: #0D7F84;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.courses-page .section-title {
    margin: 0 auto 22px;

    color: #004E62;

    font-size: clamp(34px, 3.5vw, 54px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -1px;
}

.courses-page .section-title span {
    color: #0D7F84;
}

.courses-page .section-text {
    max-width: 760px;

    margin: 0 auto;

    color: #52636B;

    font-size: 17px;
    line-height: 1.8;
}


/* ==========================================
   08. INTRODUÇÃO - GAMES
========================================== */

.games-intro-card {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: start;
    gap: 35px;

    padding: 48px 55px;
    margin-bottom: 35px;

    background: #FFFFFF;
    border: 1px solid #E2EFF0;
    border-radius: 28px;

    box-shadow: 0 12px 35px rgba(0, 84, 103, 0.055);
}

.games-intro-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 90px;
    height: 90px;

    background: #DDF1F2;
    color: #0D7F84;

    border-radius: 22px;

    font-size: 36px;
}

.games-intro-text p {
    margin: 0 0 20px;

    color: #52636B;

    font-size: 16px;
    line-height: 1.85;
}

.games-intro-text p:last-child {
    margin-bottom: 0;
}

.games-intro-text strong {
    color: #005467;
}


/* ==========================================
   09. CARDS - GAMES
========================================== */

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 28px;
}

.games-card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    height: 100%;

    padding: 38px 32px;

    background: #FFFFFF;
    border: 1px solid #E2EFF0;
    border-radius: 26px;

    box-shadow: 0 8px 25px rgba(0, 84, 103, 0.035);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.games-card:hover {
    transform: translateY(-8px);

    border-color: #C6E5E7;
    box-shadow: 0 22px 45px rgba(0, 84, 103, 0.12);
}

.games-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    margin-bottom: 26px;

    background: #DDF1F2;
    color: #0D7F84;

    border-radius: 18px;
    font-size: 25px;
}

.games-card:nth-child(2) .games-card-icon {
    background: #EFE7F7;
    color: #65328A;
}

.games-card:nth-child(3) .games-card-icon {
    background: #FFF3D7;
    color: #BE8A18;
}

.games-card-title {
    margin: 0 0 22px;

    color: #004E62;

    font-size: 23px;
    font-weight: 800;
}

/* Lista */

.games-list {
    display: flex;
    flex-direction: column;
    gap: 15px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.games-list li {
    position: relative;

    padding-left: 23px;

    color: #52636B;

    font-size: 14px;
    line-height: 1.7;
}

.games-list li::before {
    content: "";
    position: absolute;

    top: 10px;
    left: 0;

    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: #0D7F84;
}

/* Requisitos */

.requirements-box {
    padding: 22px;

    background: #F2F9FA;
    border: 1px solid #E2EFF0;
    border-radius: 16px;
}

.requirements-main {
    margin: 0;

    color: #52636B;

    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================
   10. CTA - WHATSAPP
========================================== */

.games-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    margin-top: 55px;
    padding: 42px 48px;

    background:
        linear-gradient(
            135deg,
            #005467 0%,
            #003E50 100%
        );

    border-radius: 28px;

    box-shadow: 0 20px 45px rgba(0, 84, 103, 0.15);
}

.games-cta-text {
    max-width: 700px;
}

.games-cta-text h3 {
    margin: 0 0 13px;

    color: #FFFFFF;

    font-size: clamp(22px, 2vw, 30px);
    font-weight: 800;
    line-height: 1.3;
}

.games-cta-text p {
    margin: 0;

    color: rgba(255, 255, 255, 0.83);

    font-size: 15px;
    line-height: 1.75;
}

/* Botão */

.games-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    flex-shrink: 0;

    padding: 17px 26px;

    background: #0D7F84;
    color: #FFFFFF;

    border-radius: 50px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.games-whatsapp-btn:hover {
    transform: translateY(-3px);

    background: #0A979C;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}


/* ==========================================
   TABLET - ATÉ 1100PX
========================================== */

@media (max-width: 1100px) {

    .courses-hero {
        padding: 100px 6% 130px;
    }

    .course-section {
        padding: 90px 6%;
    }

    .course-grid {
        gap: 40px;
    }

    .course-visual {
        min-height: 490px;
        padding: 35px;
    }

    .course-title {
        font-size: clamp(30px, 3vw, 40px);
    }

    .course-text p {
        font-size: 15px;
    }

    .course-image-box,
    .course-image-box img {
        min-height: 430px;
    }

    .games-section {
        padding: 95px 6% 105px;
    }

    .games-grid {
        gap: 20px;
    }

    .games-card {
        padding: 32px 25px;
    }

    .games-card-title {
        font-size: 21px;
    }

    .games-cta-box {
        padding: 35px;
    }

}


/* ==========================================
   TABLET MENOR - ATÉ 900PX
========================================== */

@media (max-width: 900px) {

    .course-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .course-visual {
        min-height: 430px;
    }

    .course-grid--reverse .course-image-box,
    .course-grid--reverse .course-content {
        order: initial;
    }

    .course-image-box,
    .course-image-box img {
        min-height: 380px;
    }

    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .games-card:last-child {
        grid-column: 1 / -1;
    }

    .games-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* ==========================================
   MOBILE - ATÉ 768PX
========================================== */

@media (max-width: 768px) {

    /* HERO */

    .courses-hero {
        min-height: auto;
        padding: 95px 7% 120px;
    }

    .courses-hero::before {
        width: 250px;
        height: 250px;

        top: -120px;
        right: -100px;

        border-width: 45px;
    }

    .courses-kicker {
        padding: 10px 16px;
        margin-bottom: 23px;

        font-size: 11px;
    }

    .courses-main-title {
        margin-bottom: 22px;

        font-size: clamp(32px, 8vw, 42px);
        line-height: 1.15;
        letter-spacing: -1px;
    }

    .courses-main-text {
        font-size: 14px;
        line-height: 1.75;
    }

    .courses-hero-wave {
        height: 70px;
    }

    /* SEÇÕES */

    .course-section {
        padding: 75px 6%;
    }

    .course-grid {
        gap: 35px;
    }

    /* ROBÓTICA */

    .course-visual {
        min-height: 390px;
        padding: 30px;

        border-radius: 24px;
    }

    .visual-badge {
        width: 70px;
        height: 70px;

        border-radius: 20px;
        font-size: 32px;
    }

    .visual-tag {
        margin-bottom: 18px;
        font-size: 10px;
    }

    .visual-content h2 {
        font-size: 32px;
        margin-bottom: 17px;
    }

    .visual-content p {
        font-size: 14px;
        line-height: 1.75;
    }

    /* CONTEÚDO */

    .course-chip {
        margin-bottom: 20px;
        font-size: 11px;
    }

    .course-title {
        margin-bottom: 22px;

        font-size: clamp(29px, 8vw, 39px);
    }

    .course-text p {
        margin-bottom: 19px;

        font-size: 14px;
        line-height: 1.8;
    }

    .course-highlights {
        margin-top: 27px;
        gap: 12px;
    }

    .highlight-item {
        padding: 14px;
        font-size: 13px;
    }

    /* MODELAGEM */

    .course-image-box {
        min-height: 300px;
        border-radius: 24px;
    }

    .course-image-box img {
        min-height: 300px;
    }

    .course-info-inline {
        margin-top: 27px;
        gap: 10px;
    }

    .info-pill {
        padding: 11px 14px;
        font-size: 12px;
    }

    /* MARCA */

    .courses-brand {
        padding: 35px 6%;
    }

    .courses-brand-logo {
        max-width: 145px;
    }

    /* GAMES */

    .games-section {
        padding: 65px 6% 90px;
    }

    .games-head {
        margin-bottom: 40px;
    }

    .courses-page .section-kicker {
        margin-bottom: 20px;
        font-size: 11px;
    }

    .courses-page .section-title {
        margin-bottom: 18px;

        font-size: clamp(29px, 8vw, 39px);
    }

    .courses-page .section-text {
        font-size: 14px;
        line-height: 1.75;
    }

    /* INTRODUÇÃO */

    .games-intro-card {
        grid-template-columns: 1fr;
        gap: 25px;

        padding: 30px 25px;
        margin-bottom: 25px;

        border-radius: 22px;
    }

    .games-intro-icon {
        width: 65px;
        height: 65px;

        border-radius: 18px;
        font-size: 28px;
    }

    .games-intro-text p {
        font-size: 14px;
        line-height: 1.8;
    }

    /* CARDS */

    .games-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .games-card,
    .games-card:last-child {
        grid-column: auto;
    }

    .games-card {
        padding: 30px 26px;
        border-radius: 22px;
    }

    .games-card-icon {
        width: 58px;
        height: 58px;

        margin-bottom: 22px;

        font-size: 23px;
        border-radius: 16px;
    }

    .games-card-title {
        font-size: 22px;
    }

    .games-list li,
    .requirements-main {
        font-size: 14px;
    }

    /* CTA */

    .games-cta-box {
        margin-top: 40px;
        padding: 32px 25px;

        border-radius: 22px;
    }

    .games-cta-text h3 {
        font-size: 23px;
    }

    .games-cta-text p {
        font-size: 14px;
    }

    .games-whatsapp-btn {
        width: 100%;
        padding: 16px 20px;

        font-size: 13px;
    }

}


/* ==========================================
   CELULARES MENORES - ATÉ 380PX
========================================== */

@media (max-width: 380px) {

    .courses-hero {
        padding: 80px 6% 110px;
    }

    .courses-main-title {
        font-size: 30px;
    }

    .courses-main-text {
        font-size: 13px;
    }

    .course-visual {
        min-height: 410px;
        padding: 25px;
    }

    .visual-content h2 {
        font-size: 29px;
    }

    .games-card {
        padding: 27px 22px;
    }

    .games-cta-box {
        padding: 28px 22px;
    }

}


/* ==========================================
   ACESSIBILIDADE - MOVIMENTO REDUZIDO
========================================== */

@media (prefers-reduced-motion: reduce) {

    .courses-hero-container {
        animation: none;
    }

    .course-image-box img,
    .games-card,
    .games-whatsapp-btn {
        transition: none;
    }

}
