/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0c1e35 0%, #1a365d 50%, #0c1e35 100%);
    min-height: 100vh;
    color: #ffffff;
    position: relative;
    overflow-x: hidden;
}

/* Logo marca d'água */
.background-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background-image: url('fig/logo_reforma_chegou.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

/* Página de Login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(147, 197, 253, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(147, 197, 253, 0.3);
}

.login-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    padding: 15px;
}

.login-logo {
    max-width: 156px;
    height: 97px;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: transform 0.3s ease;
}

.login-logo:hover {
    transform: scale(1.1);
}

.login-box h1 {
    font-size: 1.5em;
    margin: 0 0 10px 0;
    color: #60a5fa;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.login-box h2 {
    font-size: 1.2em;
    margin: 0;
    color: #cbd5e1;
    font-weight: 300;
    text-align: center;
}

.login-box h2 {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #cbd5e1;
    font-weight: 300;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.form-group {
    text-align: left;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 13px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.form-group input::placeholder {
    color: #94a3b8;
}

.login-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.error-message {
    color: #ef4444;
    margin-top: 15px;
    font-size: 14px;
    min-height: 20px;
}

.login-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.login-footer p {
    color: #9ca3af;
    font-size: 12px;
    margin: 0;
    opacity: 0.7;
}

/* Dashboard */
.dashboard-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Navigation */
.top-nav {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-header {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 15px;
    min-height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-logo {
    max-width: 48%;
    height: 42px;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.sidebar-header h2 {
    color: #60a5fa;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.logout-btn {
    background: rgba(239, 68, 68, 0.8);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-left: 10px;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 1);
    transform: translateY(-1px);
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.menu-item {
    display: block;
    padding: 8px 12px;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 6px;
}

.menu-item:hover {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    border-bottom-color: #60a5fa;
}

.menu-item.active {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
    border-bottom-color: #60a5fa;
    font-weight: 600;
}

/* Menu Group */
.menu-group {
    position: relative;
    display: inline-block;
}

.group-title {
    display: block;
    padding: 8px 12px;
    color: #fbbf24;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #fbbf24;
    cursor: pointer;
    transition: all 0.3s ease;
}

.group-title:hover {
    color: #f59e0b;
    border-bottom-color: #f59e0b;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.menu-group:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    list-style: none;
}

.submenu .menu-item {
    display: block;
    padding: 10px 16px;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 0;
    width: 100%;
    text-align: left;
}

.submenu .menu-item:hover {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
}

.submenu .menu-item.active {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
    font-weight: 600;
}

/* Conteúdo Principal */
.main-content {
    flex: 1;
    margin-top: 80px;
    padding: 20px;
    overflow-y: auto;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
}

.content-section.active {
    display: block;
}

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

.content-section h1 {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.content-section h1:focus {
    color: #fbbf24;
    text-shadow: 0 2px 8px rgba(251, 191, 36, 0.5);
    transform: scale(1.02);
}

.intro-container {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 40px;
    margin-bottom: 20px;
    min-height: 50px;
}

.intro-left {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
}

.intro-image {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48%;
    height: 100%;
    min-height: 4px;
}

.intro-img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.congresso-image {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48%;
    height: 100%;
    min-height: 4px;
}

.congresso-img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.congresso-footer {
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    margin-top: 3px;
    width: 100%;
    box-sizing: border-box;
}

.intro-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
}

.content-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.content-card h2 {
    color: #fbbf24;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.content-card h3 {
    color: #34d399;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.content-card ul {
    list-style: none;
    padding-left: 0;
}

.content-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 16px;
}

.content-card li:last-child {
    border-bottom: none;
}

.highlight-box {
    background: rgba(59, 130, 246, 0.2);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    padding: 12px;
    margin: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-box h3 {
    color: #60a5fa;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.4em;
}

.highlight-box ul {
    list-style: none;
}

.legal-references {
    margin: 15px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid #fbbf24;
}

.legal-item {
    padding: 8px 0;
    color: #fbbf24;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
}

.legal-item:last-child {
    border-bottom: none;
}

.highlight-box li {
    padding: 8px 0;
    color: #e2e8f0;
    font-size: 16px;
    border-bottom: none;
}

.tributos-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
    min-height: 500px;
    align-items: start;
}

.tributos-image {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    min-height: 400px;
}

.tributos-img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    border-radius: 10px;
    object-fit: contain;
}

.tributos-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.tributos-card {
    background: rgba(147, 197, 253, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(147, 197, 253, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.tributo-item {
    background: rgba(147, 197, 253, 0.3);
    border: 1px solid rgba(147, 197, 253, 0.5);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    text-align: center;
}

.tributo-item h3 {
    color: #ffffff;
    margin: 0;
    font-weight: 600;
}

.placeholder-image {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 60px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 18px;
    margin: 20px 0;
}

.cenario-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
    align-items: start;
}

.cenario-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.cenario-image {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    min-height: 400px;
}

.desafio-img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    border-radius: 10px;
    object-fit: contain;
}

.impactos-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
    align-items: start;
}

.impactos-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.impactos-image {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    min-height: 400px;
}

.revisao-img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    border-radius: 10px;
    object-fit: contain;
}

.cronograma-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.cronograma-image {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    width: 100%;
}

.cronograma-img {
    width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 10px;
    object-fit: contain;
}

.consulta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
    align-items: start;
}

.consulta-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.consulta-image {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    min-height: 400px;
}

.portal-img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    border-radius: 10px;
    object-fit: contain;
}

.passo1-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
    align-items: start;
}

.passo1-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.passo1-image {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    min-height: 400px;
}

.projeto-img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    border-radius: 10px;
    object-fit: contain;
}

.passo2-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
    align-items: start;
}

.passo2-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.passo2-image {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    min-height: 400px;
}

