.caroussel {
    padding-top: 7rem;
}

.banners {
    width: 100%;
    max-width: 100%;
    height: 48rem;
}

.banner{
    display: block;
    position:relative;
    width: 100%;
    max-width: 100%;
    height: 48rem;
    overflow: hidden;
}

.banner.slick-slide {
    width: 100%;
    max-width: 100%;
    height: 48rem;
}

.banner-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-1 {
    background-image: url("/assets/images/Banner 1.jpg");
}

.banner-2 {
    background-image: url("/assets/images/Banner 2.jpeg");
}
.banner-3 {
    background-image: url("/assets/images/Banner 3.jpeg");
}
.banner-4 {
    background-image: url("/assets/images/Banner 4.jpeg");
}

.banner-video{
    width:100%;
    height:48rem;
}

.banner-video video{
    display: block;
    width:100%;
    height: 48rem;
    max-width: inherit;
    object-fit: cover;
}

.slick-prev,
.slick-next {
    position:absolute !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    width:3.5rem !important;
    height:3.5rem !important;
    border:2px solid var(--white) !important;
    border-radius:50% !important;;
    background:rgba(34,52,102,.75) !important;
    cursor:pointer !important;
    z-index:20 !important;
    transition:.3s ease !important;
    font-size:0 !important;
}

.slick-prev {
    left:2rem !important;
}

.slick-next {
    right:2rem !important;
}

.slick-prev:hover,
.slick-next:hover {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

.slick-prev::before,
.slick-next::before {
    content:"" !important;
    position:absolute !important;
    top:50% !important;
    left:50% !important;
    width:.8rem !important;
    height:.8rem !important;;
    border-top:3px solid #FFF !important;
    border-right:3px solid #FFF !important;
    opacity:1 !important;
    transform-origin:center !important;
}

.slick-prev::before {
    transform:translate(-35%, -50%) rotate(-135deg) !important;;
}

.slick-next::before {
    transform:translate(-65%, -50%) rotate(45deg) !important;;
}

.slick-prev:hover::before,
.slick-next:hover::before{
    border-color:var(--primary) !important;
}

.container-about-us {
    display: flex;
    gap: 10%;
}
.region {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 45%;
    gap: 2.5rem;
}
.region .logo {
    display: none;
    height: 8rem;
    width: 14rem;
}

.region .map span {
    padding: 0;
}

.region span {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--primary);
    padding-top: 1.25rem;
}
.region .btn-location {
    cursor: pointer;
    border-radius: 100%;
    border: 3px solid;
    background-color: var(--primary);
    color: var(--secondary);
    font-size: var(--font-size-md); 
}

.map {
    position: relative;
    display: inline-block;
}

.map img {
    display: block;
    width: 100%;
    height: auto;
}

.marker {
    position: absolute;
    transform: translate(-50%, -50%);
}
.marker-1 {
    left: 54%;
    top: 62%;
}

.marker-2 {
    left: 62%;
    top: 71%;
}

.marker-3 {
    left: 48%;
    top: 48%;
}

.marker-4 {
    left: 45%;
    top: 42%;
}

.marker-5 {
    left: 80%;
    top: 45%;
}

.marker-6 {
    left: 60%;
    top: 53%;
}


.about-us {
    width: 50%;
}
.about-us h1 {
    font-size: var(--font-size-7xl);
    color: var(--primary);
    margin-top: 0;
}
.about-us p {
    color: var(--gray-400);
    font-size: var(--font-size-xl);
    margin-bottom: 4rem;
    font-weight: 400;
    line-height: 2rem;
    text-align: justify;
}

.partnerships {
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
    min-width: 27.5rem;
    max-width: 27.5rem;
}
.partnerships h1 {
    color: var(--primary);
    font-weight: 600;
    line-height: 3.375rem;
    font-size: var(--font-size-7xl);
    margin: 0;
}
.partnerships span {
    color: var(--secondary);
}
.partnerships p {
    font-size: var(--font-size-xl);
    color: var(--gray-400);
}
.cards-modality {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
}
.card {
    min-width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 .9rem 2.2rem rgba(0,0,0,.16);
}
.card h3 {
    font-size: var(--font-size-md);
    color: var(--white);
    text-transform: uppercase;
    text-align: center;
}
.card p {
    font-size: var(--font-size-xs);
    text-align: center;
    color: var(--white);
}
.card img {
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto;
}
.title {
    font-size: var(--font-size-7xl);
    font-weight: 600;
    color: var(--white);
}
.title span {
    color: var(--secondary);
}

