/* site.css — estilos da tela, vindos de index.php do sistema atual */
/* ===== TOKENS ===== */
:root {
    --verde: #00C853;
    --verde-escuro: #009688;
    --verde-profundo: #00796B;
    --verde-claro: #E8F5E9;
    --azul: #1E88E5;
    --azul-profundo: #0D47A1;
    --azul-ciano: #00AEEF;
    --azul-claro: #E3F2FD;
    --laranja: #E65100;
    --laranja-claro: #FFF3E0;

    --bg: #F6F8FB;
    --surface: #FFFFFF;
    --surface-2: #F1F4F8;
    --border: #E4E9F0;
    --border-strong: #D3DAE4;
    --text: #0F172A;
    --text-muted: #556070;
    --text-faint: #8A94A3;

    --grad: linear-gradient(120deg, var(--azul-profundo) 0%, var(--azul) 45%, var(--verde) 100%);
    --grad-text: linear-gradient(110deg, var(--verde) 0%, var(--azul-ciano) 100%);

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 2px 6px rgba(15, 23, 42, .04);
    --shadow: 0 10px 30px -12px rgba(15, 23, 42, .14);
    --shadow-lg: 0 24px 48px -18px rgba(13, 71, 161, .28);

    --nav-h: 72px;
    --container: 1240px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 64px); }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; }
button { font: inherit; }

/* Ícones SVG (includes/icones.php) */
.account-menu a .ic { color: var(--text-faint); transition: color .15s; }
.account-menu a:hover .ic { color: var(--verde-profundo); }
.canvas-cell-label .ic { width: 14px; height: 14px; vertical-align: -2px; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--azul); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }

.serif { font-family: 'Instrument Serif', serif; font-weight: 400; }
.grad-text {
    font-style: italic;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(30, 136, 229, .6); }
.btn-primary:hover { box-shadow: 0 12px 26px -8px rgba(30, 136, 229, .7); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--azul); color: var(--azul); }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 300;
    height: var(--nav-h);
    background: rgba(255, 255, 255, .78);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px -16px rgba(15, 23, 42, .25); }
.navbar .container { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    display: grid; place-items: center;
    box-shadow: var(--shadow-sm);
}
.logo-mark img { width: 28px; height: 28px; object-fit: contain; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--azul-profundo); }
.brand-name span { font-weight: 500; color: var(--text-muted); }

.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 999px;
    transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--surface-2); color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.topbar-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--verde-profundo);
    background: var(--verde-claro);
    display: inline-flex; align-items: center; gap: 6px;
}
.topbar-badge::before {
    content: '';
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--verde);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, .2);
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.icon-btn {
    position: relative;
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color .2s, background .2s, color .2s;
    color: var(--text-muted);
}
.icon-btn .ic { width: 19px; height: 19px; }
.icon-btn:hover { border-color: var(--azul); background: var(--azul-claro); color: var(--azul); }
.notif-count {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    display: grid; place-items: center;
    background: #EF4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    border: 2px solid #fff;
}

/* Dropdowns (notificações / conta) */
.dropdown-wrap { position: relative; }
.dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 320px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .2s, transform .2s;
    z-index: 400;
}
.dropdown.show { opacity: 1; transform: none; pointer-events: auto; }
.dropdown-title {
    font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--text-faint);
    padding: 8px 12px 6px;
}
.notif-item { display: block; padding: 10px 12px 10px 14px; border-radius: var(--radius-sm); cursor: pointer; transition: background .15s; border-left: 3px solid transparent; }
.notif-item:hover { background: var(--surface-2); }
.notif-item.notif-erro { border-left-color: #EF4444; }
.notif-item.notif-sucesso { border-left-color: var(--verde); }
.notif-item.notif-aviso { border-left-color: #FB8C00; }
.notif-todas { display: block; text-align: center; font-size: 12px; font-weight: 600; color: var(--azul); padding: 8px; margin-top: 4px; border-top: 1px solid var(--border); }
.notif-titulo { font-weight: 600; font-size: 13px; }
.notif-mensagem { font-size: 12px; color: var(--text-muted); }
.notif-empty { padding: 16px 12px; font-size: 13px; color: var(--text-faint); text-align: center; }

.account-menu { width: 230px; }
.account-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-muted);
    transition: background .15s, color .15s;
}
.account-menu a:hover { background: var(--verde-claro); color: var(--verde-profundo); }
.account-menu hr { border: 0; border-top: 1px solid var(--border); margin: 6px 4px; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px;
    padding: 0 10px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    cursor: pointer;
}
.hamburger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    z-index: 290;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex; flex-direction: column; gap: 6px;
    padding: 20px 16px 32px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .25s, transform .25s;
}
.mobile-nav.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a {
    font-size: 16px; font-weight: 600;
    padding: 14px 18px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav a::after { content: '→'; color: var(--text-faint); }
.mobile-nav-label {
    font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--text-faint);
    padding: 16px 6px 4px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 72px 0 120px;
    overflow: hidden;
}
.hero::before {
    /* grade sutil de fundo */
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
    opacity: .6;
    pointer-events: none;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
    pointer-events: none;
}
.blob-1 { width: 520px; height: 520px; background: var(--verde); top: -180px; right: -120px; }
.blob-2 { width: 460px; height: 460px; background: var(--azul); bottom: -220px; left: -160px; opacity: .25; }

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--azul);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}
.hero-eyebrow i {
    font-style: normal;
    font-size: 11px;
    background: var(--grad);
    color: #fff;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: .04em;
}

