/* Zera o body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --bs-accordion-btn-focus-border-color: #fff;
    --bs-accordion-btn-focus-box-shadow: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Padroniza tag a */
body a {
    text-decoration: none;
    color: #F18A00;
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
}

body a:hover {
    color: #3b517e;
}

/* Fonte Padrão */
:root {
    --font-base: "Roboto";
}

body {
    font-family: var(--font-base), sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #d9dbed;
}

html:focus-within {
    scroll-behavior: smooth;
}


/* Fontes */
.changa-one-regular {
    font-family: "Changa One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.changa-one-regular-italic {
    font-family: "Changa One", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.roboto-regular {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

@font-face {
    font-family: 'Puffin_Display_Soft_extra_bold';
    src: url('../fonts/PuffinDisplay-ExtraBold.woff2') format('woff2'),
        url('../fonts/PuffinDisplay-ExtraBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Header */
.header {
    background: linear-gradient(to right, #45277b, #6f419a);
    height: 107px;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.separator {
    width: 2px;
    height: 32.5px;
    background-color: #fff;
    /* levemente transparente */
    border-radius: 1px;
}

.logo {
    width: 156px;
    height: 59px;
    top: 24px;
    left: 270px;
    font-family: 'Puffin_Display_Soft_extra_bold', sans-serif;
    font-size: 40px;
    line-height: 22px;
    font-weight: 800;
    color: white;
    align-items: center;
    text-align: center;
    padding-top: 20px;
}

.logo-box {
    display: flex;
    background-color: white;
    top: 21px;
    left: 478px;
    border-radius: 4px;
    width: 165px;
    height: 65px;
    border-radius: 8px;
    gap: 0.5rem;
    align-items: center;
}

.logo-img-senac {
    width: 91px;
    height: 59px;
    top: 24px;
    left: 484px;
    display: block;
    margin-left: 4px;
}

.logo-img-mte {
    width: 47px;
    height: 47px;
    top: 30px;
    left: 581px;
    display: block;
}

.nav-links {
    padding-top: 20px;
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    width: 67px;
    height: 29px;
    top: 39px;
    color: white;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
    color: #f18a00;
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(102, 51, 153, 0.98);
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
}

/* Hero Section com efeito picotado */

.hero {
    background: linear-gradient(135deg, #663399, #1e3a8a);
    color: white;
    padding: 120px 0 120px;
    position: relative;
    overflow: hidden;
    background-image: url('../img/banner.png');
    background-size: cover;
    background-position-y: -160px;
    background-repeat: no-repeat;
    height: 100vh;
}

.hero-text h1 {
    font-size: 50px;
    font-weight: 900;
    line-height: 61px;
}

.hero-text p {
    font-size: 25px;
    font-weight: 400;
    line-height: 30px;
}

.btn {
    background: #f08900;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.btn:hover {
    background: #e55a2b;
}

.illustration {
    width: 680px;
    /* height: 484px; */
    top: 292px;
    left: 906px;
    /* display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/personagens-banner-inicial.svg');
    background-size: contain;
    background-repeat: no-repeat; */
}


.section-title {
    color: #001e4d;

    text-align: left;
    font-size: 42px;
    font-weight: 900;
}

.contact .section-title {
    color: white;

    text-align: left;
    font-size: 42px;
    font-weight: 900;
}


/* Courses Section */

.course-card.desativado {
    opacity: 0.5;
    filter: grayscale(30%);
}

.course-card.desativado .course-btn {
    width: 108px;
    height: 31px;
    font-size: 14px;
    font-weight: 900;
    line-height: 30px;
    background: #d0d0d0;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    width: 361px;
    height: 434px;
    top: 1183px;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    height: 281px;
    width: 361px;
    /* background: linear-gradient(45deg, #663399, #ff6b35); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.course-content {
    padding-top: 1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    height: 153px;
}

.course-title {
    font-size: 24px;
    font-weight: 900;
    line-height: 25px;
    margin-bottom: 0.1rem;
    color: #223873;
    margin-top: .6rem;
}

.course-btn {
    width: 108px;
    height: 31px;
    font-size: 14px;
    font-weight: 900;
    line-height: 30px;
    background: #f18a00;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.course-duration-wrapper {
    display: flex;
    align-items: center;
}

.clock-icon {
    margin-right: 5px;
    color: #b5bdd0;
}

.course-duration {
    color: #b5bdd0;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
}


.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

/* Contact Section */

.contact {
    background: linear-gradient(150deg, #233874, #001945);
}

#cursos,
#contato,
#duvidas {
    padding: 1rem .5rem;
    position: relative;
}

#cursos,
#sobre,
#contato {
    scroll-margin-top: 6.5rem;
}

.form-container {
    border-radius: 10px;
}

.contact-form {
    background: transparent;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom: none;
    padding: 1.5rem;
}

.form-label {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

#contato .form-control {
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

#contato .form-control::placeholder {
    color: #bbb;
}

.support-info {
    text-align: center;
    padding: 1rem;
    background: #3B4E83;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: -1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.support-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.support-icon img {
    max-width: 35px;
}

.support-text {
    display: flex;
    flex-direction: row;
    color: #fff;
    gap: .5rem;
    text-align: left;
}

.support-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.character-img {
    max-height: 100%;
}

.img-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .img-container {
        margin-top: 30px;
    }
}

/* FAQ */
.faq-container {
    max-width: 50%;
}

.heading-faq {
    font-size: 29px;
    font-weight: 900;
    line-height: 22px;
}

.content-faq {
    font-size: 23px;
    font-weight: 400;
    line-height: 27px;
}

.accordion-button:not(.collapsed) {
    background-color: #fff !important;
    box-shadow: none !important;
}

.accordion-header {
    height: 82px;
    font-size: 29px;
    line-height: 22px;
    font-weight: 900;
}

/* Footer */
.footer {
    background: #001b44;
    color: white;
    padding: 40px 20px 20px;
    font-family: sans-serif;
}

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

.logo-box {
    background-color: white;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    max-width: fit-content;
    margin-top: 0.5rem;
}

.logo-box img {
    height: 40px;
    width: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-img {
    max-width: 100px;
    height: auto;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 22px;
    line-height: 22px
}

.footer-links a:hover {
    color: #3b517e;
}


.footer-support {
    text-align: center;
    color: #F18A00;
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
}


.support-phone {
    color: #fff;
    font-size: 1.5rem;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
}

.footer-social {
    display: flex;
    gap: .3rem;
    justify-content: center;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2e4066;
    /* círculo escuro atrás do ícone */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.footer-social a:hover {
    background-color: #3b517e;
}

.footer-social img {
    width: 20.5px;
    height: 20.9px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    opacity: 0.8;
    gap: 0.5rem;
}

.privacy-link {
    color: white;
    text-decoration: none;
}

/* Accordion */

.accordion-button:not(.collapsed) {
    color: #001e4d !important;
    /* background-color: #e7f1ff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125); */
}

/* Modal Regionais */

.modal-backdrop.show {
    background-color: #0f0f0f !important;
    opacity: 1 !important;
}

#estadoModalLabel {
    font-size: 2.1rem !important;
    font-weight: 400;
    line-height: 37px;
    color: #484848 !important;
}

.custom-primary-btn {
    /* width: 10em !important; */
    height: 4rem;
    background-color: #f18a00 !important;
    font-size: 1.5rem;
    color: #fff !important;
    text-align: center;
    font-weight: 900
}

.custom-primary-btn:hover {
    background: #e55a2b !important;
    color: #fff !important;
}

.form-select {
    font-size: 1.5rem;
    text-align: center;
    color: #484848 !important;
    background-color: #ddd3e6 !important;
    border: none !important;
    border-radius: 3px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    border-top: none;
    border-bottom: none;
    box-shadow: none;
    height: 57px;
}

.modal-body {
    border-top: none !important;
    border-bottom: none !important;
}

.form-select:focus {
    outline: none !important;
}

/* Modal Cursos */
#modalInfoCursos .modal-header {
    background-color: #223873;
    color: #fff !important;
    justify-content: center;
    border-bottom: none;
}

#modalInfoCursosLabel {
    font-weight: 900;
    font-size: 2.1rem;
    color: #fff !important;
}

.modal-sobre {
    color: #223873;
    font-size: 30px;
    line-height: 22px;
    font-weight: 900;
}

#modal-sobre {
    font-size: 25px;
    line-height: 28px;
    font-weight: 400;
    color: #484848;
}

.card-curso-info-titulo {
    color: #223873;
    font-size: 22px;
    line-height: 22px;
    font-weight: 900;
}

.card-curso-info-corpo {
    color: #484848;
    font-size: 20px;
    font-weight: 400;
    line-height: 23px;
}

.info-icon {
    max-width: 2rem;
}

.info-block h6 {
    font-weight: bold;
    color: #1d2d5c;
}

.info-block p {
    margin: 0;
}

.divider {
    background-image: url('../img/divider-modal.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 26px;
}

/* Modal Matricula */
#modalMatricula .modal-header {
    background-color: #223873;
    color: #fff !important;
    justify-content: center;
    border-bottom: none;
}

#modalMatriculaLabel {
    font-weight: 900;
    font-size: 2.1rem;
    color: #fff !important;
}

#modal-matricula-sobre {
    font-size: 25px;
    text-align: center;
    line-height: 28px;
    font-weight: 400;
    color: #484848;
}

#modalMatricula .form-control {
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: #E6DFED;
    color: #484848;
    font-size: 19px;
}

#modalMatricula .form-label {
    color: #484848;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

#modalMatricula .form-control::placeholder {
    color: #bbb;
}

