:root {
    --bg-color: #f4f7f9;
    --text-main: #0b2545;
    --text-muted: #4a5568;
    --primary-color: #00529b; /* Cor original do tema Itaipu */
    --primary-hover: #003d73;
    --card-bg: #ffffff;
    --border-radius: 16px;
}

body { 
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    margin: 0; 
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--bg-color);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    
    background: linear-gradient(135deg, #00529b, #00b4d8); 
    
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.avatar {
    width: 40px;
    height: 40px;
    background-color: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-image-wrapper {
    background: white;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 2rem;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    display: flex;
    justify-content: center;
}

.hero-logo {
    max-width: 150px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.hero p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.feature-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

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

.icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: #f0f4f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h2 {
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.card-graphic {
    background-color: var(--bg-color);
    border-radius: 12px;
    height: 140px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 1rem;
    overflow: hidden;
    position: relative;
}

.graphic-chart .bar {
    width: 15%;
    border-radius: 4px 4px 0 0;
}

.map-preview {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a imagem preencher todo o espaço sem achatar */
    border-radius: 8px; /* Mantém as bordinhas arredondadas */
    display: block;
}

.graphic-video .video-mockup {
    width: 100%;
    height: 100%;
    background-color: #0b2545;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.video-line {
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    margin-bottom: 10px;
}
.line-1 { width: 80%; }
.line-2 { width: 50%; }

.play-btn {
    position: absolute;
    right: 15px;
    bottom: 15px;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.footer {
    border-top: 1px solid #e2e8f0;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background-color: var(--bg-color);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0.5rem 0 0 0;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
}

/* Responsividade */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}