.hero h1 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -.025em;
    margin-bottom: 24px;
}
.hero h1 em {
    font-style: italic;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-desc { font-size: 17px; color: var(--text-muted); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-carousel {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.hero-carousel::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 20%, var(--azul-claro), transparent 60%),
                radial-gradient(circle at 80% 90%, var(--verde-claro), transparent 55%);
}
.hero-carousel-slide {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 18px;
    padding: 32px 32px 56px;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1.2s ease, transform 1.2s ease;
    pointer-events: none;
}
.hero-carousel-slide.active { opacity: 1; transform: none; pointer-events: auto; }
.hero-carousel-slide img { max-width: 70%; max-height: 62%; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(15, 23, 42, .12)); }
.hero-carousel-caption { font-size: 14px; font-weight: 600; color: var(--text-muted); text-align: center; }
.hero-carousel-empty {
    position: relative;
    height: 100%;
    display: grid; place-items: center;
    color: var(--text-faint);
    font-size: 14px;
    padding: 24px;
    text-align: center;
}
.carousel-dots {
    position: absolute;
    left: 0; right: 0; bottom: 18px;
    display: flex; justify-content: center; gap: 6px;
    z-index: 2;
}
.carousel-dots button {
    width: 8px; height: 8px;
    border-radius: 999px;
    border: 0;
    background: var(--border-strong);
    cursor: pointer;
    transition: width .3s, background .3s;
}
.carousel-dots button.active { width: 24px; background: var(--azul); }

.mission-card {
    position: absolute;
    left: -40px; bottom: -48px;
    max-width: 340px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: var(--shadow);
    z-index: 3;
}
.mission-card::before {
    content: '“';
    position: absolute;
    top: -18px; left: 18px;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-family: 'Instrument Serif', serif;
    font-size: 28px;
    line-height: 1;
    padding-top: 10px;
}
.mission-card p { font-size: 14px; font-weight: 500; font-style: italic; color: var(--text); }
.mission-card cite { display: block; margin-top: 10px; font-size: 12px; font-style: normal; font-weight: 600; color: var(--verde-profundo); }

/* ===== ESTATÍSTICAS ===== */
.stats-band-section { position: relative; margin-top: -56px; z-index: 5; }
.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.stat-card { padding: 28px 28px 24px; position: relative; }
.stat-card + .stat-card::before {
    content: '';
    position: absolute; left: 0; top: 24px; bottom: 24px;
    width: 1px; background: var(--border);
}
.stat-icon {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--azul-claro);
    color: var(--azul);
    margin-bottom: 14px;
}
.stat-icon .ic { width: 21px; height: 21px; }
.stat-card:nth-child(2) .stat-icon { background: var(--verde-claro); color: var(--verde-profundo); }
.stat-card:nth-child(3) .stat-icon { background: var(--laranja-claro); color: var(--laranja); }
.stat-card:nth-child(4) .stat-icon { background: #F3E8FF; color: #7c3aed; }
.stat-val {
    font-family: 'Instrument Serif', serif;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--azul-profundo);
}
.stat-lbl { font-size: 13px; color: var(--text-muted); margin-top: 6px; font-weight: 500; }

