html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    overflow-x: hidden;
}

header {
    background: #d4b895;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header .logo img {
    max-width: 100px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

main {
    padding: 20px;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif; /* Fonte trabalhada */
    color: #d4b895; /* Cor do título */
}

.intro {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.intro-text {
    flex: 1 1 40%;
    padding-right: 20px;
    box-sizing: border-box;
    position: absolute;
    top: 10%;
    left: 10%;
}

.intro-text h1 {
    font-size: 2.5rem; /* Aumenta o tamanho da fonte */
    word-break: break-word; /* Adiciona quebra de palavra */
}

.intro-images {
    display: flex;
    flex: 1 1 40%;
    flex-direction: row;
    gap: 10px;
    box-sizing: border-box;
    margin-left: 50%;
}

.intro-images img {
    max-width: 50%;
    flex: 1;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background: #d4b895;
    text-decoration: none;
    border-radius: 5px;
}

.pre-cadastro {
    background: #d4b895;
    padding: 40px 20px;
    text-align: center;
}

.pre-cadastro h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.pre-cadastro p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.pre-cadastro form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; /* Adiciona espaço horizontal entre os campos */
    max-width: 800px;
    margin: 0 auto;
}

.pre-cadastro .form-group {
    flex: 1 1 calc(33.333% - 20px); /* Ajusta o tamanho dos campos e espaço entre eles */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pre-cadastro .form-group label {
    margin-bottom: 5px;
}

.pre-cadastro .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.pre-cadastro button {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.pre-cadastro button:hover {
    background: #555;
}

@media (max-width: 768px) {
    .pre-cadastro form {
        flex-direction: column;
    }

    .pre-cadastro .form-group {
        flex: 1 1 100%;
    }
}

.vantagens {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
}

.vantagens h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.vantagens-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.vantagem-item {
    flex: 1 1 calc(33.333% - 40px);
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

.vantagem-item img {
    max-width: 50px;
    margin-bottom: 10px;
}

.vantagem-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.vantagem-item p {
    font-size: 1rem;
    color: #666;
}

.vantagem-extra {
    position: relative;
    background: url('banner-meio.jpg') no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.vantagem-extra-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.vantagem-extra h2 {
    font-size: 1.5rem;
    margin: 0;
}

.depoimentos {
    background: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

.depoimentos h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.depoimentos-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.depoimento {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: left;
    flex: 1 1 45%;
    margin: 10px;
}

.depoimento p {
    margin: 10px 0;
}

.depoimento strong {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.faq {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
}

.faq h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.faq-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.faq-item {
    background: #f4f4f4;
    border-radius: 5px;
    flex: 1 1 calc(45% - 20px);
    margin: 10px;
    text-align: left;
}

.faq-question {
    background: #f4f4f4;
    border: none;
    width: 100%;
    text-align: left;
    padding: 10px;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #e2e2e2;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    margin: 0;
    padding: 0 10px 10px;
}

.sobre-nos {
    background: #f4f4f4;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.sobre-nos-content {
    flex: 1;
    padding-right: 20px;
}

.sobre-nos-image {
    flex: 1;
    text-align: right;
}

.sobre-nos-image img {
    max-width: 60%;
    height: auto;
    border-left: 2px solid #ccc;
    display: block;
    margin: 0 auto;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
    .intro {
        flex-direction: column;
    }

    .intro-text {
        position: static;
        text-align: center;
        padding: 0;
        margin-bottom: 20px;
    }

    .intro-images {
        flex-direction: column;
        margin-left: 0;
    }

    .intro-images img {
        max-width: 100%;
    }

    .pre-cadastro form {
        flex-direction: column;
    }

    .pre-cadastro .form-group {
        flex: 1 1 100%;
    }

    .vantagens-list {
        flex-direction: column;
    }

    .vantagem-item {
        flex: 1 1 100%;
    }

    .depoimentos-list {
        flex-direction: column;
    }

    .depoimento {
        flex: 1 1 100%;
    }

    .faq-list {
        flex-direction: column;
    }

    .faq-item {
        flex: 1 1 100%;
    }

    .sobre-nos {
        flex-direction: column;
    }

    .sobre-nos-content {
        text-align: center;
        padding-right: 0;
    }

    .sobre-nos-image {
        text-align: center;
        margin-top: 20px;
    }

    .sobre-nos-image img {
        max-width: 80%;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }
}

.obrigado {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.obrigado h1 {
    font-size: 2.5rem;
    color: #d4b895;
}

.obrigado p {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
}

/* Estilos para o modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
