* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-red: #e03911;
    --secondary-gray: #696747;
    --accent-yellow: #f9c533;
    --dark-brown: #5b190b;
    --white: #ffffff;
    --light-yellow: #fef3cd;
    --success-green: #25D366;
    --error-red: #dc3545;
    --warning-orange: #fd7e14;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light-yellow);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 1.5rem;
    z-index: 10000;
    display: none;
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent.hide {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cookie-btn.accept {
    background: var(--success-green);
    color: white;
}

.cookie-btn.reject {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Tela de Abertura */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-red), var(--dark-brown));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    text-align: center;
    color: white;
}

.typing-text {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border-right: 3px solid var(--accent-yellow);
    white-space: nowrap;
    overflow: hidden;
    animation: typing 2s steps(30, end), blink-caret 0.75s step-end infinite;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
    width: 0;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-yellow); }
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: var(--accent-yellow);
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Site Principal */
.main-site {
    min-height: 100vh;
}

.hidden {
    display: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}

.navbar {
    padding: 1rem 0;
    transition: padding 0.3s ease-in-out;
}

.header.scrolled .navbar {
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: height 0.3s ease-in-out;
}

.header.scrolled .logo-img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-gray);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    margin: 3px 0;
    transition: 0.3s;
}

/* Páginas */
.page {
    display: none;
    min-height: 100vh;
    padding-top: 100px;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.animated-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated-element.visible {
    opacity: 1;
    transform: translateY(0);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.page-intro {
    font-size: 1.2rem;
    text-align: center;
    color: var(--secondary-gray);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Página Manifesto */
.hero-banner {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--light-yellow) 0%, var(--accent-yellow) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-brown);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-gray);
    font-weight: 600;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(91, 25, 11, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(91, 25, 11, 0.4);
}

.impact-section {
    padding: 5rem 2rem;
    text-align: center;
    background: var(--primary-red);
}

.impact-quote {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Dashboard */
.dashboard-section {
    padding: 4rem 2rem;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.dashboard-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--accent-yellow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.dashboard-card h3 {
    color: var(--secondary-gray);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.dashboard-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red);
    display: block;
}

.dashboard-value.positive {
    color: var(--success-green);
}

.dashboard-value.negative {
    color: var(--error-red);
}

/* Gráfico */
.chart-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.chart-container h3 {
    color: var(--primary-red);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

#financial-chart {
    max-width: 100%;
    height: auto;
}

/* Roteiro */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.action-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-yellow);
}

.action-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.action-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.action-card h3 {
    font-size: 1.3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-weight: 700;
}

.action-card p {
    color: var(--secondary-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Barra de Progresso */
.progress-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 25px;
    margin-top: 1rem;
    height: 20px;
    overflow: hidden;
    border: 2px solid var(--secondary-gray);
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-red);
    text-align: center;
    color: white;
    font-weight: 700;
    line-height: 20px;
    border-radius: 25px;
    transition: width 1.5s ease-in-out;
}

