:root {
    --cor-primaria: #33c3d3;
    --color-btn-red: #f25e5e;
    --color-btn-orange: #f97216;
    --color-btn-purple: #a654f6;
    --color-btn-light-green: #22c45d;
    --color-green-whatsapp: #12b981;
}

.visualizar-todos {
    text-decoration: none;
    color: var(--cor-primaria);
    font-weight: 600;
}

/* ======================================== */
/* BUTTONS */
/* ======================================== */

.btn {
    color: #fff;
    font-weight: 600;
}

.btn-primary-green {
    background-color: var(--cor-primaria);
}

.btn-red {
    background-color: var(--color-btn-red);
}

.btn-orange {
    background-color: var(--color-btn-orange);
}

.btn-purple {
    background-color: var(--color-btn-purple);
}

.btn-light-green {
    background-color: var(--color-btn-light-green);
}

.btn-green-whatsapp {
    background-color: var(--color-green-whatsapp);
}

/* ======================================== */
/* HEADER */
/* ======================================== */

.nav-link {
    color: #333;
}

.nav-link:hover {
    color: var(--cor-primaria);
}

header svg {
    color: #999ba9 !important;
}

header #form-search .input-group {
    background-color: #f1f4f9;
    border-radius: 20px;
    overflow: hidden;
    /* Faz o input e o ícone seguirem o border-radius */
}

header #form-search input {
    border-radius: 0 20px 20px 0;
    background-color: transparent;
    color: #bec7d0;
    border: none;
    box-shadow: none;
}

header #form-search .input-group-prepend .input-group-text {
    background-color: transparent;
    border: none;
    padding-left: 0.8rem;
    padding-right: 0.5rem;
    color: #bec7d0;
    display: flex;
    align-items: center;
    height: 100%;
}

header #form-search .fas {
    color: #bec7d0;
}

header #form-search input::placeholder {
    color: #bec7d0;
    opacity: 1;
}

.btn-login {
    background-color: var(--cor-primaria);
    border: none;
    border-radius: 5px;
}

/* ======================================== */
/* BANNER */
/* ======================================== */

.banner-overlay {
    background: #1E293B;
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.7) 30%, rgba(20, 92, 116, 0.1) 100%);

}

.banner-overlay-text {
    max-width: 40%;
    font-size: 19px;
}

.banner-overlay-buttons a {
    max-width: 180px;
}

.overlay-statistics-item {
    background-color: #102332;
}

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

.section-courses {
    padding: 0;
}

.section-courses h3 {
    font-weight: 700;
}

.card-course {
    min-height: 300px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    transition: 0.3s ease-in-out;
}

.card-course:hover {
    cursor: pointer;
}

.card-course .card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
    width: 100%;
}

.card-course img {
    object-fit: cover;
    object-position: top;
    /* height: 150px; */
    width: 100%;
    height: 100%;
    align-content: flex-start;
    transition: transform 0.3s ease;
}

.card-course:hover {
    transform: scale(1.02);
}

.card-course:hover img {
    transform: scale(1.05);
}

.card-course .card-title {
    font-weight: 600;
    min-height: 3em;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-course .btn-saiba-mais {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 4px;
    text-decoration: none;
    opacity: 0;
    background-color: var(--cor-primaria);
    transition: opacity 0.3s ease;
    margin-inline: 2%;
}

.card-course:hover .btn-saiba-mais {
    opacity: 1;
}

/* ======================================== */
/* DEPOIMENTOS */
/* ======================================== */

.section-depoimentos {
    padding: 0;
}

.section-depoimentos h3 {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
}

.card-depoimento {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 10px;
    border: 1px solid #e8e9eb;
    min-height: 400px;
    max-height: 400px;
    align-items: flex-start;
}

.card-depoimento svg {
    color: var(--cor-primaria) !important;
}

.card-depoimento p.text-truncate-multiline {
    display: -webkit-box;
    -webkit-line-clamp: 11;
    /* Ajuste o número de linhas aqui */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    /* Ajuste conforme o tamanho da fonte */
    margin: 0;
    /* Tira margens que podem afetar o cálculo */
    max-height: calc(1.4em * 11);
    /* Linha x número de linhas, opcional */
}


.card-depoimento img {
    width: 40px;
    border-radius: 50%;
}

.card-depoimento .author {
    font-weight: 700;
}

/* ======================================== */
/* MODALIDADES */
/* ======================================== */

.section-modalidades {
    padding: 0;
}

.section-modalidades h3 {
    font-weight: 700;
}

.card-modalidade {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    border: 1px solid #e3e7ea;
    /* padding: 8px; */
    text-align: center;
    transition: transform 0.2s;
}

.card-modalidade svg {
    color: var(--cor-primaria) !important;
}

.card-modalidade .title {
    font-weight: 600;
    font-size: 14px;
    padding: 0;
    min-height: 3em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-modalidade span {
    font-size: 12px;
    font-weight: 400;
}

/* ======================================== */
/* AULAS RECOMENDADAS */
/* ======================================== */

.section-aulas-recomendadas {
    padding: 0;
}

.section-aulas-recomendadas .section-title h3 {
    font-weight: 700 !important;
}

.card-aulas {
    max-height: 300px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
}

.card-aulas:hover {
    cursor: pointer;
    color: inherit;
}

.card-aulas .card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    width: 100%;
}

.card-aulas img {
    object-fit: cover;
    object-position: top;
    height: 200px;
    width: 100%;
    transition: transform 0.3s ease;
}

.card-aulas:hover img {
    transform: scale(1.05);
}

.card-aulas .card-title {
    font-weight: 600;
    min-height: 3em;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* ======================================== */
/* DATA CARD */
/* ======================================== */

.card-dados .container {
    background: #1E293B;
    background: linear-gradient(90deg, rgb(138, 144, 156, 1) 0%, rgb(136, 163, 174, 1) 100%);
    color: #fff;
    border-radius: 10px;
}

.card-dados .container h4 {
    color: var(--cor-primaria);
    font-size: 36px;
    font-weight: 600;
}

/* ======================================== */
/* MEC CARD */
/* ======================================== */

.card-mec .container {
    background: #1E293B;
    background: linear-gradient(90deg, rgba(30, 41, 59, 1) 0%, rgba(20, 92, 116, 1) 100%);
    color: #fff;
    border-radius: 10px;
}

.card-mec .container i {
    font-size: 60px !important;
    color: var(--cor-primaria);
}

.card-mec .container .btn {
    max-width: 300px;
    min-width: 150px;
    background-color: var(--cor-primaria);
    color: #fff;
    padding-block: 10px;
}

/* ======================================== */
/* FOOTER */
/* ======================================== */

footer {
    background: 1D283A;
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(22, 30, 49, 1) 50%, rgba(14, 22, 41, 1) 100%);
    color: #fff;
}

footer h6 {
    color: var(--cor-primaria);
    font-weight: bold;
    font-size: 20px;
}

footer a {
    text-decoration: none;
}

footer a span {
    color: #fff;
    font-weight: 500;
}

.social-links li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #555;
    /* cinza levemente escuro */
    color: #fff;
    /* ícones brancos */
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-links li a:hover {
    background-color: #333;
    /* cor um pouco mais escura no hover */
}

.social-links li {
    list-style: none;
    margin-right: 10px;
}

.social-links li:last-child {
    margin-right: 0;
}

.social-links span::before {
    font-size: 18px;
}

.swiper {
    width: 100%;
    height: 300px;
}