/* --- 1. RESET E ESTILOS GERAIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #f7f4ee;
    color: #2b2621;
    line-height: 1.7;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 2. CABEÇALHO --- */
.site-header {
    background-color: #1a1714;
    color: #f7f4ee;
    text-align: center;
    padding: 40px 20px 25px 20px;
    border-bottom: 3px solid #c59b27;
}

.logo-symbol {
    font-size: 2.8rem;
    color: #c59b27;
    margin-bottom: 8px;
}

.site-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.site-subtitle {
    font-size: 1rem;
    color: #d1c7b7;
    margin-top: 4px;
    font-weight: 300;
}

/* --- 3. MENU DOS HEXAGRAMAS NO CABEÇALHO --- */
.header-nav {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.dropbtn {
    background-color: #2b2621;
    color: #f7f4ee;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid #4a4138;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    user-select: none;
}

.dropbtn:hover,
.dropdown.active .dropbtn {
    background-color: #38312b;
    border-color: #c59b27;
}

.nav-link-contato {
    color: #d1c7b7;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link-contato:hover {
    color: #c59b27;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    width: 360px;
    max-height: 400px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    z-index: 1000;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    border: 1px solid #e2dacd;
    text-align: left;
}

/* Exibe o menu apenas quando a classe .active é acionada via JS */
.dropdown.active .dropdown-content {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #2b2621;
    font-size: 0.9rem;
    border-bottom: 1px solid #f2ece1;
    transition: background 0.15s, color 0.15s;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item:active {
    background-color: #f7f4ee;
    color: #c59b27;
}

.dropdown-symbol {
    font-size: 1.4rem;
    width: 30px;
    min-width: 30px;
    text-align: center;
    color: #1a1714;
}

.dropdown-text {
    white-space: normal;
    word-break: break-word;
}

/* --- 4. BARRA DE DESTAQUE --- */
.nav-contact-bar {
    background-color: #2b2621;
    padding: 15px 0;
    border-bottom: 1px solid #3d3730;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-tagline {
    color: #e6dfd3;
    font-size: 0.95rem;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #c59b27;
    color: #1a1714;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-contact:hover {
    background-color: #e5b432;
    transform: translateY(-2px);
}

/* --- 5. CORPO DA PÁGINA & CARDS DE OPÇÕES --- */
.main-content {
    padding: 40px 20px 60px 20px;
}

.info-card {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 10px;
    border: 1px solid #e2dacd;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.info-card h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #1a1714;
    margin-bottom: 15px;
    border-bottom: 2px solid #f2ece1;
    padding-bottom: 10px;
}

.info-card p {
    margin-bottom: 15px;
    color: #423c34;
}

/* Estilização das Caixas Lado a Lado (Como Funciona) */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.option-box {
    background-color: #fcfbfa;
    border: 1px solid #e2dacd;
    border-top: 3px solid #c59b27;
    padding: 22px;
    border-radius: 6px;
}

.option-box h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #1a1714;
    margin-bottom: 10px;
}

.option-box p {
    font-size: 0.92rem;
    color: #554e45;
    margin-bottom: 0;
}

.charity-notice {
    background-color: #f4efe6;
    border: 1px solid #dcd1be;
    padding: 18px 22px;
    border-radius: 6px;
    margin-top: 20px;
}

.charity-notice p {
    margin-bottom: 0;
    color: #2b2621;
    font-size: 0.95rem;
}

/* --- 6. RODAPÉ E FORMULÁRIO --- */
.site-footer {
    background-color: #1a1714;
    color: #f7f4ee;
    padding: 60px 20px 30px 20px;
    text-align: center;
    border-top: 3px solid #c59b27;
}

.footer-content {
    max-width: 550px;
    margin: 0 auto;
}

.footer-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.footer-content p {
    color: #d1c7b7;
    margin-bottom: 25px;
}

/* Cartão do PIX e Botão Aumentado */
.pix-card {
    background-color: #2b2621;
    border: 1px solid #c59b27;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 25px;
    text-align: center;
}

.pix-card h3 {
    color: #c59b27;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.pix-card p {
    color: #d1c7b7;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.pix-details {
    background-color: #1a1714;
    padding: 12px;
    border-radius: 6px;
    display: inline-block;
    width: 100%;
}

/* Botão de Copiar Chave PIX Aumentado */
.btn-copy-pix {
    margin-top: 12px;
    background-color: #38312b;
    color: #f7f4ee;
    border: 1px solid #c59b27;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-copy-pix:hover {
    background-color: #c59b27;
    color: #1a1714;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.form-group {
    width: 100%;
}

.form-group label {
    display: block;
    color: #d1c7b7;
    font-size: 0.88rem;
    margin-bottom: 6px;
}

.form-input,
.form-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #4a4138;
    background-color: #2b2621;
    color: #f7f4ee;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

/* Caixa de Opções (Select) Espaçosa para visualização completa do texto */
.form-select {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background-color: #2b2621;
    color: #f7f4ee;
    border: 1px solid #4a4138;
    border-radius: 6px;
    height: auto;
    white-space: normal;
}

.form-select option {
    background-color: #2b2621;
    color: #f7f4ee;
    padding: 10px;
    font-size: 0.95rem;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #a09587;
    font-size: 0.9rem;
    opacity: 1;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #c59b27;
}

.btn-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #c59b27;
    color: #1a1714;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    margin-top: 5px;
}

.btn-email:hover {
    background-color: #e5b432;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 155, 39, 0.3);
}

/* --- Mensagem de Status do Formulário --- */
#form-status.success {
    background-color: #2e4d38;
    color: #e2f0e5;
    border: 1px solid #4a7c59;
}

#form-status.error {
    background-color: #5c3535;
    color: #fce8e8;
    border: 1px solid #8c4a4a;
}

.copyright {
    margin-top: 40px;
    font-size: 0.85rem;
    color: #8c8275;
    text-align: center;
}

/* --- 7. RESPONSIVIDADE (AJUSTE DOS PLACEHOLDERS NO CELULAR) --- */
@media (max-width: 600px) {
    .nav-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .dropdown-content {
        width: 92vw;
        max-height: 50vh;
        left: 50%;
        transform: translateX(-50%);
    }

    .dropbtn {
        width: 100%;
        justify-content: space-between;
    }

    /* Reduz levemente a fonte e garante que caiba o texto inteiro do placeholder no celular */
    .form-input::placeholder,
    .form-textarea::placeholder {
        font-size: 0.78rem;
    }

    /* Garante um padding lateral confortável nos inputs do formulário em telas menores */
    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
}