.acoes-img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    border-radius: 10px;
    object-fit: contain;
}

.passo3-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
    align-items: start;
}

.passo3-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.passo3-image {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    min-height: 400px;
}

.equipe-img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    border-radius: 10px;
    object-fit: contain;
}

.trabalho-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
    align-items: start;
}

.trabalho-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.trabalho-image {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    min-height: 400px;
}

.dinheiro-img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    border-radius: 10px;
    object-fit: contain;
}

.obrigado-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
    align-items: start;
}

.obrigado-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.obrigado-image {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    min-height: 400px;
}

.ajuda-img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    border-radius: 10px;
    object-fit: contain;
}

/* Responsividade */
@media (max-width: 768px) {
    .top-nav {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .menu {
        flex-direction: column;
        width: 100%;
        gap: 2px;
    }
    
    .menu-item {
        width: 100%;
        text-align: center;
        padding: 10px;
        font-size: 14px;
    }
    
    .menu-group {
        width: 100%;
    }
    
    .group-title {
        width: 100%;
        text-align: center;
        padding: 10px;
        font-size: 14px;
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 5px;
        border-radius: 6px;
    }
    
    .submenu .menu-item {
        padding: 8px 16px;
        font-size: 13px;
        text-align: center;
    }
    
    .logout-btn {
        width: 100%;
        margin-left: 0;
        padding: 10px;
        font-size: 14px;
    }
    
    .main-content {
        margin-top: 120px;
        padding: 15px;
    }
    
    .content-section h1 {
        font-size: 1.2em;
    }
    
    .content-section {
        padding: 20px;
        margin: 15px 0;
        border-radius: 15px;
    }
    
    .intro-container {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }
    
    .intro-left {
        display: flex;
        flex-direction: row;
        gap: 5px;
        align-items: flex-start;
    }
    
    .intro-image {
        width: 48%;
        max-width: 48%;
        margin: 0;
        padding: 1px;
        min-height: 3px;
        height: auto;
    }
    
    .intro-img {
        height: auto;
        max-height: 2px;
        object-fit: contain;
    }
    
    .congresso-image {
        width: 48%;
        max-width: 48%;
        margin: 0;
        padding: 1px;
        min-height: 3px;
        height: auto;
    }
    
    .congresso-img {
        height: auto;
        max-height: 3px;
        object-fit: contain;
    }
    
    .congresso-footer {
        font-size: 10px;
        padding: 3px 8px;
        margin-top: 3px;
    }
    
    .intro-content {
        gap: 15px;
        justify-content: flex-start;
        align-items: center;
    }
    
    .tributos-container {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }
    
    .cenario-container {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }
    
    .cenario-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 15px;
        min-height: 300px;
        height: 300px;
    }
    
    .desafio-img {
        max-height: 260px;
        height: 100%;
    }
    
    .impactos-container {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }
    
    .impactos-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 15px;
        min-height: 300px;
        height: 300px;
    }
    
    .revisao-img {
        max-height: 260px;
        height: 100%;
    }
    
    .cronograma-container {
        margin: 0 10px;
    }
    
    .cronograma-image {
        padding: 15px;
        max-width: 100%;
    }
    
    .cronograma-img {
        max-height: 400px;
    }
    
    .consulta-container {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }
    
    .consulta-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 15px;
        min-height: 300px;
        height: 300px;
    }
    
    .portal-img {
        max-height: 260px;
        height: 100%;
    }
    
    .passo1-container {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }
    
    .passo1-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 15px;
        min-height: 300px;
        height: 300px;
    }
    
    .projeto-img {
        max-height: 260px;
        height: 100%;
    }
    
    .passo2-container {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }
    
    .passo2-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 15px;
        min-height: 300px;
        height: 300px;
    }
    
    .acoes-img {
        max-height: 260px;
        height: 100%;
    }
    
    .passo3-container {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }
    
    .passo3-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 15px;
        min-height: 300px;
        height: 300px;
    }
    
    .equipe-img {
        max-height: 260px;
        height: 100%;
    }
    
    .trabalho-container {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }
    
    .trabalho-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 15px;
        min-height: 300px;
        height: 300px;
    }
    
    .dinheiro-img {
        max-height: 260px;
        height: 100%;
    }
    
    .obrigado-container {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }
    
    .obrigado-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 15px;
        min-height: 300px;
        height: 300px;
    }
    
    .ajuda-img {
        max-height: 260px;
        height: 100%;
    }
    
    .tributos-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 15px;
        min-height: 300px;
        height: 300px;
    }
    
    .tributos-img {
        max-height: 260px;
        height: 100%;
    }
    
    .tributos-card {
        padding: 20px;
    }
    
    .content-card {
        padding: 15px;
    }
    
    .highlight-box {
        padding: 10px;
        max-width: 100%;
    }
    
    .legal-references {
        margin: 10px 0;
        padding: 8px;
    }
    
    .legal-item {
        font-size: 13px;
        padding: 6px 0;
    }
    
    .login-box {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input {
        font-size: 16px;
        padding: 12px 16px;
    }
    
    .login-btn {
        font-size: 16px;
        padding: 14px 24px;
    }
    
    .login-header {
        padding: 15px;
    }
    
    .login-logos {
        gap: 20px;
        padding: 10px;
    }
    
    .login-logo {
        max-width: 130px;
        height: 84px;
    }
    
    .login-box h1 {
        font-size: 1.3em;
    }
    
    .login-box h2 {
        font-size: 0.9em;
    }
    
    .logo-container {
        gap: 5px;
        min-height: 30px;
        padding: 8px 12px;
    }
    
    .header-logo {
        height: 30px;
        max-width: 45%;
    }
}

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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(96, 165, 250, 0.7);
} 