#modalMatricula .form-select {
    font-size: 19px;
}

/* Responsive */
@media (max-width: 960px) {

    /* diversos */

    .hero {
        background-position-y: -80px;
        height: 80vh;
    }

    .custom-primary-btn {
        width: 280px !important;
        height: 55px;
        background-color: #f18a00 !important;
        font-size: 1rem;
        color: #fff;
        text-align: center;
        font-weight: 900
    }

    /* Header ajustes */
    .header {
        padding: 0.8rem 0;
    }

    .hero-text h1 {
        font-size: 24px;
        line-height: 29px;
    }

    .hero-text p {
        font-weight: 400;
        line-height: 17px;
        font-size: 14px;
    }

    .illustration {
        width: 300px;
        left: 950px;
    }

    /* contato section */
    .support-label {
        font-size: .9rem;
        opacity: 0.9;
    }

    .support-phone {
        color: #fff;
        font-size: .9rem;
        padding-top: .5rem;
        font-family: "Roboto", sans-serif;
        font-weight: bold;
    }

    /* modal regionais / estados */

    #estadoModalLabel {
        font-size: 18.5px !important;
        font-weight: 400;
        line-height: 19px;
    }

    #estadoModal .form-select {
        font-size: 1.2rem;
        height: 53px;
    }

    /* modal curso */
    #modalInfoCursosLabel {
        font-weight: 900;
        font-size: 23px;
        color: #fff !important;
    }

    .modal-sobre {
        color: #223873;
        font-size: 19px;
        line-height: 22px;
        font-weight: 900;
    }

    #modal-sobre {
        font-size: 14px;
        line-height: 18px;
        font-weight: 400;
        color: #484848;
    }

    .card-curso-info-titulo {
        color: #223873;
        font-size: 16px;
        line-height: 22px;
        font-weight: 900;
    }

    .card-curso-info-corpo {
        color: #484848;
        font-size: 13px;
        font-weight: 400;
        line-height: 15px;
    }

    .info-icon {
        max-width: 25.79px;
    }

    .info-block h6 {
        font-weight: bold;
        color: #1d2d5c;
    }

    /* modal matricula */

    #modal-matricula-sobre {
        font-size: 14px;
        text-align: center;
        line-height: 18px;
        font-weight: 400;
        color: #484848;
    }

    #modalMatricula .form-control {
        height: 34px;
    }

    #modalMatricula .form-select {
        font-size: 14px;
        height: 34px;
        border-radius: 5px;
    }

}