/* Vozes Conscientes | Mariri Music */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --vinho:        #4A0A0A;
    --vinho-card:   #5C1010;
    --vinho-borda:  #7A2020;
    --ambar:        #F5A800;
    --ambar-hover:  #E09400;
    --ouro:         #F5C200;
    --laranja:      #E07800;
    --texto:        #F5E8C0;
    --texto-suave:  #C8A87A;
    --erro:         #FF6B6B;
    --sucesso:      #6BCB77;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--vinho);
    color: var(--texto);
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    min-height: 100vh;
    padding: 2rem 1rem 4rem;
    background-image:
        radial-gradient(ellipse at top, #6B1515 0%, #4A0A0A 60%);
}

/* ── HEADER ── */
.header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.header img.logo {
    width: 130px;
    height: auto;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 4px 16px rgba(245, 168, 0, 0.3));
}

.header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--ouro);
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.header h1 span {
    display: block;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    color: var(--ambar);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.header .descricao {
    margin-top: 1rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--texto-suave);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ── CARD ── */
.card {
    background-color: var(--vinho-card);
    border: 1px solid var(--vinho-borda);
    border-radius: 12px;
    max-width: 620px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* ── SEÇÕES ── */
.secao {
    margin-bottom: 2rem;
}

.secao-titulo {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ambar);
    border-bottom: 1px solid var(--vinho-borda);
    padding-bottom: 0.5rem;
    margin-bottom: 1.2rem;
}

/* ── CAMPOS ── */
.campo {
    margin-bottom: 1.2rem;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--texto-suave);
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
}

label .obrigatorio {
    color: var(--ambar);
    margin-left: 2px;
}

label .opcional {
    font-size: 0.75rem;
    color: #8A6A4A;
    margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
textarea,
select {
    width: 100%;
    background-color: #3A0808;
    border: 1px solid var(--vinho-borda);
    border-radius: 8px;
    color: var(--texto);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    padding: 0.75rem 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}

input::placeholder,
textarea::placeholder {
    color: #6A4A3A;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--ambar);
    box-shadow: 0 0 0 3px rgba(245, 168, 0, 0.15);
}

textarea {
    resize: vertical;
    min-height: 90px;
}

/* Radio já lançou */
.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.2rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--texto);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.radio-group input[type="radio"] {
    width: auto;
    accent-color: var(--ambar);
    cursor: pointer;
}

/* ── TERMOS ── */
.termos {
    background-color: #3A0808;
    border: 1px solid var(--vinho-borda);
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.termo-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.termo-item:last-child {
    margin-bottom: 0;
}

.termo-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--ambar);
    cursor: pointer;
}

.termo-item label {
    font-size: 0.85rem;
    color: var(--texto-suave);
    line-height: 1.5;
    cursor: pointer;
    margin-bottom: 0;
}

.nota-legal {
    font-size: 0.8rem;
    color: #8A6A4A;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ── BOTÃO ── */
.btn-enviar {
    display: block;
    width: 100%;
    background-color: var(--ambar);
    color: var(--vinho);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-enviar:hover {
    background-color: var(--ambar-hover);
}

.btn-enviar:active {
    transform: scale(0.98);
}

/* ── MENSAGENS ── */
.mensagem {
    max-width: 620px;
    margin: 2rem auto;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.mensagem.sucesso {
    background-color: #1A3A1A;
    border: 1px solid var(--sucesso);
    color: var(--sucesso);
}

.mensagem.erro {
    background-color: #3A1A1A;
    border: 1px solid var(--erro);
    color: var(--erro);
}

.mensagem h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.mensagem p {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.85;
}

/* ── ERROS DE CAMPO ── */
.campo-erro {
    font-size: 0.78rem;
    color: var(--erro);
    margin-top: 0.3rem;
    display: none;
}

input.invalido,
textarea.invalido,
select.invalido {
    border-color: var(--erro);
}

/* ── FOOTER ── */
footer {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.75rem;
    color: #5A3A2A;
    letter-spacing: 0.05em;
}

/* ── RESPONSIVO ── */
@media (min-width: 640px) {
    .card {
        padding: 2.5rem 2.5rem;
    }

    .header h1 {
        font-size: 2.4rem;
    }
}
