
/* =========================
   PALETA
========================= 

:root {
    --dark: #101033;
    --text-secondary: #6b6b8c;
    --light: #ededf5;
    --primary: #2E79DA;
    --primary-light: #4a8be0;

    --white: #ffffff;
    --border: #dadae8;

    --success: #4f9d69;
    --success-light: #edf8f0;

    --danger: #b85c6b;
    --danger-light: #fbedef;
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background: #ededf5;
    color: #101033;

    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(237, 237, 245, 0.95);

    border-bottom: 1px solid #dadae8;

    backdrop-filter: blur(10px);
}

.header-content {
    min-height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    font-size: 24px;
    font-weight: 800;

    color: #101033;
}

.logo span {
    color: #2E79DA;
}


/* NAVIGATION */

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    position: relative;

    font-size: 15px;
    font-weight: 600;

    color: #6b6b8c;

    transition: color 0.2s ease;
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: #2E79DA;

    transition: width 0.2s ease;
}

.nav a:hover {
    color: #101033;
}

.nav a:hover::after {
    width: 100%;
}


/* MOBILE MENU BUTTON */

.menu-button {
    display: none;

    border: none;

    background: transparent;

    color: #101033;

    font-size: 28px;

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(184, 184, 255, 0.35),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ededf5 0%,
            #ffffff 65%
        );
}

.hero-content {
    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap: 80px;

    align-items: center;
}

.hero-text {
    max-width: 650px;
}


/* TAG */

.tag {
    display: inline-block;

    margin-bottom: 18px;

    padding: 7px 13px;

    border-radius: 30px;

    background: rgba(128, 128, 207, 0.12);

    color: #2E79DA;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;
}


/* HERO TITLE */

.hero h1 {
    font-size: clamp(42px, 6vw, 68px);

    line-height: 1.05;

    margin-bottom: 25px;

    color: #101033;
}

.hero h1 span {
    color: #2E79DA;
}


/* HERO TEXT */

.hero p {
    max-width: 580px;

    margin-bottom: 35px;

    font-size: 18px;

    color: #6b6b8c;
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 15px;
}


/* =========================
   BUTTONS
========================= */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 14px 24px;

    border-radius: 8px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


/* PRIMARY */

.button.primary {
    background: #2E79DA;

    color: #ffffff;

    box-shadow:
        0 8px 20px rgba(128, 128, 207, 0.25);
}

.button.primary:hover {
    background: #101033;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(16, 16, 51, 0.2);
}


/* SECONDARY */

.button.secondary {
    background: #ffffff;

    color: #101033;

    border: 1px solid #4a8be0;
}

.button.secondary:hover {
    background: #4a8be0;

    border-color: #4a8be0;
}


/* =========================
   TEACHER CARD
========================= */

.hero-card {
    overflow: hidden;

    background: #ffffff;

    border:
        1px solid rgba(128, 128, 207, 0.2);

    border-radius: 20px;

    box-shadow:
        0 20px 50px rgba(16, 16, 51, 0.12);
}