/* ===== FAIXA DE VALORES ===== */
.values-strip {
    margin: 56px 0 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.values-track { display: flex; gap: 12px; width: max-content; animation: marquee 32s linear infinite; }
.values-strip:hover .values-track { animation-play-state: paused; }
.value-chip {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 14px; font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}
.value-chip::before { content: '✦'; color: var(--verde); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== SUBNAV DE SEÇÕES ===== */
.section-nav {
    position: sticky;
    top: var(--nav-h);
    z-index: 200;
    margin-top: 48px;
    padding: 12px 0;
    background: rgba(246, 248, 251, .85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.section-nav-inner {
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}
.section-nav-inner::-webkit-scrollbar { display: none; }
.section-nav a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px; font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.section-nav a:hover { color: var(--text); }
.section-nav a.active { background: var(--text); color: #fff; }
.sidebar-pip { width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); }
.section-nav a.active .sidebar-pip { background: var(--verde); box-shadow: 0 0 0 3px rgba(0, 200, 83, .25); }

/* ===== SEÇÕES ===== */
.main { padding: 24px 0 40px; }
.content-section { padding: 56px 0; }
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.section-kicker {
    font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--verde-escuro);
    margin-bottom: 8px;
}
.section-header h2 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--text);
}
.section-meta {
    font-size: 13px; font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--verde-claro);
    color: var(--verde-profundo);
}

/* Filtros de projetos */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 13px; font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s;
}
.filter-btn span { opacity: .6; margin-left: 4px; }
.filter-btn:hover { border-color: var(--text); color: var(--text); }
.filter-btn.active { background: var(--text); border-color: var(--text); color: #fff; }

/* ===== CARDS DE PROJETO ===== */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.project-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 10px;
    transition: transform .3s cubic-bezier(.2, 0, 0, 1), box-shadow .3s, border-color .3s;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.project-card.hidden { display: none; }

.card-header {
    position: relative;
    display: grid; place-items: center;
    aspect-ratio: 16 / 10;
    border-radius: calc(var(--radius-lg) - 8px);
    background: linear-gradient(145deg, var(--surface-2), #fff);
    border: 1px solid var(--border);
    overflow: hidden;
}
.card-header::after {
    content: '';
    position: absolute; inset: 0;
    background: var(--grad);
    opacity: 0;
    transition: opacity .3s;
}
.project-card:hover .card-header::after { opacity: .06; }
.project-logo { width: 55%; height: 70%; display: grid; place-items: center; }
.project-logo img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    transition: transform .4s cubic-bezier(.2, 0, 0, 1);
}
.project-card:hover .project-logo img { transform: scale(1.06); }

.project-status {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 1;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border);
}
.project-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.status-ativo { color: var(--verde-profundo); }
.status-ativo::before { background: var(--verde); }
.status-incubacao { color: var(--laranja); }
.status-incubacao::before { background: #FB8C00; }

.card-body { padding: 18px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.project-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; color: var(--text); }
.project-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }

.card-actions { display: flex; gap: 8px; margin-top: auto; }
.btn-acessar {
    flex: 1;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px; font-weight: 600;
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid transparent;
    transition: background .2s, color .2s, transform .2s, box-shadow .2s;
    text-align: center;
    white-space: nowrap;
}
.btn-acessar:hover { background: var(--azul); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(30, 136, 229, .6); }
.btn-acessar.primary { background: var(--text); color: #fff; }
.btn-acessar.primary:hover { background: var(--azul); }
.btn-acessar.disabled { opacity: .55; cursor: not-allowed; }
.btn-acessar.disabled:hover { background: var(--surface-2); color: var(--text); transform: none; box-shadow: none; }

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 56px 24px;
    border: 2px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--text-muted);
}
.empty-state .btn { margin-top: 16px; }

