/* Globals & Reset */
:root {
    --blue-dark: #004b9e;
    --blue-header: #1a4ba8; /* Azul dos botões do menu */
    --orange-primary: #ff9900; /* Laranja da Hero */
    --text-header: #5f6368;
    --white: #ffffff;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-secondary);
    color: var(--white);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* --------- Header / Navbar --------- */
.navbar {
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
}

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

/* Logo */
.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1a1a1a;
}

.logo-img {
    height: 42px;
    object-fit: contain;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 35px;
    position: absolute; /* Para centralizar os links no menu independentemente do logo/botões */
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    text-decoration: none;
    color: var(--text-header);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--blue-header);
}

/* Header Buttons */
.nav-actions {
    display: flex;
    gap: 15px;
}

.btn {
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
}

.btn-outline-blue {
    border: 1px solid var(--blue-header);
    color: var(--blue-header);
    background: transparent;
}

.btn-outline-blue:hover {
    background: #f0f4f8;
}

.btn-solid-blue {
    background: var(--blue-header);
    color: var(--white);
    border: 1px solid var(--blue-header);
}

.btn-solid-blue:hover {
    background: #143d8a;
    border-color: #143d8a;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--blue-header);
    border-radius: 3px;
}

/* --------- Hero Section --------- */
.hero {
    margin-top: 80px; /* match navbar height */
    position: relative;
    width: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #0d4db0; /* Azul fallback */
}

/* Background image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Layout container */
.hero-container {
    position: relative; 
    z-index: 2;
    display: flex;
    align-items: stretch; /* Estica as duas colunas para o topo e base da tela */
    justify-content: space-between;
    min-height: calc(100vh - 80px);
}

/* Left side - Photo */
.hero-left {
    flex: 0 0 45%;
    position: relative;
    overflow: visible;
    min-height: calc(100vh - 80px);
}

.piero-foto {
    position: absolute;
    bottom: 0;
    left: -280px;
    height: calc(100vh - 80px);
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: bottom left;
    z-index: 5;
    pointer-events: none;
}

/* Right side - Text */
.hero-right {
    flex: 0 0 50%; /* Garante 50% do espaço horizontal sempre */
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
}

.hero-title {
    font-family: var(--font-primary);
    font-weight: 800; /* Bold ou ExtraBold */
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 600px;
    opacity: 0.95;
}

