: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;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

nav .logo {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary);
}

nav .logo span {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary);
}

nav .logo img {
    width: 45px;
    height: auto;
    object-fit: contain; 
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

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;
}

nav ul ul li {
    padding: 0.5rem 1rem;
}

nav ul ul a {
    color: var(--primary);
}

/* ===== 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;
    }
}

/* ===== RODAPÉ ===== */
footer {
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #666;
    margin-top: 3rem;
}