@font-face {
    font-family: "Mohr";
    src: url("../assets/fonts/Latinotype\ -\ Mohr\ Regular.otf");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Mohr";
    src: url("../assets/fonts/Latinotype\ -\ Mohr\ Medium.otf");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Mohr";
    src: url("../assets/fonts/Latinotype\ -\ Mohr\ SemiBold.otf");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Mohr";
    src: url("../assets/fonts/Latinotype\ -\ Mohr\ Bold.otf");
    font-weight: 700;
    font-style: normal;
    
}

@font-face {
    font-family: "Mohr";
    src: url("../assets/fonts/Latinotype\ -\ Mohr\ Regular\ It.otf");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Mohr";
    src: url("../assets/fonts/mohr-extralight-it.otf");
    font-weight: 500;
    font-style: italic;
}

:root {
    --primary: #223466;
    --primary-dark: #1A2852;
    --primary-darker: #021F59;
    --secondary: #B3DD26;
    --secondary-dark: #86A81E;

    --white: #FFFFFF;
    --light: #F5F5F5;
    --light-alt: #F0F0F0;

    --gray-100: #D9D9D9;
    --gray-200: #A0A0A0;
    --gray-300: #888888;
    --gray-400: #707070;

    --font-size-xs: 0.813rem;   /* 13px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-md: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.75rem;   /* 28px */
    --font-size-4xl: 2rem;      /* 32px */
    --font-size-5xl: 2.25rem;   /* 36px */
    --font-size-6xl: 2.5rem;    /* 40px */
    --font-size-7xl: 3rem;      /* 48px */
}

body {
    font-family: "Mohr", sans-serif;
    margin: 0;
    overflow-x: hidden;
}

body.swal2-shown {
    padding-right: 0 !important;
}

.section-wrapper {
    padding: 7.5rem 7.5rem;
}

.gray {
    background-color: var(--light);
}
.gray-flex {
    display: flex !important;
    flex-direction: row !important;
    background-color: var(--light-alt) !important;
    padding: 0 !important;
}

.white {
    background-color: var(--white) !important;
}

.white-info {
    background-color: var(--white) !important;
    padding: 0 !important;
}

.white-flex {
    display: flex !important;
    flex-direction: row !important;
    gap: 2rem !important;
    background-color: var(--white) !important;
}
.margin-bottom {
    margin-bottom: 0 !important;
    line-height: 3rem;
}

.swal2-container {
    z-index: 10000 !important;
}

.header {
    width: 100%;
    position: fixed;
    background-color: var(--white);
    z-index: 9999;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .15);
}

.top-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    height: 3rem;
    background: var(--light);
    border-radius: 0 0 0 3rem;
    width: max-content;
    margin-left: auto;
}

.top-header .container {
    max-width: 100%;
    height: 100%;
    margin: 0 4rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-header .links {
    cursor: pointer;
    display: flex;
    gap: 1.2rem;
}

.top-header .social {
    display: flex;
    gap: 2rem;
}

.top-header i {
    font-size: var(--font-size-xl);
}

.country {
    list-style: none;
    border: 1px solid var(--gray-200);
    border-radius: 0.4rem;
    padding: 0 0.5rem;
    position: relative;
    width: 10.5rem;
}

.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.arrow {
    margin-left: auto;
    font-size: var(--font-size-md);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.313rem);
    left: -0.519rem;
    width: calc(100% + 1rem);
    list-style: none;
    padding: 0.625rem 0;
    margin: 0;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-top: none;
    border-radius: 0 0 0.4rem 0.4rem;
    z-index: 10;
}

.dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1rem;
}

.dropdown-menu li a:hover {
    background-color: var(--primary);
    color: var(--white);
}

.top-header a {
    display: flex;
    align-items: center;
    color: var(--gray-200);
    font-size: var(--font-size-sm);
    text-decoration: none;
    gap: 0.7rem;
}
.select-wrapper {
    position: relative;
    display: inline-block;
}

.language-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 10px 32px 10px 34px;
    border: 1px solid var(--gray-100);
    border-radius: 6px;
    background: transparent;
    font-family: "Mohr", sans-serif;
    cursor: pointer;
}

.globe {
    position: absolute;
    left: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--gray-300);
}

.top-header button {
    background: transparent;
    border: none;
    cursor: pointer;

}
.top-header .search {
    display: flex;
    align-items: center;
    width: 1.5rem;
    height: 1.5rem;
}

.main-nav {
    height: 4rem;
    padding: 0 4rem;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 4rem;
}

.container .logo {
    transform: translateY(-1.5rem);
}

.container .logo img {
    max-width: 8.688rem;
    height: 4.5rem;
}

.menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin-top: 1rem;
}

.mobile-itens,
.mobile-divider {
    display: none;
}

.menu-toggle {
    display: none;
}

