/* * Roda da Vida - Simone Silvestrin 
 * Premium Stylesheet (Atualizado com cores mais fortes)
 */

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

:root {
    /* Cores Fortificadas */
    --gold-primary: #B4862E; /* Ouro mais fechado e forte */
    --gold-light: #D4A045;   /* Ouro médio */
    --gold-dark: #8C661F;    /* Bronze escuro */
    
    --dark-bg: #1A1A1A;
    --text-grey: #4A4A4A;
    --bg-body: #FAFAFA;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-grey);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

h1, h2, h3, .serif-font {
    font-family: 'Playfair Display', serif;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease;
}
.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(180, 134, 46, 0.3);
    border-radius: 50%;
    border-top-color: var(--gold-primary);
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Botões Premium (Cores mais vivas) --- */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 50%, var(--gold-light) 100%);
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: none;
}
.btn-gold::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}
.btn-gold:hover::after { left: 100%; }
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(180, 134, 46, 0.4);
}
.btn-gold:disabled {
    background: #ccc;
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-outline {
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background: var(--gold-primary);
    color: white;
}


/* --- Cards e Layout --- */
.card-premium {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}
.explanation-box {
    background: #FFFCF5;
    border-left: 5px solid var(--gold-primary);
    padding: 24px;
    border-radius: 0 8px 8px 0;
    margin-top: 10px;
}

/* --- Accordion --- */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out, opacity 0.6s ease, padding 0.6s;
    opacity: 0;
}
.accordion-active .accordion-content {
    max-height: 800px;
    opacity: 1;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.accordion-header {
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 8px;
}
.accordion-header:hover { background-color: #f9f9f9; }
.accordion-active .accordion-header { color: var(--gold-dark); }
.check-icon {
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #22c55e;
}
.accordion-completed .check-icon {
    opacity: 1;
    transform: scale(1);
}

/* --- Modais --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 26, 26, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    border-top: 5px solid var(--gold-primary);
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }

/* --- Inputs --- */
.input-premium {
    border: 1px solid #e0e0e0;
    padding: 14px 16px;
    border-radius: 8px;
    width: 100%;
    transition: 0.3s;
    outline: none;
    background-color: #fff;
    font-size: 1rem;
}
.input-premium:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(180, 134, 46, 0.15);
}

/* --- Utilitários --- */
.hidden-step { display: none; }
.fade-in { animation: fadeIn 0.8s ease-out forwards; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


