@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Regular.ttf");
}

@font-face {
    font-family: "Gilroy-Bold";
    src: url("../fonts/Gilroy-Bold.ttf");
}

@font-face {
    font-family: "Gilroy-Light";
    src: url("../fonts/Gilroy-Light.ttf");
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Gilroy", sans-serif;
}

*,
:after,
:before {
    box-sizing: border-box;
    border: 0 solid #e2e8f0;
}

a {
    color: inherit;
    text-decoration: inherit;
    font-family: "Gilroy", sans-serif;
}

svg,
video {
    display: block;
    vertical-align: middle;
}

video {
    max-width: 100%;
    height: auto;
}

p {
    font-family: "Gilroy", sans-serif;
}

h1,
h2,
h3,
h4,
b {
    font-family: "Gilroy-Bold", sans-serif;
}

/* ESTILOS ÚTEIS */
.bg-white {
    background-color: #ffffff;
}

.bg-gray {
    background-color: #f2f2f2;
}

/* TIPOGRAFIA */
.title-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    text-align: center;

    font-family: "Gilroy-Bold", sans-serif;
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;

    background: linear-gradient(135deg, #39743c 0%, #28552e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-section::before {
    background: url("../img/icons/main-title-before.svg");
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    display: inline-block;
    width: 2.75rem;
    height: 2.25rem;
    margin-right: 0.75rem;
}

