/*
--- 01 TYPOGRAPHY SYSTEM

- Font weights
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700

- Line heights
Default: 1
Small: 1.05
Medium: 1.2
Paragraph default: 1.6

- Letter spacing
-0.5px
0.75px

--- 02 COLORS

- Primary: #e67e22
- Tints:
#fdf2e9
#fae5d3
#eb984e

- Shades:
#cf711f
#45260a

- Accents:
- Greys

#888
#767676 (lightest grey allowed on #fff)
#6f6f6f (lightest grey allowed on #fdf2e9)
#555
#333

--- 05 SHADOWS

0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

--- 06 BORDER-RADIUS

Default: 9px
Medium: 11px

--- 07 WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/


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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    background-color: #f8f9fa;
    color: #28303e;
    font-family: "Plus Jakarta Sans", sans-serif;
    line-height: 1;
    /* overflow-x: hidden; */
}

/**************************/
/* GENERAL REUSABLE COMPONENTS */
/**************************/

.container {
    max-width: 130rem;
    padding: 0 3.2rem;
    margin: 0 auto;
}

.grid {
    display: grid;
    column-gap: 4.2rem;
    row-gap: 9.6rem;
}

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

.grid--3-cols {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4-cols {
    grid-template-columns: repeat(4, 1fr);
}

/**************************/
/* MENU */
/**************************/

/* .menu-nav {
    height: 8rem;
    width: 100%;
    background-color: #6e4cf5;
    position: fixed;
    z-index: 10000;
}

.menu-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-logo-img {
    height: 6.4rem;
}

.menu-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
}

.menu-links .menu-normal-link:link,
.menu-links .menu-normal-link:visited {
    padding: 1rem 0;
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
    color: #f8f9fa;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right, transparent, transparent) 1;
    transition: all 0.3s;
}

.menu-links .menu-normal-link:hover,
.menu-links .menu-normal-link:active {
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to left, transparent, #c4cbd9) 1;
}

.menu-link-loja:link,
.menu-link-loja:visited {
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
    color: #f8f9fa;
    padding: 1.2rem 2.4rem;
    border: 2px solid #f8f9fa;
    border-radius: 10rem;
    transition: all 0.3s;
}

.menu-links .menu-link-loja:hover,
.menu-links .menu-link-loja:active {
    color: #6e4cf5;
    background-color: #f8f9fa;
}

.menu-links .menu-link-escola:link,
.menu-links .menu-link-escola:visited {
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
    padding: 1.2rem 2.4rem;
    background-color: #f8f9fa;
    color: #6e4cf5;
    border: 2px solid #f8f9fa;
    border-radius: 10rem;
    transition: all 0.3s;
}

.menu-links .menu-link-escola:hover,
.menu-links .menu-link-escola:active {
    background-color: #402d8f;
    border: 2px solid #402d8f;
    color: #f8f9fa;
} */

.altura-menu {
    height: 8rem;
}

.menu-nav {
    height: 8rem;
    width: 100%;
    background-color: #6e4cf5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menu-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-logo-img {
    height: 6.4rem;
    transition: transform 0.3s;
}

.menu-logo-img:hover {
    transform: scale(1.05);
}

.menu-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
}

.menu-links .menu-normal-link:link,
.menu-links .menu-normal-link:visited {
    padding: 1rem 0;
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
    color: #f8f9fa;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right, transparent, transparent) 1;
    transition: all 0.3s;
    position: relative;
}

.menu-links .menu-normal-link:hover,
.menu-links .menu-normal-link:active {
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to left, transparent, #c4cbd9) 1;
}

.menu-link-loja:link,
.menu-link-loja:visited {
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
    color: #f8f9fa;
    padding: 1.2rem 2.4rem;
    border: 2px solid #f8f9fa;
    border-radius: 10rem;
    transition: all 0.3s;
}

