/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Escala tipográfica e entrelinhas otimizadas para UX e fonte Museo/Montserrat --- */
:root {
    --font-title: 'Museo', 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --color-primary: #34BCE1;
    --color-secondary: #f5e0aa;
    --color-tertiary: #78BB42;
    --color-dark: #1d2b3a;
    --color-light: #f5f8fb;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: #3d4852;
    overflow-x: hidden;
    background: #fff;
    color: #222;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-dark);
}

h1, .header-text h1 {
    font-size: 2.75rem; /* ~44px */
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

h2 {
    font-size: 2rem; /* ~32px */
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.25rem; /* ~20px */
    font-weight: 700;
    line-height: 1.22;
    margin-bottom: 8px;
}

.subtitle, .header-text .subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 24px;
}

p {
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.nav-links a, .cta-btn, .card-btn {
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0.1px;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Menu dinâmico que muda de cor */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(255,255,255,0.95); /* Fundo branco inicialmente */
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    padding: 18px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
    z-index: 999;
}

/* Inicialmente esconder o logo branco e mostrar o colorido */
.logo-white {
    display: none;
}

.logo-color {
    display: block;
}

/* Mudar a cor do texto dos links no fundo branco */
.nav-item {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 600;
    padding: 6px 0;
    position: relative;
    transition: all 0.25s ease;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 2px;
    background: var(--color-tertiary);
    transition: width 0.35s ease;
}

.nav-item:hover {
    color: var(--color-tertiary);
}

.nav-item:hover::after {
    width: 100%;
}

/* Cores contrastantes com as seções */
.navbar.color-primary {
    background: rgba(255, 201, 85, 0.9); /* Amarelo (contrasta com azul) */
    color: #fff;
}

.navbar.color-secondary {
    background: rgba(52, 188, 225, 0.9); /* Azul (contrasta com amarelo) */
    color: #fff;
}

.navbar.color-tertiary {
    background: rgba(52, 188, 225, 0.95); /* Azul (mais escuro, contrasta com verde) */
    color: #fff;
}

/* Quando o menu tem uma das classes de cor, mostrar o logo branco e esconder o colorido */
.navbar.color-primary .logo-white,
.navbar.color-secondary .logo-white,
.navbar.color-tertiary .logo-white {
    display: block;
}

.navbar.color-primary .logo-color,
.navbar.color-secondary .logo-color,
.navbar.color-tertiary .logo-color {
    display: none;
}

/* Quando o menu tem uma das classes de cor, alterar a cor dos links para branco */
.navbar.color-primary .nav-item,
.navbar.color-secondary .nav-item,
.navbar.color-tertiary .nav-item {
    color: #fff;
}

.navbar.color-primary .nav-item:hover,
.navbar.color-secondary .nav-item:hover,
.navbar.color-tertiary .nav-item:hover {
    color: #fff;
    opacity: 0.85;
}

.navbar.color-primary .nav-item::after,
.navbar.color-secondary .nav-item::after,
.navbar.color-tertiary .nav-item::after {
    background: #fff;
}

/* Alterar hamburger menu para cor escura quando fundo é branco */
.hamburger, .hamburger::before, .hamburger::after {
    background: var(--color-dark);
}

/* Voltar para branco quando menu tem cor */
.navbar.color-primary .hamburger,
.navbar.color-primary .hamburger::before,
.navbar.color-primary .hamburger::after,
.navbar.color-secondary .hamburger,
.navbar.color-secondary .hamburger::before,
.navbar.color-secondary .hamburger::after,
.navbar.color-tertiary .hamburger,
.navbar.color-tertiary .hamburger::before,
.navbar.color-tertiary .hamburger::after {
    background: #fff;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.22);
}

/* Linha colorida no menu */
.nav-rainbow-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, 
        var(--color-primary) 0%, var(--color-primary) 33.33%, 
        var(--color-secondary) 33.33%, var(--color-secondary) 66.66%,
        var(--color-tertiary) 66.66%, var(--color-tertiary) 100%);
    background-size: 300% 100%;
    animation: rainbow-shift 8s linear infinite;
}

@keyframes rainbow-shift {
    0% {
        background-position: 0% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

/* Menu hambúrguer para mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1000;
}

.hamburger {
    width: 28px;
    height: 3px;
    position: relative;
    display: block;
    transition: all 0.3s;
}

.hamburger::before, .hamburger::after {
    content: '';
    width: 28px;
    height: 3px;
    position: absolute;
    transition: all 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hero Section com blur */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #1d2b3a;
    margin-bottom: 0;
    padding-top: 60px;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url('bg_hero.jpg');
    background-size: cover;
    background-position: center;
}
.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 600px;
    padding: 0 20px;
    margin-left: 10%;
    margin-right: auto;
}
.hero-text {
    color: #fff;
}

