/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #059669;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --border: #e5e7eb;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 14px 0;
    transition: box-shadow 0.3s;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text);
}

.logo:hover {
    color: var(--primary);
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-list a {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
    background: var(--primary);
    color: white;
    border-radius: 6px;
}

.btn-small:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-full {
    width: 100%;
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 120px;
    background: linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.75)),
                url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=1600&q=80') center/cover no-repeat;
    text-align: center;
    color: white;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: white;
    color: var(--primary);
    font-size: 1rem;
    padding: 14px 32px;
}

.hero .btn-primary:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.hero .btn-outline {
    border-color: white;
    color: white;
    font-size: 1rem;
    padding: 14px 32px;
}

.hero .btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* ===== FEATURES ===== */
.features {
    padding: 100px 0;
    background: var(--bg);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--text);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
    background: linear-gradient(rgba(37, 99, 235, 0.9), rgba(29, 78, 216, 0.95)),
                url('https://images.unsplash.com/photo-1559027615-cd4628902d4a?w=1600&q=80') center/cover no-repeat;
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background: white;
    color: var(--primary);
    padding: 14px 32px;
    font-size: 1rem;
}

.cta .btn-primary:hover {
    background: var(--bg-alt);
    color: var(--primary-dark);
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 80px 0;
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.7)),
                url('https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?w=1600&q=80') center/cover no-repeat;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 12px;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-header p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
}

/* ===== ABOUT ===== */
.about-section {
    padding: 100px 0;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 56px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 16px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.value-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.value-card p,
.value-card li {
    color: var(--text-light);
    line-height: 1.8;
}

.value-card ul {
    padding-left: 8px;
}

.value-card li::before {
    content: "• ";
    color: var(--primary);
}

/* ===== STATS ===== */
.stats {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: white;
}

.stats .section-title {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* ===== TRANSPARENCY ===== */
.transparency-section {
    padding: 80px 0;
}

.transparency-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
}

.docs-categories {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.doc-category h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}

.doc-category > p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.doc-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: box-shadow 0.2s;
}

.doc-item:hover {
    box-shadow: var(--shadow);
}

.doc-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.doc-icon {
    font-size: 1.5rem;
}

.doc-info strong {
    display: block;
    margin-bottom: 2px;
}

.doc-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.transparency-note {
    margin-top: 48px;
    padding: 20px;
    background: #fef3c7;
    border-radius: var(--radius-sm);
    border-left: 4px solid #f59e0b;
}

.transparency-note p {
    font-size: 0.95rem;
    color: #92400e;
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.social-links {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.social-links h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-link {
    padding: 8px 16px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    border: 1px solid var(--border);
    transition: background 0.2s;
}

.social-link:hover {
    background: var(--primary-light);
}

/* ===== FORM ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    padding: 20px;
    background: #d1fae5;
    border-radius: var(--radius-sm);
    text-align: center;
    color: #065f46;
    font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
    background: #0f172a;
    color: #d1d5db;
    padding: 70px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo-icon,
.footer-brand .logo-text {
    color: white;
    font-size: 1.3rem;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 24px;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #94a3b8;
    line-height: 1.4;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: #475569;
}

/* ===== IMPACT BANNER ===== */
.impact-banner {
    padding: 120px 0;
    background: linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.6)),
                url('https://images.unsplash.com/photo-1593113598332-cd288d649433?w=1600&q=80') center/cover no-repeat fixed;
    text-align: center;
    color: white;
}

