/* CSS COMPLETO — MESMO DO SITE ANTERIOR + CHATBOT + FORMULÁRIO */

*{box-sizing: border-box;}
body{margin: 0; font-family: Arial, Helvetica, sans-serif;}

.topo{
    display: flex;
    flex-flow: row wrap;
    height: 100px;
    background: white;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.logo{
    flex: 20%;
    text-align: left;
    color: cornflowerblue;
    font-size: 22px;
    font-weight: bold;
    margin-left: 20px;
}

.menu{
    flex: 70%;
    text-align: right;
    padding: 20px;
    margin-right: 20px;
}

.menu a{
    color: cornflowerblue;
    text-decoration: none;
    font-size: 18px;
    padding: 20px 16px;
}

.menu a:hover{
    color: seagreen;
    border-top: 4px solid darkblue;
}

.header{
    background: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    gap: 40px;
}

.headline{
    flex: 1 1 350px;
    max-width: 500px;
    margin-left: 40px; /* margem à esquerda */
}

.headline h1{
    font-size: 50px;
    margin: 0;
}

.img-headline{
    flex: 1 1 350px;
    text-align: center;
}

.img-headline img{
    max-width: 70%;
    height: auto;
    border-radius: 10px;
}


.headline{
    flex: 1 1 350px;
    max-width: 500px;
}

.headline h1{
    font-size: 60px;
    margin: 0;
}

.img-headline{
    flex: 1 1 350px;
    text-align: center;
}

.select-cidade{
    padding: 12px;
    margin: 20px 0;
    border: 1px solid cornflowerblue;
    border-radius: 5px;
    font-size: 16px;
}

.roteiro-box{
    margin-top: 30px;
    padding: 20px;
    border: 1px solid cornflowerblue;
    border-radius: 10px;
    background: #f8faff;
    text-align: left;
    display: none;
}

#codigo{
    padding: 12px;
    margin: 20px 0;
    border: 1px solid cornflowerblue;
    border-radius: 5px;
    font-size: 16px;

}
.box-blog {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

.box-blog h2 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.box-blog p {
    margin-bottom: 20px;
    color: #555;
}

.btn-accent {
    background: #0077ff;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.btn-accent:hover {
    background: #005fcc;
}



.section{
    display: inline-block;
    margin-top: 80px;
    margin-left: 5%;
    margin-right: 5%;
    padding: 5%;
    text-align: center;
    width: 90%;
}

.servicos{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

.card{
    width: 30%;
    min-width: 250px;
    padding: 20px;
    margin: 1%;
    border: 1px solid cornflowerblue;
    border-radius: 10px;
    transition: 0.3s;
}

.card:hover{
    transform: scale(1.05);
    border-color: seagreen;
}

.footer{
    background: cornflowerblue;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* FORMULÁRIO */
.formulario{
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.formulario input,
.formulario textarea{
    padding: 12px;
    margin: 10px 0;
    border: 1px solid cornflowerblue;
    border-radius: 5px;
}

.formulario button{
    padding: 15px;
    background: cornflowerblue;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.formulario button:hover{
    background: seagreen;
}

.sobre-projeto {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

.sobre-projeto h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.sobre-projeto p {
    margin-bottom: 18px;
    color: #555;
    line-height: 1.6;
}

.sobre-projeto .btn-accent {
    margin-top: 20px;
    padding: 12px 25px;
    background: #0077ff;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.sobre-projeto .btn-accent:hover {
    background: #005fcc;
}

/* ====== RESET ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* ====== TOPO ====== */
.topo {
    background: #0077b6;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
}

.menu a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

.menu a.ativo,
.menu a:hover {
    text-decoration: underline;
}

/* ====== CONTEÚDO ====== */
.conteudo {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.post-completo h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #023e8a;
}

.lead {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #333;
}

.post-completo h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: #0077b6;
}

.post-completo p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #444;
}

ul {
    margin: 15px 0 20px 20px;
}

ul li {
    margin-bottom: 8px;
}

/* ====== FOOTER ====== */
footer {
    background: #023e8a;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

/* ====== RESPONSIVO ====== */
@media (max-width: 600px) {
    .topo {
        flex-direction: column;
        text-align: center;
    }

    .menu a {
        margin: 10px;
        display: inline-block;
    }

    .post-completo h1 {
        font-size: 1.7rem;
    }
}

.foto-secundaria {
    margin: 30px 0;
    text-align: center;
}

.foto-secundaria img {
    width: 100%;
    max-width: 650px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.foto-secundaria figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
}
.foto-secundaria {
    margin: 30px 0;
    text-align: center;
}

.foto-secundaria img {
    width: 100%;
    max-width: 650px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.foto-secundaria figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
}
.foto-capa img,
.foto-secundaria img {
    width: 100%;
    max-width: 500px; /* antes era 850px */
    margin: 0 auto;
    display: block;
}



/* RESPONSIVO */
@media (max-width: 768px){
    .header{
        flex-direction: column;
        text-align: center;
    }

    .card{
        width: 90%;
    }
}