.hero-text h1 {
    color: #fff;
}

.hero-subtitle {
    font-size: 1.8rem;
    line-height: 140%;
    margin-bottom: 40px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 0.3s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    font-family: var(--font-title);
    border: 2px solid transparent;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(120, 187, 66, 0.10);
}

.btn-primary {
    background: var(--color-tertiary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(120, 187, 66, 0.25);
    border: none;
}

.btn-primary:hover, .btn-outline:hover {
    background: #69a63a;
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(120, 187, 66, 0.30);
}

.btn-outline {
    background: transparent;
    color: var(--color-tertiary);
    border: 2px solid var(--color-tertiary);
}

.btn-outline:hover {
    background: var(--color-tertiary);
    color: #fff;
    border: 2px solid var(--color-tertiary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.project-card.modern-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 32px rgba(0,0,0,0.10);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.project-card.modern-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.16);
    transform: translateY(-6px) scale(1.01);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 28px 0 28px;
}

.card-header h3 {
    font-size: 1.45rem;
    color: var(--color-tertiary);
    font-weight: 700;
}

.card-content {
    padding: 20px 28px 32px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-btn {
    margin-top: 18px;
    align-self: flex-start;
    padding: 10px 22px;
    border-radius: 30px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.card-btn:hover {
    background: var(--color-tertiary);
    color: #fff;
}

@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .project-card.modern-card {
        min-height: 340px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 420px;
        padding: 32px 0 24px 0;
    }
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .cards-grid {
        gap: 16px;
    }
    .project-card.modern-card {
        min-height: 260px;
    }
    .btn {
        width: 100%;
        padding: 12px 0;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .cards-grid {
        gap: 10px;
    }
    .btn {
        font-size: 0.98rem;
    }
}

/* Seções */
.about-section {
    background: var(--color-secondary);
    color: #333; /* Texto mais escuro para melhor contraste */
    padding: 80px 0 60px;
}

.about-section h2, .about-section h3 {
    color: #333; /* Texto mais escuro para melhor contraste */
}

.about-section h3 {
    margin-top: 24px;
    font-size: 1.4rem;
}

.about-img img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

.projects-section {
    background: var(--color-primary);
    color: #fff;
    padding: 80px 0 60px;
}

.projects-section h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.modern-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s;
    max-width: 800px;
    margin: 0 auto;
}

.card-header {
    padding: 25px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card-header h3 {
    margin-bottom: 0;
    color: var(--color-dark);
}

.card-content {
    padding: 25px;
    color: #444;
}

.card-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.card-btn:hover {
    background: #2aa7c9;
    transform: translateY(-3px);
}

/* Áreas de atuação */
.areas-section {
    background: var(--color-tertiary);
    color: #fff;
    padding: 80px 0 60px;
}

.areas-section h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tab-btn i {
    font-size: 1.3rem;
}

.tab-btn.active {
    background: #fff;
    color: var(--color-tertiary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.tab-content {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Cards dos recursos */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 25px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: var(--color-tertiary);
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-tertiary);
}

.feature-content p {
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer-section {
    background: #222;
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
}

.footer-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url('footer-bg-temp.jpg'); /* Será substituída */
    background-size: cover;
    background-position: center;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list i {
    color: var(--color-primary);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    margin-bottom: 16px;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
    filter: brightness(1.1);
}

.footer-email {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-email:hover {
    color: #fff;
    text-decoration: none;
}

/* Seções - Melhorias */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-divider {
    height: 4px;
    width: 80px;
    background: #fff;
    margin: 15px auto 30px;
    border-radius: 2px;
}

.about-flex {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.about-side {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-text {
    flex: 1.4;
    min-width: 300px;
}

.main-about-card {
    height: 100%;
}

.about-card {
    background: rgba(255,255,255,0.25); /* Mais claro para melhor contraste */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.3);
}

.featured-text {
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 600; /* Fonte mais forte para melhor contraste */
    color: #000; /* Texto mais escuro para contraste */
}

.mission-card {
    background: rgba(255,255,255,0.35); /* Fundo mais claro */
    border-left: 4px solid #333;
}

.mission-card h3, .areas-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333; /* Texto mais escuro para melhor contraste */
    margin-bottom: 15px;
}

.mission-card h3 i, .areas-card h3 i {
    background: rgba(255,255,255,0.3);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.areas-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.area-tag {
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: default;
}

.area-tag:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.area-tag i {
    font-size: 0.9rem;
}

/* Animação de bateria */
.battery-animation {
    text-align: center;
    margin: 20px 0 30px;
}

.battery-container {
    display: inline-block;
    position: relative;
    margin-bottom: 15px;
}

.battery-body {
    width: 120px;
    height: 60px;
    border: 3px solid #333;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.battery-cap {
    width: 10px;
    height: 25px;
    background: #333;
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    border-radius: 0 3px 3px 0;
}

.battery-level {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--color-tertiary), #9add7b);
    animation: chargeBattery 4s ease-in-out infinite;
}

@keyframes chargeBattery {
    0% {
        width: 10%;
    }
    50% {
        width: 90%;
    }
    100% {
        width: 10%;
    }
}

.battery-status {
    font-weight: 500;
    color: var(--color-tertiary);
    font-size: 1.1rem;
    animation: pulseBattery 4s ease-in-out infinite;
}

@keyframes pulseBattery {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

/* Ajustes para o card em mobile */
@media (max-width: 768px) {
    .cards-grid {
        width: 100%;
    }
    
    .modern-card {
        width: 100%;
        max-width: none;
    }
    
    .card-content {
        padding: 20px 15px;
    }
    
    .project-card, .area-card {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    /* Melhor visualização da bateria em dispositivos menores */
    .battery-animation {
        margin: 15px 0 25px;
    }
    
    .battery-body {
        width: 100px;
        height: 50px;
    }
}

/* Media Queries para responsividade */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .footer-content {
        text-align: center;
        justify-content: center;
    }
    
    .contact-list li {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .about-flex {
        flex-direction: column-reverse;
    }
    
    .about-img {
        margin-bottom: 30px;
        width: 100%;
    }
    
    .about-img img {
        max-width: 320px;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* Menu mobile melhorado */
@media (max-width: 800px) {
    body {
        padding-top: 56px; /* Espaço para o menu fixo */
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: none;
        height: 100vh;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        gap: 24px;
        transition: all 0.4s ease;
        padding: 100px 0 80px;
        z-index: 998;
    }
    
    .navbar.color-primary .nav-links,
    .navbar.color-secondary .nav-links,
    .navbar.color-tertiary .nav-links {
        background: rgba(0,0,0,0.95);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 80%;
        max-width: 300px;
        text-align: center;
    }
    
    .nav-links li a {
        display: block;
        padding: 15px;
        font-size: 1.2rem;
        border-radius: 8px;
        transition: all 0.3s;
        background: rgba(0,0,0,0.05);
    }
    
    .navbar.color-primary .nav-links li a,
    .navbar.color-secondary .nav-links li a,
    .navbar.color-tertiary .nav-links li a {
        background: rgba(255,255,255,0.05);
    }
    
    .nav-links li a:hover {
        background: rgba(0,0,0,0.1);
        transform: translateY(-3px);
    }
    
    .navbar.color-primary .nav-links li a:hover,
    .navbar.color-secondary .nav-links li a:hover,
    .navbar.color-tertiary .nav-links li a:hover {
        background: rgba(255,255,255,0.1);
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger {
        background: transparent;
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .hero-text h1 {
        font-size: clamp(2.3rem, 5vw, 3.5rem);
    }
    
    .container {
        width: 95%;
    }
}

.btn, .btn-primary, .btn-outline, .card-btn, .tab-btn {
    transition: transform 0.18s cubic-bezier(0.4,0,0.2,1), box-shadow 0.18s cubic-bezier(0.4,0,0.2,1), background 0.18s;
    will-change: transform, box-shadow;
}
.btn:hover, .btn-primary:hover, .btn-outline:hover, .card-btn:hover, .tab-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px 0 rgba(52,188,225,0.10), 0 1.5px 6px 0 rgba(0,0,0,0.08);
    background: linear-gradient(90deg, var(--color-primary) 60%, var(--color-secondary) 100%);
    color: #fff;
}
.card-btn:active, .btn:active, .tab-btn:active {
    transform: scale(0.97);
}
.project-card.modern-card, .feature-card, .about-card {
    transition: box-shadow 0.22s cubic-bezier(0.4,0,0.2,1), transform 0.22s cubic-bezier(0.4,0,0.2,1);
}
.project-card.modern-card:hover, .feature-card:hover, .about-card:hover {
    box-shadow: 0 8px 32px 0 rgba(52,188,225,0.13), 0 2.5px 10px 0 rgba(0,0,0,0.10);
    transform: translateY(-4px) scale(1.03);
}
@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .cards-grid {
        gap: 10px;
    }
    .btn {
        font-size: 0.98rem;
    }
}

/* Seções */
.about-section {
    background: var(--color-secondary);
    color: #333; /* Texto mais escuro para melhor contraste */
    padding: 80px 0 60px;
}

.about-section h2, .about-section h3 {
    color: #333; /* Texto mais escuro para melhor contraste */
}

.about-section h3 {
    margin-top: 24px;
    font-size: 1.4rem;
}

.about-img img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

.projects-section {
    background: var(--color-primary);
    color: #fff;
    padding: 80px 0 60px;
}

.projects-section h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.modern-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s;
    max-width: 800px;
    margin: 0 auto;
}

.card-header {
    padding: 25px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card-header h3 {
    margin-bottom: 0;
    color: var(--color-dark);
}

.card-content {
    padding: 25px;
    color: #444;
}

.card-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
}

.card-btn:hover {
    background: var(--color-tertiary);
    color: #fff;
}

@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .project-card.modern-card {
        min-height: 340px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 420px;
        padding: 32px 0 24px 0;
    }
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .cards-grid {
        gap: 16px;
    }
    .project-card.modern-card {
        min-height: 260px;
    }
    .btn {
        width: 100%;
        padding: 12px 0;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .cards-grid {
        gap: 10px;
    }
    .btn {
        font-size: 0.98rem;
    }
}

/* Seções */
.about-section {
    background: var(--color-secondary);
    color: #333; /* Texto mais escuro para melhor contraste */
    padding: 80px 0 60px;
}

.about-section h2, .about-section h3 {
    color: #333; /* Texto mais escuro para melhor contraste */
}

.about-section h3 {
    margin-top: 24px;
    font-size: 1.4rem;
}

.about-img img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

.projects-section {
    background: var(--color-primary);
    color: #fff;
    padding: 80px 0 60px;
}

.projects-section h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.modern-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s;
    max-width: 800px;
    margin: 0 auto;
}

.card-header {
    padding: 25px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card-header h3 {
    margin-bottom: 0;
    color: var(--color-dark);
}

.card-content {
    padding: 25px;
    color: #444;
}

.card-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
}

.card-btn:hover {
    background: #2aa7c9;
    transform: translateY(-3px);
}

/* Áreas de atuação */
.areas-section {
    background: var(--color-tertiary);
    color: #fff;
    padding: 80px 0 60px;
}

.areas-section h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tab-btn i {
    font-size: 1.3rem;
}

.tab-btn.active {
    background: #fff;
    color: var(--color-tertiary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.tab-content {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Cards dos recursos */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 25px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: var(--color-tertiary);
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-tertiary);
}

.feature-content p {
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer-section {
    background: #222;
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
}

.footer-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url('footer-bg-temp.jpg'); /* Será substituída */
    background-size: cover;
    background-position: center;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list i {
    color: var(--color-primary);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    margin-bottom: 16px;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
    filter: brightness(1.1);
}

.footer-email {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-email:hover {
    color: #fff;
    text-decoration: none;
}

/* Seções - Melhorias */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-divider {
    height: 4px;
    width: 80px;
    background: #fff;
    margin: 15px auto 30px;
    border-radius: 2px;
}

.about-flex {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.about-side {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-text {
    flex: 1.4;
    min-width: 300px;
}

.main-about-card {
    height: 100%;
}

.about-card {
    background: rgba(255,255,255,0.25); /* Mais claro para melhor contraste */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.3);
}

.featured-text {
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 600; /* Fonte mais forte para melhor contraste */
    color: #000; /* Texto mais escuro para contraste */
}

.mission-card {
    background: rgba(255,255,255,0.35); /* Fundo mais claro */
    border-left: 4px solid #333;
}

.mission-card h3, .areas-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333; /* Texto mais escuro para melhor contraste */
    margin-bottom: 15px;
}

.mission-card h3 i, .areas-card h3 i {
    background: rgba(255,255,255,0.3);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.areas-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.area-tag {
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: default;
}

.area-tag:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.area-tag i {
    font-size: 0.9rem;
}



/* Ajustes para o card em mobile */
@media (max-width: 768px) {
    .cards-grid {
        width: 100%;
    }
    
    .modern-card {
        width: 100%;
        max-width: none;
    }
    
    .card-content {
        padding: 20px 15px;
    }
    
    .project-card, .area-card {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    /* Melhor visualização da bateria em dispositivos menores */
    .battery-animation {
        margin: 15px 0 25px;
    }
    
    .battery-body {
        width: 100px;
        height: 50px;
    }
}

/* Media Queries para responsividade */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .footer-content {
        text-align: center;
        justify-content: center;
    }
    
    .contact-list li {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .about-flex {
        flex-direction: column-reverse;
    }
    
    .about-img {
        margin-bottom: 30px;
        width: 100%;
    }
    
    .about-img img {
        max-width: 320px;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* Menu mobile melhorado */
@media (max-width: 800px) {
    body {
        padding-top: 56px; /* Espaço para o menu fixo */
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: none;
        height: 100vh;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        gap: 24px;
        transition: all 0.4s ease;
        padding: 100px 0 80px;
        z-index: 998;
    }
    
    .navbar.color-primary .nav-links,
    .navbar.color-secondary .nav-links,
    .navbar.color-tertiary .nav-links {
        background: rgba(0,0,0,0.95);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 80%;
        max-width: 300px;
        text-align: center;
    }
    
    .nav-links li a {
        display: block;
        padding: 15px;
        font-size: 1.2rem;
        border-radius: 8px;
        transition: all 0.3s;
        background: rgba(0,0,0,0.05);
    }
    
    .navbar.color-primary .nav-links li a,
    .navbar.color-secondary .nav-links li a,
    .navbar.color-tertiary .nav-links li a {
        background: rgba(255,255,255,0.05);
    }
    
    .nav-links li a:hover {
        background: rgba(0,0,0,0.1);
        transform: translateY(-3px);
    }
    
    .navbar.color-primary .nav-links li a:hover,
    .navbar.color-secondary .nav-links li a:hover,
    .navbar.color-tertiary .nav-links li a:hover {
        background: rgba(255,255,255,0.1);
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger {
        background: transparent;
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .hero-text h1 {
        font-size: clamp(2.3rem, 5vw, 3.5rem);
    }
    
    .container {
        width: 95%;
    }
}

.btn, .btn-primary, .btn-outline, .card-btn, .tab-btn {
    transition: transform 0.18s cubic-bezier(0.4,0,0.2,1), box-shadow 0.18s cubic-bezier(0.4,0,0.2,1), background 0.18s;
    will-change: transform, box-shadow;
}
.btn:hover, .btn-primary:hover, .btn-outline:hover, .card-btn:hover, .tab-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px 0 rgba(52,188,225,0.10), 0 1.5px 6px 0 rgba(0,0,0,0.08);
    background: linear-gradient(90deg, var(--color-primary) 60%, var(--color-secondary) 100%);
    color: #fff;
}
.card-btn:active, .btn:active, .tab-btn:active {
    transform: scale(0.97);
}
.project-card.modern-card, .feature-card, .about-card {
    transition: box-shadow 0.22s cubic-bezier(0.4,0,0.2,1), transform 0.22s cubic-bezier(0.4,0,0.2,1);
}
.project-card.modern-card:hover, .feature-card:hover, .about-card:hover {
    box-shadow: 0 8px 32px 0 rgba(52,188,225,0.13), 0 2.5px 10px 0 rgba(0,0,0,0.10);
    transform: translateY(-4px) scale(1.03);
}
@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .cards-grid {
        gap: 10px;
    }
    .btn {
        font-size: 0.98rem;
    }
}

/* Seções */
.about-section {
    background: var(--color-secondary);
    color: #333; /* Texto mais escuro para melhor contraste */
    padding: 80px 0 60px;
}

.about-section h2, .about-section h3 {
    color: #333; /* Texto mais escuro para melhor contraste */
}

.about-section h3 {
    margin-top: 24px;
    font-size: 1.4rem;
}

.about-img img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

.projects-section {
    background: var(--color-primary);
    color: #fff;
    padding: 80px 0 60px;
}

.projects-section h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.modern-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s;
    max-width: 800px;
    margin: 0 auto;
}

.card-header {
    padding: 25px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card-header h3 {
    margin-bottom: 0;
    color: var(--color-dark);
}

.card-content {
    padding: 25px;
    color: #444;
}

.card-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
}

.card-btn:hover {
    background: #2aa7c9;
    transform: translateY(-3px);
}

/* Áreas de atuação */
.areas-section {
    background: var(--color-tertiary);
    color: #fff;
    padding: 80px 0 60px;
}

.areas-section h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tab-btn i {
    font-size: 1.3rem;
}

.tab-btn.active {
    background: #fff;
    color: var(--color-tertiary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.tab-content {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Cards dos recursos */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 25px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: var(--color-tertiary);
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-tertiary);
}

.feature-content p {
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer-section {
    background: #222;
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
}

.footer-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url('footer-bg-temp.jpg'); /* Será substituída */
    background-size: cover;
    background-position: center;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list i {
    color: var(--color-primary);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items
}