.title-section.title-white {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.title-white.title-section::before {
    background: url("../img/icons/main-title-white-before.svg");
}

.section-noticias-interna .title-section {
    margin-top: 2em;
    color: #39743c;
    -webkit-text-fill-color: #39743c;
}
.section-noticias-interna .title-white.title-section::before {
    background: url("../img/icons/main-title-before.svg");
}

.title-tertiary {
    font-family: "Gilroy-Bold";
    font-size: 1.625rem;
    font-weight: 400;

    background: linear-gradient(135deg, #39743c 0%, #28552e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-quartenary {
    font-family: "Gilroy-Bold";
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.675rem;

    background: linear-gradient(135deg, #39743c 0%, #28552e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.paragraph {
    color: #596166;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.625rem;
}

.small-light-text {
    color: #596166;
    font-size: 0.75rem;
    font-weight: 400;
}

/* COMPONENTES GERAIS */
.btn-green {
    background: linear-gradient(135deg, #39743c 0%, #28552e 100%);
}

.btn-yellow {
    background: linear-gradient(135deg, #ffbc0d 0%, #da952f 100%);
}

.btn-rounded {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 2rem;

    color: #fff;
    font-family: "Gilroy-Bold";
    font-size: 1rem;
    text-decoration: none;
}

.btn-rounded:hover {
    transform: scale(1.02);
}

.btn-square {
    display: table;
    margin: 12px auto;
    padding: 12px 44px;
    border-radius: 2px;
    color: #fff;
    font-family: "Gilroy-Bold", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
}

.btn-square:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.2);
}

.btn-square:active {
    transform: translateY(-1px);
    box-shadow: 0 0.3rem 0.625rem rgba(0, 0, 0, 0.2);
}

.btn-small-square {
    font-family: "Gilroy-Bold", sans-serif;
    font-size: 0.875rem;
    font-weight: 400;

    width: fit-content;
    display: inline-block;
    padding: 4px 8px;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-small-square:hover {
    background-clip: initial;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: #fff;

    box-shadow: 0 0.675rem 1.25rem rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-small-square:active {
    box-shadow: 0 0.675rem 0.675rem rgba(0, 0, 0, 0.15);
    transform: translateY(0px);
}

.section-inner {
    padding: 48px 0;
    background: #f2f2f2;
}

.inner-card {
    border-radius: 0.5rem;
    padding: 48px;
    background: #fff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.pagination {
    align-items: center;
}

.page-link.green-color {
    color: #28552e;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.active > .page-link.green-color {
    background: linear-gradient(135deg, #39743c 0%, #28552e 100%);
    border-color: #28552e;
    color: #fff;
}

.page-item.disabled .page-link.green-color {
    background: transparent;
    color: #596166;
}

.page-item:first-child .page-link.green-color,
.page-item:last-child .page-link.green-color {
    font-size: 2rem;
}

.custom-tabs.nav {
    align-items: flex-start;
}

.custom-tabs__btn.nav-link {
    font-family: "Gilroy-Bold";
    font-size: 1.25rem;
    line-height: 2rem;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    display: table;

    background: linear-gradient(135deg, #39743c 0%, #28552e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.custom-tabs__btn.nav-link.active {
    border-bottom: 1px solid #da952f;
}

.custom-tabs__btn.nav-link::before {
    background: url("../img/icons/yellow-cross-icon.svg");
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    margin-right: 0.75rem;
}

/* OWL SYTLES */

.owl-theme .owl-dots .owl-dot span {
    height: 0.75rem;
    width: 0.75rem;
    background: transparent;
}
.owl-theme .owl-dots .owl-dot:hover span {
    background: transparent;
}

.owl-theme .owl-dots .owl-dot.active span {
    width: 1.5rem;
}

.owl-white-dots.owl-theme .owl-dots .owl-dot span {
    border: 2px solid #fff;
}

.owl-white-dots.owl-theme .owl-dots .owl-dot.active span {
    background: #fff;
}

.owl-yellow-dots.owl-theme .owl-dots .owl-dot span {
    border: 2px solid #da952f;
}

.owl-yellow-dots.owl-theme .owl-dots .owl-dot.active span {
    background: linear-gradient(135deg, #ffbc0d 0%, #da952f 100%);
}

.owl-theme .owl-nav [class*="owl-"]:hover {
    background: none;
    transform: scale(1.1);
}

.owl-yellow-dots.owl-theme .owl-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(calc((50% + 30px) * -1));
    margin: 0;
}

.owl-yellow-dots.owl-theme .owl-nav .owl-next {
    position: absolute;
    right: -52px;
}

.owl-yellow-dots.owl-theme .owl-nav .owl-prev {
    position: absolute;
    left: -52px;
}

.owl-entidades .owl-item img {
    width: 80%;
}

/* HEADER */

.menuMobile.offcanvas.offcanvas-start {
    width: auto;
    height: fit-content;
    padding: 48px;
    border-radius: 0 0 50px 0;
}

.navbar > .container-header.container-fluid {
    justify-content: center;
}

.toggler-header-mobile.navbar-toggler {
    position: absolute;
    top: 44px;
    left: 30px;
    border: none;
}

.toggler-header-mobile.navbar-toggler:focus {
    box-shadow: none;
}

.logo-header.navbar-brand img {
    height: 8rem;
}

.close-menu-btn {
    position: absolute;
    top: 48px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.25rem;
    width: 3.25rem;
    aspect-ratio: 1/1;

    background: linear-gradient(135deg, #39743c 0%, #28552e 100%);
    border-radius: 100%;
    transform: translateX(50%);

    color: #fff;
    font-family: "Gilroy-Bold", sans-serif;
    font-size: 2rem;
    line-height: 1;
}

.header-link .dropdown-menu {
    background: linear-gradient(135deg, #ffbc0d 0%, #da952f 100%);
    border-radius: 0rem 0rem 1rem 1rem;
    border: none;
}

.header-link .dropdown-menu .dropdown-item {
    color: #ffffff;
    -webkit-text-fill-color: initial;
}

.header-link .dropdown-menu .dropdown-item:hover {
    background: linear-gradient(135deg, #39743c 0%, #28552e 100%);

}

.header-link {
    color: #596166;
    font-size: 1rem;

    border-bottom: 2px solid transparent;
}

.header-link .nav-link {
    padding: 2px;
    border-bottom: 2px solid transparent;
}

.header-link .nav-link.show {
    font-family: "Gilroy-Bold", sans-serif;
    background: linear-gradient(135deg, #39743c 0%, #28552e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-link.active {
    border-bottom: 2px solid #da952f;
}

.nav-link.social-btn:hover {
    transform: scale(1.1);
}

/* FOOTER */
.footer {
    background: linear-gradient(135deg, #39743c 0%, #28552e 100%);
    padding: 8px 0;
}

.contact-infos {
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 0;
}

.contact-infos__item {
    display: flex;
    align-items: center;
}

.contact-infos__icon {
    margin-right: 8px;
}

.contact-infos__link {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 400;
}

.footer-socials {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
}

.footer-socials__item {
    margin-right: 8px;
}

/* CONTATO E LOCALIZAÇÃO */
.section-contato-localizacao {
    padding: 40px 0;
    position: relative;
}

.form-label {
    font-family: "Gilroy-Bold";
    font-size: 1.125rem;

    background: var(
        --linear,
        linear-gradient(135deg, #39743c 0%, #28552e 100%)
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-label.required::after {
    content: "*";

    background: linear-gradient(135deg, #ffbc0d 0%, #da952f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-control {
    background: linear-gradient(white, white) padding-box,
        linear-gradient(135deg, #ffbc0d 0%, #da952f 100%) border-box;
    border-radius: 1rem;
    border: 0.625px solid transparent;
    padding: 0.75rem;
}

.form-control:focus {
    border-color: #da952f;
    box-shadow: 0 0 0 0.25rem rgba(218, 149, 47, 0.5);
}

.map-wrapper {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 50%;

    display: flex;
    align-items: center;
    justify-content: end;
    height: calc(100% - 200px);
}

.map-iframe {
    width: calc(100% - 25px);
    height: 100%;
}

/* HOME */
.section-institucional {
    padding: 60px 0 80px;
}

.section-noticias {
    padding: 80px 0;
    background: url("../img/home/noticias-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.section-galerias {
    padding: 80px 0;
}

.section-galerias .title-section {
    margin-bottom: 36px;
}

.section-giro-estados {
    padding: 80px 0;
    background: url("../img/home/giro-pelos-estados-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.section-entidades-associadas {
    padding: 80px 0;
}

.section-eventos {
    padding: 80px 0;
    background: url("../img/home/eventos-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.section-eventos .title-white.title-section::before {
    background: url("../img/icons/main-title-before.svg");
}

/* NOTÍCIAS */
.section-inner-post-list {
    padding: 48px 0;
    background: #f2f2f2;
}

.post-list__item {
    padding: 20px 0;
    margin-bottom: 12px;
}

.post-list__item:not(:last-child) {
    border-bottom: 1px solid #d3d3d3;
}

.post-list__item .title-tertiary:hover {
    text-decoration: underline;
    text-decoration-color: #28552e;
}

.post-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    background: linear-gradient(135deg, #ffbc0d 0%, #da952f 100%);

    display: inline-block;

    color: #fff;
    font-family: "Gilroy-Bold";
    font-size: 0.875rem;
    font-weight: 400;
}

.post-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 42.5rem;
    background-color: #fff;
    padding: 40px 24px;
    border-radius: 0.375rem;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.post-card__img-wrapper {
    height: 14rem;
}

.post-card__img {
    object-fit: contain;
}

.post-card__tag {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.25rem 0.75rem;

    border-radius: 0.375rem 0rem;
    background: linear-gradient(135deg, #39743c 0%, #28552e 100%);

    color: #fff;
    font-family: "Gilroy-Bold";
    font-size: 0.875rem;
    font-weight: 400;
}

/* GALERIA DE IMAGENS */
.gallery-frame {
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.gallery-frame__img {
    border-radius: 5px;
    position: relative;
    width: 100%;
    height: 22rem;
    object-fit: cover;

    transform: scale(1);
    transition: transform ease-out 0.3s;
}

.gallery-frame:hover .gallery-frame__img {
    transform: scale(1.05);
    transition: transform ease-out 0.3s;
}

.gallery-frame:hover .gallery-frame__subtitle {
    background: rgba(0, 0, 0, 0.5);
}

.gallery-frame__subtitle {
    width: 88%;
    padding: 12px;
    border-radius: 5px;
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);

    color: #fff;
    font-family: "Gilroy-Bold", sans-serif;
    font-size: 1.25rem;
    line-height: 1.3;
}

.owl-home-photos-gallery.owl-theme.owl-carousel .owl-dots {
    margin-top: 24px;
}

.inner-gallery__img {
    border-radius: 5px;
    transform: scale(1);
    transition: all 0.2s ease;
}

.inner-gallery__img:hover {
    transform: scale(1.08);
    transition: all 0.2s ease;
}

/* VÍDEOS */
.gallery-frame__video {
    border-radius: 5px;
    position: relative;
    width: 100%;
    height: 22rem;
    object-fit: cover;
}

.btn-play-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);

    background: rgba(0, 0, 0, 0.5);
    padding: 12px;
    border-radius: 50%;
}

.btn-play-video:hover img {
    transform: scale(1.05);
    transition: transform ease-out 0.3s;
}

.video-frame__subtitle {
    margin: 24px auto 0;
}

.inner-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.inner-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ENTIDADES  */
.estate-card {
    height: 100%;
    border-radius: 0.5rem;
    padding: 24px;
    background: #fff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.estate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 0px 30px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.estate-card__img-wrapper {
    height: 10rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-entidades .owl-stage-outer {
    border-radius: 3rem;
    border: 1px solid #bdbdbd;
    position: relative;
}

.owl-entidades .owl-stage-outer .owl-stage {
    display: flex;
    align-items: center;
}

/* EVENTOS */
.event-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background-color: #fff;
    padding: 2.5rem 3rem;
    border-radius: 0.375rem;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.event-card__date {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(-50%) translateY(-40%);

    height: 6rem;
    width: 6rem;
    background: linear-gradient(135deg, #ffbc0d 0%, #da952f 100%);
    border-radius: 50%;

    text-align: center;
    color: #fff;
    font-family: "Gilroy-Bold";
    line-height: normal;
}

.event-card__day {
    font-size: 2.5rem;
}

.event-card__month {
    font-size: 2rem;
    line-height: 100%;
}

/* ARQUIVOS */
.file-card {
    height: 100%;
    border-radius: 0.5rem;
    padding: 24px;
    background: #fff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    /* TIPOGRAFIA */
    .title-section {
        font-size: 1.5rem;
    }

    .title-tertiary {
        font-size: 1.375rem;
    }

    .title-quartenary {
        font-size: 1.125rem;
    }

    /* ESTILOS GERAIS */
    .btn-square,
    .btn-rounded {
        font-size: 0.875rem;
    }

    .btn-square {
        padding: 10px 32px;
    }

    .inner-card {
        padding: 24px 12px;
    }

    .pagination {
        width: 100%;
        justify-content: center;
    }

    .page-item:first-child .page-link.green-color,
    .page-item:last-child .page-link.green-color {
        font-size: 1rem;
    }

    /* OWL */
    .owl-yellow-dots.owl-theme .owl-nav {
        transform: translateY(calc((50% + 40px) * -1));
    }

    .owl-yellow-dots.owl-theme .owl-nav .owl-next {
        right: -20px;
    }

    .owl-yellow-dots.owl-theme .owl-nav .owl-prev {
        left: -20px;
    }

    .owl-yellow-dots.owl-theme .owl-nav .owl-next img,
    .owl-yellow-dots.owl-theme .owl-nav .owl-prev img {
        width: 40px;
        height: 40px;
    }

    /* HEADER */
    .toggler-header-mobile.navbar-toggler {
        left: 1rem;
    }

    .logo-header.navbar-brand img {
        height: 6rem;
    }

    .header-link {
        font-family: "Gilroy-Bold", sans-serif;
        font-size: 1.25rem;

        display: inline-block;
        background: linear-gradient(135deg, #39743c 0%, #28552e 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* FOOTER */
    .footer {
        padding: 40px 20px;
    }

    .contact-infos {
        flex-direction: column;
    }

    .contact-infos__item {
        flex-direction: column;
        text-align: center;
        margin: 20px auto;
        margin-top: 0;
    }

    .contact-infos__icon {
        margin-right: 0;
        margin-bottom: 16px;
        height: 32px;
        width: 32px;
    }

    .footer-socials {
        margin: 8px auto 40px;
        padding: 0;
    }

    /* HOME */
    .section-institucional {
        padding: 40px 15px 60px;
    }

    .section-noticias {
        padding: 60px 15px;
    }

    .section-galerias {
        padding: 60px 0;
    }

    .section-galerias .title-section {
        margin-bottom: 28px;
    }

    .section-galerias .gallery-frame {
        border-radius: 0;
    }

    .section-galerias .gallery-frame__img,
    .section-galerias .gallery-frame__video {
        height: 16rem;
    }

    .owl-home-photos-gallery.owl-theme.owl-carousel .owl-dots {
        margin-top: 12px;
    }

    .section-giro-estados {
        padding: 60px 15px;
    }

    .section-entidades-associadas {
        padding: 60px 0;
    }

    .section-eventos {
        padding: 60px 0;
    }

    /* NOTÍCIAS */
    .post-list__item {
        padding: 12px 16px;
    }
}

@media (max-width: 767px) {
    /* CONTATO E LOCALIZAÇÃO */
    .section-contato-localizacao {
        padding: 40px 15px 22rem;
    }

    .map-wrapper {
        right: auto;
        top: auto;
        left: 0;
        bottom: 0;

        width: 100%;
        height: 22rem;
        transform: translateY(0);
    }

    .map-iframe {
        width: 100%;
    }

    /* HOME */

    .section-galerias .gallery-frame__img,
    .section-galerias .gallery-frame__video {
        border-radius: 0;
        height: auto;
        object-fit: initial;
    }
}
