@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
    --primary: #0083d3;
    --secondary: #89cdf7;
    --white: #ffffff;
    --dark: #0f172a;
    --gray: #f1f5f9;
    --muted: #64748b;
    --tertiary: #555555;
}

* {
    margin: 0px;
    padding: 0px;
    list-style: none;
    text-decoration: none;
    resize: none;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}


body {
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

.container {
    width: 100%;
    /* max-width: 1200px; */
    margin: auto;
    padding: 0 24px;
}

header {
    background-color: #0083d3;
    height: 70px;
    display: flex;
    align-items: center;
    padding-right: 40px;
    z-index: 1000;
    position: fixed;
    width: 100%;
}

.toggle-button {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.toggle-button__bar {
    width: 25px;
    height: 3px;
    transition: .3s;
}

.bar:nth-child(1) {
    top: 0;
}

.bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.bar:nth-child(3) {
    bottom: 0;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 998;
}

section {
    scroll-margin-top: 70px;
    /* -> altura do header */
}

.logo {
    height: 45px;
}

.container-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.nav-menu {
    width: 40%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 30%;
}

nav a {
    color: var(--white);
    font-size: 1.3rem;
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-variation-settings:
        "wdth" 100,
        "YTLC" 500;
}

nav a.active {
    color: var(--white);
    font-weight: 600;
}

p {
    color: var(--muted);
    text-align: left;
}

.hero {
    padding: 120px 0 140px;
    background-image: linear-gradient(rgba(0, 131, 211, 0.5),
            rgba(0, 131, 211, 0.3)),
        url('/img/outros/capa-svg.svg');
    /* background: linear-gradient(135deg, #0083d3, #0467a9); */
    color: var(--white);
    height: 90dvh;
    background-size: cover;
    background-position: 100% 20%;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 720px;
}

/* Animações do texto */

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

.fade-up.delay-1 {
    animation-delay: .3s;
}

.fade-up.delay-2 {
    animation-delay: .6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero p {
    margin-bottom: 36px;
    color: var(--white);
}

.hero div {
    padding: 0;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn {
    padding: 14px 28px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.primary {
    background: var(--white);
    color: var(--primary);
    cursor: pointer;
    transition: all .3s;
}

.primary:hover {
    background: var(--primary);
    color: var(--white);
}

.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.hero .primary {
    margin-top: 5px;
    margin-right: 30px;
}

.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.services {
    padding: 80px 60px;
    background: var(--gray);
    text-align: center;
}

.services h2 {
    margin-top: 20px;
}

.section-header h2 {
    margin-bottom: 50px;
    color: var(--primary);
    text-align: left;
}

.service-cards {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.service-card {
    width: 24%;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0px;
}

.about {
    padding: 60px 60px;
}

.mvv-cards {
    width: 100%;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}

.mvv-card {
    width: 30%;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.mvv-card:hover {
    transform: translateY(-6px);
}

.mvv-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.mvv-card-content {
    padding: 22px;
}

.mvv-card h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.mvv-card p {
    font-size: 0.95rem;
    color: var(--muted);
}

.contact {
    padding: 120px 0;
    background-color: var(--secondary);
    /* background: linear-gradient(135deg, #0467a9, var(--secondary)); */
    color: var(--white);
}

.contact .container {
    display: flex;
    justify-content: center;
}

.contact-box {
    max-width: 520px;
    align-items: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact p {
    color: var(--white);
    margin-bottom: 32px;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact input,
.contact textarea {
    padding: 14px 16px;
    border-radius: 12px;
    border: none;
    font-size: 0.95rem;
}

.contact textarea {
    height: 150px;
    padding-top: 15px;
}

.contact input:focus,
.contact textarea:focus {
    outline: none;
}

footer {
    height: 40dvh;
    background-color: var(--tertiary);
    padding: 30px 100px 30px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer p {
    color: var(--white);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.footer-logo img {
    width: 300px;
}

.footer-infos {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
}

.footer-infos__info {
    display: flex;
    align-items: center;
}

.footer-infos__info img {
    height: 24px;
    margin-right: 15px;
}

.container-footer-menu {
    display: flex;
    justify-content: center;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-around;
}

.footer-menu li {
    display: flex;
}

.footer-menu li a {
    padding-left: 10px;
    font-weight: 300;
    color: var(--white);
    font-size: 1.3rem;
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-variation-settings:
        "wdth" 100,
        "YTLC" 500;
}

.footer-menu li:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.footer-copy {
    color: var(--white);
    display: flex;
    column-gap: 10px;
}


@media(max-width: 850px) {

    nav {
        align-items: center;
        justify-content: space-between;
    }

    header {
        padding-right: 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -280px;
        /* ESCONDIDO */
        width: 280px;
        height: 100vh;
        background: var(--primary);

        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        padding-top: 10vh;
        padding-bottom: 60vh;

        transition: right 0.4s ease;
        margin: 0;

        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: .3s;
        z-index: 998;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .toggle-button {
        position: relative;
        display: block;
        width: 2.5rem;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0 0 0 10px;
        z-index: 1000;
    }

    .toggle-button:focus {
        outline: none;
    }

    .toggle-button__bar {
        width: 100%;
        height: 0.2rem;
        background: #fff;
        display: block;
        margin: 0.4rem 0;
        border-radius: 5px;
    }

    .toggle-button.active .toggle-button__bar:nth-child(1) {
        transform: translateY(0.6rem) rotate(45deg);
    }

    .toggle-button.active .toggle-button__bar:nth-child(2) {
        opacity: 0;
    }

    .toggle-button.active .toggle-button__bar:nth-child(3) {
        transform: translateY(-0.6rem) rotate(-45deg);
    }

    .hero {
        padding-left: 30px;
        padding-right: 10px;
        background-position: 50% 20%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .services {
        padding: 60px 0;
    }

    .service-cards {
        flex-direction: column;
        row-gap: 20px;
    }

    .service-card {
        width: 100%;
    }

    .about {
        padding: 60px 0;
    }

    .mvv-cards {
        flex-direction: column;
        row-gap: 20px;
    }

    .mvv-card {
        width: 100%;
    }

    footer {
        height: 50vh;
        padding: 0 0 30px 0;
        font-size: 0.8rem;
    }

    footer .container {
        flex-direction: column;
        height: 70%;
        row-gap: 20px;
    }

    .footer-infos__info img {
        height: 16px;
    }

    .container-footer-menu {
        width: 100%;
    }

    .footer-menu {
        flex-direction: row;
    }

    .footer-menu li a {
        font-size: 0.9rem;
    }

    .footer-copy {
        flex-direction: column;
        align-items: center;
    }

}