* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: sans-serif;
}


body {
    background-color: #f3f3f3;
    /* overflow-x: hidden; A LINHA PROBLEMÁTICA FOI REMOVIDA DAQUI */
}

header{
    background-color: white;
}

.head {
    display: flex;
    background-color: white;
    height: 80px;
    justify-content: space-between;
    align-items: center;
    max-width: 1024px;
    margin: 0 auto;
}

.logo {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin-left: 10px;
    color: #3d0a49;
    font-size: 20px;
    font-weight: 500;
}

.logo img {
    width: 30px;
    margin-right: 7px;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin-right: 20px;
    color: #027fe9;
    font-size: 16px;
    
}

nav .link a{
    position: relative;
    padding-bottom: 0.2rem;
}

nav .link a::after{
    content: "";
    position: absolute;
    height: 1px;
    width: 0;
    bottom: 0;
    left: 0;
    background-color: #027fe9;
    transition: all 0.3s ease;
}

nav a:hover::after{
    width: 100%;
}

.botao{
    padding: 10px 20px;
    border: 1px solid #027fe9;
    border-radius: 100px;
}

.botao:hover{
    background-color: #027fe9;
    color: white;
    scale: 1.07;
    transition: ease 0.3s;
}
/*header*/

.banner {
    background-image: url(img/banner.jpg);
    background-size: cover;
    background-position: center;
    height: calc(110vh - 80px);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
/*banner*/

main{
    padding: 0 30px;
}

.main{
    display: flex;
    justify-content: space-between;
    background-color: #f3f3f3;
    max-width: 1024px;
    position: relative;
    margin: 0 auto;
    
}

.faixa{
    background-color: white;
    display: flex;
    justify-content: space-evenly;
    align-items: baseline;
    padding: 30px 0px;
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.faixa i{
    font-size: 35px;
}
.faixa h1{
    font-size: 18px;
}
.faixa .tarja{
    width: 50px;
    background-color: #06b8e0;
    height: 4px;
}

.a, .b, .c{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    max-width: 300px;
}

.escrita{
    margin-top: 200px;
    max-width: 45%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info{
    display: flex;
}
.satisfacao{
    margin-right: 200px;
}

.info span{
    color: #027fe9;
    
}

.imagem{
    width: 45%;
    height: 370px;
    margin-top: 200px;
    background-image: url(img/1.jpg);
    background-size: cover;
    background-position: center;
}
/*main*/

section{
    max-width: 1024px;
    margin: 0 auto;
    padding: 80px 30px 0 30px;
    text-align: center;
}
.servicos h1{
    margin-bottom: 15px;
}
.cards{
    margin-top: 75px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    
}

.card{
    display: flex;
    text-align: left;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 20px;
    flex: 1 1 400px;  
    border: 1px solid black; 
    border-radius: 10px;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.278);
    background-color: #f8f8f8;
}

.card .texto{
    max-width: 70%;
}

.texto h5{
    margin-bottom: 5px;
}
.card .foto{
    width: 100px;
    height: 100px;
}
.card img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.botao2{
    background-color: #027fe9;
    padding: 10px 20px;
    max-width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    margin: 0 auto;
    margin-top: 40px;
}
.botao2 a{
    color: white;
}

.card:hover{
    scale: 1.05;
    transition: ease 0.3s;
}

.botao2:hover{
    box-shadow: 0 0 10px 1px #027de9d4;
    scale: 1.02;
    transition: ease 0.3s;
}
/*serviços*/

.mapa h1{
    margin-bottom: 15px;
}

.mapa iframe{
    margin-top: 65px;
    width: 100%;
    height: 500px;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.278);
}
/*mapa*/

.banner2{
    background-image: url(img/banner2.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 300px;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    margin-top: 80px;
}

.banner2 .botao2{
    margin-top: 40px;
}
/*faixa*/

/*
=============== 
Estilos do Rodapé
===============
*/

footer {
    background-color: #2c3e50; /* Um azul escuro que combina com o tema */
    color: #ecf0f1;
    padding-top: 60px;
    margin-top: 80px; /* Adicionado para separar do banner2 */
}

.footer-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column {
    flex: 1 1 200px; /* Permite que as colunas se ajustem */
}

/* Coluna 1: Logo e descrição */
.footer-column .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: white;
    font-size: 22px;
}

.footer-column .logo img {
    width: 35px;
}

.footer-column p {
    color: #bdc3c7;
    line-height: 1.6;
}

/* Colunas 2 e 3: Links e Contato */
.footer-column h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #027fe9;
}

.footer-links, .footer-contact {
    list-style: none;
}

.footer-links li, .footer-contact li {
    margin-bottom: 12px;
}

.footer-links a, .footer-contact {
    color: #bdc3c7;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #027fe9;
    padding-left: 5px;
}

.footer-contact i {
    color: #027fe9;
    margin-right: 10px;
    font-size: 1.1rem;
}


/* Coluna 4: Redes Sociais */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a img {
    width: 32px;
    height: 32px;
    filter: invert(80%); /* Deixa os ícones cinza claro */
    transition: all 0.3s ease;
}

.social-icons a:hover img {
    filter: invert(100%); /* Deixa os ícones brancos */
    transform: translateY(-3px);
}

/* Linha final do rodapé */
.footer-bottom {
    text-align: center;
    padding: 25px 20px;
    margin-top: 50px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* === REGRA GLOBAL CORRIGIDA === */
img, picture, video, iframe, embed, object {
  max-width: 100%;
  /* width: 100%; A LINHA PROBLEMÁTICA FOI REMOVIDA DAQUI */
  height: auto;
  display: block;
  box-sizing: border-box;
}

/*media queries*/
@media (max-width: 725px){
    .head{
        flex-direction: column;
        height: 110px;
        padding: 15px 0;
    }

    .logo{
        margin-bottom: 10px;
    }

    .head,
    .main,
    section,
    .footer-container {
        max-width: 100%;
        width: 100%;
        padding-left: 20px; /* Adicionado um padding mínimo para não colar nas bordas */
        padding-right: 20px;
    }

    main {
        padding-left: 0;
        padding-right: 0;
    }

    nav{
        display: flex;
        justify-content: space-evenly;
        width: 100%;
    }

    .faixa {
        position: static; /* Muda de absoluta para estática em telas pequenas */
        flex-direction: column;
        gap: 20px;
        top: 0;
        margin-top: 40px;
    }

    .main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .escrita, .imagem {
        width: 90%;
        max-width: 400px;
        margin-top: 40px;
    }

    .info {
        justify-content: center;
    }
    
    .satisfacao{
        margin-right: 30px;
    }
    .escrita p{
        font-size: 14px;
        margin: 10px 0;
    }

    .escrita h1{
        font-size: 18px;
    }

    .banner2 { background-attachment: scroll !important; }
    
}

@media (min-width:726px) and (max-width: 1024px){
    .satisfacao{
        margin-right: 160px;
    }
}