.banner-confinamento {
    scroll-margin-top: 9rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image:
        linear-gradient(rgba(34, 52, 102, 0.5), rgba(34, 52, 102, 0.5)),
        url("/assets/images/banner-confinamento.jpg");
    background-size: cover;
    background-position: center;
    height: 35rem;
}

.banner-confinamento .cards {
    display: flex;
    padding: 0 7.5rem;
    gap: 1.125rem;
    margin-bottom: 2rem;
}

.banner-confinamento .card h3 {
    color: var(--primary);
    text-align: center;
    min-height: 3.2rem;
}

.banner-confinamento .card p{
    color: var(--gray-400);
    text-align: center;
}

.container-structure{
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
}
.box-images{
    display: flex;
    gap: 1.125rem;
    max-width: 44rem;
}
.box-images img {
    width: 41rem;
    height: 100%;
    border-radius: 0.4rem;
}
.title-sections {
    font-size: var(--font-size-7xl);
    color: var(--secondary);
}
.title-sections span {
    color:var(--primary);
}
.info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.info p {
    font-size: var(--font-size-xs);
    color: var(--primary);
    padding-left: 2.5rem;
    margin: 0;
}
.information {
    display: flex;
    gap: 0.75rem;
}
.information img {
    width: 1.875rem;
}
.information h3 {
    font-size: var(--font-size-md);
    color: var(--primary);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.info-cards .card p { 
    padding: 0 0.75rem;
    text-align: left;
    color: var(--gray-400);
    font-size: var(--font-size-xs);
}
.info-cards .card h3 { 
    padding: 0 0.75rem;
    text-align: left;
    color: var(--primary);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.info-cards .card img{
    width: 100%;
    border-radius: 0.5rem 0.5rem 0 0;
    object-fit: cover;
    height: 14rem;
    margin: 0;
}
.certifications {
     display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 2rem;
}

.certifications .container-image {
    min-width: 9rem;
    max-width: 9rem;
}

.certifications .card img {
    width: 9rem;
    height: 7rem;
    object-fit: contain;
}

.certifications .probeef {
    height: 3rem !important;
}
.divisor {
    border: 1px solid var(--primary);
    height: 100%;
}
.description p { 
    padding: 0 0.75rem;
    text-align: left;
    color: var(--gray-400);
    font-size: var(--font-size-xs);
}
.description h3 { 
    padding: 0 0.75rem;
    text-align: left;
    color: var(--primary);
    font-weight: 600;
    font-size: var(--font-size-sm);
}
.text {
    display: flex;
    justify-content: space-between;
    padding-bottom: 2.5rem;
}
.title-subtitle p {
    color: var(--primary-darker);
    font-size: var(--font-size-lg);
    margin-top: 0;
}
.link-news {
    display: flex;
    align-items: end;
    text-decoration: none;
    color: var(--primary);
    font-size: var(--font-size-sm);
    
}
.link-news:hover {
    color: var(--secondary);
    text-decoration: underline;
}
.news {
    display: flex;
    flex-direction: row;
    gap: 1.375rem;
}
.news a {
    text-decoration: none;
}
.director {
    cursor: pointer;
    /* width: 34.75rem; */
    /* width: 100%; */
    height: fit-content;
    background-color: var(--light-alt);
    border-radius: 0.4rem;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.director:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18);
}
.destaque {
    border-radius: 0.4rem 0.4rem 0 0;
    width: 100%;
}
.info-new {
    padding: 1.25rem;
}
.info-new span {
    background-color: var(--secondary-dark);
    border-radius: 0.4rem;
    padding: 0.4rem;
    color: var(--white);
    font-size: var(--font-size-xs);
}
.info-new h3 {
    font-weight: 700;
    color: var(--primary-darker);
    font-size: var(--font-size-xl);
}
.info-new p {
    font-size: var(--font-size-sm);
    font-weight: 500;
    font-style: italic;
    color: var(--gray-400);
}
.other-news {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.other-news .card {
    cursor: pointer;
}
.other-news .card img {
    width: 16.375rem;
    height: 100%;
    margin: 0;
    border-radius: 0.4rem 0 0 0.4rem;
    object-fit: cover;
}
.other-news .infos {
    padding: 1.25rem;
}
.infos span {
    background-color: var(--secondary-dark);
    border-radius: 0.4rem;
    padding: 0.4rem;
    color: var(--white);
    font-size: var(--font-size-xs);
}
.infos h3 {
    text-align: left;
    font-weight: 700;
    color: var(--primary-darker);
    font-size: var(--font-size-xl);
    text-transform: none !important;
}
.infos p {
    text-align: left;
    font-size: var(--font-size-sm);
    font-weight: 500;
    font-style: italic;
    color: var(--gray-400);
    margin-bottom: 0;
}
.contact {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}
.form {
    background-color:var(--light);
    border-radius: 0.4rem;
    padding: 1.75rem;
    width: 100%;
    max-width: 60%;
}
.form form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.form form .btn-primary{
    max-width: 13rem;
    border-radius: 0.25rem;
    font-size: var(--font-size-xs);
}
.form input,
.form textarea {
    width: calc(100% - 1.75rem);
    padding: 0.625rem;
    border: 1px solid var(--gray-100);
    border-radius: 4px;
    font-size: var(--font-size-md);
    font-family: inherit;
    outline: none;
}
.form textarea {
    resize: none;
    min-height: 6.875rem;
}
.form select {
    width: calc(100% - 0.375rem);
    padding: 0.625rem;
    border: 1px solid var(--gray-100);
    border-radius: 4px;
    font-size: var(--font-size-md);
    font-family: inherit;
    outline: none;
}

select:invalid {
    color: var(--gray-400);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    border-color: var(--secondary);
}
.textarea-group {
    position: relative;
}

#char-counter {
    position: absolute;
    right: 1rem;
    bottom: .75rem;
    font-size: var(--font-size-sm);
    color: var(--gray-400);
    pointer-events: none;
}

#current {
    color: var(--primary);
    font-weight: 600;
}

