/* --- SIEESC - Style Sheet --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --text-main: #ffffff;
    --text-muted: #ffffff;
    --bg-dark: #020617;
    --glass: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-accent: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Mapeamento de variáveis antigas do SIEESC */
    --secondary: #ffffff;
    --dark: #020617;
    --light: #0a101f;
    --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    --glass-white: rgba(15, 23, 42, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-main);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- Top Banner --- */
.top-banner {
    width: 100%;
    background-color: #0f172a;
    overflow: hidden;
    line-height: 0;
}

.top-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Header & Nav --- */
#main-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

#main-header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(12px);
    padding: 1rem 5%;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- Layout --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-60 {
    margin-bottom: 60px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 140px 0 100px;
    clip-path: ellipse(150% 100% at 50% 0%);
    overflow: hidden;
    color: var(--text-main);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('../img/site/reuniao_gestores.png') center/cover;
    filter: blur(4px);
    transform: scale(1.05);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-main);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 40px;
}

.badge-new {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* --- Features / Modules --- */
#sobre {
    background-color: var(--bg-dark);
}

#modulos {
    background: #0a101f;
    border-radius: 40px;
    padding: 100px 5%;
    margin: 50px auto;
    max-width: 1400px;
    border: 1px solid var(--glass-border);
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--glass);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    color: var(--text-main);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent);
    transition: var(--transition);
}

.card.success::before {
    background: #10b981;
}

.card.warning::before {
    background: #f59e0b;
}

.card.info::before {
    background: #3b82f6;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 25px;
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--accent);
    color: #000;
    transform: scale(1.1);
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
}

.benefit-tag {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    padding: 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.benefit-tag i {
    margin-right: 10px;
}

/* --- Special Section (Calculator) --- */
.highlight-section {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 80px 40px;
    position: relative;
    margin: 40px 0;
    box-shadow: var(--shadow-premium);
}

.highlight-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.highlight-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

.highlight-text p {
    color: var(--text-muted);
}

.highlight-text ul {
    list-style: none;
    margin-top: 25px;
}

.highlight-text li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-weight: 600;
    color: var(--text-main);
}

.highlight-text li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.highlight-image img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* --- Audience Focus --- */
.audience-row {
    display: flex;
    gap: 40px;
    margin-top: 60px;
}

.audience-box {
    flex: 1;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    border-top: 8px solid var(--accent);
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.audience-box.tech {
    border-top-color: #3b82f6;
}

.audience-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: rgba(30, 41, 59, 0.8);
}

.audience-box h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.audience-box h4 i {
    margin-right: 15px;
    font-size: 1.2rem;
    color: var(--accent);
}

.audience-box p {
    color: var(--text-muted);
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Footer CTA --- */
.cta-footer {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), transparent);
    color: var(--text-main);
    text-align: center;
    padding: 80px 0;
    border-radius: 40px 40px 0 0;
    border: 1px solid var(--glass-border);
    border-bottom: none;
    margin-top: 50px;
}

.hero-btns {
    text-align: center;
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #000;
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(245, 158, 11, 0.4);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline-white:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.3);
}

/* --- Footer --- */
#main-footer {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-info h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-info .logo img {
    height: 45px;
    width: auto;
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links h4,
.footer-social h4 {
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 1.4rem;
    margin-right: 0.8rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    color: var(--accent);
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.2);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .highlight-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .audience-row {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}