/* =====================================================
   LEVEL7 EDUTECH
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #172033;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =====================================================
   CABEÇALHO
===================================================== */

.header {
    background: #ffffff;
    border-bottom: 1px solid #e8edf5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* =====================================================
   LOGO
===================================================== */

.logo {
    display: flex;
    align-items: baseline;
    gap: 7px;
    white-space: nowrap;
}

.logo-main {
    color: #172033;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.logo-tech {
    color: #1677ff;
    font-size: 15px;
    font-weight: 800;
}


/* =====================================================
   MENU
===================================================== */

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav a {
    color: #566176;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.nav a:hover {
    color: #1677ff;
}

.nav a.btn-primary {
    color: #ffffff;
}


/* =====================================================
   BOTÕES
===================================================== */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s;
}

.btn-primary {
    background: #1677ff;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0d62d6;
    color: #ffffff;
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid #d8e0ec;
    color: #263247;
}

.btn-secondary:hover {
    border-color: #1677ff;
    color: #1677ff;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(22, 119, 255, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f5faff 0%,
            #ffffff 65%
        );

    padding: 72px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 55px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    background: #e9f3ff;
    color: #1677ff;
    padding: 7px 13px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.hero h1 {
    max-width: 650px;
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 18px;
    color: #172033;
}

.hero h1 span {
    color: #1677ff;
}

.hero-text p {
    font-size: 16px;
    color: #68748a;
    max-width: 610px;
    margin-bottom: 26px;
    line-height: 1.65;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.hero-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5ebf4;
    border-radius: 18px;
    padding: 38px 32px;
    box-shadow: 0 18px 45px rgba(30, 80, 140, 0.10);
    text-align: center;
}

.hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #1677ff;
}

.hero-card-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 16px;
    background: #eaf4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.hero-card h3 {
    font-size: 23px;
    color: #172033;
    margin-bottom: 9px;
}

.hero-card p {
    color: #718096;
    font-size: 14px;
    line-height: 1.6;
}


/* =====================================================
   BENEFÍCIOS
===================================================== */

.benefits {
    background: #f7faff;
    border-top: 1px solid #edf2f8;
    border-bottom: 1px solid #edf2f8;
    padding: 30px 0;
}

.benefits-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap;
}

.benefit-card {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 11px;
    background: #eaf4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.benefit-card h3 {
    color: #172033;
    font-size: 15px;
    margin-bottom: 2px;
}

.benefit-card p {
    color: #7b8597;
    font-size: 12px;
    line-height: 1.4;
}


/* =====================================================
   CURSOS HOME
===================================================== */

.courses {
    padding: 70px 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-tag {
    display: block;
    color: #1677ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.section-header h2,
.about h2 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #172033;
}

.section-header p {
    color: #748095;
    font-size: 14px;
}


/* =====================================================
   CONTROLES DO CARROSSEL
===================================================== */

.courses-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin-bottom: 12px;
}

.courses-hint {
    color: #7a8597;
    font-size: 12px;
    margin-right: 4px;
}

.course-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #dce4ef;
    background: #ffffff;
    color: #1677ff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.course-arrow:hover {
    background: #1677ff;
    border-color: #1677ff;
    color: #ffffff;
    transform: translateY(-1px);
}

.course-arrow:active {
    transform: scale(0.96);
}


/* =====================================================
   CARROSSEL DE CURSOS
===================================================== */

.courses-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 5px 5px 18px 5px;

    scroll-behavior: smooth;
    scroll-snap-type: x proximity;

    scrollbar-width: thin;
    scrollbar-color: #1677ff #eef4fb;
}

.course-card {
    background: #ffffff;
    border: 1px solid #e4eaf2;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.25s;

    flex: 0 0 270px;
    width: 270px;
    min-height: 310px;

    scroll-snap-align: start;
}

.course-card:hover {
    transform: translateY(-4px);
    border-color: #d3e3f8;
    box-shadow: 0 12px 30px rgba(30, 70, 120, 0.10);
}