.menu-links .menu-link-loja:hover,
.menu-links .menu-link-loja:active {
    color: #6e4cf5;
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-links .menu-link-escola:link,
.menu-links .menu-link-escola:visited {
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
    padding: 1.2rem 2.4rem;
    background-color: #f8f9fa;
    color: #6e4cf5;
    border: 2px solid #f8f9fa;
    border-radius: 10rem;
    transition: all 0.3s;
}

.menu-links .menu-link-escola:hover,
.menu-links .menu-link-escola:active {
    background-color: #402d8f;
    border: 2px solid #402d8f;
    color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10001;
}

.menu-toggle ion-icon {
    font-size: 3.6rem;
    color: #f8f9fa;
    transition: transform 0.3s;
}

.menu-toggle:hover ion-icon {
    transform: scale(1.1);
}

/* Demo Content */
.demo-content {
    padding: 4rem 0;
}

.demo-section {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: #333;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .menu-links {
        position: fixed;
        top: 8rem;
        left: 0;
        right: 0;
        background-color: #6e4cf5;
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        max-height: calc(100vh - 8rem);
        overflow-y: auto;
    }

    .menu-links.active {
        transform: translateX(0);
    }

    .menu-links a {
        width: 100%;
        text-align: center;
        padding: 2rem 3.2rem !important;
        border-bottom: 1px solid rgba(248, 249, 250, 0.1);
        animation: slideIn 0.3s ease-out forwards;
        opacity: 0;
    }

    .menu-links.active a {
        animation: slideIn 0.3s ease-out forwards;
    }

    .menu-links.active a:nth-child(1) {
        animation-delay: 0.1s;
    }

    .menu-links.active a:nth-child(2) {
        animation-delay: 0.15s;
    }

    .menu-links.active a:nth-child(3) {
        animation-delay: 0.2s;
    }

    .menu-links.active a:nth-child(4) {
        animation-delay: 0.25s;
    }

    .menu-links.active a:nth-child(5) {
        animation-delay: 0.3s;
    }

    .menu-links .menu-normal-link:link,
    .menu-links .menu-normal-link:visited {
        border-bottom: 1px solid rgba(248, 249, 250, 0.1) !important;
        border-image: none !important;
    }

    .menu-links .menu-normal-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .menu-link-loja:link,
    .menu-link-loja:visited,
    .menu-link-escola:link,
    .menu-link-escola:visited {
        border-radius: 100rem;
        margin: 1rem 2rem;
        width: calc(100% - 4rem);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Overlay para fechar menu ao clicar fora */
.menu-overlay {
    display: none;
    position: fixed;
    top: 8rem;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 480px) {
    html {
        font-size: 56.25%;
    }

    .menu-nav {
        height: 7rem;
    }

    body {
        padding-top: 7rem;
    }

    .menu-links {
        top: 7rem;
        max-height: calc(100vh - 7rem);
    }

    .menu-logo-img {
        height: 5rem;
    }

    .menu-overlay {
        top: 7rem;
    }
}

/**************************/
/* RODAPE */
/**************************/

.rodape {
    background-color: #1b253d;
    color: #f8f9fa;
}

.corpo-rodape {
    display: grid;
    grid-template-columns: 1.5fr 3.5fr;
    padding: 9.6rem 0;
    gap: 8rem;
}

.rodape-logo-img {
    width: 70%;
    margin-bottom: 4.8rem;
}

.links-social-media {
    display: flex;
    gap: 1.2rem;
}

.r-l-s-m-paragrafo {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 4.8rem;
}

.links-social-media a:link,
.links-social-media a:visited {
    text-decoration: none;
}

.l-s-m-icon {
    height: 20px;
    width: 20px;
    color: #1b253d;
    background-color: #f8f9fa;
    padding: 1.4rem;
    border-radius: 50%;
    transition: all 0.3s;
}

.l-s-m-icon:hover {
    background-color: #c4cbd9;
}

.rodape-outros-links {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 2.4rem;
}

.r-o-l-c-titulo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 3.2rem;
}

.r-o-l-c-links {
    margin-left: 1.2rem;
    list-style-type: square;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.r-o-l-c-links a:link,
.r-o-l-c-links a:visited {
    font-size: 1.4rem;
    text-decoration: none;
    color: #f8f9fa;
    transition: all 0.3s;
}

.r-o-l-c-links a:hover,
.r-o-l-c-links a:active {
    color: #c4cbd9;
}

.r-o-l-c-contactos {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.r-o-l-c-contactos a:link,
.r-o-l-c-contactos a:visited {
    font-size: 1.4rem;
    text-decoration: none;
    color: #f8f9fa;
    transition: all 0.3s;
    line-height: 1.6;

    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.r-o-l-c-contactos a:hover,
.r-o-l-c-contactos a:active {
    color: #c4cbd9;
}

.r-o-l-c-contactos a .contactos-icon {
    font-size: 2rem;
}

.fundo-rodape {
    border-top: 1px solid transparent;
    border-image: linear-gradient(to left, transparent, #c4cbd9) 1;
    font-size: 1.2rem;
}

.fundo-rodape p {
    padding: 3.2rem 0;
}

/* ----------------------- */

.titulo-secao span {
    display: block;
    color: #6e4cf5;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
}

.titulo-secao h2 {
    font-size: 3.6rem;
    line-height: 1.2;
}


.t-s-center {
    text-align: center;
}

/**************************/
/* BREADCRUMBS */
/**************************/

.ce-breadcrumbs {
    display: flex;
    align-items: start;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    height: 3.28rem;
    margin-bottom: 16px;
}

.ce-brdcb-span a:link,
.ce-brdcb-span a:visited {
    text-decoration: none;
    color: inherit;
}

.ce-brdcb-icon {
    margin-top: 0.1rem;
}

/**************************/
/* LIST */
/**************************/

.curso-detalhes-list {
    margin-top: 3.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.curso-detalhe-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
}

.cd-icon {
    font-size: 1.6rem;
    color: #6e4cf5;
    /* stroke-width: 80%; */
    padding-top: 0.2rem;
}

.curso-detalhe-item p {
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 600;
    color: #45536d;
}
