/* Estilos existentes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    text-align: center;
    background: url('images/fundo-suave.webp') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: -1;
}

.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position: relative;
}

h1 {
    color: #2c7a7b;
    margin-bottom: 10px;
}

p {
    margin-bottom: 20px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.health-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
}

input, select {
    width: 100%;
    height: 40px; /* Altura fixa para consistência */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #fff;
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box; /* Garante que o padding não afete a largura */
}

input:focus, select:focus {
    border-color: #38b2ac;
}

/* Placeholder para inputs */
input::placeholder {
    color: #999;
    opacity: 1;
}

/* Estilizar a primeira opção do select como placeholder */
select option[disabled][selected] {
    color: #999;
}

/* Quando o select está no estado "inválido" (opção padrão selecionada), estilizar como placeholder */
select:invalid {
    color: #999;
}

/* Garante que as opções não-placeholder tenham a cor correta */
select option:not([disabled]) {
    color: #333;
}

/* Estilizar o select com o ícone de seta */
select {
    background: url('data:image/svg+xml;utf8,<svg fill="gray" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
    background-size: 16px;
    padding-right: 30px; /* Espaço para o ícone da seta */
}

button {
    background: #38b2ac;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

button:hover {
    background: #2c7a7b;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
}

.message.success {
    background: #d4edda;
    color: #155724;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
}

.prova-social {
    margin-top: 30px;
    text-align: center;
}

.prova-social img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.prova-social p {
    font-style: italic;
    color: #555;
}

.faq {
    margin-top: 40px;
    text-align: left;
}

.faq h2 {
    color: #2c7a7b;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.faq-item p {
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s;
}

.whatsapp-float:hover img {
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .container {
        margin: 20px;
        padding: 15px;
    }

    h1 {
        font-size: 24px;
    }

    input, select, button {
        font-size: 14px;
        height: 36px; /* Ajuste de altura para telas menores */
    }

    .health-icon {
        width: 40px;
        height: 40px;
    }

    .faq h2 {
        font-size: 20px;
    }

    .faq-item h3 {
        font-size: 16px;
    }

    .faq-item p {
        font-size: 14px;
    }

    .whatsapp-float img {
        width: 50px;
        height: 50px;
    }
}

/* Estilos para os novos campos */
label {
    font-size: 14px;
    color: #333;
    text-align: left;
    margin-bottom: 5px;
}

/* Adicionar ao final do style.css */

/* Campos condicionais */
.conditional-field {
    display: none; /* Garante que os campos condicionais estejam escondidos por padrão */
}