#max {
    color: var(--secondary);
    font-weight: 600;
}
.sac {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: fit-content;
    width: 35%;
    background-color:var(--primary);
    padding: 1.75rem;
    border-radius: 0.4rem;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sac:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18);
}

.sac h3{
    color: var(--secondary);
    font-size: var(--font-size-2xl);
    font-weight: 700;
}
.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.contact-list i {
    color: var(--white);
    font-size: var(--font-size-xl);
}

.contact-list a {
    color: var(--white);
    text-decoration: none;
    transition: opacity .2s ease;
    
}

.contact-list a:hover {
    opacity: .8;
    color: var(--secondary);
    text-decoration: underline;
}




@media (max-width: 1024px) {

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

    .caroussel {
        height: auto;
        padding-top: 5rem;
    }

     .banner-image {
        height: 45rem;
        z-index: 30;
        background-size: cover;
        background-position: 7% center;
        background-repeat: no-repeat;
    }

    .banner-1 {
        background-image: url("/assets/images/Banner 1.jpg");
        background-position: center;
    }

    .banner-video video {
        height: 48rem;
        object-fit: cover;
    }

    .about-us h1,
    .partnerships h1,
    .title-sections{
        font-size: var(--font-size-5xl);
    }

    .title {
        text-align: center;
        font-size: var(--font-size-5xl);
    }

    .banner.slick-slide {
        height: 48rem;
    }

    .btn-primary{
        width: 100%;
        font-size: var(--font-size-md);
    }

    .desktop-break {
        display: none;
    }

    /* ==========================
       FLEXS
    ========================== */

    .container-about-us,
    .container-structure,
    .contact,
    .news,
    .text,
    .info-cards{
        flex-direction:column !important;
        gap: 2rem !important;
    }

    /* ==========================
       WIDTHS
    ========================== */

    .region,
    .about-us,
    .partnerships,
    .form,
    .sac,
    .director,
    .box-images,
    .certifications,
    .cards-modality{
        width:100%;
        max-width:100%;
        min-width: inherit;
    }

    .region {
        margin-top: 3rem;
    }

    .region span {
        font-size: var(--font-size-xs);
    }

    .partnerships {
        gap: 2rem;
    }

    
    /* ==========================
    IMAGENS
    ========================== */

    .region .logo{
        width:12rem;
        height: 7rem;
        margin-bottom: 2rem;
        margin: auto;
        display: none;
    }
    
    .box-images{
        flex-direction:column;
    }

    .box-images img{
        width:100%;
    }

    .box-images .two {
        display: none;
    }

    .card {
        min-width: inherit;
    }

    .other-news .card img{
        width:100%;
        border-radius: 0.4rem 0.4rem 0 0;
    }

    .info-cards .card img{
        width:100%;
        height:auto;
    }

    .information img {
        margin: 0;
    }

    /* ==========================
       GRIDS
    ========================== */

    .cards-modality,
    .certifications{
        grid-template-columns:1fr;
    }

    .divisor {
        display: none;
    }

    /* ==========================
       NEWS
    ========================== */

    .director{
        width:100%;
    }

    .other-news{
        width:100%;
    }

    .other-news .card {
        margin-bottom: 1.5rem;
    }

    .destaque {
        width: 100%;
    }

    /* ==========================
       MAPA
    ========================== */

    .map{
        width:100%;
    }

    .map img {
        max-height: 50rem;
    }

    /* ==========================
       CONFINAMENTO & FORM
    ========================== */

    .banner-confinamento{
        max-width: 100%;
        height: auto;
        padding-bottom: 3rem;
    }

    .banner-confinamento .cards {
        max-width: 90%;
    }

    .banner-confinamento .cards.slick-initialized{
    display: flex;
    padding: 0;
}

    .form input, 
    .form textarea,
    .form select,
    .form .btn-primary {
        width: 100%;
        max-width: inherit !important;
    }

      /* ==========================
         sLICK
    ========================== */

    .slick-slide{
        margin:0 0.5rem;
        min-height: 15.313rem !important;
    }
    .banner.slick-slide {
        margin: 0;
    }

    .slick-list{
        margin:0 -0.5rem;
    }

    .slick-track{
        display: block;
    }

    .slick-slide > div{
        height:100%;
    }

}

