
/* --- Estilo para o Validador/CAPTCHA --- */
.captcha-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background-color: var(--input-background);
    border-radius: 12px;
}

.captcha-group label {
    color: var(--text-secondary);
    font-weight: 500;
}

.captcha-group input { 
    width: 80px; /* Largura menor para o campo de resposta */
    padding: 10px;
    background-color: #fff; /* Fundo branco para destacar */
}

/* --- Estilo para Mensagens de Erro/Feedback --- */
#form-feedback {
    color: #c0392b; /* Um tom de vermelho */
    text-align: center;
    font-weight: 500;
    min-height: 1.2em;
}

/* --- Variáveis de Cor e Fonte (Paleta Principal) --- */
:root {
    --background-color: #ffffff;
    --text-primary: #1d1d1f;      /* Preto suave para textos principais */
    --text-secondary: #6e6e73;   /* Cinza para textos secundários e botões */
    --input-background: #f5f5f7;   /* Cinza claro para campos de formulário */
    --border-color: #d2d2d7;       /* Cinza para bordas sutis */
    --link-color: #0066cc;         /* Azul padrão para links, se necessário */
}

/* --- Estilos Gerais --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
}

/* --- Seção Herói (Foto e Título Principal) --- */
.hero-section {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem); /* Fonte que se adapta ao tamanho da tela */
    font-weight: 700;
    margin: 20px 0 10px 0;
    letter-spacing: -1.5px;
}

.hero-section p {
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: var(--text-secondary);
    margin: 0;
}

/* Container da imagem com efeito de hover */
.image-container {
    width: clamp(280px, 60vw, 400px);
    margin-bottom: 20px;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden; /* Garante que a imagem não ultrapasse a borda arredondada */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-container img {
    display: block;
    width: 100%;
    filter: grayscale(100%); /* Efeito preto e branco padrão */
    transition: filter 0.5s ease, transform 0.5s ease;
}

.image-container:hover img {
    filter: grayscale(0%); /* Remove o efeito P&B ao passar o mouse */
    transform: scale(1.05); /* Leve zoom para dar mais vida */
}

/* --- Conteúdo Principal (Abaixo da foto) --- */
main {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 20px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

/* --- Formulários --- */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input, textarea {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    padding: 15px;
    background-color: var(--input-background);
    border: 1px solid var(--input-background);
    border-radius: 12px;
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none; /* Remove estilos padrão do iOS */
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--border-color);
    box-shadow: 0 0 0 4px rgba(0, 125, 250, 0.1);
}

/* --- Botões --- */
button, .cta-button {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 16px;
    background-color: var(--text-secondary); /* Cor cinza como padrão */
    color: #fff;
    border: none;
    border-radius: 50px; /* Estilo "pílula" */
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none; /* Para o caso do .cta-button que é um link */
    text-align: center;    /* Para o caso do .cta-button */
}

button:hover, .cta-button:hover {
    background-color: #555; /* Cinza mais escuro no hover */
}

/* --- Lista de Comentários --- */
#comments-list {
    margin-top: 60px;
}

.comment-item {
    padding: 25px 0;
    border-bottom: 1px solid #e5e5e5;
}
.comment-item:first-child {
    padding-top: 10px;
}
.comment-item:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-header strong {
    font-weight: 700;
    color: var(--text-primary);
}

.comment-header time {
    font-size: 0.9em;
    color: var(--text-secondary);
}

.comment-item p {
    margin: 0;
    color: #555;
    word-wrap: break-word; /* Garante que textos longos quebrem a linha */
}

.empty-message {
    text-align: center;
    color: var(--text-secondary);
}

/* --- Seção da Oferta de Email (aparece com JS) --- */
#email-offer {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: all 0.5s ease;
    text-align: center;
}

#email-offer.visible {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

#email-offer p {
    color: var(--text-secondary);
    margin-top: 0;
}