.hero-subtitle strong {
    font-weight: 700;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero {
    text-decoration: none;
    border-radius: 30px; /* Bordas totalmente arredondadas */
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
}

.btn-solid-orange {
    background: var(--orange-primary);
    color: var(--white);
    border: none;
}

.btn-solid-orange:hover {
    background: #e68a00;
}

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

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    .nav-actions {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .hero-container {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 60px;
        padding-bottom: 0;
        min-height: calc(100vh - 80px);
    }
    .hero-right {
        padding: 40px 20px 40px 20px;
        text-align: center;
        flex: none;
        width: 100%;
        order: 1;
    }
    .hero-title {
        font-size: 30px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-left {
        flex: none;
        width: 75%;
        position: relative;
        min-height: 280px;
        order: 2;
        display: flex;
        align-items: flex-end;
    }
    .piero-foto {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        height: 280px;
        width: auto;
        object-fit: contain;
        object-position: bottom center;
    }
}

/* --------- Seção Sobre --------- */
.sobre {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #f7f9fc;
    overflow: hidden;
}

.sobre-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sobre-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sobre-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 60px;
}

.sobre-left {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
}

.sobre-right {
    flex: 0 0 45%;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.piero-sobre-foto {
    position: absolute;
    bottom: -60px;
    right: 0;
    width: 100%;
    height: calc(100% + 60px); 
    object-fit: contain;
    object-position: bottom right;
    pointer-events: none;
    z-index: 5;
}

.sobre-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 56px;
    line-height: 1.1;
    color: #0050A4;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.sobre-subtitle {
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 1.5;
    color: #4A6CA5;
    margin-bottom: 40px;
    font-weight: 500;
}

.sobre-subtitle strong {
    font-weight: 700;
    color: #0050A4;
}

.sobre-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sobre-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.sobre-icon {
    flex-shrink: 0;
    width: 50px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.sobre-text p {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.45;
    color: #4A6CA5;
    font-weight: 500;
}

.sobre-text p strong {
    font-weight: 700;
    color: #0050A4;
}

@media (max-width: 1024px) {
    .sobre-container {
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        min-height: auto;
    }
    .sobre-left {
        flex: none;
        width: 100%;
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    .sobre-title {
        font-size: 42px;
    }
    .sobre-title br, .sobre-subtitle br, .sobre-text p br {
        display: none;
    }
    .sobre-item {
        text-align: left;
    }
    .sobre-right {
        flex: none;
        width: 100%;
        height: 60vh; 
        position: relative;
    }
    .piero-sobre-foto {
        height: 100%;
        object-position: bottom center;
    }
}

@media (max-width: 768px) {
    .sobre-right {
        height: 45vh;
    }
}

/* --------- Seção Visão --------- */
.visao {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #004b9e;
    overflow: hidden;
}

.visao-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.visao-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.visao-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 100px;
    min-height: 100vh;
}

.visao-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    margin-bottom: 60px;
}

.visao-header-text {
    flex: 0 1 auto;
}

.visao-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 56px;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.text-yellow {
    color: #FFB800;
}

.visao-subtitle {
    font-family: var(--font-primary);
    font-size: 20px;
    line-height: 1.4;
    color: var(--white);
    font-weight: 500;
    opacity: 0.95;
}

.visao-header-img {
    flex-shrink: 0;
    margin-left: 40px;
}

.brasao-img {
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

.visao-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.visao-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.visao-card:hover {
    transform: translateY(-5px);
}

.visao-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.visao-card-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 18px;
    color: #003380;
    margin-bottom: 15px;
    line-height: 1.3;
    white-space: nowrap;
}

.visao-card-text {
    font-family: var(--font-secondary);
    font-size: 15px;
    line-height: 1.5;
    color: #4b5563;
}

@media (max-width: 1024px) {
    .visao-header {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .visao-header-img {
        margin-left: 0;
    }
    .visao-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .visao-title br, .visao-subtitle br {
        display: none;
    }
}

@media (max-width: 768px) {
    .visao-title {
        font-size: 42px;
    }
    .visao-cards {
        grid-template-columns: 1fr;
    }
}

/* --------- Seção Projetos --------- */
.projetos {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #f7f9fc;
    overflow: hidden;
}

.projetos-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.projetos-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.projetos-container {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 100px;
    width: 100%;
}

.projetos-header {
    text-align: center;
    margin-bottom: 60px;
}

.projetos-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 52px;
    color: #004b9e;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.projetos-subtitle {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 600;
    color: #4A6CA5;
}

/* Grid for cards */
.projetos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.projeto-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* very light shadow */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projeto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.projeto-tags {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tag-categoria {
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #4b5563;
    font-family: var(--font-secondary);
}

.tag-status {
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-secondary);
}

/* Colors for statuses */
.status-aprovada {
    background-color: #dcfce7;
    color: #15803d;
}

.status-votacao {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.status-discussao {
    background-color: #fef9c3;
    color: #a16207;
}

.projeto-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 800;
    color: #111827; 
    line-height: 1.35;
    margin-bottom: 15px;
}

.projeto-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    flex-grow: 1; /* Pushes the footer down */
    margin-bottom: 25px;
}

.projeto-footer {
    border-top: 1px solid #f3f4f6;
    padding-top: 20px;
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .projetos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .projetos-grid {
        grid-template-columns: 1fr;
    }
    .projetos-title {
        font-size: 38px;
    }
    .projetos-subtitle {
        font-size: 18px;
    }
}

/* --------- Seção 5: Formulário de Projetos --------- */
.secao-formulario {
    background-color: #f7f9fc;
    padding: 100px 20px;
    position: relative;
    z-index: 10;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    color: var(--text-header);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: var(--blue-dark);
    font-size: 34px;
    margin-bottom: 15px;
    font-family: var(--font-primary);
    font-weight: 800;
}

.form-header p {
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
}

.sugestao-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 15px;
    color: #1a1a1a;
    transition: all 0.3s;
    background-color: #f9fafb;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-header);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(26, 75, 168, 0.1);
}

.btn-submit {
    background: var(--orange-primary);
    color: var(--white);
    border: none;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    font-family: var(--font-primary);
}

.btn-submit:hover {
    background: #e68a00;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 24px;
    }
    .form-container {
        padding: 40px 20px;
    }
    .form-header h2 {
        font-size: 28px;
    }
}

/* --------- Rodapé --------- */
.footer {
    background-color: var(--white);
    position: relative;
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.footer-logo {
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

.footer-bottom-bar {
    width: 100%;
    background-color: #004b9e;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px 24px;
}

.footer-dev {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-secondary);
    text-align: center;
}

.footer-dev a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-dev a:hover {
    text-decoration: underline;
}

.footer-dev strong {
    color: #ffffff;
    font-weight: 600;
}

/* --------- Alertas do Formulário --------- */
.form-alerta {
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.5;
    font-family: var(--font-secondary);
}

.form-sucesso {
    background-color: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.form-erro {
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}
