/* Estilos Globais ACIAM Franco da Rocha - Versão Profissional Responsiva */
:root {
    --primary-color: #006b3f; /* Verde ACIAM */
    --secondary-color: #fdb913; /* Amarelo ACIAM */
    --primary-dark: #004d2e;
    --text-color: #333;
    --text-light: #666;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --font-main: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Header & Logo Section */
header {
    background-color: var(--white);
    padding: 1rem 0;
    margin-bottom: 25px;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: left;
    align-items: left;
    z-index: 9999;
    
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 5px;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-2px);
}

.nav-logo {
    height: 120px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
   margin-top: 35px;
   font-family: arialblack, 'Arial Black', sans-serif;
}

.nav-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
}

.nav-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-top: -1px;
}

/* Navigation Menu */
.main-nav {
    background-color: var(--white);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    text-align: left;
    box-shadow: var(--shadow);
    z-index: 9999;
}

.nav-links {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.nav-links li a {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a.btn-cta {
    background-color: var(--primary-color);
    color: var(--white);
    margin: 0.8rem 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    line-height: 1.5;
}

.nav-links li a.btn-cta::after {
    display: none;
}

.nav-links li a.btn-cta:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 5%;
    background: linear-gradient(rgba(0, 77, 46, 0.85), rgba(0, 107, 63, 0.85)), url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

/* Cards & Sections */
section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.services-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 5px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.transparency-grid {
    display: grid;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.info-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.upload-section {
    background: var(--light-bg);
    padding: 80px 5%;
}

.upload-panel {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 40px;
}

.upload-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.upload-header p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 780px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.form-row label {
    font-weight: 700;
    color: var(--primary-dark);
}

.form-row input,
    .form-row select,
    .form-row textarea {
        width: 100%;
        padding: 14px 16px;
        border: 1px solid #d8d8d8;
        border-radius: 12px;
        background: var(--white);
        font-size: 1rem;
        color: var(--text-color);
    }

    .form-row textarea {
        resize: vertical;
        min-height: 110px;
    }

    .btn-secondary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--secondary-color);
        color: var(--white);
        border: none;
        border-radius: 999px;
        padding: 14px 24px;
        font-weight: 700;
        cursor: pointer;
        transition: transform 0.2s ease, background 0.2s ease;
    }
.upload-button {
    margin: 20px 0 32px;
}

.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    padding: 24px;
}

.modal.hidden {
    display: none;
}

.modal-content {
    width: min(700px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #f4f4f4;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.hidden {
    display: none !important;
}

.category-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.category-controls span {
    color: var(--text-light);
    font-weight: 600;
}

.category-filter {
    border: 1px solid #ddd;
    background: #fff;
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.category-filter.active,
.category-filter:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.document-list,
    .event-list {
    display: grid;
    gap: 24px;
}

.document-group h4 {
    margin-bottom: 18px;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    background: #fdfdfd;
    flex-wrap: wrap;
}

.document-item strong {
    display: block;
    color: var(--text-color);
}

.document-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 6px;
}
.event-item {
    flex-direction: column;
    align-items: flex-start;
}

.event-item p {
    margin: 10px 0 0;
}
.document-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    padding: 10px 16px;
    border-radius: 999px;
    transition: background 0.25s ease;
}

.btn-link:hover {
    background: rgba(0, 107, 63, 0.08);
}

.empty-state {
    color: var(--text-light);
    padding: 20px 0;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ddd;
    padding: 80px 5% 30px;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* RESPONSIVIDADE PROFISSIONAL */
@media (max-width: 1024px) {
    .nav-links li a {
        padding: 1.2rem 0.7rem;
        font-size: 0.85rem;
    }
    .hero h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        justify-content: space-between;
    }
    
    .nav-logo {
        height: 85px;
    }
    
    .nav-title {
        font-size: 1.45rem;
    }
    
    .nav-subtitle {
        font-size: 0.85rem;
    }

    .about-text {
        max-width: 300px;
        margin: 0 auto;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-image {
        max-width: 200px;
        margin: 0 auto;
    }

    .about-image img {
        width: 100%;
        height: auto;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        padding: 1.5rem 2rem;
        border-bottom: 1px solid #eee;
    }

    .nav-links li a.btn-cta {
        margin: 2rem;
        text-align: center;
    }

    .hero {
        padding: 80px 5%;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-text {
        width: 100%;
        margin: 0 auto;
    }

        .about-image {
            max-width: 100%;
            margin: 20px auto 0;
        }
}
 
@media (max-width: 480px) {
    .logo-text {
        display: none; /* Esconde texto da logo em telas muito pequenas para dar espaço */
    }
    .hero h2 {
        font-size: 1.8rem;
    }
    .about-content {
        justify-content: center;
        justify-items: center;
        text-align: center;
    }
    .about-text {
        max-width: 260px;
        margin: 0 auto;
    }
    .about-text p {
        font-size: 0.95rem;
    }
    .about-image {
        max-width: 180px;
        margin: 0 auto;
    }

    .about-text {
    font-size: 0.8rem;
    color: var(--text-light);
    max-width: 200px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    max-width: 350px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-top: 30px;
}
}

