@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@100;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap");

:root {
    --primary-color-100: black;
    --primary-color-90: #282828;
    --primary-color-50: #808080;
    --primary-color-30: #c1c1c1;
    --primary-color-20: #d1d1d1;
    --primary-color-10: #e1e1e1;
    --primary-color-5: #f1f1f1;

    --secondary-color-100: white;

    --alert-color: #ffc36b;
    --error-color: #f90055;
    --error-color-light: #e0004b;

    --ff-logo: "Montserrat Alternates", sans-serif;
    --ff-primary: "Roboto", sans-serif;
}

/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin */
* {
    margin: 0;
    padding: 0;
    font: inherit;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
    list-style: none;
}

/* Set core root defaults */
html:focus-within {
    scroll-behavior: smooth;
}

html {
    height: 100%;
}

/* Set core body defaults */
body {
    text-rendering: optimizeSpeed;
    font-family: var(--ff-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* A elements that don't have a class get default styles */
a:not([class]),
.main-nav .menu-items > li > *:not([class]) {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.25s ease-out;
}
a:not([class]):is(:hover, :focus),
.main-nav .menu-items > li:is(:hover, :focus) > *:not([class]) {
    color: rgba(255, 255, 255, 1);
}
a > svg {
    fill: rgba(255, 255, 255, 0.8);
    transition: fill 0.25s ease-out;
}
a:is(:hover, :focus) > svg {
    fill: rgba(255, 255, 255, 1);
}

/* Make images easier to work with */
img,
picture,
svg {
    max-width: 100%;
    display: block;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 998;
}
[class*="container-"] {
    margin-inline: auto;
    width: 100%;
}
.container-large {
    max-width: 1280px;
}
.container-medium {
    max-width: 1120px;
}
.container-small {
    max-width: 960px;
}
#loading-container {
    position: fixed;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100dvh;
    background-color: #161617;
    z-index: 999;
}
@keyframes bounce {
    10% {
        width: 10px;
        height: 10px;
    }
    15% {
        width: 8px;
        height: 10px;
    }
    25% {
        width: 11.5px;
        height: 6px;
        transform: translateY(-28px);
    }
    38% {
        width: 11.5px;
        height: 10px;
    }
    50% {
        transform: translateY(0px);
    }
}
.loading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 50px;
    min-height: 50px;
}
.loading > .dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    animation: bounce 1.8s infinite;
}
.loading > .dot:nth-child(1) {
    animation-delay: 0.2s;
}
.loading > .dot:nth-child(2) {
    animation-delay: 0.1s;
}
.loading > .dot:nth-child(3) {
    animation-delay: 0;
}
.grey-bg {
    background-color: #f1f1f1 !important;
}
.main-nav {
    position: relative;
    padding: 0 12px;
    height: 50px;
    background: rgba(22, 22, 23, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    transition: background-color 0.25s ease-out 0.5s,
        height 0.45s ease-out 0.05s;
}
.main-nav.active {
    height: 100dvh;
    background-color: #161617;
    transition: background-color 0.25s ease-out 0.05s,
        height 0.45s ease-out 0.3s;
}
.main-nav .menu-btn {
    display: none;
}
@media screen and (max-width: 640px) {
    .main-nav {
        overflow: hidden;
    }
    .main-nav .menu-btn {
        display: grid;
        place-content: center;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background-color: white;
        cursor: pointer;
    }
    @keyframes pop-btn {
        0% {
            scale: 1;
        }
        50% {
            scale: 1.075;
        }
        100% {
            scale: 1;
        }
    }
    @keyframes menu-item-animation {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }
    [aria-label="menu-item-animation"] {
        opacity: 0;
    }
    .main-nav .menu-btn > * {
        margin: 1px;
        width: 16px;
        height: 2px;
        border-radius: 2px;
        background-color: black;
        transition: all 0.3s ease;
    }
    .main-nav.active .menu-btn .line-1 {
        transform: rotate(-45deg) translate(-3px, 3px);
    }
    .main-nav.active .menu-btn .line-2 {
        opacity: 0;
    }
    .main-nav.active .menu-btn .line-3 {
        transform: rotate(45deg) translate(-3px, -3px);
    }
    .main-nav .menu-items {
        padding: 50px 0;
        height: 100%;
        overflow-y: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .main-nav .menu-items::-webkit-scrollbar {
        display: none;
    }
    .main-nav .menu-items::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 75px;
        opacity: 0;
        background: linear-gradient(
            0deg,
            rgba(22, 22, 23, 0) 0%,
            rgba(22, 22, 23, 1) 50%
        );
        transition: opacity 0.25s ease-out 0.3s;
        z-index: 1;
    }
    .main-nav.active .menu-items::before {
        opacity: 1;
    }
    .main-nav .menu-items > li:is(:first-child, :last-child) {
        position: absolute;
        top: 0;
        height: 50px;
        z-index: 1;
    }
    .main-nav .menu-items > li:not(:first-child, :last-child) {
        display: inherit;
    }
    .main-nav .menu-items > li:first-child {
        left: 12px;
    }
    .main-nav .menu-items > li:last-child {
        right: 12px;
    }
    .main-nav .menu-items > li:not(:first-child, :last-child) > *:not([class]) {
        margin-top: 20px;
        font-size: 1.2rem;
        font-weight: 500;
    }
    .main-nav .menu-items .submenu {
        margin-left: 20px;
    }
}
.main-nav .menu-items > li:last-child {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}
.main-nav .menu-items :is(li, a, span) {
    display: flex;
    align-items: center;
}
.main-nav .menu-items > li > :is(a, span) {
    font-size: 0.85rem;
    white-space: nowrap;
    cursor: pointer;
}
.main-nav .menu-items li > a > svg {
    margin-left: 5px;
}
@media screen and (min-width: 640px) {
    .main-nav .menu-items {
        display: flex;
        gap: 40px;
        margin-inline: auto;
        height: 50px;
        max-width: 1280px;
        list-style: none;
    }
    .main-nav .menu-items > li:last-child {
        width: 100%;
    }
    .main-nav .menu-items > li > :is(a, span) {
        height: 100%;
    }
    .main-nav .menu-items li:is(:hover, :focus) > .submenu {
        opacity: 1;
        visibility: inherit;
        clip: rect(auto, auto, 100dvh, auto);
        transition: opacity 0.25s ease-out 0.05s, clip 0.45s ease-out 0.3s;
    }
    .main-nav .menu-items .submenu {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        padding: 0 12px;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        clip: rect(auto, auto, 50px, auto);
        background-color: #161617;
        z-index: -1;
    }
    .main-nav .menu-items li:is(:hover, :focus) > .submenu::before {
        opacity: 1;
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.6, 1) 0.55s;
    }
    .main-nav .menu-items .submenu::before {
        content: "";
        position: fixed;
        opacity: 0;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        z-index: -1;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        pointer-events: none;
    }
    .main-nav .menu-items .submenu-items {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 0 80px;
        max-height: 300px;
        width: fit-content;
    }
    .main-nav .menu-items .submenu .container-large {
        margin-top: 50px;
        padding-top: 10px;
        padding-bottom: 50px;
    }
}
:is(.main-nav, .main-footer) .submenu-items li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
:is(.main-nav, .main-footer) .submenu-items .title {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgb(134, 134, 139);
}
:is(.main-nav, .main-footer) .submenu-items a {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}
.footer-columns .menu-title {
    margin-top: 20px;
    color: white;
    font-size: 0.85rem;
    text-transform: uppercase;
}
.footer-columns .submenu-items {
    margin-bottom: 15px;
}
.footer-columns .submenu-social {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    list-style: none;
}
.footer-columns .submenu-social a {
    display: block;
    width: 32px;
    aspect-ratio: 1;
}
.footer-columns .submenu-social li:first-child a {
    width: 28px;
}
.footer-columns .submenu-social a > svg {
    width: 100%;
    height: 100%;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgb(134, 134, 139);
}
@media screen and (max-width: 640px) {
    .footer-bottom {
        flex-direction: column-reverse;
        gap: 10px;
    }
}
.footer-bottom > p {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgb(134, 134, 139);
}
.footer-bottom .footer-bottom-itens {
    display: flex;
    gap: 20px;
    list-style: none;
    font-size: 0.85rem;
}
header .logo,
header .logo strong {
    font-size: 1.2rem !important;
}
footer .logo,
footer .logo strong {
    font-size: 1.8rem !important;
}
:is(header, footer) .logo,
:is(header, footer) .logo strong {
    color: white;
}
footer {
    padding: 40px 12px;
    background-color: #161617;
}
.logo,
.logo strong {
    font-family: var(--ff-logo);
    text-decoration: none;
}
.logo strong {
    font-weight: 600;
}
@media screen and (min-width: 640px) {
    .scroll-icon,
    .scroll-icon:before {
        left: 50%;
    }
    .scroll-icon {
        position: fixed;
        width: 40px;
        height: 70px;
        margin-left: -20px;
        bottom: 1rem;
        margin-top: -35px;
        box-shadow: inset 0 0 0 2px white;
        border-radius: 25px;
        scale: 0.5;
        pointer-events: none;
    }
    .scroll-icon:before {
        content: "";
        position: absolute;
        width: 18px;
        height: 18px;
        background: white;
        margin-left: -9px;
        top: 9px;
        border-radius: 50%;
        animation-duration: 1.5s;
        animation-iteration-count: infinite;
        animation-name: scroll;
    }
    @keyframes scroll {
        0% {
            opacity: 1;
        }
        100% {
            opacity: 0;
            transform: translateY(38px);
        }
    }
}
.primary-section,
.primary-section .animation-frame {
    display: flex;
}
.primary-section {
    position: relative;
    padding: 0 12px;
    height: 115vh;
    color: white;
}
@media screen and (max-width: 640px) {
    .primary-section {
        height: 115svh;
    }
}
.primary-section::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 115lvh;
    background: url(../img/main-bg.jpeg) no-repeat;
    background-size: cover;
    z-index: -1;
}
.primary-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    max-height: 150px;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0) 100%
    );
}
.primary-section .animation-frame {
    position: sticky;
    top: 0;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 40px;
    height: 100vh;
}
@media screen and (max-width: 640px) {
    .primary-section .animation-frame {
        height: 100svh;
    }
}
.primary-section .type-writer {
    display: flex;
    gap: 15px;
    font-size: 2rem;
    font-weight: 300;
    line-height: 2rem;
    min-height: 2rem;
    text-shadow: 5px 5px 10px rgb(0 0 0 / 25%);
    transition: all 0.05s ease;
    user-select: none;
}
.primary-section .type-writer::after {
    content: "";
    width: 3px;
    height: 100%;
    background-color: yellow;
    animation: blink 0.6s linear infinite alternate 0.2s;
}
@keyframes blink {
    0% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    60% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
.primary-section .primary-title {
    font-size: 2.6rem;
    text-shadow: 5px 5px 10px rgb(0 0 0 / 25%);
    transition: all 0.2s ease;
    user-select: none;
}
@media screen and (max-width: 640px) {
    .primary-section .primary-title {
        font-size: 2.2rem;
    }
}
.primary-section .logo-icon {
    position: absolute;
    left: 50%;
    bottom: -100px;
    margin-left: -50px;
    width: 100px;
    transition: all 0.2s ease;
    pointer-events: none;
}
.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 12px 25px;
    padding-left: 27px;
    font-weight: 300;
    text-transform: uppercase;
    text-decoration: none;
    color: black;
    border-radius: 25px;
    border: 1px solid hsla(0, 0%, 98%, 1);
    background-color: hsla(0, 0%, 98%, 1);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 5px 5px 10px rgb(0 0 0 / 25%);
    transition: all 0.35s ease;
    user-select: none;
}
.primary-btn > svg {
    margin-bottom: 0.5px;
    fill: black;
    transition: all 0.35s ease;
}
@media (pointer: coarse) {
    .primary-btn > svg {
        fill: black !important;
    }
}
@media (pointer: fine), (pointer: none) {
    .primary-btn:is(:hover, :focus) {
        color: hsla(0, 0%, 98%, 1);
        background-color: hsla(0, 0%, 98%, 0.15);
    }
    .primary-btn > svg {
        width: 0px;
    }
    .primary-btn:is(:hover, :focus) > svg {
        width: 10px;
        fill: hsla(0, 0%, 98%, 1);
    }
}
.secondary-section {
    padding: 25px 12px;
    background-color: white;
}
.secondary-section.double-top {
    padding-top: 50px;
}
.secondary-section.double-bottom {
    padding-bottom: 50px;
}
.secondary-section .secondary-title {
    font-size: 1.8rem;
}
.secondary-section .secondary-title strong {
    font-weight: 600;
}
.secondary-section .testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.secondary-section .testimonials .item {
    padding: 15px;
    border: 2px solid #cccccc;
    background: url(../img/quote-icon.svg) top -20px left -8px no-repeat;
    background-size: 70px;
}
.secondary-section .testimonials .item h3 {
    margin-bottom: 15px;
    margin-left: 70px;
    font-size: 1.1rem;
    font-weight: 600;
}
.secondary-section .testimonials .item blockquote {
    font-size: 0.9rem;
    text-align: justify;
}
.secondary-section .services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.secondary-section .services .item {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.secondary-section .services .item:is(:hover, :focus) {
    box-shadow: 5px 5px 10px rgb(0 0 0 / 25%);
    scale: 1.025;
}
.secondary-section .services .item:nth-child(1) {
    background: url(../img/problemas-voo.jpeg) no-repeat;
    background-size: cover;
}
.secondary-section .services .item:nth-child(2) {
    background: url(../img/negativacao-indevida.jpeg) no-repeat;
    background-size: cover;
}
.secondary-section .services .item:nth-child(3) {
    background: url(../img/consultoria-juridica.jpeg) no-repeat;
    background-size: cover;
}
.secondary-section .services .item a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
    padding: 15px;
    text-decoration: none;
    color: white;
    background-color: #333333;
    transition: background-color 0.2s ease;
}
.secondary-section .services .item a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        0deg,
        rgba(22, 22, 23, 1) 0%,
        rgba(22, 22, 23, 0) 100%
    );
    z-index: -1;
}
.secondary-section .services .item:is(:hover, :focus) a {
    background-color: transparent;
}
.secondary-section .services a h3 {
    font-size: 2.6rem;
    font-weight: 700;
    text-transform: uppercase;
    hyphens: auto;
    -webkit-text-stroke: 1px white;
    -webkit-text-fill-color: transparent;
    transition: all 0.2s ease;
}
.secondary-section .services .item:is(:hover, :focus) a h3 {
    -webkit-text-fill-color: white;
    text-shadow: 5px 5px 10px rgb(0 0 0 / 25%);
}
.secondary-section .services a .see-more {
    margin-bottom: 10px;
}
.secondary-section .services a .see-more span {
    position: relative;
    font-size: 0.85rem;
    text-transform: uppercase;
}
.secondary-section .services a .see-more span::after {
    content: "";
    display: flex;
    position: absolute;
    margin-top: 5px;
    width: 15px;
    height: 1px;
    background-color: #666666;
    transition: all 0.4s ease;
}
.secondary-section .services .item:is(:hover, :focus) a .see-more span::after {
    width: 100%;
    background-color: yellow;
}
@media screen and (max-width: 640px) {
    .secondary-section .services .item.active {
        box-shadow: 5px 5px 10px rgb(0 0 0 / 25%);
        scale: 1.025;
    }
    .secondary-section .services .item.active a {
        background-color: transparent;
    }
    .secondary-section .services .item.active a h3 {
        -webkit-text-fill-color: white;
        text-shadow: 5px 5px 10px rgb(0 0 0 / 25%);
    }
    .secondary-section .services .item.active a .see-more span::after {
        width: 100%;
        background-color: yellow;
    }
}
.secondary-section .highlights {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
    list-style: none;
}
.secondary-section .highlights li {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.secondary-section .highlights li h3 {
    font-size: 1.1rem;
    font-weight: 600;
}
.secondary-section .highlights li svg {
    max-width: 32px;
}
.secondary-section .highlights li:nth-child(1) svg {
    max-width: 30px;
}
.secondary-section .highlights li:nth-child(3) svg {
    max-width: 26px;
}
.secondary-section .highlights li:is(:nth-child(4), :nth-child(6)) svg {
    max-width: 28px;
}
