/* GERAL */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* HEADER */
.navbar {
    width: 100%;
}
.navbar-nav .nav-link:hover {
    color: #2d71e0 !important;
}
.navbar-nav .nav-link.active {
    color: #2d71e0 !important;
}
.navbar-nav .nav-link:focus {
    color: #2d71e0 !important;
}
@media (max-width: 768px) {
    .navbar-collapse {
        justify-content: center;
    }
}
header.masthead {
    position: relative;
}
.masthead-heading {
    font-size: 3.5rem !important;
    position: relative !important;
    bottom: 45px !important;
}
.masthead-subheading {
    font-size: 2rem !important;
    position: relative !important;
    bottom: 60px !important;
}
@media (max-width: 992px) {
    .masthead-heading {
        font-size: 3.25rem !important;
        position: relative !important;
        bottom: 35px !important;
    }
    .masthead-subheading {
        font-size: 1.5rem !important;
        position: relative !important;
        bottom: 70px !important;
    }
}
@media (max-width: 768px) {
    .masthead-heading {
        font-size: 2.5rem !important;
        position: relative !important;
        bottom: 25px !important;
    }
    .masthead-subheading {
        font-size: 1.1rem !important;
        position: relative !important;
        bottom: 50px !important;
    }
}
@media (max-width: 576px) {
    .masthead-heading {
        font-size: 2rem !important;
        position: relative !important;
        bottom: 25px !important;
    }
    .masthead-subheading {
        font-size: 1rem !important;
        position: relative !important;
        bottom: 50px !important;
    }
}
@media (max-width: 480px) {
    .masthead-heading { font-size: 1.7rem !important; }
    .masthead-subheading { font-size: 0.9rem !important; }
}
@media (max-width: 430px) {
    .masthead-heading { font-size: 1.5rem !important; }
    .masthead-subheading { font-size: 0.8rem !important; }
}
@media (max-width: 385px) {
    .masthead-heading { font-size: 1.3rem !important; }
    .masthead-subheading { font-size: 0.7rem !important; }
}
@media (max-width: 335px) {
    .masthead-heading { font-size: 1.1rem !important; }
    .masthead-subheading { font-size: 0.6rem !important; }
}
@media (max-width: 295px) {
    .masthead-heading { font-size: 1rem !important; }
    .masthead-subheading { font-size: 0.5rem !important; }
}
.custom-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: #2d71e0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.custom-button:hover {
    background-color: #2563c7;
    transform: translateY(-2px);
}



/* TIMELINE */
.timeline > li .timeline-image {
    background-color: #2d71e0 !important;
}
.team-member.primeiro_membro > img {
    border: 0.5rem solid #2d71e0 !important;
}
.img-brand {
    max-height: 50px;
    object-fit: contain;
}



/* REVIEWS */
#carossel_reviews img{
    width: 100px !important;
    height: 100px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
    margin: 0 auto !important;
}
#carossel_reviews .card-title{
    margin-top: 14px !important;
}
.carousel-inner img {
    width: 100%;
    height: 95vh !important;
    object-fit: cover;
}
.carousel-caption {
    position: absolute;
    top: 38%;
    left: 50%;
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 90%;
}
.carousel-caption > h5 {
    font-size: 2rem;
}
.carousel-caption > p {
    font-size: 1.5rem;
}
@media (max-width: 1000px) {
    .carousel-inner img { height: 60vh !important; }
    .carousel-caption { top: 35% !important; }
    .carousel-caption > h5 { font-size: 1.5rem !important; }
    .carousel-caption > p { font-size: 1.2rem !important; }
}
@media (max-width: 768px) {
    .carousel-inner img { height: 60vh !important; }
    .carousel-caption { top: 35% !important; }
    .carousel-caption > h5 { font-size: 1.2rem !important; }
    .carousel-caption > p { font-size: 1rem !important; }
}
@media (max-width: 576px) {
    .carousel-inner img { height: 50vh; }
    .carousel-caption { top: 35% !important; padding: 10px !important; }
    .carousel-caption > h5 { font-size: 1rem !important; }
    .carousel-caption > p { font-size: 0.95rem !important; }
}
@media (max-width: 400px) {
    .carousel-inner img { height: 40vh; }
    .carousel-caption { top: 35%; }
    .carousel-caption > h5 { font-size: 0.9rem !important; }
    .carousel-caption > p { font-size: 0.8rem !important; }
}
#reviewsCarousel .carousel-control-prev-icon,
#reviewsCarousel .carousel-control-next-icon {
    background-color: #2d71e0 !important;
    background-size: 70% 70% !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    opacity: 1 !important;
}
#reviewsCarousel .carousel-control-prev,
#reviewsCarousel .carousel-control-next {
    opacity: 1 !important;
}
@media (max-width: 1200px) {
    #reviewsCarousel .carousel-control-prev { left: -50px; }
    #reviewsCarousel .carousel-control-next { right: -50px; }
}
@media (max-width: 768px) {
    #reviewsCarousel .carousel-control-prev { left: -40px; }
    #reviewsCarousel .carousel-control-next { right: -40px; }
}



/* EQUIPA */
.folder-wrapper {
    position: relative;
}
.dropdown-cloud {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2d71e0;
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    display: none;
    z-index: 10;
    font-size: 14px;
}
.dropdown-cloud::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #2d71e0 transparent;
}
.folder-wrapper:hover .dropdown-cloud {
    display: block;
}
.dropdown-cloud ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.dropdown-cloud li {
    padding: 2px 0;
}


/* MAPA E HORARIO */
#form-message {
    font-weight: bold;
    padding: 10px;
}
#form-message:empty {
    display: none;
}
#horario .info-box {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
#horario .map-box {
    position: relative;
    width: 100%;
    height: 840px !important;
    padding-bottom: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
#horario .map-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}
#horario .section-heading {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
}
#horario .text-muted {
    font-size: 18px;
}
.clock-icon {
    color: #2d71e0 !important;
}
footer {
    color: white;
}


.container-mensalidades {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    gap: 30px;
    align-items: stretch;
    margin-top: 70px;
    padding: 0 20px;
}
.imagem-lateral {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.imagem-lateral img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.box-mensalidades {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.plano {
    background: #f9f9f9 !important;
    padding: 15px !important;
    margin: 15px 0 !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}
.plano-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 5px !important;
}
.plano-header span {
    font-size: 16px !important;
    font-weight: 500 !important;
}
.btn-comprar {
    background-color: #2d71e0 !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    transition: background 0.3s !important;
}
.btn-comprar:hover {
    background-color: #1a56b0 !important;
}
.saber-mais-toggle {
    display: block !important;
    margin-top: 6px !important;
    color: #2d71e0 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}
.saber-mais-conteudo {
    display: none !important;
    margin-top: 10px !important;
    padding: 10px !important;
    background-color: #eef5ff !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    transition: all 0.3s ease !important;
}
.plano.active .saber-mais-conteudo {
    display: block !important;
}
hr {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 20px 0;
}
@media (max-width: 1024px) {
    .container-mensalidades { flex-direction: column; }
    .imagem-lateral, .box-mensalidades { width: 100%; }
}