/* ===== QUEM SOMOS ===== */
.sobre-intro {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 760px;
    margin-bottom: 36px;
}
.pilares-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pilar-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.pilar-card::before {
    content: '';
    position: absolute; left: 0; top: 0; right: 0;
    height: 3px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s;
}
.pilar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pilar-card:hover::before { transform: scaleX(1); }
.pilar-icon {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 16px;
    background: var(--azul-claro);
    color: var(--azul);
    margin-bottom: 20px;
    transition: transform .3s;
}
.pilar-icon .ic { width: 26px; height: 26px; stroke-width: 1.7; }
.pilar-card:hover .pilar-icon { transform: rotate(-6deg) scale(1.06); }
.pilar-card:nth-child(2) .pilar-icon { background: #F3E8FF; color: #7c3aed; }
.pilar-card:nth-child(3) .pilar-icon { background: var(--laranja-claro); color: var(--laranja); }
.pilar-card:nth-child(4) .pilar-icon { background: var(--verde-claro); color: var(--verde-profundo); }
.pilar-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.pilar-card ul { list-style: none; display: grid; gap: 10px; }
.pilar-card li { font-size: 14px; color: var(--text-muted); padding-left: 24px; position: relative; }
.pilar-card li::before {
    content: '';
    position: absolute; left: 0; top: 5px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--verde-claro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2300796B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ===== CANVAS (BENTO) ===== */
.canvas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.canvas-cell {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color .2s, box-shadow .2s;
}
.canvas-cell:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.canvas-cell.featured {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--grad);
    border: 0;
    color: #fff;
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 260px;
    position: relative;
    overflow: hidden;
}
.canvas-cell.featured::before {
    content: '';
    position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    top: -120px; right: -80px;
    box-shadow: 0 0 0 40px rgba(255, 255, 255, .05), 0 0 0 80px rgba(255, 255, 255, .04);
}
.canvas-cell-label {
    font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--verde-profundo);
    margin-bottom: 10px;
}
.canvas-cell-content { font-size: 14px; color: var(--text-muted); }
.canvas-cell.featured .canvas-cell-label { color: rgba(255, 255, 255, .85); position: relative; }
.canvas-cell.featured .canvas-cell-content {
    position: relative;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.25;
    color: #fff;
}

/* ===== PARCERIAS ===== */
.parceria-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.parceria-row {
    display: flex; align-items: center; gap: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.parceria-row:hover { transform: translateY(-3px); border-color: var(--verde); box-shadow: var(--shadow); }
.parceria-dot {
    flex-shrink: 0;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: var(--azul-claro);
    color: var(--azul-profundo);
    font-weight: 800;
    font-size: 16px;
}
.parceria-info { flex: 1; min-width: 0; }
.parceria-nome { font-weight: 700; font-size: 15px; color: var(--text); line-height: 1.35; }
.parceria-desc { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.parceria-row .btn-acessar { flex: 0 0 auto; }

/* ===== FOOTER ===== */
footer { margin-top: 40px; background: #0B1220; color: rgba(255, 255, 255, .7); }
.footer-cta {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 56px 0;
}
.footer-cta .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-cta h3 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: #fff;
    line-height: 1.15;
}
.footer-bottom { padding: 24px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .logo-mark { width: 32px; height: 32px; border-radius: 9px; border: 0; }
.footer-brand .logo-mark img { width: 20px; height: 20px; }

/* ===== ANIMAÇÕES DE ENTRADA ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1100px) {
    .pilares-grid { grid-template-columns: repeat(2, 1fr); }
    .canvas-grid { grid-template-columns: repeat(3, 1fr); }
    .canvas-cell.featured { grid-column: span 3; grid-row: auto; min-height: 200px; }
    .nav-links a { padding: 8px 10px; }
    .topbar-badge { display: none; }
}

@media (max-width: 900px) {
    :root { --nav-h: 64px; }
    .container { padding: 0 20px; }
    .nav-links, .nav-actions .nav-desktop { display: none; }
    .hamburger { display: flex; }
    .nav-actions { margin-left: auto; }

    .hero { padding: 48px 0 104px; }
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
    .mission-card { position: relative; left: auto; bottom: auto; max-width: none; margin: -40px 16px 0; }

    .stats-band { grid-template-columns: repeat(2, 1fr); }
    .stat-card:nth-child(3)::before { display: none; }
    .stat-card:nth-child(n+3) { border-top: 1px solid var(--border); }

    .canvas-grid { grid-template-columns: repeat(2, 1fr); }
    .canvas-cell.featured { grid-column: span 2; }
    .content-section { padding: 40px 0; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .brand-name { font-size: 16px; }
    .hero h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
    .hero-desc { font-size: 16px; }
    .hero-cta .btn { flex: 1; }
    .stat-card { padding: 20px 18px; }
    .stat-val { font-size: 2.1rem; }
    .pilares-grid, .canvas-grid { grid-template-columns: 1fr; }
    .canvas-cell.featured { grid-column: span 1; }
    .parceria-list { grid-template-columns: 1fr; }
    .parceria-row { flex-wrap: wrap; }
    .project-grid { grid-template-columns: 1fr; }
    .section-header { align-items: flex-start; }
    .dropdown { width: calc(100vw - 32px); right: -60px; }
    .footer-bottom .container { flex-direction: column; text-align: center; align-items: center; }
}

