/* --- RESET BÁSICO E VARIÁVEIS GLOBAIS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Outfit:wght@300;400;600;700&display=swap');

.center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.linkSemCor {
    text-decoration: none !important;
    color: #fff;
}

.linkSemCor:hover {
    text-decoration: underline !important;
    color: #ffffff !important;
}

: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 compatibilidade antiga */
    --primary-color: #f59e0b;
    --primary-hover-color: #d97706;
    --dark-color: #020617;
    --light-color: #0a101f;
    --text-color: #ffffff;
    --white-color: #ffffff;
    --border-radius: 20px;
    --box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

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

ul {
    margin: 0;
    padding: 0;
}

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);
}

/* --- UTILITÁRIOS --- */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.content-section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 50px;
}

.bg-light { 
    background-color: var(--light-color); 
}

.bg-dark { 
    background-color: var(--bg-dark); 
    color: var(--text-main); 
}

.bg-dark h2, .bg-dark p { 
    color: var(--text-main); 
}

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

/* --- BOTÕES --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: 2px solid transparent;
    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 {
    border-color: var(--accent);
    color: var(--accent);
    background: transparent;
}

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

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

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

/* --- CABEÇALHO E NAVEGAÇÃO --- */
#main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    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 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
}

#main-header nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main); 
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition); 
}

.logo img {
    height: 40px; 
    width: auto; 
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    min-width: 0;
}

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

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

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

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* --- SEÇÃO HERO --- */
#hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-main);
    overflow: hidden;
}

#hero::before {
    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') no-repeat center center/cover;
    filter: blur(4px);
    transform: scale(1.05);
    z-index: 0;
}

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

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- SEÇÃO DE SERVIÇOS --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-card img {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
    transition: var(--transition);
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card i {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin: 0 auto 20px;
    font-size: 2.5rem;
    transition: var(--transition);
}

.service-card:hover i {
    background: rgba(245, 158, 11, 0.2);
    transform: scale(1.1);
}

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

.service-card p {
    color: var(--text-muted);
    flex-grow: 1;
}

.service-card .btn {
    align-self: center;
    margin-top: 20px;
}

/* --- SEÇÃO DE PROCESSO --- */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

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

.step-number {
    background: var(--gradient-accent);
    color: #000;
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.2);
}

.step-content h4 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

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

/* --- SEÇÃO SOBRE NÓS --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
}

/* --- SEÇÃO DO PARCEIRO --- */
#partner {
    padding: 100px 0;
    text-align: center; 
}

.partner-card {
    max-width: 1000px; 
    margin: 0 auto; 
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-premium);
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 30px; 
    transition: var(--transition);
}

.partner-card:hover {
    border-color: var(--accent);
    background: rgba(30, 41, 59, 0.8);
}

.partner-logo img {
    max-width: 250px; 
    height: auto;
    display: block; 
    background: var(--white-color);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.partner-description {
    text-align: left; 
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.partner-description p {
    margin-bottom: 15px;
}

.partner-description strong {
    color: var(--text-main);
}

/* Ajuste para telas maiores: logo e descrição lado a lado */
@media (min-width: 769px) {
    .partner-card {
        flex-direction: row; 
        text-align: left; 
        align-items: flex-start; 
    }

    .partner-logo {
        flex-shrink: 0; 
        margin-right: 30px; 
    }
}

/* --- SEÇÃO CONTATO --- */
#contato {
    text-align: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), transparent);
    border-radius: 40px;
    margin: 80px auto;
    width: 90%;
    max-width: 1400px;
    padding: 80px 5%;
    border: 1px solid var(--glass-border);
}

#contato h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

#contato p {
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.footer-content h3, .footer-content h4 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

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

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.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);
}

/* --- ANIMAÇÕES DE SCROLL --- */
.fade-in {
    opacity: 0;
    animation: fadeInAnimation 1s ease-out forwards;
}
.hero-content h1 { animation-delay: 0.2s; }
.hero-content p { animation-delay: 0.4s; }
.hero-content .btn { animation-delay: 0.6s; }

@keyframes fadeInAnimation {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .about-image {
        grid-row: 1;
    }
}

@media (max-width: 768px) {
    .section-title { 
        font-size: 2rem; 
    }
    
    .nav-links { 
        display: none; 
    }
    
    .hero-content h1 { 
        font-size: 2.2rem; 
    }
    
    .hero-content p { 
        font-size: 1rem; 
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}