
/* --- Configurações Gerais --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f8ff;
    color: #333;
    line-height: 1.6;
}

/* --- Cabeçalho (Header) --- */
header {
    background-color: #1e90ff;
    color: white;
    padding: 20px 0;
    text-align: center;
    border-bottom: 5px solid #ffcc00;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

header p {
    font-size: 1.1rem;
    font-style: italic;
}

/* --- Menu de Navegação --- */
nav {
    background-color: #333;
    text-align: center;
}

nav a {
    display: inline-block;
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    background-color: #ffcc00;
    color: #333;
}

/* --- Conteúdo Principal --- */
.container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px;
}

/* Banner Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://unsplash.com') no-repeat center center/cover;
    height: 300px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 30px;
    padding: 10px;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

/* Seções de Conteúdo */
.grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

article {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

article h3 {
    color: #1e90ff;
    margin-bottom: 15px;
    font-size: 1.6rem;
    border-left: 5px solid #ffcc00;
    padding-left: 10px;
}

article p {
    margin-bottom: 15px;
}

/* Lateral (Sidebar) */
aside {
    background: #ffcc00;
    padding: 20px;
    border-radius: 8px;
    color: #333;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: fit-content;
}

aside h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

aside ul {
    list-style-type: "🦆 ";
    padding-left: 20px;
}

aside li {
    margin-bottom: 10px;
    font-weight: 500;
}

/* Galeria de Fotos */
.galeria {
    margin-top: 30px;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.galeria h3 {
    color: #1e90ff;
    margin-bottom: 15px;
}

.fotos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.foto-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
}

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

.foto-card p {
    padding: 10px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* --- Rodapé (Footer) --- */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
    font-size: 0.9rem;
}