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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #2196F3;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    text-align: center;
    font-size: 2rem;
}

/* Navegação */
nav {
    background: #1976D2;
    padding: 0.5rem 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #FFD700;
}

.banner {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    background: #2196F3;
}

.banner img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom; /* Mostra a parte de baixo */
}

.slogan {
    background: #f0f8f0;
    text-align: center;
    padding: 20px;
    font-size: 1.2rem;
    font-style: italic;
    color: #1565C0;
    border-bottom: 2px solid #2196F3;
}

/* Conteúdo principal */
main {
    padding: 40px 0;
    min-height: 500px;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 10px;
    color: #2196F3;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #2196F3;
}

.footer-section p {
    margin-bottom: 10px;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
}

.social-links a:hover {
    color: #2196F3;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button, .btn {
    background: #2196F3;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

button:hover, .btn:hover {
    background: #1e88e5;
}

/* Painel de controle */
.painel-header {
    background: #f4f4f4;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.painel-menu {
    background: #333;
    padding: 10px;
    margin-bottom: 20px;
}

.painel-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 5px;
    display: inline-block;
}

.painel-menu a:hover {
    background: #2196F3;
}

/* Galeria */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.galeria-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.galeria-item img:hover {
    transform: scale(1.05);
}

/* Documentos */
.documentos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.documentos .card {
    background: #f9f9f9;
}

.documentos .card small {
    display: block;
    color: #666;
    margin-bottom: 15px;
}

/* Contato */
.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-contato {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.info-contato h3 {
    color: #2196F3;
    margin-bottom: 15px;
}

.form-contato {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Responsividade */
@media (max-width: 768px) {
    nav ul li {
        margin: 0 10px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .galeria-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* História */
.historia {
    line-height: 1.8;
}

.historia h3 {
    color: #2196F3;
    margin: 20px 0 10px;
}

.historia p {
    margin-bottom: 15px;
    text-align: justify;
}
/* Redes sociais */
.social-links a {
    display: inline-block;
    margin: 5px 0;
    padding: 5px 10px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #2196F3;
}

/* Links do menu */
nav ul li a[href*="instagram"],
nav ul li a[href*="facebook"] {
    background: #333;
    padding: 5px 10px;
    border-radius: 5px;
}

nav ul li a[href*="instagram"]:hover {
    background: #E4405F;
}

nav ul li a[href*="facebook"]:hover {
    background: #1877F2;
}
