/* Academic Theme - Estrutura do TCC */

:root {
    /* Academic Palette */
    --navy-primary: #1A237E;
    /* Deep Navy Blue */
    --navy-dark: #000051;
    /* Darker Navy for hover/active */
    --navy-light: #534BAE;
    /* Lighter Navy/Indigo accent */

    --grey-bg: #F5F7F9;
    /* Cool grey background */
    --grey-border: #CFD8DC;
    /* Structural border */
    --text-graphite: #37474F;
    /* Professional dark grey text */

    --purple-accent: #6A1B9A;
    /* Kept only for brand continuity */

    /* Override Global Variables for this page scope */
    --purple-primary: var(--navy-primary);
    --purple-light: var(--grey-bg);
    --purple-dark: var(--navy-dark);
    --bg-off-white: #F5F7F9;
    /* More technical grey than the original warm off-white */
    --text-main: var(--text-graphite);
    --radius-md: 4px;
    /* Sharper corners for academic feel */
    --radius-lg: 8px;
}

/* Base Refinements */
body {
    background-color: var(--grey-bg);
    color: var(--text-graphite);
}

h1,
h2,
h3,
h4 {
    letter-spacing: -0.02em;
    /* Tighter, more professional tracking */
    color: var(--navy-primary);
}

/* Component Overrides */

/* Buttons: More structure, less "pill" */
.btn {
    border-radius: 6px;
    /* Less rounded */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    padding: 1rem 2rem;
}

.btn-primary {
    background-color: var(--navy-primary);
    box-shadow: 0 2px 5px rgba(26, 35, 126, 0.2);
}

.btn-primary:hover {
    background-color: var(--navy-dark);
    box-shadow: 0 4px 8px rgba(26, 35, 126, 0.3);
}

/* Cards: "Technical Manual" look */
.card {
    border: 1px solid var(--grey-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    /* Minimal shadow */
    border-radius: var(--radius-md);
    background: #fff;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-color: var(--navy-light);
}

/* Header Override */
.landing-header {
    background-color: #fff;
    border-bottom: 2px solid var(--navy-primary);
    /* Stronger delimiter */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Sections */
.bg-purple-light {
    background-color: #E8EAF6;
    /* Indigo 50 - Academic "paper" feel */
    border-top: 1px solid var(--grey-border);
    border-bottom: 1px solid var(--grey-border);
}

/* Typography Overrides */
.text-purple {
    color: var(--navy-primary);
}

/* Hero Specifics */
.hero {
    background-color: #fff;
    background-image:
        linear-gradient(#E8EAF6 1px, transparent 1px),
        linear-gradient(90deg, #E8EAF6 1px, transparent 1px);
    background-size: 40px 40px;
    /* Grid paper background */
    border-bottom: 1px solid var(--grey-border);
}

.hero-text h1 {
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--navy-primary);
    font-weight: 800;
}

.subheadline {
    color: var(--text-graphite);
    font-weight: 400;
}

/* Lists & Checks */
.card-features li::before {
    content: "■";
    /* Square bullet for technical feel */
    font-size: 0.8em;
    color: var(--navy-light);
    margin-right: 0.8rem;
    transform: translateY(-2px);
    /* Align visual center */
}

/* Institutional/Author Section */
.author-avatar {
    border: 1px solid var(--grey-border) !important;
    padding: 4px;
    background: #fff;
}

/* Footer alignment */
footer {
    background-color: var(--navy-dark);
    border-top: 4px solid var(--navy-primary);
}

/* Institutional Author Card */
.author-card-institutional {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    text-align: left;
}

@media (max-width: 768px) {
    .author-card-institutional {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}