.progress-text {
    display: block;
    text-align: center;
    font-weight: 600;
    color: var(--dark-brown);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Projetos */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-details-btn {
    background: var(--accent-yellow);
    color: var(--dark-brown);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.view-details-btn:hover {
    transform: scale(1.05);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.project-content p {
    color: var(--secondary-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--secondary-gray);
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-red);
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.em-andamento {
    background: var(--success-green);
    color: white;
}

.status-badge.iniciado {
    background: var(--warning-orange);
    color: white;
}

.status-badge.planejado {
    background: var(--accent-yellow);
    color: var(--dark-brown);
}

.status-badge.futuro {
    background: var(--secondary-gray);
    color: white;
}

.view-data-btn {
    width: 100%;
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.view-data-btn:hover {
    background: var(--dark-brown);
}

/* Modal Projeto */
.project-modal-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.project-modal-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.modal-project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.modal-project-info h2 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.modal-project-description {
    color: var(--secondary-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

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

.modal-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.modal-stat-label {
    font-size: 0.9rem;
    color: var(--secondary-gray);
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.modal-section p {
    color: var(--secondary-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-list {
    list-style: none;
    padding-left: 0;
}

.modal-list li {
    color: var(--secondary-gray);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.modal-list li::before {
    content: '•';
    color: var(--primary-red);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.modal-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn.primary {
    background: var(--primary-red);
    color: white;
}

.modal-btn.secondary {
    background: var(--secondary-gray);
    color: white;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Dados Abertos */
.data-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filters select,
.filters input {
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.filters select:focus,
.filters input:focus {
    outline: none;
    border-color: var(--primary-red);
}

.filters button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#apply-filters {
    background: var(--primary-red);
    color: white;
}

#clear-filters {
    background: var(--secondary-gray);
    color: white;
}

.filters button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.export-controls {
    display: flex;
    gap: 1rem;
}

.export-btn {
    padding: 0.8rem 1.5rem;
    background: var(--accent-yellow);
    color: var(--dark-brown);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.export-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.data-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--accent-yellow);
}

.summary-card h4 {
    color: var(--secondary-gray);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.summary-card span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
}

.summary-card .positive {
    color: var(--success-green);
}

.summary-card .negative {
    color: var(--error-red);
}

.data-table-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

#data-table {
    width: 100%;
    border-collapse: collapse;
}

#data-table th,
#data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

#data-table th {
    background: var(--light-yellow);
    color: var(--dark-brown);
    font-weight: 700;
    position: sticky;
    top: 0;
}

#data-table tbody tr:hover {
    background: #f8f9fa;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.entrada {
    background: var(--success-green);
    color: white;
}

.badge.saida {
    background: var(--error-red);
    color: white;
}

.positive {
    color: var(--success-green);
    font-weight: 600;
}

.negative {
    color: var(--error-red);
    font-weight: 600;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pagination button {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-red);
    background: white;
    color: var(--primary-red);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button:hover:not(:disabled) {
    background: var(--primary-red);
    color: white;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#page-info {
    font-weight: 600;
    color: var(--secondary-gray);
}

/* Seção A Saída */
.exit-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.exit-column h3 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent-yellow);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.exit-column ul {
    list-style: none;
}

.exit-column li {
    color: var(--secondary-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
    padding-left: 2rem;
    position: relative;
}

.exit-column li::before {
    content: '✖';
    color: var(--primary-red);
    position: absolute;
    left: 0;
    font-weight: 900;
}

.exit-column:last-child li::before {
    content: '✔';
    color: var(--success-green);
}

.cta-button {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 1rem 3rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    margin-top: 2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background: var(--dark-brown);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Contato */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.contact-item h3 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.contact-item p {
    color: var(--secondary-gray);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.whatsapp-btn, .instagram-btn, .email-btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.instagram-btn { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.email-btn { background: var(--primary-red); color: white; }

.instagram-btn:hover, .email-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-brown), var(--secondary-gray));
    color: white;
    padding: 4rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--accent-yellow);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img { height: 40px; width: auto; }
.footer-logo h3 { color: var(--accent-yellow); font-size: 1.5rem; font-weight: 700; }
.footer-description { color: #ccc; line-height: 1.7; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: #ccc; text-decoration: none; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-links a:hover { color: var(--accent-yellow); padding-left: 5px; }
.footer-mission { color: #ccc; line-height: 1.7; margin-bottom: 1.5rem; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

/* Modais */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.visible {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--secondary-gray);
    transition: transform 0.3s ease;
}

.close:hover { 
    color: var(--primary-red); 
    transform: rotate(90deg); 
}

.modal h2 { 
    color: var(--primary-red); 
    margin-bottom: 1.5rem; 
    text-align: center; 
    font-size: 1.8rem; 
}

/* Formulários */
.form-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1rem; 
    margin-bottom: 1rem; 
}

.form-group { 
    margin-bottom: 1rem; 
}

.form-group label { 
    display: block; 
    margin-bottom: 0.5rem; 
    color: var(--secondary-gray); 
    font-weight: 600; 
    font-size: 0.9rem; 
}

.form-group input,
.form-group select,
.form-group textarea { 
    width: 100%; 
    padding: 0.8rem; 
    border: 2px solid #ddd; 
    border-radius: 8px; 
    font-size: 1rem; 
    transition: border-color 0.3s ease; 
    font-family: 'Poppins', sans-serif; 
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { 
    outline: none; 
    border-color: var(--primary-red); 
}

.submit-btn { 
    width: 100%; 
    background: var(--primary-red); 
    color: white; 
    border: none; 
    padding: 1rem; 
    border-radius: 8px; 
    font-size: 1.1rem; 
    font-weight: 600; 
    cursor: pointer; 
    transition: background 0.3s ease, transform 0.2s ease; 
}

.submit-btn:hover { 
    background: var(--dark-brown); 
    transform: translateY(-2px); 
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Notificações */
.notification,
.app-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.notification.show,
.app-notification.show {
    transform: translateX(0);
}

.notification.success,
.app-notification.success {
    border-left: 5px solid var(--success-green);
}

.notification.error,
.app-notification.error {
    border-left: 5px solid var(--error-red);
}

.notification.warning,
.app-notification.warning {
    border-left: 5px solid var(--warning-orange);
}

.notification.info,
.app-notification.info {
    border-left: 5px solid var(--primary-red);
}

.notification-content {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-icon {
    font-size: 1.2rem;
}

.notification-message {
    flex: 1;
    color: var(--secondary-gray);
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--secondary-gray);
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: var(--primary-red);
}

/* Responsivo */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .nav-menu { 
        position: fixed; 
        left: -100%; 
        top: 70px; 
        flex-direction: column; 
        background-color: white; 
        width: 100%; 
        text-align: center; 
        transition: 0.3s; 
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05); 
        padding: 2rem 0; 
    }
    
    .nav-menu.active { left: 0; }
    
    .hero-content { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    
    .hero-title { font-size: 2.2rem; }
    .hero-image { grid-row: 1; }
    .impact-quote { font-size: 1.8rem; }
    .page-title { font-size: 2.5rem; }
    .typing-text { font-size: 1.8rem; }
    
    .dashboard-grid,
    .actions-grid,
    .projects-grid,
    .contact-info { 
        grid-template-columns: 1fr; 
    }
    
    .exit-container { 
        grid-template-columns: 1fr; 
    }
    
    .project-modal-header {
        grid-template-columns: 1fr;
    }
    
    .modal-project-stats {
        grid-template-columns: 1fr;
    }
    
    .data-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters {
        justify-content: center;
    }
    
    .export-controls {
        justify-content: center;
    }
    
    .form-row { 
        grid-template-columns: 1fr; 
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    
    .footer-section h4::after { 
        left: 50%; 
        transform: translateX(-50%); 
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .impact-quote { font-size: 1.4rem; }
    .page-title { font-size: 2rem; }
    .typing-text { font-size: 1.4rem; }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .dashboard-card,
    .action-card,
    .project-card {
        margin: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}