.teacher-photo {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.teacher-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.photo-placeholder {
    width: 180px;
    height: 180px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #101033;

    color: #4a8be0;

    font-weight: 800;

    box-shadow:
        0 15px 30px rgba(16, 16, 51, 0.2);
}

.teacher-info {
    padding: 25px;
}

.teacher-info h2 {
    margin-bottom: 3px;

    color: #101033;
}

.teacher-info p {
    color: #6b6b8c;
}


/* TEACHER STATS */

.teacher-stats {
    display: flex;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #dadae8;

    gap: 40px;
}

.teacher-stats div {
    display: flex;

    flex-direction: column;
}

.teacher-stats strong {
    font-size: 22px;

    color: #2E79DA;
}

.teacher-stats span {
    font-size: 12px;

    color: #6b6b8c;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 100px 0;
}

.section-title {
    max-width: 700px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-title h2 {
    margin-bottom: 15px;

    font-size: clamp(32px, 5vw, 46px);

    line-height: 1.1;

    color: #101033;
}

.section-title p {
    color: #6b6b8c;
}


/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.about-card {
    padding: 35px;

    background: #ffffff;

    border:
        1px solid #dadae8;

    border-radius: 14px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.about-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 30px rgba(16, 16, 51, 0.08);

    border-color: #4a8be0;
}


/* ICON */

.icon {
    width: 50px;
    height: 50px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #ededf5;

    color: #2E79DA;

    font-size: 24px;
}

.about-card h3 {
    margin-bottom: 10px;

    color: #101033;
}

.about-card p {
    color: #6b6b8c;
}


/* =========================
   METHODOLOGY
========================= */

.methodology {
    background: #101033;

    color: #ffffff;
}

.methodology .section-title h2 {
    color: #ffffff;
}

.methodology .section-title p {
    color: #4a8be0;
}

.methodology .tag {
    color: #4a8be0;

    background:
        rgba(184, 184, 255, 0.12);
}

.methodology-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.methodology-card {
    position: relative;

    padding: 30px;

    border:
        1px solid rgba(184, 184, 255, 0.18);

    border-radius: 14px;

    background:
        rgba(128, 128, 207, 0.08);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.methodology-card:hover {
    transform: translateY(-5px);

    background:
        rgba(128, 128, 207, 0.15);
}

.methodology-card .number {
    display: block;

    margin-bottom: 25px;

    font-size: 13px;

    font-weight: 800;

    color: #4a8be0;
}

.methodology-card h3 {
    margin-bottom: 12px;

    color: #ffffff;
}

.methodology-card p {
    color: #c4c4dc;

    font-size: 14px;
}



/* ============================================================== */

/* =========================
   LEVELS
========================= */

.levels {
    display: grid;

    /*
       6 colunas em telas grandes
    */
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;
}


/* =========================
   LEVEL CARD
========================= */

.level-card {
    width: 100%;

    padding: 25px 18px;

    text-align: center;

    background: #ffffff;

    border:
        1px solid #dadae8;

    border-radius: 12px;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.level-card:hover {
    transform: translateY(-4px);

    border-color: #2E79DA;

    box-shadow:
        0 10px 25px rgba(16, 16, 51, 0.08);
}


/* =========================
   LEVEL CIRCLE
========================= */

.level-card > span {
    display: inline-flex;

    width: 50px;
    height: 50px;

    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    border-radius: 50%;

    background:
        rgba(128, 128, 207, 0.12);

    color: #2E79DA;

    font-weight: 800;
}


.level-card h3 {
    margin-bottom: 8px;

    font-size: 17px;

    color: #101033;
}


.level-card p {
    font-size: 13px;

    color: #6b6b8c;
}


/* =========================
   3 ITEMS PER ROW
========================= *//*

@media (max-width: 1000px) {

    .levels {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* =========================
   2 ITEMS PER ROW
========================= */

@media (max-width: 700px) {

    .levels {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================
   1 ITEM PER ROW
========================= */

@media (max-width: 480px) {

    .levels {
        grid-template-columns:
            1fr;
    }

}
/* ============================================================== */


/* =========================
   SCHEDULE
========================= */

.schedule-section {
    background: #ededf5;
}

.schedule-wrapper {
    overflow-x: auto;

    background: #ffffff;

    border:
        1px solid #dadae8;

    border-radius: 14px;

    box-shadow:
        0 10px 30px rgba(16, 16, 51, 0.06);
}

.schedule {
    width: 100%;

    border-collapse: collapse;

    min-width: 750px;
}

.schedule th,
.schedule td {
    padding: 18px;

    text-align: center;

    border-bottom:
        1px solid #dadae8;
}


/* TABLE HEADER */

.schedule th {
    background: #101033;

    color: #ffffff;

    font-size: 14px;
}

.schedule th:first-child {
    color: #4a8be0;
}


/* TIME */

.schedule td:first-child {
    font-weight: 700;

    color: #101033;
}


/* AVAILABLE */

.schedule td.available {
    color: #4f9d69;

    background:
        #edf8f0;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease;
}

.schedule td.available:hover {
    background: #dff3e5;
}


/* BUSY */

.schedule td.busy {
    color: #b85c6b;

    background:
        #fbedef;

    font-weight: 600;
}


/* LEGEND */

.schedule-legend {
    display: flex;

    justify-content: center;

    gap: 30px;

    margin-top: 25px;
}

.schedule-legend span {
    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 14px;

    color: #6b6b8c;
}

.legend {
    width: 12px;
    height: 12px;

    display: inline-block;

    border-radius: 50%;
}

.legend.available {
    background: #4f9d69;
}

.legend.busy {
    background: #b85c6b;
}


/* =========================
   CTA
========================= */

.cta {
    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            #101033,
            #202052
        );

    color: #ffffff;

    text-align: center;
}

.cta-content {
    max-width: 700px;

    margin: 0 auto;
}

.cta .tag {
    color: #4a8be0;

    background:
        rgba(184, 184, 255, 0.12);
}

.cta h2 {
    margin-bottom: 20px;

    font-size: clamp(34px, 5vw, 50px);

    line-height: 1.1;

    color: #ffffff;
}

.cta p {
    margin-bottom: 30px;

    color: #c4c4dc;
}

.cta .button.primary {
    background: #2E79DA;
}

.cta .button.primary:hover {
    background: #4a8be0;

    color: #101033;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #0b0b27;

    color: #ffffff;
}

.footer-content {
    min-height: 180px;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    align-items: center;

    gap: 40px;
}

.footer .logo {
    color: #ffffff;
}

.footer .logo span {
    color: #4a8be0;
}

.footer p {
    margin-top: 8px;

    color: #8585a8;

    font-size: 14px;
}

.footer-links,
.social {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.footer-links a,
.social a {
    color: #aaaac7;

    font-size: 14px;

    transition: color 0.2s ease;
}

.footer-links a:hover,
.social a:hover {
    color: #4a8be0;
}


/* COPYRIGHT */

.copyright {
    padding: 20px;

    text-align: center;

    border-top:
        1px solid rgba(184, 184, 255, 0.1);
}

.copyright p {
    margin: 0;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .hero-content {
        grid-template-columns: 1fr;

        gap: 50px;

        padding: 70px 0;
    }

    .hero-text {
        text-align: center;

        margin: 0 auto;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-card {
        max-width: 500px;

        width: 100%;

        margin: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .methodology-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .levels {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns:
            1fr 1fr;

        padding: 40px 0;
    }
}


@media (max-width: 700px) {

    .header-content {
        min-height: 65px;
    }

    .menu-button {
        display: block;
    }

    .nav {
        position: absolute;

        top: 65px;
        left: 0;

        width: 100%;

        display: none;

        flex-direction: column;

        gap: 0;

        background: #ededf5;

        border-bottom:
            1px solid #dadae8;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 15px 5%;

        border-bottom:
            1px solid #dadae8;
    }

    .nav a::after {
        display: none;
    }

    .hero h1 {
        font-size: 44px;
    }

    .section {
        padding: 75px 0;
    }

    .methodology-grid {
        grid-template-columns: 1fr;
    }

    .levels {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .footer-links,
    .social {
        align-items: center;
    }
}
