:root {
    --primary: #556B2F;
    --primary-light: #8A9A5B;
    --bg: #f7f7f7;
    --text: #2f2f2f;
    --radius: 0.5rem;
}

/* Reset e fonte base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* ===== BARRA DE NAVEGAÇÃO ===== */
nav {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

nav .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.25rem;
}

nav .logo img {
    width: 40vh;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

nav .site-name {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: 0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav ul a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
}

nav ul li:hover > ul {
    display: block;
}

nav ul ul {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    top: 100%;
    left: 0;
    border-radius: var(--radius);
    min-width: 160px;
    z-index: 1000;
}

nav ul ul li {
    padding: 0.5rem 1rem;
}

nav ul ul a {
    color: var(--primary);
}
/* ===== MOBILE NAVIGATION ===== */
@media (max-width: 700px) {
    nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem 1rem;
        background: #fff;
        position: relative;
    }
    nav .logo {
        margin-bottom: 0;
    }
    nav .site-name {
        font-size: 1.05rem;
        text-align: center;
        margin-bottom: 10px;
    }
    .nav-menu li {
        position: relative;
    }

    .nav-menu li ul {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        padding: 0.5rem 0;
        min-width: 160px;
        z-index: 10;
    }

    .nav-menu li:hover>ul {
        display: block;
    }

    .nav-menu a {
        text-decoration: none;
        color: #222;
        padding: 0.5rem 1rem;
        display: block;
    }

    .nav-toggle {
        display: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .hamburger {
        display: block;
        width: 28px;
        height: 3px;
        background: #222;
        position: relative;
        border-radius: 2px;
        transition: all 0.3s;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        display: block;
        width: 28px;
        height: 3px;
        background: #222;
        position: absolute;
        border-radius: 2px;
        transition: all 0.3s;
    }

    .hamburger::before {
        top: -9px;
    }

    .hamburger::after {
        top: 9px;
    }
}
/* Show hamburger only on mobile */
.mobile-menu-toggle {
    display: none;
}
@media (max-width: 900px) {
            .nav-menu {
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: #fff;
                display: none;
                box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            }
            .nav-menu.open {
                display: flex;
            }
            .nav-menu li ul {
                position: static;
                box-shadow: none;
                background: none;
            }
            .nav-toggle {
                display: block;
            }
        }

/* ===== CARROSSEL ===== */
.carrossel {
    position: relative;
    overflow: hidden;
    max-height: 420px;
}

.slides {
    display: flex;
    transition: transform 0.6s ease;
}

.slide {
    min-width: 100%;
    height: 420px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.slide h2 {
    position: absolute;
    bottom: 1.5rem;
    left: 2rem;
    color: #fff;
    font-size: 1.75rem;
    z-index: 1;
}

.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

.carrossel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.prev {
    left: 1rem;
}

.next {
    right: 1rem;
}

/* ===== CARD SOBRE ===== */
.sobre-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    max-width: 960px;
    margin: 3rem auto;
    text-align: center;
}

.sobre-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.sobre-card a {
    margin-top: auto;
    align-self: flex-start;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.sobre-card a:hover {
    text-decoration: underline;
}

/* ===== PÁGINA SOBRE ===== */
.hero {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
}

.sobre-hero h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.sobre-hero p {
    opacity: 0.9;
}

.sobre-section {
    max-width: 960px;
    margin: 3rem auto;
    padding: 0 1rem;
    text-align: justify;
    text-indent: 2em;
}

.sobre-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.sobre-section p {
    margin-bottom: 1rem;
}

/* ===== GRID DE VALORES ===== */
.valores-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.valores-item {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    text-align: center;
    flex: 0 1 calc(33.333% - 2rem);
    max-width: calc(33.333% - 2rem);
}

.valores-item:last-child {
    margin-left: auto;
    margin-right: auto;
}

.valores-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.valores-item p {
    font-size: 0.875rem;
}

/* ===== GRID DE PROJETOS ===== */
.projetos-section {
    max-width: 1100px;
    margin: 2rem auto 3rem;
    padding: 0 1rem;
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.projeto-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.projeto-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.projeto-card .content {
    padding: 1rem 1.25rem 1.5rem;
    flex: 1;
}

.projeto-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.projeto-card p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.projeto-card a {
    margin-top: auto;
    align-self: flex-start;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.projeto-card a:hover {
    text-decoration: underline;
}

/* ===== TRANSPARÊNCIA ===== */
.transparencia-wrapper {
    max-width: 960px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.transparencia-item {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
    margin-bottom: 1rem;
    overflow: hidden;
    padding: 1rem;
    max-width: 960px;
    margin: 1rem auto;
}

.transparencia-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    background: #fff;
    border: none;
    width: 100%;
}

.transparencia-trigger:hover {
    background: var(--primary-light);
    color: #fff;
    transition: 0.2s;
}

.transparencia-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.25rem;
}

.transparencia-content-inner {
    padding: 1rem 0;
}

.doc-list {
    list-style: none;
}

.doc-list li {
    margin-bottom: 0.5rem;
}

.doc-list a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.doc-list a:hover {
    text-decoration: underline;
}

.rotate {
    transform: rotate(90deg);
    transition: 0.3s;
}

.open .rotate {
    transform: rotate(-90deg);
}

/* ===== SEÇÃO DE MANUTENÇÃO ===== */
.maintenance-section {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 5rem 1rem;
}

.maintenance-section svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.maintenance-section h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.maintenance-section p {
    font-size: 1rem;
    opacity: 0.9; 
}

/* ===== SEÇÃO GALERIA ===== */
.galeria-section {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.galeria-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.galeria-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* ===== RESPONSIVIDADE ===== */
@media (min-width: 600px) {
    .transparencia-trigger {
        font-size: 1.125rem;
    }
}

.contact-info {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-info h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.contact-card {
    border-left: 5px solid var(--primary);
    background-color: #f9f9f9;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.contact-card h2 {
    margin-top: 0;
    color: var(--primary);
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* ===== RODAPÉ ===== */
footer {
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #666;
    margin-top: 3rem;
}