.course-icon {
    width: 55px;
    height: 55px;
    border-radius: 13px;
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.blue-icon {
    background: #eaf4ff;
}

.green-icon {
    background: #eafaf1;
}

.purple-icon {
    background: #f3edff;
}

.orange-icon {
    background: #fff3e6;
}

.course-content {
    padding: 0 20px 20px;
}

.course-category {
    color: #1677ff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.course-card h3 {
    color: #172033;
    font-size: 18px;
    line-height: 1.3;
    margin: 8px 0;
}

.course-card p {
    color: #718096;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.course-footer {
    border-top: 1px solid #edf0f4;
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.course-footer span {
    color: #7a8597;
    font-size: 12px;
}

.course-footer a {
    color: #1677ff;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}

.course-footer a:hover {
    color: #0d62d6;
}


/* =====================================================
   BARRA DE ROLAGEM MODERNA
===================================================== */

.courses-grid::-webkit-scrollbar {
    height: 9px;
}

.courses-grid::-webkit-scrollbar-track {
    background: #eef4fb;
    border-radius: 20px;
}

.courses-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(
        90deg,
        #1677ff,
        #4c9cff
    );

    border-radius: 20px;
    border: 2px solid #eef4fb;
}

.courses-grid::-webkit-scrollbar-thumb:hover {
    background: #0d62d6;
}


/* =====================================================
   VER TODOS OS CURSOS
===================================================== */

.view-all-courses {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.view-all-button {
    padding: 12px 24px;
}


/* =====================================================
   SOBRE
===================================================== */

.about {
    padding: 70px 0;
    background: #f7faff;
}

.about-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.about-text {
    padding-right: 20px;
}

.about h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

.about-text p {
    color: #68748a;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.about-card {
    background: #ffffff;
    border: 1px solid #e5edf7;
    border-radius: 14px;
    padding: 22px;
    transition: 0.25s;
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 70, 120, 0.08);
}

.about-number {
    color: #1677ff;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
}

.about-card h3 {
    color: #172033;
    font-size: 17px;
    margin-bottom: 7px;
}

.about-card p {
    color: #748095;
    font-size: 13px;
    line-height: 1.5;
}


/* =====================================================
   CONTATO
===================================================== */

.contact {
    background: #1677ff;
    color: #ffffff;
    padding: 44px 0;
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.contact .section-tag {
    color: #dcecff;
}

.contact h2 {
    font-size: 26px;
    margin-bottom: 6px;
}

.contact p {
    font-size: 14px;
    opacity: 0.9;
}

.contact .btn-primary {
    background: #ffffff;
    color: #1677ff;
    white-space: nowrap;
}

.contact .btn-primary:hover {
    background: #f1f5fa;
    color: #0d62d6;
}


/* =====================================================
   RODAPÉ
===================================================== */

.footer {
    background: #101827;
    color: #ffffff;
    padding: 38px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer .logo {
    margin-bottom: 7px;
}

.footer .logo-main {
    color: #ffffff;
}

.footer .logo-tech {
    color: #55a2ff;
}

.footer p {
    color: #aab4c5;
    font-size: 12px;
}


/* =====================================================
   PÁGINA TODOS OS CURSOS
===================================================== */

.catalog-hero {
    background:
        linear-gradient(
            135deg,
            #f5faff 0%,
            #ffffff 100%
        );

    padding: 58px 0;
    text-align: center;
    border-bottom: 1px solid #edf2f8;
}

.catalog-hero h1 {
    color: #172033;
    font-size: 38px;
    margin-bottom: 12px;
}

.catalog-hero p {
    color: #718096;
    font-size: 15px;
    max-width: 700px;
    margin: 0 auto;
}

.catalog {
    padding: 60px 0 70px;
    background: #ffffff;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 30px;
}

.catalog-header h2 {
    color: #172033;
    font-size: 27px;
    margin-bottom: 5px;
}

.catalog-header p {
    color: #718096;
    font-size: 13px;
}

.catalog-count {
    background: #eaf4ff;
    color: #1677ff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}


/* =====================================================
   GRADE DOS CURSOS
===================================================== */

.catalog-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.catalog-card {
    background: #ffffff;
    border: 1px solid #e4eaf2;
    border-radius: 16px;
    padding: 24px;
    transition: 0.25s;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.catalog-card:hover {
    transform: translateY(-4px);
    border-color: #cddff7;
    box-shadow: 0 14px 32px rgba(30, 70, 120, 0.10);
}

.catalog-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #eaf4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    margin-bottom: 18px;
}

.catalog-card h3 {
    color: #172033;
    font-size: 19px;
    line-height: 1.35;
    margin: 9px 0 10px;
}

.catalog-card p {
    color: #718096;
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 22px;
    flex: 1;
}

.catalog-card-footer {
    border-top: 1px solid #edf0f4;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.catalog-card-footer span {
    color: #7a8597;
    font-size: 12px;
}

.catalog-course-link {
    color: #1677ff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.catalog-course-link:hover {
    color: #0d62d6;
}

.catalog-back-section {
    background: #f7faff;
    border-top: 1px solid #edf2f8;
    padding: 30px 0;
    text-align: center;
}


/* =====================================================
   LOGIN
===================================================== */

.login-page {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(22, 119, 255, 0.12),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f5faff 0%,
            #eaf4ff 100%
        );

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.login-logo {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}

.login-logo .logo-main {
    color: #172033;
    font-size: 31px;
    font-weight: 900;
}

.login-logo .logo-tech {
    color: #1677ff;
    font-size: 17px;
    font-weight: 800;
}

.login-brand-subtitle {
    color: #748095;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 24px;
}

.login-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e1e8f2;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 20px 50px rgba(30, 70, 120, 0.12);
    text-align: left;
}

.login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #1677ff;
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-header .section-tag {
    margin-bottom: 10px;
}

.login-header h1 {
    font-size: 28px;
    color: #172033;
    margin-bottom: 8px;
}

.login-header p {
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: #263247;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.form-group input {
    width: 100%;
    height: 46px;
    border: 1px solid #d9e1ec;
    border-radius: 8px;
    padding: 0 13px;
    font-size: 14px;
    color: #172033;
    outline: none;
    transition: 0.2s;
    background: #ffffff;
}

.form-group input:focus {
    border-color: #1677ff;
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.10);
}

.form-group input::placeholder {
    color: #a0aabb;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 5px 0 22px;
    font-size: 12px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #68748a;
}

.remember input {
    accent-color: #1677ff;
}

.login-options a {
    color: #1677ff;
    font-weight: 600;
}

.login-button {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 8px;
    background: #1677ff;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.login-button:hover {
    background: #0d62d6;
}

.signup-area {
    border-top: 1px solid #edf0f4;
    margin-top: 25px;
    padding-top: 22px;
    text-align: center;
}

.signup-area p {
    color: #718096;
    font-size: 13px;
    margin-bottom: 10px;
}

.signup-button {
    display: inline-block;
    color: #1677ff;
    font-size: 14px;
    font-weight: 700;
}

.back-home {
    display: inline-block;
    margin-top: 20px;
    color: #68748a;
    font-size: 13px;
    font-weight: 600;
}

.back-home:hover {
    color: #1677ff;
}


/* =====================================================
   RESPONSIVO TABLET
===================================================== */

@media (max-width: 900px) {

    .nav {
        gap: 16px;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }

    .about-content {
        grid-template-columns: 1fr 1fr;
    }

    .benefits-grid {
        flex-wrap: wrap;
    }

    .benefit-card {
        flex: 1 1 40%;
    }

    .catalog-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =====================================================
   RESPONSIVO CELULAR
===================================================== */

@media (max-width: 600px) {

    .container {
        width: 90%;
    }

    .header-content {
        min-height: 64px;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding: 10px 0;
    }

    .logo-main {
        font-size: 22px;
    }

    .logo-tech {
        font-size: 13px;
    }

    .nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .nav a {
        font-size: 12px;
    }

    .nav a.btn-primary {
        padding: 8px 13px;
    }

    .hero {
        padding: 48px 0;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .benefits-grid {
        flex-direction: column;
    }

    .courses {
        padding: 52px 0;
    }

    .courses-controls {
        justify-content: center;
    }

    .courses-hint {
        display: none;
    }

    .course-card {
        flex: 0 0 260px;
        width: 260px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text {
        padding-right: 0;
    }

    .contact-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer .logo {
        justify-content: center;
    }

    .catalog-hero {
        padding: 45px 0;
    }

    .catalog-hero h1 {
        font-size: 30px;
    }

    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .catalog-card {
        min-height: auto;
    }

    .login-page {
        padding: 25px 15px;
    }

    .login-logo .logo-main {
        font-size: 28px;
    }

    .login-logo .logo-tech {
        font-size: 15px;
    }

    .login-brand-subtitle {
        font-size: 10px;
        padding: 0 10px;
    }

    .login-card {
        padding: 28px 22px;
    }

    .login-header h1 {
        font-size: 25px;
    }

}