@media (min-width: 768px) and (max-width: 1024px) {

    .banner-confinamento .cards {
        display: flex;
        flex-direction: column;
    }

    .other-news a {
        margin-bottom: 2rem;
    }

}

@media (min-width: 1024px) and (max-width: 1280px)  {

    .caroussel {
        padding-top: 6rem;
    }

    .about-us p {
        font-size: var(--font-size-sm);
    }

    .region span {
        font-size: var(--font-size-sm);
    }

    .container-structure {
        width: 100%;
        flex-direction: column;
    }

    .box-images {
        max-width: inherit;
    }

    .box-images img {
        width: 100%;
    }

    #partnerships {
        flex-direction: column !important;
    }

    .partnerships {
        width: 100%;
        max-width: 100%;
        gap: 2rem;
    }

    .banner-confinamento .cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 2rem;

    }
    .banner-confinamento {
        height: auto;
    }

     .card {
        min-width: inherit !important;
    }

    .certifications,
    .cards-modality {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .news {
        align-items: center;
        flex-direction: column !important;
    }

    .title-subtitle p {
        margin: 0;
    }

    .director {
        height: fit-content;
    }

    .other-news .card {
        flex-direction: column !important;
        align-items: flex-start;
    }

    .other-news .card img {
        width: 100%;
        border-radius: 0.4rem 0.4rem 0 0;
    }

    .destaque {
        width: 100%;
    }

}
