/************************************************************/
/******************* CONFIGURAÇÕES GERAIS *******************/
/************************************************************/
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
}

.container {
    width: 90%;
    margin: auto;
    max-width: 1200px;
}

/************************************************************/
/*********************** CABEÇALHO **************************/
/************************************************************/
header {
    background-color: #fff;
    padding: 0px 0;
    border-bottom: 1px solid #ddd;
}

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

.logo-img {
    height: 100px;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul li a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.fone {
    text-decoration: underline;
}

.social-icon {
    width: 20px;
    height: 20px;
}

/************************************************************/
/************************** BANNER **************************/
/************************************************************/
.banner {
    background: url('imagens/banner.jpeg') center/cover no-repeat;
    height: 80vh;
}

/************************************************************/
/************************** FOOTER **************************/
/************************************************************/
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/************************************************************/
/************************* SERVIÇOS ************************/
/************************************************************/
.servicos {
    padding: 20px 20px;
    background: #f4f4f4;
}

.titulo-servicos {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    background: #fff;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.28);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3, .card p {
    margin: 15px;
}

.card p {
    margin: 0 15px 15px;
    font-size: 14px;
    color: #555;
}

.btn-card {
    margin: 15px;
    margin-top: auto;
    text-align: center;
    padding: 12px;
    background-color: #46657A;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.3s;
    cursor: pointer;
}

.btn-card:hover {
    background-color: #365166;
}

/************************************************************/
/********************** CONTATO PRINCIPAL *******************/
/************************************************************/
.contato {
    background: #f4f4f4;
    padding: 0px 20px;
}

.contato-container {
    display: flex;
    width: 70%;
    margin: 0 auto 0 auto;
    align-items: center;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.28);
    overflow: hidden;
}

.contato-info {
    flex: 1;
    background: #587896;
    color: #fff;
    padding: 40px 30px;
}

.contato-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #F1B631;
}

.contato-info p {
    margin-bottom: 15px;
}

.contato-info a {
    color: #F1B631;
    font-weight: bold;
    text-decoration: none;
}

.horario {
    margin-top: 30px;
    font-size: 14px;
}

.contato-form {
    flex: 2;
    padding: 40px 30px;
}

.contato-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

input, textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    width: 95%;
}

textarea {
    resize: vertical;
    height: 150px;
}

button {
    background: #46657A;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    padding: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #365166;
}

/************************************************************/
/************************** MODAL ***************************/
/************************************************************/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
}

.fechar {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #1F506C;
}

.modal-content h2 {
    margin-top: 0;
    font-size: 28px;
    color: #1F506C;
}

.modal-content p {
    color: #444;
    font-size: 16px;
    margin-bottom: 20px;
}

.modal-content input,
.modal-content textarea,
.modal-content button {
    width: 95%;
    margin-bottom: 15px;
    padding: 14px;
    border: 1.5px solid #1F506C;
    border-radius: 6px;
    font-size: 16px;
}

input[type="file"] {
    border: 2px dashed #1F506C;
    background-color: #f9f9f9;
    cursor: pointer;
    text-align: center;
    padding: 20px;
}

input[type="file"]::-webkit-file-upload-button {
    display: none;
}

input[type="file"]::before {
    content: 'Upload de arquivo 📎';
    color: #1F506C;
    font-size: 16px;
}

/************************************************************/
/************************ RESPONSIVO ************************/
/************************************************************/
@media(max-width: 768px) {
    .contato-container {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
}
