/* Estilos globais para todas as páginas */

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Inter', 'Arial', 'Open Sans', sans-serif;

}


body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: #9968FF;
    color: white;
    padding: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ADICIONADO: Estilos para a imagem dentro do link .logo */
.logo img {
    height: 32px; /* Ajuste a altura conforme necessário para o seu logo */
    width: auto; /* Mantém a proporção da imagem */
    vertical-align: middle; /* Ajuda a alinhar a imagem se houver outro conteúdo no link */
}

.header-btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 30px;
    padding: 8px 15px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 5px;
}

.header-btn:hover {
    background-color: white;
    color: #9968FF;
}

/* Footer */
footer {
    background-color: #f0f0f0;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-credit {
    color: #777;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.btn-primary {
    background-color: #ff5a5f;
    color: white;
}

.btn-primary:hover {
    background-color: #ff4146;
}

.btn-secondary {
    background-color: #e0e0e0;
    color: #333;
}

.btn-secondary:hover {
    background-color: #d0d0d0;
}

.btn-dark {
    background-color: #333;
    color: white;
    margin-bottom: 7px;
}

.btn-dark:hover {
    background-color: #222;
}

.btn-success {
    background-color: #2fbf97;
    color: white;
}

.btn-success:hover {
    background-color: #3cc954;
}

/* Formulários */
.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    margin-bottom: 5px;
}

.form-control:focus {
    outline: none;
    border-color: #9968FF;
}

.form-control.is-invalid {
    border-color: #ff5a5f;
}

.form-control.is-valid {
    border-color: #2fbf97;
}

.invalid-feedback {
    color: #ff5a5f;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.form-control.is-invalid + .invalid-feedback {
    display: block;
}

.address-feedback {
    margin-top: 5px;
    font-size: 14px;
    margin-bottom: 20px;
}

.address-valid {
    color: #2fbf97;
}

.address-invalid {
    color: #ff5a5f;
}

/* Benefícios e Badges */
.benefits-list {
    margin: 15px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.checkmark {
    color: #2fbf97;
    margin-right: 8px;
}

.professionals-badge {
    display: inline-block;
    background-color: #2fbf97;
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin: 10px 0;
}

/* Avaliações */
.rating-section {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
    padding: 15px;
    margin-bottom: 15px;
}

.rating-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.stars {
    color: #ffc107;
    margin-bottom: 5px;
}

.rating-description {
    font-size: 14px;
    color: #555;
}

.testimonial-item {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
    padding: 15px;
    margin-bottom: 15px;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-text {
    font-size: 14px;
    color: #555;
}

/* Como funciona */
.how-it-works {
    background-color: #f0f0f5;
    padding: 30px 0;
    margin: 30px 0;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.step-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 15px;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff5a5f;
    font-size: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
}

.step-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.step-description {
    font-size: 17px;
    color: #555;
}

/* Prestador de serviço */
.provider-section {
    text-align: center;
    padding: 30px 0;
    background-color: #fff;
    border-radius: 8px;
    margin: 30px auto;
    max-width: 100%;
    width: 100%;
}

@media (min-width: 768px) {
    .provider-section {
        max-width: 100%;
        width: 100%;
    }
}

.provider-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
}

.provider-description {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.10);
}

.modal-header {
    margin-bottom: 20px;
    text-align: center;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.modal-body {
    margin-bottom: 20px;
}

/* Utilitários */
.mt-3 {
    margin-top: 15px;
}

.mb-3 {
    margin-bottom: 15px;
}

/* Responsividade */
@media (max-width: 767px) {
    .steps-container {
        flex-direction: column;
    }
    
    .step-item {
        margin-bottom: 20px;
    }
}

/* Força altura de 28px apenas em mobile */
@media screen and (max-width: 768px) {
    .logo img {
        height: 28px !important;
    }
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-links {
        margin-bottom: 0;
    }
}