* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
    /* Adiciona transição suave a todos os elementos */
}

html {
    scroll-behavior: smooth;
  }

body {
    background-color: #f4f7fa;
}

.cta-button{
    text-decoration: none;
}

.cta-button button:hover{
    transition: all 0.2s ease;
    transform: scale(1.05);
}

.mobile-nav {
    display: none;
}

.desktop-hero-button {
    display: flex;
}

.mobile-hero-button {
    display: none;
}

/* Menu Desktop */
.menu-container {
    width: 1200px;
}

header {
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.header-content .logo {
    flex-grow: 1;
}

.header-content .nav-contact-container {
    display: flex;
    align-items: center;
}

.header-content nav {
    display: flex;
    margin-right: 20px; /* Espaçamento entre o nav e o header-contact */
}

.header-content nav ul {
    display: flex;
    list-style: none;
    justify-content: space-between;
    width: 100%;
}

.header-content nav ul li {
    margin: 0 10px;
}

.header-content nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.header-content nav ul li:hover{
    transform: translateY(-2px);
}

.header-content .header-contact {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
}

.header-content .header-contact span {
    margin-right: 10px;
    font-size: 16px;
    color: #333;
}

.header-content .header-contact a {
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #2F5287, #132C54);
    padding: 10px 20px;
    border-radius: 50px;
}

.header-content .header-contact a:hover {
    transform: scale(1.05);
}


/* Hero Section */

.hero-content {
    height: 80vh;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
    /* Adicione esta linha para garantir que os elementos se ajustem em telas menores */
}

/* Hero content */

.hero-container {
    background-image: url('img/hero-bg.webp');
    background-color: #E5F2F9;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-bottom: 100px;
}

.hero {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.hero-text {

    margin-top: -100px;
    max-width: 50%;
    /* Certifique-se de que este valor está correto */
    flex: 1;
    /* Adicione esta linha para permitir que o texto ocupe o espaço necessário */
}

.hero-text h1 {
    font-size: 36px;
    color: #283F63;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-text h1 b {
    font-weight: 600;
}

.hero-text ul {
    list-style: none;
}

.hero-text ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.hero-text ul li img {
    margin-right: 10px;
}

.hero-text button {
    gap: 10px;
    align-items: center;
    background: linear-gradient(135deg, #2F5287, #132C54);
    color: #fff;
    border: none;
    padding: 20px 40px;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
}

.hero-text button:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #132C54, #2F5287);
}

.hero-text button img {
    height: 20px;
}

.hero-image {
    max-width: 50%;
    /* Certifique-se de que este valor está correto */
    flex: 1;
    /* Adicione esta linha para permitir que a imagem ocupe o espaço necessário */
    display: flex;
    /* Adicione esta linha para centrar a imagem verticalmente */
    justify-content: center;
    /* Adicione esta linha para centrar a imagem horizontalmente */
}

.hero-image img {
    max-height: auto;
    width: auto;
    /* Adicione esta linha para manter a proporção da imagem */
}

.hero-wave {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: auto;
}

.hero-wave img {
    width: 100%;
}


/* Form Section */
.form-section {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 40px 0;
}

.form-container {
    background: linear-gradient(135deg, #2F5287, #132C54);
    border-radius: 20px;
    width: 1200px;
    /* Adjusted to fit the form content */
    margin: 0 auto;
    margin-top: -300px;
    z-index: 10;
    padding: 40px;
    /* Increased padding for better spacing */
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Added box shadow for better visibility */
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-container h2 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
}

.form-container p {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 20px;
}

.form-container input,
.form-container select {
    max-width: 500px;
    /* Adjusted to fit inside the container */
    width: 100%;
    padding: 15px;
    /* Increased padding for better touch targets */
    margin-bottom: 20px;
    /* Increased margin for better spacing */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    /* Increased font size for better readability */
}

.form-container button {
    background-color: #004aad;
    color: #fff;
    border: none;
    padding: 15px 30px;
    /* Increased padding for better touch targets */
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    /* Added transition for hover effect */
}

.form-container button:hover {
    background-color: #003b8a;
    /* Darker blue on hover */
}

.form-container label {
    display: block;
    /* Make label a block element */
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 10px;
    /* Spacing between label and input */
    text-align: left;
    /* Align text to the left */
    max-width: 500px;
    /* Ensure it aligns with the inputs */
    margin-left: auto;
    margin-right: auto;
}


/* Como Funciona Section */

.como-funciona {
    background-color: #ffffff;
    padding: 60px 0;
}

.como-funciona-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.como-funciona h2 {
    font-size: 24px;
    color: #283F63;
    margin-bottom: 20px;
}

.como-funciona p {
    font-size: 16px;
    color: #333;
    margin-bottom: 40px;
}

.cards-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    /* Adiciona espaçamento entre os cartões */
}

.card-box {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1;
    /* Permite que os cartões ocupem o mesmo espaço */
    text-align: center;
}

.card-box img {
    height: 50px;
    margin-bottom: 20px;
}

.card-box h3 {
    font-size: 20px;
    color: #283F63;
    margin-bottom: 10px;
}

.card-box p {
    font-size: 14px;
    color: #2F5D80;
}

/* Com a DGS */

.com-a-dgs {
    padding: 150px 0px 60px 0px;
    margin-top: -150px;
    background: url('img/diferenciais bg.webp'), linear-gradient(135deg, #2F5287, #132C54);
    background-size: cover, cover;
    background-position: center, center;
    background-blend-mode: overlay;
    display: flex;
    justify-content: center;
    /* Centraliza o contêiner horizontalmente */
}

.com-a-dgs-container {
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 40px;
    position: relative;
}

.com-a-dgs .imagem {
    display: flex;
    justify-content: center;
    margin-right: 40px;
}

.com-a-dgs .imagem img {
    max-height: 400px;
    border-radius: 20px;
    /* Borda arredondada */
}

.com-a-dgs .lista {
    text-align: center;
    flex: 1;
    /* Garante que a lista ocupe o espaço restante */
}

.com-a-dgs .lista h3 {
    font-size: 24px;
    color: #ffffff;
    /* Cor do texto */
    margin-bottom: 20px;
}

.com-a-dgs .lista-itens {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centraliza os itens horizontalmente */
}

.com-a-dgs .item {
    background-color: #EDF0F5;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    /* Aumentado para melhor espaçamento */
    width: 100%;
    /* Garante que os itens ocupem toda a largura disponível */
    max-width: 500px;
    /* Define uma largura máxima */
}

.com-a-dgs .item img {
    margin-right: 10px;
}

.com-a-dgs .item p {
    font-size: 16px;
    color: #2F5D80;
    font-weight: 600;
}

.com-a-dgs-button {
    align-items: center;
    justify-content: center;
    background-color: #004aad;
    color: #fff;
    border: none;
    padding: 15px 30px;
    /* Aumentado para melhor clique */
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.com-a-dgs-button img {
    margin-right: 10px;
    height: 20px;
}

.com-a-dgs-button:hover {
    background-color: #003b8a;
    /* Cor mais escura ao passar o mouse */
}



/* Atuacao section */

.atuacao {
    padding: 60px 0;
    text-align: center;
    max-width: 1200px;
    margin: auto;
}

.atuacao h2 {
    font-size: 24px;
    color: #234272;
    margin-bottom: 20px;
}

.atuacao p {
    font-size: 16px;
    color: #333;
    margin-bottom: 40px;
}

.especialidades {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    /* Espaçamento entre as divs */
    max-width: 1200px;
    margin: 0 auto;
}

.especialidades div {
    display: flex;
    /* Adicionado para centralizar o texto */
    align-items: center;
    /* Centraliza verticalmente */
    justify-content: center;
    /* Centraliza horizontalmente */
    height: 70px;
    /* Altura fixa */
    background-color: #234272;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    flex: 1 1 calc(25% - 40px);
    /* Ajusta a largura das divs */
    margin: 10px;
    min-width: 150px;
    /* Largura mínima para garantir uma boa aparência em telas menores */
}


/* Numeros */

.numeros {

    background: linear-gradient(135deg, #2F5287, #132C54);
    padding: 60px 0;
    text-align: center;
}

.numeros-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}

.numero-item h3 {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
}

.numero-item p {
    font-size: 16px;
    color: #ffffff;
}


/* Sobre */
.sobre {
    background-color: #ffffff;
    padding: 60px 0;
}

.sobre-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
    text-align: left;
}

.sobre-text {
    flex: 1;
    padding-right: 40px;
}

.sobre-container h2 {
    font-size: 36px;
    color: #283F63;
    font-weight: 900;
    margin-bottom: 20px;
}

.sobre-container p {
    font-size: 16px;
    color: #2F5D80;
    margin-bottom: 20px;
}

.sobre-imagem {
    flex: 1;
    display: flex;
    justify-content: center;
}

.sobre-imagem img {
    max-height: 400px;
    border-radius: 20px;
}

.sobre-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #004aad;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.sobre-button img {
    margin-right: 10px;
    height: 20px;
}

.sobre-button:hover {
    background-color: #003b8a;
}

/* FAQ */
.faq {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #e7f0fe;
    padding: 60px 0;
    text-align: center;
}

.faq h2 {
    font-size: 24px;
    color: #004aad;
    margin-bottom: 20px;
}

.faq p {
    max-width: 600px;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.faq-answer p{
    margin-bottom: 20px;
    margin-top: 20px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background-color: #CDD8EB;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    /* Indica que é clicável */
    text-align: left;
    /* Alinha à esquerda */
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 18px;
    color: #2F5D80;
    margin: 0;
}

.faq-answer {
    font-size: 14px;
    color: #2F5D80;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Altura máxima para a resposta */
    opacity: 1;
}

.icon {
    font-size: 18px;
    color: #2F5D80;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    background-color: #004aad;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    justify-content: center;
    /* Centraliza o conteúdo do botão */
    margin-left: auto;
    margin-right: auto;
}

.whatsapp-button img {
    margin-right: 10px;
    height: 20px;
}

.whatsapp-button:hover {
    background-color: #003b8a;
}



/* Footer */
footer {
    background-color: #2F5287;
    /* Cor azul do site */
    text-align: center;
    color: #fff;
}

.footer-container {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-container img {
    height: 50px;
    margin-bottom: 10px;
}

.footer-container p {
    font-size: 14px;
}

.assinatura {
    background-color: #ffffff;
    /* Cor de fundo branca */
    color: #2F5287;
    /* Cor do texto azul */
    padding: 20px 0;
    font-size: 14px;
    border-top: 1px solid #ccc;
    /* Linha de separação */
}

.assinatura p {
    margin: 0;
}


/* CSS existente */

/* Mobile Styles */
@media (max-width: 768px) {

    /* Header */
    .header-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .header-content nav {
        display: none;
    }

    .header-content .header-contact {
        display: none;
    }

    .hamburger-menu {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 90;
    }

    .hamburger-menu .bar {
        width: 30px;
        /* Ajuste a largura conforme necessário */
        height: 4px;
        /* Ajuste a altura conforme necessário */
        background-color: #0F3F61;
        margin: 4px 0;
        border-radius: 50px;
    }

    .mobile-nav {
        display: none;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        position: fixed;
        top: 70px;
        left: 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .mobile-nav.open {
        display: flex;
    }

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

    .mobile-nav ul li {
        padding: 30px 20px;
        border-bottom: 1px solid #e9e9e9;
    }

    .mobile-nav ul li a {
        text-decoration: none;
        color: #283F63;
        font-weight: bold;
        display: block;
    }


    /* Hero */

    .hero {
        padding: 0;
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .hero-container {
        padding: 0;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
        width: 100vw;
    }

    .hero-text {
        max-width: 100%;
        margin-top: 20px;
    }

    .hero-text h1 {
        font-size: 2em;
        text-align: left;
        font-weight: 400;
        text-align: center;
        margin-bottom: 30px;
    }

    .hero-text ul {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        justify-content: center;
    }

    .hero-text ul li {
        display: flex;
        flex-direction: column;
        margin-bottom: 15px;
        font-size: 12px;
        max-width: 30%;
    }

    .hero-image {
        height: 90px;
        margin-top: 20px;
    }

    .hero-image img {
        height: 400px;
    }

    .desktop-hero-button {
        display: none;
    }

    .mobile-hero-button {
        position: relative;
        display: flex;
        gap: 10px;
        align-items: center;
        background: linear-gradient(135deg, #2F5287, #132C54);
        color: #fff;
        border: none;
        padding: 20px 40px;
        border-radius: 5px;
        margin-top: 20px;
        cursor: pointer;
        z-index: 5;
    }

    .hero-wave {
        position: relative;
        margin-top: -50px;
    }


    /* Form mobile */

    .form-section {
        position: relative;
        background-color: #ffffff;
        padding: 0;
        z-index: 10;
    }

    .form-container {
        width: 90%;
        padding: 20px;
        margin-top: 50px;
    }

    .como-funciona {
        padding: 20px;
    }

    .como-funciona-container {
        padding: 0 20px;

    }

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

    .card-box {
        width: 100%;
    }

    .com-a-dgs-container {
        flex-direction: column;
        padding: 20px;
    }

    .com-a-dgs .imagem {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .com-a-dgs .item {
        width: 90%;
        max-width: 100%;
    }


    /* Atuação */
    .atuacao {
        padding: 20px;
    }

    .especialidades {
        display: flex;
        flex-wrap: wrap;
        /* Permite que os itens quebrem em várias linhas */
        gap: 0;
        justify-content: center;
        /* Centraliza os itens */
    }

    .especialidades div {
        flex: 1 1 calc(50% - 10px);
        /* Define a largura dos itens para 50% menos a metade do gap */
        max-width: 40%;
        /* Define a largura máxima para garantir que os itens não excedam */
        box-sizing: border-box;
        /* Inclui o padding e a borda na largura total */
    }

    .numeros-container {
        flex-direction: column;
        gap: 80px;
    }

    /* Sobre - Mobile */
    .sobre-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Centraliza os itens verticalmente */
        padding: 20px;
        text-align: center;
    }

    .sobre-text {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .sobre-button {
        display: unset;
    }

    .sobre-imagem {
        align-self: center;
        justify-self: center;
        display: flex;
        justify-content: center;
    }

    .sobre-imagem img {
        max-width: 100%;
        height: auto;
        display: block;
    }


    /* FAQ - Mobile */

    .faq{
        padding:20px;
    }

    .whatsapp-button {
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        max-width: 300px;
    }

    .footer-container {
        padding: 20px 0;
    }
}