:root {
    --primary: #0A192F;        /* Azul Profundo */
    --secondary: #162a47;      /* Azul Petróleo */
    --accent: #D4AF37;         /* Dourado Fosco */
    --bg-light: #F9F9F9;       /* Off-white */
    --text-dark: #333333;
    --text-light: #E6F1FF;
    --border-radius: 12px;
    
    --font-head: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Tipografia */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--primary); }
p { font-weight: 300; line-height: 1.6; color: #555; }

/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%; background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary); letter-spacing: -1px; }
.logo .dot { color: var(--accent); }
.nav-links a { text-decoration: none; color: var(--primary); margin-left: 25px; font-size: 0.9rem; font-weight: 500; }
.login-btn { border: 1px solid var(--primary); padding: 8px 20px; border-radius: 50px; transition: 0.3s; }
.login-btn:hover { background: var(--primary); color: white; }

/* Hero & Upload */
.hero {
    min-height: 90vh;
    padding: 60px 5%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    background: radial-gradient(circle at top, #ffffff 0%, #f0f4f8 100%);
}

.hero h1 { font-size: 3.5rem; margin-bottom: 20px; max-width: 800px; }
.hero .subtitle { font-size: 1.1rem; max-width: 600px; margin-bottom: 50px; }

/* Visual Steps */
.steps-container {
    display: flex; align-items: center; gap: 15px; margin-bottom: 40px;
    opacity: 0.6;
}
.step { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.step-icon { 
    width: 40px; height: 40px; background: #ddd; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; color: white;
}
.step.active .step-icon { background: var(--primary); }
.step span { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.line { width: 50px; height: 2px; background: #ddd; }

/* Upload Box (O "Abraço") */
.upload-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    width: 100%; max-width: 500px;
    transition: transform 0.3s;
}

.upload-box {
    border: 2px dashed #ccc;
    border-radius: var(--border-radius);
    padding: 30px;
    cursor: pointer;
    background: #fafafa;
    transition: 0.3s;
}
.upload-box:hover, .upload-box.dragover { border-color: var(--primary); background: #f0f7ff; }
.icon-big { color: var(--primary); margin-bottom: 10px; }

.terms-check { margin: 20px 0; font-size: 0.85rem; display: flex; align-items: center; gap: 10px; justify-content: center; }
.terms-check a { color: var(--primary); font-weight: 600; }

.main-cta {
    width: 100%; padding: 15px; border-radius: 8px; border: none;
    background: var(--primary); color: white; font-weight: 600; cursor: pointer;
    font-size: 1rem; transition: 0.3s; opacity: 0.5; pointer-events: none;
}
.main-cta.active { opacity: 1; pointer-events: all; box-shadow: 0 10px 20px rgba(10,25,47,0.2); }
.main-cta:hover { transform: translateY(-2px); }

/* Processing View */
.hidden { display: none !important; }
#processing-view { margin-top: 30px; }
.ai-brain { position: relative; width: 60px; height: 60px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.rotating { animation: spin 4s linear infinite; color: var(--primary); width: 40px; height: 40px; }
.pulse-ring { position: absolute; width: 100%; height: 100%; border: 2px solid var(--primary); border-radius: 50%; opacity: 0; animation: pulse 2s infinite; }
.agents-grid { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.agent-tag { background: #eef2f7; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; color: var(--secondary); font-weight: 600; }

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* SSI Section */
.section-light { padding: 100px 5%; background: white; }
.split-v { display: flex; align-items: center; gap: 60px; }
.text-side { flex: 1; }
.chat-side { flex: 1; }
.label-tag { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); font-weight: 700; }

.browser-mockup {
    margin-top: 30px; background: white; border: 1px solid #eee;
    border-radius: 8px; box-shadow: 0 15px 40px rgba(0,0,0,0.06); overflow: hidden;
}
.browser-mockup .bar { background: #f1f1f1; padding: 10px; display: flex; gap: 6px; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.url { background: white; flex: 1; margin-left: 10px; font-size: 0.75rem; padding: 4px 10px; border-radius: 4px; color: #888; }
.screen-content { padding: 40px; text-align: center; background: #fafafa; }
.link-btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--primary); font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* Chat Minimalista */
.chat-window { border: 1px solid #eee; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.chat-header { background: var(--primary); color: white; padding: 15px; display: flex; align-items: center; gap: 10px; }
.avatar { width: 30px; height: 30px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: bold; color: var(--primary); }
.chat-body { height: 300px; overflow-y: auto; padding: 20px; background: white; display: flex; flex-direction: column; gap: 15px; }
.msg { padding: 10px 15px; border-radius: 10px; font-size: 0.9rem; max-width: 85%; }
.msg.bot { background: #f0f4f8; color: #333; align-self: flex-start; border-bottom-left-radius: 2px; }
.msg.user { background: var(--primary); color: white; align-self: flex-end; border-bottom-right-radius: 2px; }
.chat-input { display: flex; border-top: 1px solid #eee; }
.chat-input input { flex: 1; border: none; padding: 15px; outline: none; }
.chat-input button { border: none; background: white; padding: 0 20px; cursor: pointer; color: var(--primary); }

/* Portfolio Dark */
.section-dark { padding: 100px 5%; background: var(--primary); color: var(--text-light); }
.section-dark h2 { color: white; }
.section-dark p { color: #a8b2d1; margin: 0 auto 50px; }
.portfolio-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.portfolio-card {
    display: block; width: 280px; height: 350px; background: var(--secondary);
    border-radius: 12px; text-decoration: none; color: white; overflow: hidden;
    position: relative; transition: 0.4s; border: 1px solid rgba(255,255,255,0.05);
}
.portfolio-card:hover { transform: translateY(-10px); border-color: var(--accent); }
.card-cover { height: 70%; display: flex; align-items: center; justify-content: center; font-size: 3rem; font-family: var(--font-head); color: rgba(255,255,255,0.1); background: linear-gradient(to top, var(--secondary), #1d3352); }
.card-info { padding: 20px; background: white; height: 30%; color: var(--primary); display: flex; flex-direction: column; justify-content: center; }
.card-info span { font-size: 0.8rem; display: flex; align-items: center; gap: 5px; color: var(--accent); font-weight: 600; margin-top: 5px; }

/* Modal Styles */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 25, 47, 0.6); backdrop-filter: blur(5px);
    z-index: 200; display: flex; align-items: center; justify-content: center;
}
.modal-card { background: white; padding: 40px; border-radius: 12px; max-width: 500px; position: relative; }
.close-modal { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

footer { text-align: center; padding: 30px; font-size: 0.8rem; color: #888; background: var(--bg-light); border-top: 1px solid #ddd; }

/* Responsivo */
@media (max-width: 768px) {
    .split-v { flex-direction: column; }
    .hero h1 { font-size: 2.5rem; }
}

/* --- ESTILOS DA PÁGINA DE RESULTADO --- */

.result-header {
    background: var(--primary);
    color: white;
    padding: 60px 5% 80px; /* Padding extra embaixo para sobreposição */
    text-align: center;
}
.result-header h1 { color: white; margin-bottom: 10px; }
.result-header .subtitle { color: #a8b2d1; }

.result-content {
    display: flex;
    gap: 40px;
    margin-top: -50px; /* Efeito de card flutuando sobre o header */
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* Sidebar (Esquerda) */
.sidebar-score {
    flex: 1;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.score-card, .recommendation-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.recommendation-card { text-align: left; }
.recommendation-card h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; font-size: 1.1rem; }

/* Gráfico Circular (SVG) */
.score-circle-container {
    width: 150px;
    margin: 20px auto;
}
.circular-chart { display: block; margin: 0 auto; max-width: 100%; max-height: 250px; }
.circle-bg { fill: none; stroke: #eee; stroke-width: 2.5; }
.circle { fill: none; stroke-width: 2.5; stroke-linecap: round; transition: stroke-dasharray 1.5s ease-out; }
.percentage { fill: var(--primary); font-family: var(--font-head); font-weight: bold; font-size: 0.5em; text-anchor: middle; }

/* Cores da Nota */
.score-low .circle { stroke: #ff5f56; }
.score-mid .circle { stroke: #ffbd2e; }
.score-high .circle { stroke: #27c93f; }

.score-msg { font-weight: 600; color: var(--secondary); margin-top: 10px; }

/* Main Report (Direita) */
.main-report {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.report-card {
    background: white;
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent);
}

.card-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.icon-gold { color: var(--accent); }
.text-content { font-size: 0.95rem; color: #444; white-space: pre-line; }

/* Box Dica LinkedIn */
.linkedin-tip-box {
    background: #0077b5; /* Azul LinkedIn */
    color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}
.linkedin-tip-box::after {
    content: ''; position: absolute; top: -20px; right: -20px;
    width: 100px; height: 100px; background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.tip-header { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.tip-header h3 { color: white; font-family: var(--font-body); font-weight: 600; margin: 0; }
.linkedin-tip-box p { color: rgba(255,255,255,0.9); }

/* Botões de Ação */
.cta-actions { display: flex; gap: 15px; margin-top: 10px; }
.btn-primary { 
    background: var(--primary); color: white; padding: 12px 25px; 
    border-radius: 6px; text-decoration: none; font-weight: 600; transition: 0.3s; 
}
.btn-outline {
    background: transparent; border: 1px solid var(--primary); color: var(--primary);
    padding: 12px 25px; border-radius: 6px; cursor: pointer; font-weight: 600; transition: 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(10,25,47,0.3); }
.btn-outline:hover { background: #f0f4f8; }

/* Tags Cloud */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: #f0f4f8; padding: 5px 12px; border-radius: 4px; font-size: 0.8rem; color: var(--primary); font-weight: 500; }
.tag-skeleton { width: 80px; height: 25px; background: #eee; border-radius: 4px; animation: pulse 1.5s infinite; }

/* Mobile */
@media (max-width: 768px) {
    .result-content { flex-direction: column; margin-top: 0; }
    .sidebar-score { max-width: 100%; order: -1; } /* Nota vem primeiro no mobile */
    .result-header { padding-bottom: 40px; }
}
/* --- BLOQUEIO LINKEDIN --- */

.lock-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999; /* Garante que está por cima */
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    transition: all 0.5s ease;
}

/* ESSA CLASSE É O QUE FAZ O BOTAO FUNCIONAR */
.lock-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}


.lock-content {
    padding: 30px;
    max-width: 80%;
}

.icon-lock {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0077b5; /* Azul LinkedIn */
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin: 20px 0 10px;
    transition: transform 0.2s;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.btn-linkedin:hover {
    transform: translateY(-2px);
    background: #006097;
}

.small-text {
    font-size: 0.75rem;
    color: #888;
    margin-top: 5px;
}