.menu a {
    cursor: pointer;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 2;
    cursor: pointer;
    border-radius: 0.4rem;
    background: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 1.5rem;
    font-size: var(--font-size-2xl);
    font-weight: 600;

    transition: background-color .3s ease, color .3s ease,
                transform .3s ease, box-shadow .3s ease;
}

.btn-primary > * {
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    z-index: 0;
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 50%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, .4),
        transparent
    );

    transform: skewX(-25deg);
    transition: left .6s ease;
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, .15);
}

.btn-primary:hover::before {
    left: 160%;
}

footer {
    background-color: var(--primary-dark);
    padding: 3.5rem 7.5rem;
}

footer p,
footer .infos p {
    color: var(--white);
    font-size: var(--font-size-xs);
    font-style: inherit;
    font-weight: inherit;
}
footer .infos {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 3.5rem;
}
footer .logo {
    max-width: 12.875rem;
}

footer .logo img {
    max-width: 12rem;
    height: 6rem;
}

h4 {
    color: var(--secondary);
    font-size: var(--font-size-md);
}

.column h4 {
    margin-bottom: 1.5rem;
}

.column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.column li:not(:last-child) {
    margin-bottom: 1rem;
}

.column a {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    transition: opacity .2s ease;
    color: var(--white);
    font-size: var(--font-size-xs);
}

.column a:hover {
    opacity: .7;
}

.copy-right {
    display: flex;
    justify-content: space-between;
}

.card-news, 
.card-vacancy {
    text-decoration: none;
    background-color: var(--light);
    border-radius: 0.4rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, .15);
    overflow: hidden;
    transition:
        box-shadow .3s ease,
        transform .3s ease;
    will-change: transform;
}

.card-news:hover, 
.card-vacancy:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .35);
}

.card-news-image {
    overflow: hidden;
}

.card-news-image img,
.card-vacancy-image img {
    display: block;
    width: 100%;
    border-radius: 0.4rem 0.4rem 0 0;
    transition:
        transform .8s ease,
        opacity .8s ease;
}

.card-news:hover .card-news-image img,
.card-vacancy:hover .card-vacancy-image img {
    transform: scale(1.12);
    opacity: .85;
}

.card-news .infos {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.875rem;
}

.card-news .infos span {
    width: fit-content;
    background-color: var(--secondary);
    color: var(--primary);
    font-size: var(--font-size-xs);
    border-radius: 0.4rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.card-news .infos h3 {
    font-size: var(--font-size-xl);
    color: var(--primary);
    margin: 0;
}

.card-news .infos p {
    font-size: var(--font-size-xs);
    font-style: italic;
    margin: 0;
    color: var(--gray-400);
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.social-media {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-media a {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: .25s ease;
}

.social-media a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    opacity: inherit !important;
}

.social-media i {
    font-size: var(--font-size-xl);
}

@media (max-width: 1130px) {

    *{
        box-sizing: border-box;
    }

    body{
        overflow-x: hidden;
    }

     .section-wrapper{
        padding:3rem 1.5rem;
    }

    .gray-flex,
    .white-flex {
        flex-direction:column !important;
        gap: 2rem !important;
    }

     .top-header {
        display: none;
    }

    .main-nav {
        height: 6rem;
        padding: 0 1rem;
        width: 100%;
    }

    .main-nav .container {
        display: grid;
        grid-template-columns: 40px 1fr 40px;
        align-items: center;
        justify-content: center;
        max-width: 100%;
    }

    .main-nav .logo {
        transform: inherit;
        justify-self: center;
    }

    .logo img {
        height: 4rem;
    }

    .menu-toggle {
        width: 32px;
        height: 32px;
        background: none;
        border: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
        z-index: 10001;
    }

    .menu-toggle span {
        width: 100%;
        height: 2px;
        background: var(--primary);
        transition: .3s;
    }

    .menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        padding: 3rem 0 2rem 0;
        transition: .35s ease;
    }

    .mobile-itens {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        height: 2rem;
    }

    .mobile-itens .social {
        display: flex;
        justify-content: center;
        gap: 2rem;
    }

    .mobile-itens .social a {
        font-size: var(--font-size-3xl);
    }

    .menu-divider {
        width: 100%;
        display: block;
        border: 1px solid var(--gray-400);
        margin: 1rem 0;
        list-style: none;
    }

    .menu.active {
        left: 0;
        margin: 0;
        padding-left: 0;
    }

    .card-news .infos {
        gap: 1rem;
    }

    .card-news .infos h3 {
        font-size: var(--font-size-md);
    }

     footer{
        padding:3rem 1.5rem;
    }

    footer .infos{
        flex-direction:column;
        gap:2rem;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {

    .logo img {
        height: 6rem;
        transform: inherit;
    }

}

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

    .margin-bottom {
        line-height: inherit;
    }

    .top-header a {
        font-size: 0.75em;
    }

    .menu {
        gap: 1rem;
    }

    footer {
        padding: 3.5rem 3.5rem;
    }
}

@media (max-width: 1440px) {
    .menu a {
        font-size: 0.75rem;
    }
}