:root {
    /* fonts */
    --font-family: "Fira Sans", sans-serif;
    --font-title: "Fira Sans Condensed", sans-serif;
    --font-weight-400: 400;
    --font-weight-500: 500;
    --font-weight-700: 700;
    --font-weight-900: 900;

    /* colors */
    --bg-default: #f0ebe1;
    --double-bg: #e1d8c6;
    --vermelho: #f37053;
    --vermelho-assist: #e44e69;
    --laranja: #faa61a;
    --vermeranja: #f26664;
    --vermelho-active: #e4564a;
    --amarelo: #ffcb04;
    --azul-escuro: #5394a6;
    --azul-claro: #88baba;
    --cinza: #f0ebe1;
    --branco: #ffffff;
    --preto: #1d1d1d;
    --footer: #3e4f6b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 120px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: clamp(1rem, 0.5313rem + 1.5vw, 1.375rem);
}

main {
    padding-top: 92px;
    margin-bottom: 0px;
    background-color: var(--bg-default);
}

footer {
    background: var(--footer);
    color: white;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

a {
    color: var(--preto);
    font-style: italic;
}

a.img-gallery {
    cursor: pointer;
}

a.btn {
    font-style: normal;
}

/* Megamenu */

.menu {
    position: relative;
    z-index: 999;
}

.collapse:not(.show) {
    display: flex;
    width: 100%;
}

.navbar {
    margin: 0;
    padding: 0;
}

.menu {
    position: relative;
    z-index: 999;
}

.fixed-top {
    background: white;
    box-shadow: 0px 0px 6px 3px rgba(0, 0, 0, 0.5)
}

.navbar-toggler-icon {
    width: 1.35em;
    height: 1.35em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2862, 79, 107, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.collapse:not(.show) {
    display: flex;
}

.navbar-collapse {
    flex-basis: auto;
    flex-grow: 1;
    align-items: center;
}

.navbar .megamenu {
    padding: 1rem;
    border: none;
    border-radius: unset;
    background: rgba(255, 255, 255, 0.90);
    text-align: right;
}

.navbar .megamenu a {
    color: #303030;
    text-decoration: none;
    font-style: normal;
}

.nav-link.dropdown-toggle {
    display: flex;
    align-items: center;
}

.dropdown-toggle em {
    font-size: 1.5rem;
    font-weight: var(--font-weight-700);
    font-style: normal;
    margin-left: .5rem;
    color: var(--footer);
}

.dropdown-toggle::after {
    display: none;
}

/* menu fonts size */
.coluna {
    text-align: right;
}

.megamenu h2 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1.75rem;
    border-bottom: 3px transparent solid;
    width: min-content;
    float: right;
}

.navbar .megamenu h2:hover,
.navbar .megamenu h2.active {
    border-bottom: 3px var(--vermeranja) solid;
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {

    .navbar .has-megamenu {
        position: static !important;
    }

    .navbar .megamenu {
        right: 0;
        left: auto;
        width: 20%;
        margin-top: 0;
    }

}

/* ============ desktop view .end// ============ */

/* ============ mobile view ============ */
@media(max-width: 991px) {

    .navbar.fixed-top .navbar-collapse,
    .navbar.sticky-top .navbar-collapse {
        overflow-y: auto;
        max-height: 90vh;
        margin-top: 10px;
    }

    .nav-link {
        display: none;
    }

    .navbar-toggler {
        border: 0;
    }

    .coluna {
        background: none;
    }

    .navbar-toggler-icon {
        width: 1.5em;
        height: 1.5em;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2862, 79, 107, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

}

/* Home */
/* Carousel */
.hero-home,
.hero-home-mobile {
    background-color: var(--footer);
    background-image: url(../img/textura.png);
    background-size: contain;
}

.hero-home .titulo {
    position: absolute;
    bottom: 1rem;
}

.hero-home .titulo-2 {
    position: absolute;
    top: 40%;
    transform: translate(0, -40%);
    color: var(--cinza);
}

.hero-home .titulo h1 {
    font-size: 4rem;
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0;
    letter-spacing: 2px;
    color: var(--vermelho);
}

.hero-home-mobile .titulo h1 {
    font-size: 3rem;
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0;
    letter-spacing: 2px;
    color: var(--vermelho);
    padding: 2rem 0 0 1.75rem;
}

.hero-home .titulo span {
    display: block;
    font-size: 11rem;
    color: var(--cinza);
    font-family: var(--font-title);
    font-weight: 900;
    margin-bottom: 0;
    line-height: 1;
    letter-spacing: 10px;
}

.hero-home-mobile .titulo span {
    display: block;
    font-size: 8rem;
    color: var(--cinza);
    font-family: var(--font-title);
    font-weight: 900;
    margin-bottom: 0;
    line-height: 1;
    letter-spacing: 10px;
}

.hero-home .titulo img {
    margin-left: -24px;
    margin-top: -10px;
}

.hero-home .titulo-2 h2 {
    font-size: 8rem;
    font-family: var(--font-title);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0;
    letter-spacing: 2px;
}

.hero-home .titulo-2 em {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 0;
    letter-spacing: 2px;
}

.hero-home .titulo-2 span {
    display: block;
    font-size: 2rem;
    color: var(--cinza);
    font-family: var(--font-title);
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1;
}


.carousel-indicators [data-bs-target] {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

/* diretorio */
.diretorio {
    background-color: var(--footer);
    background-image: url(../img/textura.png);
    background-size: contain;
}

.diretorio .diretorio-item {
    transition-property: all;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    -webkit-transition-property: all;
    -webkit-transition-duration: 0.3s;
    -webkit-transition-timing-function: ease;
}

.diretorio .diretorio-item:hover {
    transform: scale(1.25);
}

.diretorio a {
    font-family: var(--font-title);
    color: var(--branco);
    font-weight: 500;
    font-size: 1.5rem;
    text-decoration: none;
    line-height: 1;
    font-style: normal;
}

/* Destaque Home*/

.destaques {
    background-color: var(--vermelho);
    color: var(--bg-default);
    background-image: url(../img/seta-azul.png);
    background-position: top left;
    background-repeat: no-repeat;
}

.destaques h2 {
    font-family: var(--font-title);
    font-weight: var(--font-weight-700);
    font-size: 3rem;
    line-height: 1;
}

.destaques h3 {
    font-family: var(--font-title);
    font-weight: var(--font-weight-700);
    font-size: 5rem;
    line-height: 4rem;
    margin-bottom: 1rem;
}

.destaques strong {
    font-family: var(--font-title);
    font-weight: var(--font-weight-700);
    font-size: 1.5rem;
    line-height: 1rem;
}

/* A Fundação */

.fundacao h2 {
    font-weight: var(--font-weight-700);
    font-size: 3rem;
    line-height: 1;
    color: var(--vermelho-active);
    margin-bottom: 2rem;
}

.fundacao h3 {
    font-family: var(--font-title);
    font-weight: var(--font-weight-700);
    color: var(--vermelho);
    font-size: 2rem;
    line-height: 2.5rem;
}

.fundacao p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.fundacao .btn {
    padding: .65rem 1.5rem;
    margin: 0 1rem;
    border-radius: 1.5rem;
    background-color: var(--vermelho);
    color: var(--bg-default);
    text-transform: uppercase;
    font-weight: var(--font-weight-700);
}

.fundacao .btn:hover {
    background-color: var(--footer);
}

.fundacao table {
    width: 100%;
    font-size: 1.25rem;
}

.fundacao th {
    background-color: var(--vermelho);
    color: var(--branco);
    font-weight: 700;
    padding: 5px 10px;
    text-align: right;
    border-right: 2px #fff solid;
}

.fundacao th:last-child,
.fundacao td:last-child {
    border-right: 0;
}

.fundacao td {
    padding: 5px 10px;
    text-align: right;
    border-right: 1px solid #1e1e1e;
    border-bottom: 1px solid #1e1e1e;
}

.fundacao .um {
    text-align: left;
}

.fundacao td.um {
    background-color: var(--double-bg);
}

.fundacao .dois {
    background-color: #d3c7af;
}

.fundacao .total {
    font-weight: 700;
    text-transform: uppercase;
}

/* Dimensão*/

.dimensao-home {
    background-color: var(--footer);
    color: var(--bg-default);
    background-image: url(../img/seta-laranja.png);
    background-position: top left;
    background-repeat: no-repeat;
}

.dimensao-home h2 {
    font-family: var(--font-title);
    font-weight: var(--font-weight-700);
    font-size: 3rem;
    line-height: 4rem;
}

.dimensao-home h3 {
    font-family: var(--font-title);
    font-weight: var(--font-weight-700);
    font-size: 5rem;
    line-height: 4rem;
    margin-bottom: 1rem;
}

.dimensao-home h4 {
    font-family: var(--font-title);
    font-weight: var(--font-weight-700);
    font-size: 3rem;
    line-height: 4rem;
    margin-bottom: 0rem;
}

.dimensao-home span {
    font-weight: var(--font-weight-700);
}

.dimensao-home strong {
    font-family: var(--font-title);
    font-weight: var(--font-weight-700);
    text-transform: uppercase;
    font-size: 1.5rem;
    line-height: 1rem;
}

.header-carta {
    background-image: url(../img/header-carta.svg);
    background-repeat: no-repeat;
}

.header-carta h1 {
    color: var(--bg-default);
    font-size: 4rem;
    font-family: var(--font-title);
    font-weight: 700;
    margin: 3.25rem 0;
}

/* tools */

.align-right {
    float: right;
}

.w-100 {
    width: 100% !important;
    max-width: 100%;
    object-fit: contain;
}

cite {
    display: inline-block;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: .25rem .75rem;
    border-radius: 1rem;
    background-color: var(--branco);

}

hr {
    border: 1px var(--branco) solid;
    opacity: .5;
}

.small,
small {
    font-size: 1rem;
    display: block;
}

p.caption,
.caption p {
    font-size: 1rem;
    margin-top: .5rem;
    margin-bottom: 0;
    padding-left: 0;
}

.vermelho {
    color: var(--vermelho);
}

.preto {
    color: var(--preto) !important;
}

.bg-preto {
    border-color: var(--preto);
}

.w-200 {
    max-width: 200px;
}

/* ============ mobile view .end// ============ */
/* Acessibilidade */
.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

a.skip-to-content-link {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

a.skip-to-content-link:active,
a.skip-to-content-link:focus {
    background: #eee;
    padding: 1.15rem 2rem;
    border: 2px solid #4848b8;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    left: 0px;
    top: 0px;
    width: auto;
    height: auto;
    overflow: auto;
    z-index: 10000;
}

a.skip-to-content-link:hover {
    background-color: #fff
}

.mobile {
    display: none;
}

@media(max-width: 991px) {

    main {
        padding-top: 100px;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .header-carta h1 {
        font-size: 3rem;
        padding-left: 3rem;
        margin: 2rem 3rem 2rem 0;
    }

    .nav-link.dropdown-toggle {
        display: none;
    }

    .diretorio-mobile {
        background-color: var(--footer);
        background-image: url(../img/textura.png);
        background-size: contain;
    }

    .diretorio-mobile a {
        font-family: var(--font-title);
        color: var(--branco);
        font-weight: 500;
        font-size: 1.5rem;
        text-decoration: none;
        line-height: 1;
        font-style: normal;
    }

    .destaques,
    .dimensao-home {
        background-size: 10%;
    }

    .destaques h2,
    .dimensao-home h2 {
        line-height: 1;
        font-size: 2rem;
        padding-left: 3rem;
        padding-top: 1rem;
    }

    .fundacao h2 {
        line-height: 1;
        font-size: 2rem;
        padding-left: 0;
        padding-top: .75rem;
    }

    .fundacao h3 {
        font-size: 1.35rem;
        line-height: 1.85rem;
    }

    .fundacao p {
        font-size: 1rem;
    }

    .dimensao-home span {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .dimensao-home h3 {
        font-size: 4rem;
    }

    .destaques h3 {
        font-size: 3.4rem;
        line-height: .65;
    }

    .destaques strong {
        font-size: 1.15rem;
    }

    .col-0 {
        display: none;
    }

    footer,
    footer .text-end {
        text-align: center !important;
    }

    .w-50 {
        width: 100% !important;
    }
}

.fancybox__container {
    --fancybox-bg: var(--bg-default) !important;
}