.impact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.impact-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s;
        z-index: 999;
    }

    .nav-list.active {
        right: 0;
    }

    .hero {
        padding: 80px 0 70px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .impact-banner {
        padding: 80px 0;
        background-attachment: scroll;
    }

    .impact-content h2 {
        font-size: 1.8rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .doc-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}


/* ===== EVENTS PAGE ===== */
.events-section,
.courses-section,
.gallery-section {
    padding: 60px 0 80px;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.event-date-badge {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.event-day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.9;
}

.event-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.event-details {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.event-details span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.event-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== COURSES PAGE ===== */
.courses-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.course-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.course-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.course-header {
    margin-bottom: 12px;
}

.course-header h3 {
    font-size: 1.25rem;
}

.course-instructor {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.course-status {
    font-size: 0.8rem;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.status-ativo {
    background: #d1fae5;
    color: #065f46;
}

.status-andamento {
    background: #dbeafe;
    color: #1e40af;
}

.status-lotado {
    background: #fee2e2;
    color: #991b1b;
}

.status-encerrado {
    background: #f3f4f6;
    color: #6b7280;
}

.course-desc {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.course-schedules {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.course-schedules-title {
    display: block;
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 10px;
}

.course-schedule-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--bg-alt);
    border-radius: 8px;
    margin-bottom: 8px;
    gap: 12px;
    flex-wrap: wrap;
}

.course-schedule-info {
    display: flex;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--text);
}

.course-schedule-row .course-status {
    font-size: 0.75rem;
}

/* ===== GALLERY PAGE ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.lightbox-caption {
    color: white;
    margin-top: 16px;
    font-size: 1rem;
    text-align: center;
}

/* ===== EMPTY STATE (public) ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.empty-state span {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ===== RESPONSIVE ADDITIONS ===== */
@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-date-badge {
        width: 60px;
        height: 60px;
    }

    .courses-list {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}


/* ===== ENROLLMENT MODAL ===== */
.enroll-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.enroll-modal-content {
    background: white;
    border-radius: 16px;
    padding: 36px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.enroll-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}

.enroll-modal-close:hover {
    color: var(--text);
}

.enroll-modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.enroll-course-info {
    background: var(--primary-light);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.enroll-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px 0;
}

.enroll-success span {
    font-size: 3rem;
}

.enroll-success h3 {
    font-size: 1.3rem;
    color: #065f46;
}

.enroll-success p {
    color: var(--text-light);
    margin-bottom: 8px;
}

.btn-enroll {
    background: var(--secondary);
    color: white;
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-enroll:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}


/* ===== BOARD / DIRETORIA PAGE ===== */
.board-section {
    padding: 80px 0;
}

.board-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.board-group-title {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text);
    position: relative;
    padding-bottom: 12px;
}

.board-group-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.board-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 32px;
    justify-items: center;
}

.board-card {
    text-align: center;
    max-width: 250px;
}

.board-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--primary-light);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.board-card:hover .board-photo {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.25);
}

.board-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    font-size: 4rem;
}

.board-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.board-role {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

.board-mandato {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
}


/* ===== INSTITUTIONAL DATA ===== */
.institutional {
    padding: 80px 0;
    background: var(--bg-alt);
}

.institutional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.institutional-item {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.2s;
}

.institutional-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.institutional-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.institutional-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.institutional-item p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}


/* ===== PARTNERS PAGE ===== */
.partners-section {
    padding: 80px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 28px;
    justify-items: center;
}

.partner-card {
    text-align: center;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: white;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    display: block;
    color: var(--text);
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: var(--text);
}

.partner-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-placeholder {
    font-size: 3rem;
}

.partner-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}


/* ===== DESPESAS PUBLIC ===== */
.despesa-mes-group {
    margin-bottom: 28px;
}

.despesa-mes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--primary-light);
    border-radius: 8px;
    margin-bottom: 12px;
}

.despesa-mes-header strong {
    color: var(--primary-dark);
}

.despesa-mes-header span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.despesa-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.despesa-item:last-child {
    border-bottom: none;
}

.despesa-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.despesa-item-info strong {
    font-size: 0.95rem;
}

.despesa-item-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.despesa-item-valor {
    font-weight: 700;
    color: #dc2626;
    white-space: nowrap;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .despesa-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .despesa-mes-header {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
}
