* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.navbar {
    background-color: #fdfeff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid #000;
    position: relative;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    width: 100%;
}

.navbar .logo {
    height: 90px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #041757;
}

.logo-container {
    padding-left: 40px;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin-right: 0;
}

.nav-links a {
    color: #041757;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
}

.nav-links a:hover {
    text-decoration: underline;
}

.nav-flags {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: 1.5rem;
}

.nav-flags .flag {
    width: 24px;
    height: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-flags .flag:hover {
    transform: scale(1.1);
    opacity: 0.85;
}

.contato-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0;
    background-color: #ffffff;
}

.contato-form {
    width: 80%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    font-size: 1rem;
    color: #041757;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: none;
    background-color: #efefef;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: #e7e7e7;
    box-shadow: 0 0 0 2px #5C7DF0;
}

.form-group textarea {
    height: 200px;
    resize: vertical;
}

.btn-contato {
    width: 140px;
    padding: 12px;
    background-color: #5C7DF0;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-contato:hover {
    background-color: #3f61eb;
}

.fundo {
    width: 100%;
}

.fundo img {
    width: 100%;
    height: auto;
    display: block;
}

.footer {
    background-color: #fdfeff;
    color: #041757;
    padding: 2rem 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.30);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.footer-logo-img {
    width: 200px;
    height: auto;
}

.footer-subtitle {
    color: #727272;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.footer-menu {
    border-right: 2px solid #525666;
    padding-right: 2rem;
    text-align: right;
}

.footer-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.25rem;
    text-align: right;
}

.footer-menu a {
    text-decoration: none;
    color: #041757;
    font-size: 1.4rem;
    font-weight: 500;
}

.footer-menu a:hover {
    color: #002b5c;
    text-decoration: underline;
}

.footer-contact {
    text-align: left;
}

.footer-contact h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #041757;
    font-size: 1.6rem;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    color: #2c2c2c;
    font-size: 1.4rem;
}

.footer-contact i {
    font-size: 1.4rem;
    color: #5C7DF0;
}

.footer-contact a {
    color: #2c2c2c;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #002b5c;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .nav-links a {
        font-size: 1.3rem;
    }

    .contato-form {
        width: 90%;
        max-width: 700px;
    }

    .contato-wrapper {
        padding: 30px 1rem;
    }
}

@media (max-width: 992px) {

    .hamburger {
        display: block;
        z-index: 1002;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        display: none;
        flex-direction: column;
        padding: 1.5rem 0;
        border-bottom: 2px solid #000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        z-index: 1001;
    }

    .nav-menu.active {
        display: flex;
        animation: dropdown 0.25s ease-out;
    }

    @keyframes dropdown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0;
    }

    .nav-flags {
        justify-content: center;
        margin-top: 1rem;
        margin-left: 0;
    }

    .contato-form {
        width: 95%;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .footer-menu {
        border: none;
        padding: 0;
        text-align: center;
    }

    .footer-menu li {
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .btn-contato {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .btn-contato {
        width: 100%;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-menu {
        border: none;
        padding: 0;
        text-align: center;
    }

    .footer-menu ul {
        padding: 0;
        margin: 0 auto;
        width: fit-content;
    }

    .footer-menu li {
        text-align: center;
        margin: 0 auto;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
        color: #2c2c2c;
        font-size: 1.4rem;
    }
}

@media (max-width: 600px) {
    .navbar .logo {
        height: 70px;
    }

    .navbar-container {
        padding: 0.5rem 1rem;
    }

    .footer-logo-img {
        width: 160px;
    }
}

@media (max-width: 480px) {
    .navbar .logo {
        height: 55px;
    }
}