/* ================================================
   Sanctuary Main Page Styles - Minimalista e Sereno
   ================================================ */

.sanctuary-main {
    background-color: #0f0f0f; /* Match site's dark theme */
    color: #fff; /* Match site's text color */
    min-height: 100vh;
    font-family: "Poppins", sans-serif; /* Match site's font */
}

/* Layout containers */
.sanctuary-member,
.sanctuary-fullpass,
.sanctuary-visitors {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Typography hierarchy */
.welcome-header {
    font-size: 2.2rem;
    font-weight: 300;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.section-header {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 40px;
}

/* Responsive design */
@media (max-width: 768px) {
    .sanctuary-member,
    .sanctuary-fullpass,
    .sanctuary-visitors {
        padding: 20px 15px;
    }
    
    .welcome-header {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .section-header {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
}

/* ================================================
   Virada Silenciosa: separador editorial Espelho → Conteúdos
   ================================================ */
.sanctuary-editorial-separator {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 56px 0 32px 0;
}

.sanctuary-editorial-separator::before,
.sanctuary-editorial-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.sanctuary-editorial-separator-label {
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .sanctuary-editorial-separator {
        margin: 40px 0 24px 0;
        gap: 12px;
    }

    .sanctuary-editorial-separator-label {
        font-size: 10px;
        letter-spacing: 2px;
    }
}

/* ================================================
   Virada Silenciosa: bloco adaptativo Greeting + Espelho (P4)
   ================================================ */
.greeting-espelho {
    max-width: 760px;
    margin: 0 auto 24px auto;
    padding: 24px 0;
    color: #e8e8e8;
    text-align: center;
}

.greeting-espelho-hello {
    font-size: 1.4rem;
    font-weight: 400;
    color: #fff;
    margin: 0 0 20px 0;
    letter-spacing: 0.3px;
}

.greeting-espelho-travessia-tag {
    font-size: 0.95rem;
    color: #d4af37;
    margin: 0 0 16px 0;
    letter-spacing: 0.3px;
}

.greeting-espelho-diamond {
    margin-right: 6px;
    font-size: 1rem;
}

.greeting-espelho-body {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto 20px auto;
    max-width: 620px;
}

.greeting-espelho-highlight {
    color: #e8e8e8;
    font-style: italic;
}

/* Estado A: form real com textarea funcional */
.greeting-espelho-form {
    margin: 0 0 16px 0;
}

.greeting-espelho-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px 20px;
    min-height: 80px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e8e8e8;
    resize: vertical;
    transition: all 0.2s ease;
    font-family: inherit;
    margin-bottom: 16px;
}

.greeting-espelho-textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.greeting-espelho-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

/* Textbox dos estados F — visual, click redireciona */
.greeting-espelho-textbox-link {
    display: block;
    text-decoration: none;
    margin: 0 0 16px 0;
}

.greeting-espelho-textbox-link:hover {
    text-decoration: none;
}

.greeting-espelho-textbox {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px 20px;
    min-height: 80px;
    transition: all 0.2s ease;
    cursor: text;
    display: flex;
    align-items: flex-start;
}

.greeting-espelho-textbox-link:hover .greeting-espelho-textbox {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.25);
}

.greeting-espelho-textbox-placeholder {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Submit button (form estado A): mesmo estilo do CTA primary */
button.greeting-espelho-cta {
    cursor: pointer;
    font-family: inherit;
}

button.greeting-espelho-cta:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* CTAs — centralizados para acompanhar o body centrado do container */
.greeting-espelho-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.greeting-espelho-cta {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.greeting-espelho-cta--primary {
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.greeting-espelho-cta--primary:hover {
    background: rgba(212, 175, 55, 0.25);
    color: #d4af37;
    text-decoration: none;
}

.greeting-espelho-cta--secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.greeting-espelho-cta--secondary:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.greeting-espelho-cta-arrow {
    transition: transform 0.2s ease;
}

.greeting-espelho-cta:hover .greeting-espelho-cta-arrow {
    transform: translateX(3px);
}

/* Stats (estado F) */
.greeting-espelho-stats {
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.3px;
}

/* Link secundário abaixo da entrada nos estados D/E (Sintonizador / Constituição) */
.greeting-espelho-secondary-link {
    margin: 20px 0 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.2px;
}

.greeting-espelho-secondary-link a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 1px;
    transition: all 0.2s ease;
}

.greeting-espelho-secondary-link a:hover {
    color: #d4af37;
    border-bottom-color: rgba(212, 175, 55, 0.4);
    text-decoration: none;
}

.greeting-espelho-secondary-divider {
    color: rgba(255, 255, 255, 0.25);
    margin: 0 10px;
}

/* Tag "Novidade" antes do link — chama a atenção sem agredir */
.greeting-espelho-novidade {
    display: inline-block;
    color: #d4af37;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-right: 6px;
    padding: 2px 8px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.08);
}

/* Entrada com destino (estados D, E, F) — textarea + seletor de travessia + submit */
.espelho-entrada-home {
    max-width: 620px;
    margin: 0 auto 20px auto;
    text-align: left;
}

.espelho-entrada-home-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px 20px;
    min-height: 100px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e8e8e8;
    resize: vertical;
    transition: all 0.2s ease;
    font-family: inherit;
    margin-bottom: 12px;
}

.espelho-entrada-home-textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.espelho-entrada-home-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.espelho-entrada-home-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.espelho-entrada-home-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.2px;
    margin: 0 4px 0 0;
}

.espelho-entrada-home-select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 8px 32px 8px 12px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #e8e8e8;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%23999' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
    transition: border-color 0.2s ease;
    max-width: 260px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.espelho-entrada-home-select:hover,
.espelho-entrada-home-select:focus {
    border-color: rgba(212, 175, 55, 0.4);
    outline: none;
}

.espelho-entrada-home-select option {
    background: #1a1a1a;
    color: #e8e8e8;
}

.espelho-entrada-home-submit {
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.espelho-entrada-home-submit:hover {
    background: rgba(212, 175, 55, 0.25);
}

.espelho-entrada-home-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.espelho-entrada-home-arrow {
    transition: transform 0.2s ease;
}

.espelho-entrada-home-submit:hover .espelho-entrada-home-arrow {
    transform: translateX(3px);
}

/* Ponto de escape no estado B — link discreto "Descartar e começar de novo" */
.greeting-espelho-descartar-form {
    margin: 24px 0 0 0;
    text-align: center;
}

.greeting-espelho-descartar-link {
    background: none;
    border: none;
    padding: 0 0 1px 0;
    font-size: 0.8rem;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

.greeting-espelho-descartar-link:hover {
    color: rgba(255, 255, 255, 0.55);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

/* Link discreto pra saiba-mais no final do bloco estado A */
.greeting-espelho-saiba-mais-link {
    margin: 32px 0 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.2px;
}

.greeting-espelho-saiba-mais-link a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 1px;
    transition: all 0.2s ease;
}

.greeting-espelho-saiba-mais-link a:hover {
    color: #d4af37;
    border-bottom-color: rgba(212, 175, 55, 0.4);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .greeting-espelho {
        padding: 16px 0;
    }

    .greeting-espelho-hello {
        font-size: 1.2rem;
    }

    .greeting-espelho-body {
        font-size: 0.95rem;
    }

    .greeting-espelho-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .greeting-espelho-cta {
        text-align: center;
        justify-content: center;
    }

    .espelho-entrada-home-controls {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .espelho-entrada-home-select,
    .espelho-entrada-home-submit {
        max-width: 100%;
        width: 100%;
        justify-content: center;
    }

    .espelho-entrada-home-label {
        margin: 0 0 4px 0;
    }
}

/* ================================================
   Entrada do Espelho — partial compartilhado (home + /dojo/espelho/)
   ================================================ */
.espelho-entrada {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.espelho-entrada-header {
    margin-bottom: 24px;
}

.espelho-entrada-title {
    font-size: 1.7rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 12px 0;
    letter-spacing: 0.2px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.espelho-entrada-icon {
    color: #d4af37;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    opacity: 0.9;
    flex-shrink: 0;
}

.espelho-entrada-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 auto 28px auto;
    line-height: 1.55;
    max-width: 580px;
    font-weight: 400;
}

.espelho-entrada-instruction {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.38);
    margin: 0 auto 14px auto;
    line-height: 1.5;
    max-width: 500px;
    font-style: italic;
    letter-spacing: 0.2px;
}

.espelho-entrada-form {
    margin: 0 0 20px 0;
}

.espelho-entrada-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px 20px;
    min-height: 120px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #e8e8e8;
    resize: vertical;
    transition: all 0.2s ease;
    font-family: inherit;
    margin-bottom: 16px;
}

.espelho-entrada-textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.espelho-entrada-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.espelho-entrada-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.espelho-entrada-submit {
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.4);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.espelho-entrada-submit:hover:not(:disabled) {
    background: rgba(212, 175, 55, 0.25);
}

.espelho-entrada-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.espelho-entrada-arrow {
    transition: transform 0.2s ease;
}

.espelho-entrada-submit:hover:not(:disabled) .espelho-entrada-arrow {
    transform: translateX(3px);
}

.espelho-entrada-privacy {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 10px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.2px;
}

.espelho-entrada-privacy i {
    font-size: 0.75rem;
}

/* Separador + sugestão rotativa */
.espelho-entrada-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px 0 16px 0;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
}

.espelho-entrada-separator::before,
.espelho-entrada-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.espelho-entrada-separator span {
    padding: 0 16px;
}

.espelho-entrada-suggestion {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.espelho-entrada-suggestion:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
}

.espelho-entrada-suggestion-text {
    flex: 1;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
    text-align: left;
    opacity: 1;
    transition: opacity 0.35s ease;
    min-height: 2.7em;
    display: flex;
    align-items: center;
}

.espelho-entrada-suggestion-rotate {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.espelho-entrada-suggestion-rotate:hover {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.08);
}

@media (max-width: 768px) {
    .espelho-entrada-title {
        font-size: 1.4rem;
    }

    .espelho-entrada-subtitle {
        font-size: 0.95rem;
    }

    .espelho-entrada-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .espelho-entrada-submit {
        justify-content: center;
    }
}