/* Estilos para Tempo de Vida Financeiro - Tema Cinematográfico e Emocional */
:root {
    --bg-dark: #09090b;
    --bg-card: #18181b;
    --text-main: #f8fafc;
    --text-muted: #a1a1aa;
    --accent: #fbbf24; /* Ouro/Amber para representar "tempo valioso" */
    --accent-glow: rgba(251, 191, 36, 0.4);
    --glass-bg: rgba(24, 24, 27, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --danger: #ef4444;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Orbs Cinematográficos */
.glow-orb { position: fixed; border-radius: 50%; filter: blur(120px); z-index: -1; opacity: 0.25; pointer-events: none; }
.orb-gold { width: 500px; height: 500px; background: #fbbf24; top: -150px; left: -100px; animation: float 20s infinite ease-in-out; }
.orb-purple { width: 600px; height: 600px; background: #6b21a8; bottom: -200px; right: -100px; animation: float 25s infinite reverse ease-in-out; }

@keyframes float { 0% { transform: translateY(0px) scale(1); } 50% { transform: translateY(40px) scale(1.1); } 100% { transform: translateY(0px) scale(1); } }

/* Navbar Reutilizada */
.navbar { padding: 16px 40px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--glass-border); background: rgba(9, 9, 11, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 100; }
.back-link { color: var(--text-muted); text-decoration: none; font-weight: 500; display: flex; align-items: center; gap: 8px; font-size: 0.9rem; transition: color 0.3s; }
.back-link:hover { color: var(--text-main); }
.logo { font-weight: 800; font-size: 1.1rem; background: linear-gradient(to right, #fff, #a1a1aa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

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

/* Hero Section */
.hero { text-align: center; margin-bottom: 60px; }
.badge { display: inline-block; padding: 6px 14px; background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.2); color: var(--accent); border-radius: 999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 1px; }
.hero h1 { font-size: 3rem; font-weight: 800; margin: 0 0 16px 0; color: #fff; }
.hero h1 span { color: var(--accent); font-family: 'Playfair Display', serif; font-style: italic; font-weight: 600; text-shadow: 0 0 30px var(--accent-glow); }
.hero p { color: var(--text-muted); font-size: 1.125rem; max-width: 700px; margin: 0 auto; line-height: 1.7; }

/* Calculadora Grid */
.calculator-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    margin-bottom: 80px;
}

.grid-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .grid-layout { grid-template-columns: 1fr; } .calculator-glass { padding: 24px; } }

/* Formulário */
.input-panel h2 { font-size: 1.4rem; margin-top: 0; margin-bottom: 30px; color: #fff; }
.section-divider { font-size: 1.1rem; color: var(--accent); margin-top: 30px; margin-bottom: 15px; border-bottom: 1px solid var(--glass-border); padding-bottom: 10px; }
.input-group { display: flex; flex-direction: column; margin-bottom: 20px; width: 100%; }
.row { display: flex; gap: 20px; }
@media (max-width: 600px) { .row { flex-direction: column; gap: 0; } }

label { font-size: 0.875rem; font-weight: 500; margin-bottom: 8px; color: #cbd5e1; }
input { background: rgba(0, 0, 0, 0.25); border: 1px solid var(--glass-border); color: #fff; padding: 14px 16px; border-radius: 12px; font-family: 'Inter', sans-serif; font-size: 1rem; outline: none; transition: all 0.3s; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
input[type="number"]::-webkit-inner-spin-button { margin-right: 8px; }

/* Chips Rápidos */
.quick-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.chip { padding: 8px 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 99px; font-size: 0.85rem; color: #cbd5e1; cursor: pointer; transition: all 0.2s; }
.chip:hover { background: rgba(251, 191, 36, 0.1); border-color: var(--accent); color: var(--accent); }

.btn-calc { background: var(--accent); color: #000; border: none; padding: 16px 24px; border-radius: 12px; font-size: 1rem; font-weight: 700; width: 100%; cursor: pointer; margin-top: 10px; box-shadow: 0 4px 15px var(--accent-glow); transition: all 0.3s; }
.btn-calc:hover { background: #f59e0b; transform: translateY(-2px); box-shadow: 0 6px 20px var(--accent-glow); }

/* Painel Direita (Empty e Result) */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-sizing: border-box; min-height: 400px; background: rgba(255, 255, 255, 0.02); border: 1px dashed rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 40px; color: var(--text-muted); }
.empty-state .empty-icon { font-size: 4rem; margin-bottom: 20px; opacity: 0.5; }
.empty-state h3 { color: #e2e8f0; font-size: 1.2rem; margin-top: 0; margin-bottom: 10px; }

.results-panel { display: flex; flex-direction: column; gap: 24px; animation: fadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* Resultado Emocional */
.emotional-result { text-align: center; padding: 30px; background: linear-gradient(180deg, rgba(251, 191, 36, 0.05) 0%, rgba(0,0,0,0) 100%); border-radius: 20px; border: 1px solid rgba(251, 191, 36, 0.2); position: relative; }
.emotional-prefix { color: var(--text-muted); font-size: 1rem; margin-bottom: 10px; }
.headline-impact { font-size: 2.8rem; font-weight: 800; color: var(--accent); line-height: 1.1; margin: 0 0 20px 0; text-shadow: 0 0 40px var(--accent-glow); font-family: 'Playfair Display', serif; }
@media(max-width: 600px) { .headline-impact { font-size: 2.2rem; } }

.progress-time { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; margin-bottom: 15px; position: relative; }
.progress-bar-time { height: 100%; width: 0%; background: linear-gradient(90deg, #f59e0b, #ef4444); transition: width 1.5s ease-in-out; }
.emotional-subtitle { color: #ef4444; font-size: 0.95rem; font-weight: 600; margin: 0; }

.value-card { background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); border-radius: 16px; padding: 24px; }
.value-card h3 { margin-top: 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 12px; margin-bottom: 16px; color: #fff; }
.resultado-item { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 0.95rem; color: var(--text-muted); align-items: center; }
.resultado-item strong { font-size: 1.1rem; }
.highlight-gold { color: var(--accent); }
.text-white { color: #fff; }

.insight-box { display: flex; gap: 16px; background: rgba(251, 191, 36, 0.05); border: 1px solid rgba(251, 191, 36, 0.2); padding: 20px; border-radius: 16px; align-items: center; }
.insight-box .icon { font-size: 1.8rem; }
.insight-box .text { font-size: 0.95rem; color: #cbd5e1; line-height: 1.5; }

/* SEO Content */
.seo-content { display: flex; flex-direction: column; gap: 40px; }
.content-card, .faq-section { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 24px; padding: 40px; }
.content-card h2, .faq-section h2 { margin-top: 0; font-size: 1.8rem; color: #fff; margin-bottom: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.info-box { background: rgba(0, 0, 0, 0.2); padding: 20px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.03); }
.info-box h3 { color: var(--accent); margin-top: 0; font-size: 1.1rem; }
.info-box p { margin-bottom: 0; font-size: 0.95rem; color: var(--text-muted); }
.faq-item { margin-bottom: 16px; }
details { background: rgba(0, 0, 0, 0.2); border: 1px solid var(--glass-border); border-radius: 16px; overflow: hidden; }
summary { font-weight: 600; font-size: 1.05rem; cursor: pointer; padding: 20px; color: #fff; outline: none; list-style: none; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 1.5rem; font-weight: 400; }
details[open] summary::after { content: '−'; }
.details-content { padding: 0 20px 20px 20px; color: var(--text-muted); line-height: 1.6; }

footer { border-top: 1px solid var(--glass-border); margin-top: 80px; padding-top: 40px; text-align: center; padding-bottom: 40px; }
.footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 20px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
footer p { color: #64748b; font-size: 0.85rem; margin: 0; }
